/* =============================================================
   Zahnarztpraxis Ameen – Stylesheet
   Ausrichtung: klassisch, ruhig, Text und Kontakt im Vordergrund.
   Aufbau:  1 Tokens · 2 Basis · 3 Layout · 4 Typografie · 5 Buttons
            6 Kopfbereich · 7 Startseite · 8 Komponenten · 9 Fuß
           10 Bewegung
   Farben und Abstände ausschließlich über :root steuern.
   ============================================================= */

/* ---------- 1 · Design-Tokens ------------------------------- */
:root {
  /* Farbwelt – zurückhaltend medizinisch */
  --paper:        #FFFFFF;   /* Grundhintergrund                      */
  --paper-alt:    #F2F6F6;   /* abgesetzte Sektionen                  */
  --paper-deep:   #123A42;   /* dunkle Flächen: Topbar, Fuß, CTA      */
  --ink:          #1B2A2E;   /* Überschriften und Fließtext           */
  --ink-soft:     #4C5F64;   /* Sekundärtext                          */
  --ink-faint:    #5E7176;   /* Labels und Meta – Kontrast AA geprüft */
  --accent:       #10626E;   /* Petrol, Akzentfarbe                   */
  --accent-deep:  #0B4A54;   /* Hover                                 */
  --accent-soft:  #E3EFF1;   /* Icon- und Hinweisflächen              */
  --signal:       #B3541E;   /* nur für Notfallhinweise               */
  --line:         #DCE3E4;
  --line-strong:  #BFCACC;

  /* Radien – klein und sachlich, keine Pillenform */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --shadow-sm: 0 1px 3px rgba(27,42,46,.07);
  --shadow-md: 0 2px 8px rgba(27,42,46,.08), 0 12px 32px rgba(27,42,46,.07);

  /* Typografie – eine gut lesbare Serifenlose für alles.
     Keine externen Schriften: kein Fremdrequest, keine Ladezeit,
     kein Datenschutzthema. Eigene Hausschrift: Stack ersetzen und
     die Webfonts selbst hosten. */
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --fs-label:  .78rem;
  --fs-small:  .9rem;
  --fs-body:   clamp(1rem, .97rem + .15vw, 1.06rem);
  --fs-lead:   clamp(1.06rem, 1rem + .3vw, 1.22rem);
  --fs-h3:     clamp(1.12rem, 1.06rem + .3vw, 1.3rem);
  --fs-h2:     clamp(1.55rem, 1.35rem + .9vw, 2.15rem);
  --fs-h1:     clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem);

  --shell:     1180px;
  --gutter:    clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 6.5vw, 6rem);
}

/* ---------- 2 · Basis --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: #fff; padding: .8rem 1.2rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .5rem; color: #fff; }

/* Sprungziele nicht unter den fixierten Kopfbereich scrollen lassen */
section[id], [id].service-row { scroll-margin-top: clamp(80px, 12vh, 120px); }

