/* ============================================================
   NIEDDUTY — Startseite
   Hero mit Laptop, Leistungen, Referenzen, Ablauf, Kontakt.
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 108px 72px;
  position: relative;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-kopf {
  text-align: center;
  margin-inline: auto;
  margin-top: clamp(40px, 5.5vw, 66px);
}
.hero-kopf .eyebrow { justify-content: center; }
.hero-kopf .lead {
  margin-inline: auto;
  margin-top: 22px;
  max-width: 52ch;
}

/* Die Kopfzeile wechselt nach der Tipp-Animation den Text. */
.hero-kopf h1 {
  position: relative;
  max-width: 21ch;
  margin-inline: auto;
}
.h1-zeile { display: block; }
.h1-akzent { color: var(--blau); }

.hero-aktionen {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ---------- Laptop ---------- */

/* Startet unsichtbar, site.js klappt ihn auf. Ohne JS greift die
   .js-Klasse nicht und der Laptop steht einfach da. */
.js .laptop { opacity: 0; }

.laptop {
  width: min(100%, 940px);
  margin-inline: auto;
  perspective: 1800px;
}

.laptop-deckel {
  position: relative;
  background: #DCDAD5;
  border-radius: 14px 14px 4px 4px;
  padding: 12px 12px 0;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

/* Kamera — winziges Detail, macht den Unterschied zum Rechteck. */
.laptop-deckel::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  translate: -50% 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #A8A49C;
}

.laptop-schirm {
  aspect-ratio: 16 / 10.2;
  background: #fff;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #C4C1BA;
  border-bottom: none;
}

.laptop-fuss {
  height: 15px;
  background: linear-gradient(#CFCCC6, #B9B5AD);
  border: 1px solid #B0ACA4;
  border-top: none;
  border-radius: 0 0 13px 13px;
  position: relative;
}
/* Griffmulde */
.laptop-fuss::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  translate: -50% 0;
  width: 92px; height: 6px;
  background: #A9A59D;
  border-radius: 0 0 7px 7px;
}

/* ---------- Browserleiste im Laptop ---------- */

.browser-leiste {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: #F1EFEB;
  border-bottom: 1px solid #DFDCD6;
  flex: none;
}

.ampel { display: flex; gap: 6px; flex: none; }
.ampel i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D3CFC8;
  display: block;
}

