/* ==========================================================================
   DentalHunter — Gestaltungsgrundlage
   Peter Lausmann, Büscher Str. 10, 53783 Eitorf
   Stand: August 2026

   Grundsätze:
   - Keine externen Ressourcen. Keine Schriften von fremden Servern,
     keine Symbolbibliotheken, keine Auswertungsdienste. Das hält die
     Seite schnell und datenschutzrechtlich unauffällig.
   - Mobil zuerst. Ein erheblicher Teil der Bewerber kommt vom Telefon.
   - Ruhige, sachliche Gestaltung. Die Seite verkauft über Zahlen und
     Klartext, nicht über Effekte.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Schriften

   Schibsted Grotesk für Überschriften, Hanken Grotesk für Fließtext —
   dieselben Schriften wie auf der bestehenden dentalhunter.de.

   Die Dateien liegen im eigenen Ordner und werden nicht von Google geladen.
   Ein Aufruf bei Google Fonts würde die IP-Adresse jedes Besuchers an einen
   Dritten übermitteln, was für eine Seite mit Bewerberformularen unnötiges
   Risiko wäre.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schriften/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../schriften/hanken-grotesk-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../schriften/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../schriften/schibsted-grotesk-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Farben, Maße, Schriften
   -------------------------------------------------------------------------- */

:root {
  /* Farbwelt der bestehenden dentalhunter.de, am 14.08.2026 aus der
     laufenden Seite ausgelesen. */

  --tinte:        #06363b;   /* dunkle Flächen, Fußbereich, Kopfzeile der Marke */
  --tinte-weich:  #0a4a50;
  --akzent:       #0e7f85;   /* Markenton: Schaltflächen, Zierlinien */
  --akzent-text:  #0c656b;   /* derselbe Ton abgedunkelt, für Text auf hellem Grund */
  --akzent-dunkel:#0a5459;   /* Zustand beim Überfahren */
  --akzent-hell:  #e6f6f6;   /* helle Markenfläche */

  --papier:       #ffffff;
  --papier-warm:  #f6f8f7;   /* Grundfläche der Bestandsseite */
  --papier-grau:  #eef2f0;
  --linie:        #c6d0cc;   /* Rand der zweiten Schaltfläche */
  --linie-zart:   #e2e8e5;

  --text:         #13201d;   /* Textfarbe der Bestandsseite */
  --text-weich:   #4d5a55;
  --text-zart:    #37433f;
  --text-hell:    #f3f7f5;   /* Text auf dunkler Fläche */
  --text-gedaempft: #a9bdb6;

  /* Schriften der Bestandsseite, lokal eingebunden */
  --schrift-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-titel: "Schibsted Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --schrift-zahl: "Schibsted Grotesk", "Hanken Grotesk", system-ui, sans-serif;

  /* Abstände */
  --raum-1: 0.5rem;
  --raum-2: 1rem;
  --raum-3: 1.5rem;
  --raum-4: 2.25rem;
  --raum-5: 3.5rem;
  --raum-6: 5rem;
  --raum-7: 7rem;

  --breite:       1180px;
  --breite-text:  46rem;
  --rundung:      10px;
  --rundung-gross: 18px;
  --rundung-pille: 999px;   /* Schaltflächen der Bestandsseite sind Pillen */

  --schatten-zart: 0 1px 2px rgba(6, 54, 59, 0.04), 0 10px 30px rgba(6, 54, 59, 0.06);
  --schatten-hoch: 0 2px 6px rgba(6, 54, 59, 0.05), 0 24px 60px rgba(6, 54, 59, 0.10);
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Platz für die feste Kopfzeile beim Ansteuern von Ankern */
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--akzent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tinte); }

/* Überschriften wie auf der Bestandsseite: Schibsted Grotesk, kräftig,
   eng gesetzt, sehr knappe Zeilenhöhe. */
h1, h2, h3, h4 {
  margin: 0 0 var(--raum-2);
  font-family: var(--schrift-titel);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 { font-size: clamp(1.75rem, 3.8vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.2; }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 var(--raum-3); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text); }