/* ---------- 3 · Layout -------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 4.5vw, 3.75rem); }
.section--alt  { background: var(--paper-alt); }
.section--dark { background: var(--paper-deep); color: #DCE7E8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #A8D2DA; }

.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--7-5 { grid-template-columns: 1.3fr 1fr; }
  .split--5-7 { grid-template-columns: 1fr 1.3fr; }
  .split--center { align-items: center; }
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- 4 · Typografie ---------------------------------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0 0 .65em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.65; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-small); }

/* Label über der Überschrift */
.eyebrow {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .7rem;
}
.section--dark .eyebrow { color: #9FC6CD; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head h2 { position: relative; padding-bottom: .7rem; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px; background: var(--accent); border-radius: 2px;
}
.section--dark .section-head h2::after { background: #6FA9B4; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center h2::after { left: 50%; transform: translateX(-50%); }
.section-head--center p { margin-inline: auto; }

/* ---------- 5 · Buttons ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px;
  padding: .75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font: inherit; font-weight: 600; font-size: .97rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost { background: #fff; color: var(--accent); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--accent-soft); color: var(--accent-deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--whatsapp { background: #0E7A5F; color: #fff; }
.btn--whatsapp:hover { background: #0B6B52; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; font-size: var(--fs-small); }
.link-arrow::after { content: "\203A"; font-size: 1.25em; line-height: 1; transition: transform .18s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6 · Kopfbereich --------------------------------- */
/* Schmale Leiste mit Adresse und Telefonnummer – auf deutschen
   Praxisseiten der gewohnte Ort für den Kontakt. */
.topbar { background: var(--paper-deep); color: #C6D8DB; font-size: var(--fs-small); }
.topbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .35rem 1.75rem; padding-block: .55rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-inner > span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { flex: none; width: 15px; height: 15px; opacity: .8; }
.topbar a { display: inline-flex; align-items: center; gap: .35rem; }
.topbar a svg { width: 14px; height: 14px; opacity: 1; }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(27,42,46,.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: clamp(.7rem, 1.6vw, 1.1rem);
  transition: padding-block .2s ease;
}
.site-header.is-stuck .header-inner { padding-block: .55rem; }

.brand { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--accent); display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); font-weight: 700; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav-list { display: flex; align-items: center; gap: clamp(.9rem, 1.9vw, 1.7rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; text-decoration: none; color: var(--ink);
  font-size: .97rem; font-weight: 600; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--accent); border-bottom-color: var(--line-strong); }
.nav-list a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta { min-height: 42px; padding: .5rem 1.05rem; font-size: .92rem; }

.nav-toggle {
  position: relative; z-index: 3;
  display: none; width: 46px; height: 46px;
  align-items: center; justify-content: center; flex-direction: column;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  cursor: pointer; color: var(--ink);
}
.nav-toggle .bar { display: block; width: 19px; height: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease; }
.nav-toggle .bar + .bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0; top: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 5.5rem var(--gutter) 6rem;
    background: #fff; min-height: 100dvh; overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 1rem 0; font-size: 1.2rem; border-bottom: 0; }
  .nav-list a[aria-current="page"] { border-bottom: 0; }
  .nav-cta { margin-top: 1.75rem; align-self: flex-start; min-height: 50px; padding: .75rem 1.4rem; font-size: .97rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 7 · Startseite ---------------------------------- */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
.hero-grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } }
.hero h1 { margin-bottom: .5em; }
.hero .lead { max-width: 46ch; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-figure img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
@media (max-width: 640px) { .hero-figure img { aspect-ratio: 4 / 3; } }

/* Drei Kontaktkacheln direkt unter dem Einstieg: Anrufen,
   Sprechzeiten, Adresse – die häufigste Absicht der Besucher. */
.quickinfo { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .quickinfo { grid-template-columns: repeat(3, 1fr); } }
.quickinfo-item { background: #fff; padding: clamp(1.25rem, 2.4vw, 1.75rem); display: flex; gap: 1rem; align-items: flex-start; }
.quickinfo-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.quickinfo-item p, .quickinfo-item address { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); font-style: normal; line-height: 1.6; }
.quickinfo-item a { font-weight: 600; text-decoration: none; }
.quickinfo-item a:hover { text-decoration: underline; }
.quickinfo-item .big { font-size: 1.15rem; font-weight: 700; color: var(--accent); }

/* Vorteilsleiste */
.benefit { display: flex; gap: .95rem; align-items: flex-start; }
.benefit h3 { font-size: 1rem; margin-bottom: .3rem; }
.benefit p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }

/* ---------- 8 · Komponenten --------------------------------- */
.icon-badge {
  width: 42px; height: 42px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); flex: none;
}
.icon-badge svg { width: 21px; height: 21px; }
.icon-badge svg[fill="currentColor"] { width: 19px; height: 19px; }
.section--dark .icon-badge { background: rgba(255,255,255,.12); color: #A8D2DA; }

.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.figure figcaption { margin-top: .6rem; font-size: var(--fs-small); color: var(--ink-faint); }
.figure--portrait img { aspect-ratio: 3 / 4; }
/* Schmaleres Portrait, damit das Bild den Textblock nicht erschlägt */
.figure--sm { max-width: 320px; }
.figure--wide img { aspect-ratio: 4 / 3; }

/* Leistungen */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
  display: flex; flex-direction: column; gap: .7rem;
  border-top: 3px solid var(--accent);
  transition: box-shadow .18s ease;
}
.service-card:hover { box-shadow: var(--shadow-sm); }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
.service-card .link-arrow { margin-top: auto; padding-top: .3rem; }

.service-row { display: grid; gap: 1rem; padding-block: clamp(1.5rem, 2.6vw, 2.1rem); border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .service-row { grid-template-columns: 56px 1fr 1.2fr; gap: 2rem; align-items: start; } }
.service-row h3 { margin: 0 0 .3rem; }
.service-row p { margin: 0; color: var(--ink-soft); }

/* Team */
.team-card { display: flex; flex-direction: column; }
.team-card .photo { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-alt); }
.team-card .photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.team-card h3 { margin: .95rem 0 .1rem; font-size: 1.08rem; }
.team-card .role { font-size: var(--fs-small); color: var(--accent); font-weight: 600; margin: 0; }
.team-card .note { font-size: var(--fs-small); color: var(--ink-soft); margin-top: .5rem; }