.adresse {
  flex: 1;
  background: #fff;
  border: 1px solid #DFDCD6;
  border-radius: 20px;
  padding: 5px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.adresse svg { flex: none; opacity: .55; }
.adresse span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Inhalt im Laptop ---------- */

.schirm-inhalt {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.schirm-seite {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* --- Seite 1: Startseite der Suchmaschine ----------------------
   Nachgebaut, nicht abfotografiert: bleibt scharf, lässt sich
   animieren und lädt nichts von außen nach. --------------------- */

.g-start {
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 26px);
  padding: 20px;
  background: #fff;
}

/* Eigene Wortmarke statt eines fremden Logos: derselbe Aufbau,
   derselbe Witz, keine Marken- und keine Irreführungsfrage. */
.g-logo {
  font-family: var(--display);
  font-size: clamp(22px, 4.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .3em;
  color: #9AA0A6;
}
.marke-lupe {
  width: .82em;
  height: .82em;
  flex: none;
  color: #B4B8BD;
}

.g-feld {
  width: min(80%, 480px);
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  min-height: 42px;
}
.g-feld:hover { box-shadow: 0 1px 6px rgba(32,33,36,.28); border-color: transparent; }
.g-lupe { width: clamp(13px, 1.8vw, 18px); height: clamp(13px, 1.8vw, 18px); flex: none; }

.g-text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(11px, 1.5vw, 15px);
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.g-knoepfe { display: flex; gap: 11px; }
.g-knoepfe button {
  font-family: Arial, sans-serif;
  font-size: clamp(9px, 1.15vw, 12px);
  color: #3c4043;
  background: #f8f9fa;
  border: 1px solid #f8f9fa;
  border-radius: 4px;
  padding: 7px 14px;
  cursor: default;
}

/* Cursor blinkt nur, solange er die Klasse trägt. */
.cursor {
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  background: #202124;
  vertical-align: text-bottom;
  margin-left: 1px;
}
.cursor[data-blink='ja'] { animation: blink 1.06s steps(2, start) infinite; }
@keyframes blink { 0%, 50% { opacity: 1 } 50.01%, 100% { opacity: 0 } }

/* --- Seite 2: Trefferliste ------------------------------------- */

.g-treffer {
  padding: clamp(10px, 1.6vw, 16px) clamp(14px, 3.4vw, 46px);
  gap: clamp(7px, 1.1vw, 12px);
  background: #fff;
}

.g-kopf { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); flex: none; }
.g-logo--klein { font-size: clamp(12px, 1.9vw, 20px); }
.g-feld--klein { flex: 1; width: auto; padding: 6px 15px; min-height: 0; }
.g-feld--klein .g-text { font-size: clamp(8px, 1.1vw, 12px); }

.g-reiter {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  font-family: Arial, sans-serif;
  font-size: clamp(8px, 1.05vw, 11px);
  color: #5f6368;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 9px;
  flex: none;
}
.g-reiter--an { color: var(--blau); box-shadow: 0 9px 0 -8px var(--blau); }

.g-zahl {
  font-family: Arial, sans-serif;
  font-size: clamp(9.5px, 1.1vw, 12.5px);
  color: #70757a;
  flex: none;
}

.treffer { display: flex; flex-direction: column; gap: clamp(9px, 1.5vw, 17px); }

.treffer-eintrag {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, .5vw, 5px);
  border-radius: 8px;
}

.g-quelle { display: flex; align-items: center; gap: 7px; }
.g-favicon {
  width: clamp(12px, 1.7vw, 17px);
  height: clamp(12px, 1.7vw, 17px);
  border-radius: 50%;
  background: #e8eaed;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(9.5px, 1.1vw, 12.5px);
  color: #fff;
}
.g-favicon--wir { background: var(--blau); }

/* Die drei Austauschbaren: Struktur ohne Inhalt. */
.treffer-eintrag--grau .balken { background: #ebe9e4; border-radius: 3px; }
.balken--url   { height: clamp(5px, .75vw, 8px);  width: 132px; max-width: 34%; }
.balken--titel { height: clamp(8px, 1.25vw, 13px); width: 52%; background: #e2e0da !important; margin-top: 3px; }
.balken--text  { height: clamp(5px, .7vw, 7px);  width: 88%; }
.balken--text2 { height: clamp(5px, .7vw, 7px);  width: 64%; }

/* Der eine Treffer mit Inhalt. Kein Rahmen, keine Färbung: er
   fällt auf, weil dort etwas steht, nicht weil er markiert ist. */
.g-url {
  font-family: Arial, sans-serif;
  font-size: clamp(8px, 1.05vw, 12px);
  color: #202124;
}
.g-pfad { color: #5f6368; }
.g-titel {
  font-family: Arial, sans-serif;
  font-size: clamp(11px, 1.7vw, 18px);
  color: #1F3D8A;
  line-height: 1.3;
  margin-top: 2px;
}
.g-beschreibung {
  font-family: Arial, sans-serif;
  font-size: clamp(8px, 1.15vw, 12.5px);
  color: #4d5156;
  line-height: 1.45;
  max-width: 64ch;
}

@media (max-width: 620px) {
  .treffer-eintrag--grau:last-child { display: none; }
  .g-reiter { display: none; }
  .g-zahl { display: none; }
  /* Hochkant-Fenster: bei flachem Laptop-Schirm liefe die Trefferliste
     unten raus und der niedduty-Treffer waere abgeschnitten. Portrait
     macht ihn sichtbar; das Scharnier faellt weg, es wird ein sauberes
     Browserfenster. */
  .laptop-schirm { aspect-ratio: 5 / 7; border-radius: 6px; }
  .laptop-deckel { border-radius: 14px; padding: 10px; }
  .laptop-fuss { display: none; }
  .treffer { gap: 12px; }
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */

.leistungen-raster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.leistung {
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: background .25s var(--ease);
}
.leistung:hover { background: var(--surface); }

.leistung-nr {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--blau);
  letter-spacing: .1em;
}
.leistung p { color: var(--text-dim); font-size: .97rem; }

.leistung ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 6px;
  font-size: .9rem;
  color: var(--text-dim);
}
.leistung li { display: flex; gap: 10px; align-items: baseline; }
.leistung li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blau);
  flex: none;
  translate: 0 -2px;
}

/* Die kostenlose Einschätzung: gleiche Kachel, aber mit Knopf
   und einer Akzentkante oben, damit sie nicht untergeht. */
.leistung--gratis {
  background: var(--surface);
  box-shadow: inset 0 3px 0 var(--blau);
}
.leistung--gratis .btn { align-self: flex-start; margin-top: auto; }
.leistung--gratis ul { margin-bottom: 12px; }

/* ============================================================
   EINSCHÄTZUNG (Startseite)
   ============================================================ */

.einschaetzung { padding-block: clamp(24px, 4vw, 48px) clamp(72px, 10vw, 120px); }
.einschaetzung-kasten {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: clamp(28px, 4.5vw, 56px);
}
.einschaetzung-kasten h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.einschaetzung-kasten .lead { margin-top: 16px; }
.einschaetzung-kasten ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-dim);
  font-size: .97rem;
}
.einschaetzung-kasten li { display: flex; gap: 10px; align-items: baseline; }
.einschaetzung-kasten li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blau);
  flex: none;
  translate: 0 -2px;
}
.einschaetzung-kasten .btn { margin-top: 24px; }