/* Sichtbarer Fokus — für Tastaturbedienung unverzichtbar */
:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Sprungmarke für Screenreader und Tastatur */
.sprungmarke {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tinte);
  color: #fff;
  padding: var(--raum-2) var(--raum-3);
  z-index: 200;
}
.sprungmarke:focus {
  left: var(--raum-2);
  top: var(--raum-2);
}

/* --------------------------------------------------------------------------
   3. Grundgerüst
   -------------------------------------------------------------------------- */

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--raum-3);
}

.bahn { padding: var(--raum-6) 0; }
.bahn--eng { padding: var(--raum-5) 0; }
.bahn--warm { background: var(--papier-warm); }
.bahn--dunkel { background: var(--tinte); color: var(--text-hell); }
.bahn--dunkel h2, .bahn--dunkel h3 { color: #ffffff; }
.bahn--petrol { background: var(--akzent-hell); }

.textspalte { max-width: var(--breite-text); }

.strich {
  border: 0;
  border-top: 1px solid var(--linie-zart);
  margin: var(--raum-5) 0;
}

/* Kleine Überschrift über der Hauptüberschrift */
.vorzeile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--akzent-text);
  margin-bottom: var(--raum-2);
}
/* Der kurze Strich vor der Vorzeile stammt aus der Bestandsseite. */
.vorzeile::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--akzent);
  flex: none;
}
.bahn--dunkel .vorzeile { color: #5fc9cf; }
.bahn--dunkel .vorzeile::before { background: #5fc9cf; }

.abschnitt-kopf { max-width: var(--breite-text); margin-bottom: var(--raum-4); }

/* --------------------------------------------------------------------------
   4. Kopfzeile und Navigation
   -------------------------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--linie-zart);
}

.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-3);
  min-height: 4.5rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--schrift-titel);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.marke span { color: var(--akzent); }
.marke svg { width: 1.4rem; height: 1.4rem; flex: none; }

.navi { display: flex; align-items: center; gap: var(--raum-3); }

.navi__liste {
  display: flex;
  align-items: center;
  gap: var(--raum-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navi__liste a {
  color: var(--text-weich);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.navi__liste a:hover,
.navi__liste a[aria-current="page"] {
  color: var(--tinte);
  border-bottom-color: var(--akzent);
}

.kopf__rechts {
  display: flex;
  align-items: center;
  gap: var(--raum-2);
}

.kopf__ruf {
  color: var(--tinte);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Schaltfläche zum Aufklappen der Navigation auf dem Telefon */
.navi__schalter {
  display: none;
  background: none;
  border: 1px solid var(--linie);
  border-radius: var(--rundung);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  line-height: 0;
}
.navi__schalter span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--tinte);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navi__schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navi__schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navi__schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Schaltflächen
   -------------------------------------------------------------------------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.7rem;
  border-radius: var(--rundung-pille);
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.knopf:hover { transform: translateY(-1px); }

/* Hauptschaltfläche im Markenton, wie „Erstgespräch sichern" auf der
   Bestandsseite. */
.knopf--voll {
  background: var(--akzent);
  color: #fff;
  border-color: var(--akzent);
}
.knopf--voll:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: #fff; }

.knopf--akzent {
  background: var(--akzent);
  color: #fff;
  border-color: var(--akzent);
}
.knopf--akzent:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: #fff; }

.knopf--rand {
  background: var(--papier);
  color: var(--text);
  border-color: var(--linie);
}
.knopf--rand:hover { border-color: var(--text); color: var(--text); background: var(--papier); }

/* Auf dunklem Grund muss auch der Hintergrund zurückgesetzt werden, sonst
   steht weiße Schrift auf weißer Fläche. */
.bahn--dunkel .knopf--rand {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.bahn--dunkel .knopf--rand:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.knopf--klein { padding: 0.85rem 1.4rem; font-size: 0.95rem; }

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--raum-2);
  margin-top: var(--raum-3);
}

/* --------------------------------------------------------------------------
   6. Kopfbereich der Seiten
   -------------------------------------------------------------------------- */

.aufmacher {
  padding: var(--raum-6) 0 var(--raum-5);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(14, 127, 133, 0.10), transparent 60%),
    linear-gradient(180deg, var(--papier-warm) 0%, var(--papier) 100%);
  border-bottom: 1px solid var(--linie-zart);
}

