/* Startbereich der Startseite (07.11.2026, neu gebaut am selben Tag).
   Foto vom Autohaus ueber die ganze Breite, Kopfzeile durchsichtig
   darueber, links die Aussage, rechts die Inhaber freigestellt (wie
   mobile.de-Bild 4), dazu ein echtes Auto aus dem Bestand. Sobald gescrollt
   wird (.geklebt aus js/bm.js), sieht die Kopfzeile aus wie ueberall.
   Kontaktleiste rechts nur auf breiten Bildschirmen. */

:root{ --kopf-hoehe:77px; }

/* ---------- Kopfzeile ueber dem Foto ---------- */
.kopf--buehne:not(.geklebt){
  background:transparent;
  backdrop-filter:none;
  border-bottom-color:transparent;
  color:#fff;
}
.marke-hell{ display:none; }
.kopf--buehne:not(.geklebt) .marke-dunkel{ display:none; }
.kopf--buehne:not(.geklebt) .marke-hell{ display:block; }
.kopf--buehne:not(.geklebt) .kopf-navi a,
.kopf--buehne:not(.geklebt) .navi-reiter{ color:#fff; opacity:.92; }
.kopf--buehne:not(.geklebt) .kopf-navi a:hover{ background:rgba(255,255,255,.12); opacity:1; }
.kopf--buehne:not(.geklebt) .kopf-tel,
.kopf--buehne:not(.geklebt) .sprache-knopf--kopf{
  background:rgba(0,0,0,.35); border-color:rgba(255,255,255,.35); color:#fff;
}
.kopf--buehne:not(.geklebt) .handymenue summary{ color:#fff; background:rgba(0,0,0,.35); border-color:rgba(255,255,255,.35); }

/* ---------- Buehne ---------- */
.buehne{
  position:relative;
  margin-top:calc(-1 * var(--kopf-hoehe));
  min-height:min(88vh, 760px);
  overflow:hidden;
  background:#16171a;
  color:#fff;
  display:flex; align-items:flex-end;
}
.buehne-bild{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center 60%;
}
/* links dunkel fuer den Text, oben fuer die Kopfzeile, unten fuer die Kante */
.buehne::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:
    linear-gradient(90deg, rgba(18,19,21,.94) 0, rgba(18,19,21,.82) 34%, rgba(18,19,21,.25) 62%, rgba(18,19,21,.05) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 30%);
}
/* gelber Schraegstreifen unten, wie auf den mobile.de-Bildern */
.buehne::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:48px;
  z-index:3; pointer-events:none; background:var(--gold);
  clip-path:polygon(0 100%, 100% 28%, 100% 52%, 0 100%);
}

.buehne-raster{
  position:relative; z-index:2;
  display:grid; grid-template-columns:minmax(0, 1fr);
  align-items:end; gap:24px;
  padding-top:calc(var(--kopf-hoehe) + 40px);
}
.buehne-text{ padding-bottom:clamp(56px, 7vh, 84px); max-width:640px; }

.buehne-ort{
  display:inline-block; margin:0 0 18px;
  padding:6px 12px; border-radius:var(--rad-rund);
  background:rgba(20,20,20,.66); border:1px solid rgba(236,216,23,.5);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:var(--gold); font:700 13px/1.2 var(--schrift-text); letter-spacing:.01em;
}
.buehne-titel{
  font:850 clamp(38px, 5vw, 70px)/.96 var(--schrift-titel);
  letter-spacing:-.045em; margin:0;
  text-transform:none; color:#fff;
}
.buehne-titel span{ display:block; color:var(--gold); }