@media (max-width: 760px) {
  .einschaetzung-kasten { grid-template-columns: 1fr; }
}


/* ============================================================
   REFERENZEN
   ============================================================ */

.referenzen { display: grid; gap: 1px; background: var(--line); }

.referenz {
  background: var(--bg);
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 2.5vw, 34px);
  transition: background .25s var(--ease);
}
.referenz:hover { background: var(--surface); }
.referenz:hover .referenz-pfeil { translate: 5px 0; color: var(--blau); }

.referenz-jahr {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--text-mute);
}

.referenz-haupt { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.referenz-haupt h3 { letter-spacing: -.02em; }
.referenz-haupt p { color: var(--text-dim); font-size: .96rem; max-width: 54ch; }

.referenz-marken {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.marke {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--text-dim);
  border: 1px solid var(--line-hi);
  border-radius: 4px;
  padding: 4px 9px;
}

.referenz-pfeil {
  color: var(--text-mute);
  transition: translate .25s var(--ease), color .25s var(--ease);
  flex: none;
}

/* ============================================================
   ABLAUF — als Checkliste

   Vorher waren es Striche mit einer Ziffer darüber; die Ziffer
   saß per position:absolute auf der Überschrift. Eine Liste mit
   Haken sagt dasselbe, kann nicht verrutschen und liest sich wie
   etwas, das man abarbeitet.
   ============================================================ */

.ablauf-schritte {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  margin-top: 12px;
}

.a-schritt { position: relative; text-align: center; }

/* Gestrichelte Verbindung von Icon-Mitte zu Icon-Mitte.
   Liegt hinter den Icons (z-index 0); das deckende Icon kappt die Enden. */
.a-schritt:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 29px;
  left: -50%;
  right: 50%;
  border-top: 2px dashed var(--line-hi);
  z-index: 0;
}