.aufmacher__raster {
  display: grid;
  gap: var(--raum-4);
  grid-template-columns: 1fr;
  align-items: center;
}
.aufmacher__text { max-width: 44rem; }

.aufmacher__bild {
  margin: 0;
  border-radius: var(--rundung-gross);
  overflow: hidden;
  box-shadow: var(--schatten-hoch);
}
.aufmacher__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.aufmacher__fliess {
  font-size: 1.16rem;
  color: var(--text-zart);
  max-width: 40rem;
  margin-bottom: var(--raum-4);
}

/* Vertrauensleiste unter dem Kopfbereich */
.vertrauen {
  display: flex;
  flex-wrap: wrap;
  gap: var(--raum-2) var(--raum-4);
  list-style: none;
  margin: var(--raum-5) 0 0;
  padding: var(--raum-3) 0 0;
  border-top: 1px solid var(--linie-zart);
}
.vertrauen li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-weich);
}
/* Haken im Markenton, wie in der Vertrauensleiste der Bestandsseite */
.vertrauen li::before {
  content: "";
  width: 0.62rem;
  height: 0.34rem;
  border-left: 2px solid var(--akzent);
  border-bottom: 2px solid var(--akzent);
  transform: rotate(-45deg) translate(1px, -2px);
  flex: none;
}

/* --------------------------------------------------------------------------
   7. Zahlen und Belege
   -------------------------------------------------------------------------- */

.zahlenpaar {
  display: grid;
  gap: var(--raum-3);
  grid-template-columns: 1fr;
  margin-bottom: var(--raum-4);
}

.zahlkarte {
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
}
.zahlkarte__wert {
  display: block;
  font-family: var(--schrift-titel);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.05;
  color: var(--akzent-text);
  margin-bottom: var(--raum-1);
}
.zahlkarte__text { font-size: 1rem; color: var(--text-weich); margin: 0; }

/* Quellenzeile. Steht sichtbar unter dem Absatz, wird nicht ausgeblendet
   und nicht in einen aufklappbaren Bereich verschoben. */
.quelle {
  display: block;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-zart);
  font-style: normal;
  margin-top: var(--raum-2);
  padding-left: var(--raum-2);
  border-left: 2px solid var(--linie);
}

/* --------------------------------------------------------------------------
   8. Karten und Raster
   -------------------------------------------------------------------------- */

.raster { display: grid; gap: var(--raum-3); }
.raster--2 { grid-template-columns: 1fr; }
.raster--3 { grid-template-columns: 1fr; }
.raster--4 { grid-template-columns: 1fr; }

.karte {
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
  box-shadow: var(--schatten-zart);
  display: flex;
  flex-direction: column;
}
.karte h3 { margin-bottom: var(--raum-2); }
.karte p { color: var(--text-weich); }
.karte .knopfreihe { margin-top: auto; padding-top: var(--raum-3); }

.karte__marke {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  margin-bottom: var(--raum-2);
}
.karte__marke--erfolg { background: var(--papier-grau); color: var(--text-zart); }
.karte__marke--kampagne { background: var(--akzent-hell); color: var(--akzent-text); }

/* Nummerierte Zielgruppen */
.zielgruppe {
  border-top: 2px solid var(--akzent);
  padding-top: var(--raum-2);
}
.zielgruppe__nr {
  display: block;
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--akzent-text);
  line-height: 1;
  margin-bottom: var(--raum-1);
}
.zielgruppe h3 { font-size: 1.15rem; margin-bottom: var(--raum-1); }
.zielgruppe p { font-size: 0.97rem; color: var(--text-weich); margin: 0; }

/* Ablauf in Schritten */
.schritte { counter-reset: schritt; display: grid; gap: var(--raum-4); }
.schritt { position: relative; padding-left: 3.6rem; }
.schritt::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--akzent);
  color: #fff;
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.schritt h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.schritt p { color: var(--text-weich); margin: 0; }