.buehne-liste{
  list-style:none; margin:24px 0 0; padding:0;
  display:grid; grid-template-columns:repeat(2, minmax(0, auto)); gap:10px 26px;
  font:650 clamp(15px, 1.2vw, 17px)/1.25 var(--schrift-text);
  color:#eceef0;
}
.buehne-liste li{ display:flex; align-items:center; gap:10px; }
.buehne-liste li::before{
  content:""; flex:none; width:22px; height:22px; border-radius:var(--rad-kreis);
  background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.buehne-tasten{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.buehne-knopf{ height:52px; padding-inline:26px; font-size:16px; }
.buehne-tel{
  display:inline-flex; align-items:center; gap:10px;
  height:52px; padding:0 20px; border-radius:var(--radius);
  border:1.5px solid rgba(255,255,255,.4); color:#fff; text-decoration:none;
  font:800 17px/1 var(--schrift-text); letter-spacing:-.01em; white-space:nowrap;
  transition:border-color .2s cubic-bezier(.32,.72,0,1), background .2s;
}
.buehne-tel svg{ width:20px; height:20px; color:#25D366; }
.buehne-tel:hover{ border-color:var(--gold); background:rgba(255,255,255,.06); }

.buehne-belege{
  display:grid; grid-template-columns:repeat(3, auto); justify-content:start;
  gap:0; margin:30px 0 0;
}
.buehne-belege > div{ padding:0 22px; border-left:1px solid rgba(255,255,255,.18); }
.buehne-belege > div:first-child{ padding-left:0; border-left:0; }
.buehne-belege dt{ font:850 30px/1 var(--schrift-titel); letter-spacing:-.04em; color:var(--gold); }
.buehne-belege dt a{ color:inherit; text-decoration:none; }
.buehne-belege dt span{ font-size:.7em; vertical-align:.15em; }
.buehne-belege dd{ margin:4px 0 0; font:500 13px/1.25 var(--schrift-text); color:#b9bcc1; }

.buehne-fussnote{
  margin:22px 0 0; max-width:60ch;
  font:400 11.5px/1.45 var(--schrift-text); color:#9a9ea4;
}
.buehne-fussnote b{ color:#d9dbde; font-weight:700; }

/* ---------- Inhaber freigestellt (wieder oben, 07.11.2026) ---------- */
@media (min-width: 980px){
  .buehne-raster:has(.buehne-team){ grid-template-columns:minmax(0, 1.2fr) minmax(0, .8fr); }
}
.buehne-team{
  position:relative; margin:0; align-self:end;
  display:flex; justify-content:center;
}
.buehne-team img{
  display:block; width:auto; height:min(76vh, 640px);
  max-width:100%; object-fit:contain; object-position:bottom;
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.5));
}
.buehne-team figcaption{
  position:absolute; left:50%; bottom:58px; transform:translateX(-50%);
  display:flex; gap:22px; white-space:nowrap;
  padding:10px 16px; border-radius:var(--radius);
  background:rgba(18,19,21,.86); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.1);
}
.buehne-team figcaption > span{ display:grid; gap:2px; }
.buehne-team figcaption b{ font:800 15px/1.1 var(--schrift-text); letter-spacing:-.01em; }
.buehne-team figcaption span span{ font:500 12px/1.2 var(--schrift-text); color:#b9bcc1; }

/* ---------- Auto aus dem Bestand, schwebt links neben den Inhabern ---------- */
.buehne-wagen.hero-wagen{
  position:absolute; z-index:4; right:calc(38% - 60px); top:calc(var(--kopf-hoehe) + 40px);
  width:330px; margin:0;
  background:#fff; color:var(--tinte); border:0;
}

/* ---------- Kontaktleiste rechts ---------- */
.kontaktleiste{
  position:fixed; right:0; top:50%; transform:translateY(-50%);
  z-index:calc(var(--ebene-kopf) - 1);
  display:flex; flex-direction:column; gap:2px;
}
.kontaktleiste a{
  display:grid; place-items:center;
  width:48px; height:48px;
  background:var(--tinte); color:var(--gold);
  border-radius:var(--radius) 0 0 var(--radius);
  transition:width .2s cubic-bezier(.32,.72,0,1);
}
.kontaktleiste a:hover, .kontaktleiste a:focus-visible{ width:56px; }
.kontaktleiste svg{ width:22px; height:22px; }

/* ---------- Schnellsuche: weisse Karte direkt unter dem Foto ---------- */
.schnellsuche{
  position:relative; z-index:3;
  margin-top:18px; margin-bottom:0;
  display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap;
  padding:14px 16px;
  background:#fff; border-radius:var(--radius); border:var(--rahmen) solid var(--linie);
}
.ss-feld{ display:grid; gap:4px; flex:1 1 180px; min-width:0; }
.ss-feld span{ font:600 12px/1 var(--schrift-text); color:var(--tinte-leise); }
.ss-feld select{
  height:46px; padding:0 12px; border-radius:var(--radius);
  border:1px solid var(--sand-300); background:var(--sand-50);
  font:600 16px/1 var(--schrift-text); color:var(--tinte);
}
.ss-knopf{ height:46px; flex:0 0 auto; }

/* ---------- Auftritt beim Laden: ein einziger, ruhiger Moment ---------- */
@media (prefers-reduced-motion: no-preference){
  .buehne-bild{ animation:buehne-bild 1.6s cubic-bezier(.22,.8,.2,1) both; }
  .buehne-text > *{ animation:buehne-hoch .8s cubic-bezier(.22,.8,.2,1) both; }
  .buehne-text > :nth-child(2){ animation-delay:.08s; }
  .buehne-text > :nth-child(3){ animation-delay:.16s; }
  .buehne-text > :nth-child(4){ animation-delay:.24s; }
  .buehne-text > :nth-child(n+5){ animation-delay:.32s; }
  .buehne-team img{ animation:buehne-hoch 1s .15s cubic-bezier(.22,.8,.2,1) both; }
  .buehne-wagen{ animation:buehne-hoch .9s .45s cubic-bezier(.22,.8,.2,1) both; }
}
@keyframes buehne-bild{ from{ transform:scale(1.06); } to{ transform:none; } }
@keyframes buehne-hoch{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

/* ---------- Mittlere Breite: Auto ausblenden, Inhaber kleiner ---------- */
@media (max-width: 1180px){
  .buehne-wagen.hero-wagen{ display:none; }
  .buehne-liste{ grid-template-columns:1fr; }
}
@media (max-width: 979px){
  .buehne-raster{ grid-template-columns:1fr; }
  /* Tablet und Handy: Inhaber klein ueber der Ueberschrift */
  .buehne-team{ order:-1; justify-content:flex-start; align-items:flex-end; gap:14px; }
  .buehne-team img{ height:190px; filter:drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
  .buehne-team figcaption{
    position:static; transform:none; flex-direction:column; gap:10px;
    background:none; border:0; padding:0 0 12px; -webkit-backdrop-filter:none; backdrop-filter:none;
  }
}
/* ---------- Handy ---------- */
@media (max-width: 819px){
  .kontaktleiste{ display:none; }
  .buehne{ min-height:0; }
  .buehne::before{
    background:linear-gradient(180deg, rgba(18,19,21,.7) 0, rgba(18,19,21,.82) 40%, rgba(18,19,21,.95) 100%);
  }
  .buehne-raster{ padding-top:calc(var(--kopf-hoehe) + 18px); }
  .buehne-text{ padding-bottom:52px; }
  .buehne-team img{ height:160px; }
  .buehne-titel{ font-size:clamp(34px, 9.6vw, 44px); }
  .buehne-liste{ grid-template-columns:1fr; gap:8px; margin-top:18px; }
  .buehne-tasten{ margin-top:22px; }
  .buehne-tasten > *{ flex:1 1 100%; justify-content:center; }
  .buehne-belege{ margin-top:22px; }
  .buehne-belege{ grid-template-columns:repeat(3, 1fr); }
  .buehne-belege > div{ padding:0 10px; }
  .buehne-belege dt{ font-size:24px; }
  .buehne-belege dd{ font-size:12px; }
  .buehne::after{ height:26px; }
  .schnellsuche{ margin-top:14px; gap:10px; padding:12px; }
  .ss-feld{ flex:1 1 40%; }
  .ss-feld select{ height:44px; font-size:15px; padding:0 8px; }
  .ss-knopf{ flex:1 1 100%; }
}
@media (prefers-reduced-motion: reduce){
  .kontaktleiste a{ transition:none; }
}

/* ---------- Mittagsfassung der Buehne (07.11.2026 abends) ----------
   index.html steht wieder auf dem Stand 13:47: .buehne-text liegt direkt in
   .buehne (ohne .buehne-raster), daneben nav.schritte. Ohne eigene Ebene
   lag der Text HINTER dem absolut gesetzten Foto und unter der Kopfzeile -
   im Browser war nur das Foto zu sehen. Hier: Text und Schritte ueber Foto
   und Verlauf, Schritte als Leiste ueber dem gelben Streifen. */
.buehne{ flex-direction:column; align-items:stretch; justify-content:flex-end; }
.buehne > .buehne-text{
  position:relative; z-index:2; max-width:none; width:min(100% - var(--rand) * 2, var(--spalte));
  padding-top:calc(var(--kopf-hoehe) + 48px); padding-bottom:40px;
  display:grid; grid-template-columns:minmax(0, 1fr); gap:28px;
}
.buehne-links{ max-width:640px; }
.buehne-zeile{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:26px; }
.buehne-zeile .buehne-tel{ font:800 20px/1 var(--schrift-titel); color:#fff; letter-spacing:-.01em; }
.buehne-zeile .buehne-ort{ display:inline-flex; align-items:center; gap:8px; margin:0; }
.buehne-ort svg{ width:16px; height:16px; flex:none; }
.buehne > .buehne-text .buehne-liste{ margin:0; max-width:560px; grid-template-columns:repeat(3, minmax(0, auto)); }
.buehne > .schritte{
  position:relative; z-index:2; margin-bottom:34px;
  background:rgba(18,19,21,.72); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  border-top:1px solid rgba(255,255,255,.1);
}
@media (max-width: 760px){
  .buehne > .buehne-text{ padding-top:calc(var(--kopf-hoehe) + 28px); padding-bottom:24px; gap:20px; }
  .buehne > .buehne-text .buehne-liste{ grid-template-columns:repeat(2, minmax(0, auto)); }
  .buehne > .schritte{ margin-bottom:22px; }
}

/* Q50/Q51 (07.11.2026): Suchwort ueber dem Titel, Bestandsknopf zuerst */
.buehne-zeile .buehne-bestand{ height:52px; padding-inline:24px; font-size:16px; }
@media (max-width:599px){
  .buehne-zeile .buehne-bestand, .buehne-zeile .buehne-tel{ flex:1 1 100%; justify-content:center; }
}

/* Q182 (15.11.2026): ruhige Buehne - ein Satz, zwei Wege, eine Faktenzeile */
.buehne-satz{
  margin:var(--raum-16) 0 0; max-width:52ch; color:var(--auf-dunkel);
  font:500 clamp(16px, 1.4vw, 19px)/var(--zeile-145) var(--schrift-text);
}

/* Q329 (22.11.2026): Google-Note gross unter Satz und Knoepfen */
.buehne-sterne{
  display:inline-flex; align-items:center; gap:var(--raum-12); margin-top:var(--raum-24);
  color:#fff; text-decoration:none;
}
.buehne-sterne b{ font:850 clamp(40px, 4vw, 52px)/1 var(--schrift-titel); letter-spacing:-.03em; }
.buehne-sterne-text{ display:grid; gap:var(--raum-4); font:500 14px/1.3 var(--schrift-text); color:var(--auf-dunkel); }
.buehne-sterne-reihe{ color:var(--gold); font-size:20px; letter-spacing:.08em; line-height:1; }
.buehne-sterne:hover .buehne-sterne-text > span:last-child{ text-decoration:underline; }