.a-kopf { position: relative; z-index: 1; display: inline-block; margin-bottom: 20px; }
.a-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blau);
  color: #fff;
  display: grid; place-items: center;
}
.a-icon svg { width: 24px; height: 24px; }
.a-num {
  position: absolute; top: -5px; right: -5px;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--surface); color: var(--blau-dunkel);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: .76rem; font-weight: 600;
  display: grid; place-items: center;
}
.a-schritt h3 { font-size: 1.08rem; margin-bottom: 8px; }
.a-schritt p { color: var(--text-dim); font-size: .93rem; line-height: 1.62; }

@media (max-width: 760px) {
  .ablauf-schritte { grid-template-columns: 1fr; gap: 0; max-width: 460px; }
  .a-schritt {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: start;
    padding: 12px 0;
  }
  .a-kopf { margin-bottom: 0; grid-row: 1 / span 2; }
  .a-schritt h3 { align-self: center; margin: 0 0 4px; }
  /* senkrechte Linie zwischen den Icons */
  .a-schritt:not(:first-child)::before {
    top: -12px; bottom: auto; height: 24px;
    left: 28px; right: auto;
    border-top: none; border-left: 2px dashed var(--line-hi);
  }
  .leistungen-raster { grid-template-columns: 1fr; }
}

/* ============================================================
   ÜBER MICH
   ============================================================ */

.ueber {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.ueber-bild {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--bg-tief);
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.ueber-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Kopf sitzt im oberen Drittel; mittig beschnitten würde er wegfallen. */
  object-position: 50% 22%;
  display: block;
}

.ueber-text { display: flex; flex-direction: column; gap: 20px; }
.ueber-text p { color: var(--text-dim); }

/* Platzhalter sichtbar markieren, damit nichts davon live geht. */
.platzhalter {
  border-left: 2px solid var(--blau);
  background: #EFF2F7;
  color: var(--text);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  font-size: .95rem;
}
.platzhalter strong {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--blau-dunkel);
  display: block;
  margin-bottom: 7px;
  font-weight: 400;
}

.fakten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fakt-wert {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
}
.fakt-text {
  font-size: .83rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .ueber { grid-template-columns: 1fr; }
  .ueber-bild { max-width: 320px; }
}

/* ============================================================
   KONTAKT
   ============================================================ */