/* Gegenüberstellung Stellenbörse / DentalHunter */
.gegenueber { display: grid; gap: var(--raum-3); grid-template-columns: 1fr; }
.gegenueber__block {
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
  border: 1px solid var(--linie-zart);
}
.gegenueber__block--alt { background: var(--papier-warm); }
.gegenueber__block--neu { background: var(--tinte); border-color: var(--tinte); }
.gegenueber__block--neu h3 { color: #fff; }
.gegenueber__block ul { list-style: none; margin: 0; padding: 0; }
.gegenueber__block li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--linie-zart);
  font-size: 0.98rem;
}
.gegenueber__block li:last-child { border-bottom: 0; }
.gegenueber__block--alt li { color: var(--text-weich); }
.gegenueber__block--alt li::before {
  content: "–";
  position: absolute; left: 0.2rem; top: 0.6rem;
  color: var(--text-zart); font-weight: 700;
}
.gegenueber__block--neu li { color: var(--text-hell); border-bottom-color: rgba(255,255,255,0.14); }
.gegenueber__block--neu li::before {
  content: "";
  position: absolute; left: 0.15rem; top: 1.05rem;
  width: 0.7rem; height: 0.38rem;
  border-left: 2px solid #5fc9cf;
  border-bottom: 2px solid #5fc9cf;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Über mich
   -------------------------------------------------------------------------- */

.person { display: grid; gap: var(--raum-4); grid-template-columns: 1fr; align-items: start; }

.person__bild {
  border-radius: var(--rundung-gross);
  overflow: hidden;
  background: var(--akzent-hell);
  box-shadow: var(--schatten-hoch);
}
.person__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }

.person__zitat {
  margin: var(--raum-3) 0 0;
  padding: var(--raum-3);
  background: var(--papier-warm);
  border-left: 3px solid var(--akzent);
  border-radius: var(--rundung);
  font-family: var(--schrift-titel);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text);
}
.person__zitat p { margin: 0; }

/* --------------------------------------------------------------------------
   10. Preisblöcke (Seite Zahntechniker)
   -------------------------------------------------------------------------- */

.leistung {
  border: 1px solid var(--linie-zart);
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
  background: var(--papier);
  box-shadow: var(--schatten-zart);
}
.leistung + .leistung { margin-top: var(--raum-3); }
.leistung__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--raum-2);
  padding-bottom: var(--raum-2);
  margin-bottom: var(--raum-3);
  border-bottom: 1px solid var(--linie-zart);
}
.leistung__kopf h3 { margin: 0; }
.leistung__preis {
  font-family: var(--schrift-titel);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--akzent-text);
  white-space: nowrap;
}

/* Kostenrechnung: bewusst als lesbarer Textblock, nicht als Grafik */
.rechnung {
  background: var(--tinte);
  color: #cddce0;
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
  margin: var(--raum-4) 0;
}
.rechnung h3 { color: #fff; margin-bottom: var(--raum-3); }
.rechnung__zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--raum-2);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rechnung__zeile:last-of-type { border-bottom: 0; }
.rechnung__zeile--summe {
  border-top: 2px solid #5fc9cf;
  border-bottom: 0;
  margin-top: var(--raum-2);
  padding-top: var(--raum-3);
}
.rechnung__bezeichnung { flex: 1 1 60%; }
.rechnung__wert {
  font-family: var(--schrift-titel);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
}
.rechnung__zeile--summe .rechnung__wert { font-size: 1.7rem; font-weight: 800; color: #5fc9cf; }
.rechnung__fussnote { font-size: 0.92rem; color: var(--text-gedaempft); margin-top: var(--raum-3); }

/* --------------------------------------------------------------------------
   11. Fragenteil
   -------------------------------------------------------------------------- */

.fragen { max-width: var(--breite-text); }
.frage {
  border-bottom: 1px solid var(--linie-zart);
}
.frage:first-child { border-top: 1px solid var(--linie-zart); }
.frage summary {
  cursor: pointer;
  padding: var(--raum-3) 2.5rem var(--raum-3) 0;
  font-weight: 600;
  color: var(--tinte);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 1.75rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--akzent-text);
  border-bottom: 2px solid var(--akzent-text);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.frage[open] summary::after { transform: rotate(-135deg); }
.frage__text { padding: 0 0 var(--raum-3); color: var(--text-weich); }
.frage__text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Formulare
   -------------------------------------------------------------------------- */

.formular {
  background: var(--papier);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rundung-gross);
  padding: var(--raum-4);
  box-shadow: var(--schatten-zart);
}
.formular__kopf { margin-bottom: var(--raum-3); }
.formular__kopf h3 { margin-bottom: 0.35rem; }
.formular__vorzeile { color: var(--text-weich); font-size: 0.98rem; margin: 0; }