/* Werte */
.value { padding-left: 1rem; border-left: 3px solid var(--accent); }
.section--dark .value { border-left-color: #6FA9B4; }
.value h3 { margin-bottom: .3rem; }
.value p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.section--dark .value p { color: rgba(220,231,232,.82); }

/* Sprechzeiten */
.hours-box { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.hours-head { background: var(--accent); color: #fff; padding: .85rem 1.35rem; font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: .6rem; }
.hours-body { padding: .4rem 1.35rem 1.35rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .7rem 0; font-size: .97rem; vertical-align: top; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours th { font-weight: 600; white-space: nowrap; padding-right: 1rem; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.hours td span { display: block; }
.hours tr.is-closed th, .hours tr.is-closed td { color: var(--ink-faint); font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; }
.hours-note { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-soft); }

/* Kontaktdaten */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list .label { display: block; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: .15rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.section--dark .contact-list .label { color: rgba(220,231,232,.65); }
.section--dark .contact-list a, .section--dark .contact-list address { color: #fff; }
address { font-style: normal; }

/* Notfallhinweis – der einzige Ort mit Signalfarbe */
.emergency { border: 1px solid var(--line); border-left: 5px solid var(--signal); border-radius: var(--r-md); background: #fff; padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.emergency h3 { margin-bottom: .5rem; }
.emergency p { font-size: var(--fs-small); color: var(--ink-soft); }
.emergency .tel-big { font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* Häufige Fragen – natives details/summary, ohne JavaScript */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 2.5rem 1.35rem 0; color: var(--ink-soft); font-size: var(--fs-small); }
.faq .answer p { max-width: none; }

/* Galerie */
.gallery { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; padding: 0; border: 0; margin: 0; background: var(--paper-alt); border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; display: block; width: 100%; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem .85rem .7rem; background: linear-gradient(to top, rgba(18,58,66,.75), transparent); color: #fff; font-size: var(--fs-small); font-weight: 600; text-align: left; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,32,36,.94); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: var(--fs-small); margin-top: .9rem; text-align: center; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav[data-dir="prev"] { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox-nav[data-dir="next"] { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.26); }

/* Anfahrt */
.map-placeholder { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(1.5rem, 3vw, 2.25rem); }
.map-placeholder .icon-badge { margin-bottom: .9rem; }

/* Formular */
.form { display: grid; gap: 1.1rem; max-width: 620px; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--ink-faint); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; }
.checkbox input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: .2rem; accent-color: var(--accent); }
.checkbox label { font-weight: 500; font-size: var(--fs-small); line-height: 1.55; }

/* Stellenangebote */
.job { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md); background: #fff; padding: clamp(1.25rem, 2.2vw, 1.6rem); }
.job + .job { margin-top: 1rem; }
.job h3 { margin-bottom: .3rem; }
.job-meta { font-size: var(--fs-small); color: var(--accent); font-weight: 600; margin-bottom: .7rem; }
.job p:last-child { font-size: var(--fs-small); color: var(--ink-soft); }

/* Auswahlfeld und Datei-Upload im Bewerbungsformular */
.field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); min-height: 50px;
}
.field input[type="file"] {
  padding: .6rem .7rem; font-size: var(--fs-small); background: var(--paper-alt);
  border: 1px dashed var(--line-strong); cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  font: inherit; font-weight: 600; font-size: var(--fs-small);
  margin-right: .8rem; padding: .5rem .9rem; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--r-sm);
}
/* Honigtopf gegen automatische Formular-Einträge: für Menschen unsichtbar,
   für Bots ein sichtbares Feld. Kein display:none – das erkennen Bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Redaktionshinweis und Platzhalter */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 1rem 1.25rem; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: var(--fs-small); color: var(--ink-soft); margin-bottom: 1.75rem; }
.notice strong { color: var(--ink); }
.ph { background: #FFF3D6; border-bottom: 1px dashed #B8912F; padding: 0 .2em; border-radius: 2px; }

/* Rechtstexte */
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-top: 2.5rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.legal ul { padding-left: 1.15rem; color: var(--ink-soft); }
.legal li { margin-bottom: .4rem; }

/* Seitenkopf der Unterseiten */
.page-head { background: var(--paper-alt); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.breadcrumb { font-size: var(--fs-small); color: var(--ink-faint); margin-bottom: .8rem; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.page-head h1 { margin-bottom: .4em; }
.page-head .lead { max-width: 60ch; }

/* ---------- 9 · Fußbereich ---------------------------------- */
.site-footer { background: var(--paper-deep); color: #C6D8DB; padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-grid h4 { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: rgba(198,216,219,.75); font-weight: 700; margin-bottom: 1rem; }
.footer-name { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-bottom { margin-top: clamp(2.25rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: var(--fs-small); color: rgba(198,216,219,.8); }

/* Mobile Kontaktleiste: anrufen oder direkt schreiben */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 18px rgba(27,42,46,.16);
}
.call-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem .6rem;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.call-bar a + a { background: #0E7A5F; border-left: 1px solid rgba(255,255,255,.3); }
.call-bar a:hover, .call-bar a:focus { color: #fff; }
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: 62px; }
  .main-nav { padding-bottom: 6rem; }
}

/* ---------- 10 · Bewegung ----------------------------------- */
/* Bewusst sparsam: nur ein kurzes Einblenden beim Scrollen. */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible[data-delay="1"] { transition-delay: .06s; }
.reveal.is-visible[data-delay="2"] { transition-delay: .12s; }
.reveal.is-visible[data-delay="3"] { transition-delay: .18s; }

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

@media print {
  .site-header, .topbar, .call-bar, .btn, .gallery, .lightbox { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}