.kontakt { background: var(--tinte); color: #F2F1EE; }
.kontakt h2 { color: #fff; }
.kontakt .lead { color: #B5B4B0; }

.kontakt-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.kontakt-links .lead { margin-top: 20px; }

/* Wer antwortet: kleines Porträt mit einem Satz daneben. */
.absender {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 40px;
  padding-block: 24px;
  border-block: 1px solid rgba(255,255,255,.12);
}
.absender img {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.absender p { color: #B5B4B0; font-size: .97rem; max-width: 40ch; }
.absender strong { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }

.kontakt-wege { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.kontakt-wege a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #F2F1EE;
}
.kontakt-wege a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.kontakt-wege svg { width: 20px; height: 20px; flex: none; color: #9C9B97; }
.kontakt-termine { margin-top: 24px; color: #9C9B97; font-size: .95rem; max-width: 42ch; }

.formular { display: grid; gap: 18px; }

/* Themen als Kacheln statt Auswahlliste: sichtbar, was es gibt. */
.themen { border: 0; padding: 0; margin: 0; min-width: 0; }
.themen legend, .feld label {
  font-size: .9rem;
  color: #B5B4B0;
  padding: 0;
}
.themen legend { margin-bottom: 10px; }
.themen-raster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.thema { position: relative; cursor: pointer; }
.thema input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.thema { display: grid; }
.thema span {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  font-size: .93rem;
  color: #D6D5D1;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.thema:hover span { border-color: rgba(255,255,255,.4); }
.thema input:checked + span {
  /* angehakt: hell, wie der Senden-Knopf */
  background: var(--bg);
  border-color: var(--bg);
  color: var(--tinte);
}
.thema input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: grid; gap: 8px; }
.feld[hidden] { display: none; }
.feld-frei { color: #7E7D79; margin-left: 4px; }
.feld input, .feld textarea {
  font-family: var(--body);
  font-size: .97rem;
  color: #fff;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.feld textarea { resize: vertical; min-height: 128px; }
.feld input::placeholder, .feld textarea::placeholder { color: #6E6D6A; }
.feld input:focus, .feld textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.09);
}

.formular .btn--voll {
  background: var(--bg);
  color: var(--tinte);
  margin-top: 4px;
}
.formular .btn--voll:hover { background: #FFFFFF; }

.formular-hinweis { font-size: .85rem; color: #9C9B97; }
.formular-hinweis a { text-decoration: underline; text-underline-offset: 3px; }

.insta svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 520px) {
  .feld-paar { grid-template-columns: 1fr; }
}

/* Rückmeldung nach dem Absenden. */
.formular-danke {
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 20px 22px;
  font-size: .97rem;
}

/* Fehler beim Absenden: ruhig, ohne Alarmrot. */
.formular-fehler {
  border-left: 2px solid #F2F1EE;
  padding: 4px 0 4px 14px;
  font-size: .95rem;
  color: #F2F1EE;
}

/* Honigtopf gegen Bots: für Menschen unsichtbar, auch für Screenreader. */
.feld--falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .kontakt-raster { grid-template-columns: 1fr; }
}


/* ---------- Mini-Bildschirm in der Referenzliste ----------
   Kleiner Browserrahmen um den Screenshot: macht sofort klar,
   dass da eine echte Seite steht und kein Stockfoto. */

.referenz-schirm {
  width: 100%;
  border: 1px solid var(--line-hi);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  align-self: center;
}

.mini-leiste {
  display: flex;
  gap: 3px;
  padding: 5px 7px;
  background: #F1EFEB;
  border-bottom: 1px solid #E2DFD8;
}
.mini-leiste i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #CFCBC3;
  display: block;
}

.referenz-schirm img {
  width: 100%;
  height: auto;          /* sonst schlägt das height-Attribut zu */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 940px) {
  .referenz { grid-template-columns: 240px 1fr auto; gap: 28px; }
}
@media (max-width: 720px) {
  .referenz { grid-template-columns: 1fr; gap: 18px; }
  .referenz-schirm { max-width: 460px; }
  .referenz-pfeil { display: none; }
}

/* ============================================================
   HÄUFIGE FRAGEN

   Mit <details>/<summary> gebaut: aufklappen kann der Browser
   selbst, das braucht kein JavaScript und funktioniert mit
   Tastatur und Screenreader von Haus aus.
   ============================================================ */

.fragen-raster {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.fragen { border-top: 1px solid var(--line); }

.frage {
  border-bottom: 1px solid var(--line);
}

.frage summary {
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 600;
  letter-spacing: -0.008em;
  padding: clamp(17px, 2vw, 22px) 44px clamp(17px, 2vw, 22px) 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color .2s var(--ease);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--blau); }

/* Plus, das beim Aufklappen zum Minus wird. Zwei Striche, kein Icon. */
.frage summary::before,
.frage summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  background: var(--blau);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.frage summary::before { width: 13px; height: 1.5px; translate: 0 -50%; }
.frage summary::after  { width: 1.5px; height: 13px; right: 12px; translate: 0 -50%; }
.frage[open] summary::after { transform: rotate(90deg); opacity: 0; }

.frage p {
  color: var(--text-dim);
  font-size: .97rem;
  padding-bottom: clamp(18px, 2.2vw, 24px);
  padding-right: 44px;
  max-width: 62ch;
}

@media (max-width: 860px) {
  .fragen-raster { grid-template-columns: 1fr; }
}

/* Unterseite: erster Abschnitt braucht Abstand zum fixen Kopf. */
.sektion--seite { padding-top: clamp(122px, 15vw, 168px); }