.feldpaar { display: grid; gap: var(--raum-2); grid-template-columns: 1fr; }
.feld { margin-bottom: var(--raum-3); }
.feld:last-of-type { margin-bottom: var(--raum-2); }

.feld label,
.feldgruppe__titel {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tinte);
  margin-bottom: 0.4rem;
}

/* Sichtbare Kennzeichnung der Pflichtfelder */
.pflicht { color: var(--akzent-text); font-weight: 700; }
.feld__hinweis { display: block; font-size: 0.85rem; color: var(--text-zart); font-weight: 400; margin-top: 0.2rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--rundung);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--akzent);
  box-shadow: 0 0 0 3px rgba(14, 127, 133, 0.16);
  outline: none;
}
textarea { min-height: 7rem; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234d5a55' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.7rem;
  padding-right: 2.4rem;
}

/* Mehrfachauswahl der Schwerpunkte als Kästchenfeld */
.feldgruppe {
  border: 0;
  margin: 0 0 var(--raum-3);
  padding: 0;
}
.feldgruppe legend { padding: 0; }
.auswahlfeld {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  margin-top: 0.5rem;
}
.auswahlfeld label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.97rem;
  color: var(--text);
  margin: 0;
  padding: 0.45rem 0.5rem;
  border-radius: var(--rundung);
  cursor: pointer;
  min-height: 2.75rem;
}
.auswahlfeld label:hover { background: var(--papier-warm); }
.auswahlfeld input { margin-top: 0.35rem; flex: none; width: 1.05rem; height: 1.05rem; accent-color: var(--akzent); }

/* Einwilligungen: getrennt, nicht vorangekreuzt */
.einwilligung {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--raum-3);
  background: var(--papier-warm);
  border: 1px solid var(--linie-zart);
  border-radius: var(--rundung);
  margin-bottom: var(--raum-2);
  cursor: pointer;
}
.einwilligung input {
  margin-top: 0.3rem;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--akzent);
}
.einwilligung span { font-size: 0.92rem; line-height: 1.6; color: var(--text-weich); }

/* Honigtopf: unsichtbares Feld gegen automatisierte Einsendungen.
   Der Nutzer bekommt davon nichts mit und muss kein Rätsel lösen. */
.honigtopf {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.meldung {
  border-radius: var(--rundung);
  padding: var(--raum-3);
  margin-bottom: var(--raum-3);
  font-size: 0.98rem;
  border: 1px solid;
}
.meldung--gut { background: #eef6f0; border-color: #b9d9c4; color: #1f5033; }
.meldung--schlecht { background: #fbefee; border-color: #e5bfbb; color: #7d2c24; }
.meldung p:last-child { margin-bottom: 0; }

.formular__fuss { font-size: 0.86rem; color: var(--text-zart); margin-top: var(--raum-2); }

/* --------------------------------------------------------------------------
   13. Kontaktabschluss
   -------------------------------------------------------------------------- */

.abschluss { display: grid; gap: var(--raum-5); grid-template-columns: 1fr; align-items: start; }
.abschluss__daten { list-style: none; margin: var(--raum-4) 0 0; padding: 0; }
.abschluss__daten li {
  padding: var(--raum-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.98rem;
}
.abschluss__daten li:last-child { border-bottom: 0; }
.abschluss__daten a { color: #fff; }
.abschluss__marke {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gedaempft);
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   14. Hinweisblock für Bewerber
   -------------------------------------------------------------------------- */

.bewerberblock {
  background: var(--akzent-hell);
  border-radius: var(--rundung-gross);
  padding: var(--raum-5) var(--raum-4);
  border: 1px solid #c3e4e5;
}

/* --------------------------------------------------------------------------
   15. Fußbereich
   -------------------------------------------------------------------------- */

.fuss {
  background: #052b2f;
  color: var(--text-gedaempft);
  padding: var(--raum-5) 0 var(--raum-4);
  font-size: 0.93rem;
}
.fuss__raster { display: grid; gap: var(--raum-4); grid-template-columns: 1fr; margin-bottom: var(--raum-4); }
.fuss h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--raum-2); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 0.55rem; }
.fuss a { color: var(--text-hell); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__unten {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--raum-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--raum-2) var(--raum-3);
  justify-content: space-between;
  font-size: 0.87rem;
}

/* --------------------------------------------------------------------------
   16. Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.rechtstext { max-width: var(--breite-text); }
.rechtstext h2 { margin-top: var(--raum-5); font-size: 1.5rem; }
.rechtstext h3 { margin-top: var(--raum-4); font-size: 1.15rem; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: 0.5rem; }

.entwurfshinweis {
  background: #fdf6e6;
  border: 1px solid #e6d4a8;
  border-left: 4px solid #b8892a;
  border-radius: var(--rundung);
  padding: var(--raum-3) var(--raum-4);
  margin-bottom: var(--raum-5);
}
.entwurfshinweis h2 { margin-top: 0; font-size: 1.1rem; color: #6b5115; }
.entwurfshinweis p { color: #6b5115; margin-bottom: var(--raum-2); }
.entwurfshinweis p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. Breitere Bildschirme
   -------------------------------------------------------------------------- */

@media (min-width: 720px) {
  .zahlenpaar { grid-template-columns: 1fr 1fr; }
  .raster--2 { grid-template-columns: 1fr 1fr; }
  .raster--3 { grid-template-columns: repeat(2, 1fr); }
  .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .gegenueber { grid-template-columns: 1fr 1fr; }
  .feldpaar { grid-template-columns: 1fr 1fr; }
  .auswahlfeld { grid-template-columns: 1fr 1fr; }
  .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr; }
  .abschluss { grid-template-columns: 1fr 1fr; gap: var(--raum-6); }
}

@media (min-width: 960px) {
  .aufmacher__raster { grid-template-columns: 1.05fr 0.95fr; gap: var(--raum-5); }
  .raster--3 { grid-template-columns: repeat(3, 1fr); }
  .raster--4 { grid-template-columns: repeat(4, 1fr); }
  .person { grid-template-columns: 26rem 1fr; gap: var(--raum-5); }
  .bahn { padding: var(--raum-7) 0; }
  .aufmacher { padding: var(--raum-7) 0 var(--raum-6); }
}

/* --------------------------------------------------------------------------
   18. Telefon: Navigation aufklappbar
   -------------------------------------------------------------------------- */

@media (max-width: 899px) {
  .navi__schalter { display: block; }

  .navi__liste {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--papier);
    border-top: 1px solid var(--linie-zart);
    border-bottom: 1px solid var(--linie-zart);
    padding: var(--raum-2) var(--raum-3) var(--raum-3);
    box-shadow: var(--schatten-hoch);
  }
  .navi__liste.ist-offen { display: flex; }
  .navi__liste li { width: 100%; }
  .navi__liste a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--linie-zart);
    font-size: 1.05rem;
  }
  .navi__liste a:hover,
  .navi__liste a[aria-current="page"] { border-bottom-color: var(--linie-zart); }

  .kopf { position: relative; }
  .kopf__innen { position: relative; }
  .kopf__ruf { display: none; }
  .kopf .knopf { padding: 0.6rem 1rem; font-size: 0.9rem; }
}

@media (max-width: 479px) {
  .knopfreihe .knopf { width: 100%; }
  .marke { font-size: 1.15rem; }
}

/* --------------------------------------------------------------------------
   19. Rücksicht auf Systemeinstellungen und Druck
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .knopf:hover { transform: none; }
}

@media print {
  .kopf, .fuss, .knopfreihe, .navi { display: none; }
  body { font-size: 11pt; color: #000; }
  .bahn { padding: 1rem 0; }
  .frage__text { display: block !important; }
}
