/* ==========================================================================
   Steuerberatungsgesellschaft EE mbH — Relaunch-Entwurf
   Statischer Mockup, Stand: Design-Abstimmung
   --------------------------------------------------------------------------
   Aufbau (bewusst nah an einer spaeteren WordPress-Umsetzung):
     1. Design-Tokens      -> spaeter theme.json (settings.color / typography)
     2. Basis & Typografie -> theme.json styles.elements
     3. Layout-Primitive   -> .wrap / .section  (Layout-Blocks)
     4. Bausteine          -> Header, Hero, Karten, Formular ... (Block-Patterns)
     5. Utilities
   Klassennamen sind nach Baustein benannt, damit sie sich 1:1 auf
   Block-Patterns bzw. header.php / footer.php uebertragen lassen.
   ========================================================================== */

/* 1. ----------------------------------------------------------- Tokens ---- */

:root {
  /* Markenfarben — exakt aus logo-ee-farbe.svg entnommen */
  --c-orange:        #f1511b;   /* Bildmarke */
  --c-orange-deep:   #c8400f;   /* Textfarbe/Hover, kontraststark auf Hell */
  --c-orange-tint:   #fdeee8;
  --c-teal:          #006a86;   /* Schriftzug */
  --c-teal-deep:     #04485a;
  --c-teal-night:    #033441;   /* Footer */
  --c-teal-tint:     #e5eff2;

  /* Neutrale, warme Basis */
  --c-paper:         #faf8f5;
  --c-paper-2:       #ffffff;
  --c-sand:          #f1eae0;
  --c-line:          #e4ddd2;
  --c-ink:           #2b2b28;
  --c-ink-soft:      #5f5d56;

  /* Typografie */
  --font-text:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /* Display = Serif, greift den Schriftzug der Wortmarke auf.
     Falls durchgaengig serifenlos gewuenscht: hier auf var(--font-text) stellen. */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: clamp(1.0313rem, 0.99rem + 0.19vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.31vw, 1.3125rem);
  --fs-h3:   clamp(1.1875rem, 1.12rem + 0.34vw, 1.375rem);
  --fs-h2:   clamp(1.625rem, 1.42rem + 0.9vw, 2.25rem);
  --fs-h1:   clamp(2rem, 1.62rem + 1.7vw, 3.125rem);
  --fs-hero: clamp(2rem, 1.6rem + 1.8vw, 3.125rem);

  /* Raster */
  --wrap:      75rem;   /* 1200px */
  --wrap-text: 44rem;   /* Lesebreite Fliesstext */
  --gutter:    clamp(1.25rem, 0.9rem + 1.7vw, 2.5rem);
  --space-section: clamp(3.5rem, 2.4rem + 5vw, 7rem);
  --radius:    2px;     /* bewusst zurueckhaltend, seriös */
  --radius-lg: 3px;

  --shadow-sm: 0 1px 2px rgba(43, 43, 40, .05), 0 6px 20px -12px rgba(43, 43, 40, .18);
  --shadow-md: 0 2px 4px rgba(43, 43, 40, .05), 0 24px 50px -28px rgba(43, 43, 40, .32);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. ---------------------------------------------- Basis & Typografie ---- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--c-teal-deep);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: 1.0625rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0; }

p  { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--c-teal);
  text-decoration-color: color-mix(in srgb, var(--c-teal) 35%, transparent);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
a:hover { color: var(--c-orange-deep); text-decoration-color: currentColor; }

strong, b { font-weight: 700; color: var(--c-ink); }

::selection { background: var(--c-orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Sprungmarke */
.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--c-teal-night); color: #fff;
  padding: .65rem 1.1rem; border-radius: var(--radius);
  font-size: var(--fs-sm); text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: .5rem; color: #fff; }

/* 3. ------------------------------------------------ Layout-Primitive ---- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 56rem; }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--sand  { background: var(--c-sand); }
.section--paper { background: var(--c-paper-2); }
.section--teal  { background: var(--c-teal-night); color: #e8eef0; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal a { color: #fff; }

/* Kopfzeile eines Abschnitts */
.section-head { max-width: var(--wrap-text); margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lead); color: var(--c-ink-soft); margin-bottom: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-family: var(--font-text);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-orange-deep);
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 2px; flex: none;
  background: var(--c-orange);
}
.section-head--center .eyebrow { justify-content: center; }
.section--teal .eyebrow { color: #f0a487; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--c-ink-soft);
}

.prose { max-width: var(--wrap-text); }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-orange); }

/* 4. -------------------------------------------------------- Bausteine --- */

/* 4.1 Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .015em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--c-orange); color: #fff; }
.btn--primary:hover { background: var(--c-orange-deep); color: #fff; }

.btn--outline { border-color: color-mix(in srgb, var(--c-teal) 40%, transparent); color: var(--c-teal-deep); }
.btn--outline:hover { border-color: var(--c-teal); background: var(--c-teal-tint); color: var(--c-teal-deep); }

.btn--light { background: #fff; color: var(--c-teal-deep); }
.btn--light:hover { background: var(--c-orange); color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-text);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none;
  color: var(--c-teal);
}
.link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(.25rem); }

/* 4.2 Kopfbereich -------------------------------------------------------- */

.topbar {
  background: var(--c-teal-night);
  color: #cfdde1;
  font-size: var(--fs-xs);
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 2.5rem;
}
.topbar-contact { display: flex; align-items: center; gap: 1.5rem; }
.topbar a { color: #e9f0f2; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--c-orange); }
.topbar svg { width: .95em; height: .95em; opacity: .75; }
.topbar-note { color: #9db2b9; display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 60rem) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--c-paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 5rem;
}
.site-logo { display: block; flex: none; }
.site-logo img { width: auto; height: clamp(2.6rem, 2.2rem + 1.4vw, 3.75rem); }

.site-nav ul {
  display: flex; align-items: center; gap: clamp(.25rem, -.3rem + 1.6vw, 1.35rem);
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: .5rem .15rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.site-nav a:hover { color: var(--c-teal); border-bottom-color: var(--c-line); }
.site-nav a[aria-current="page"] { color: var(--c-teal-deep); font-weight: 700; border-bottom-color: var(--c-orange); }
.site-nav .nav-cta { margin-left: .5rem; }
.site-nav .nav-cta a { border-bottom: 0; padding: .7rem 1.35rem; color: #fff; }
.site-nav .nav-cta a:hover { color: #fff; }
.site-nav .nav-cta a[aria-current="page"] { color: #fff; font-weight: 600; }

.nav-toggle {
  display: none;
  align-items: center; gap: .55rem;
  background: none; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: .55rem .85rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-teal-deep); cursor: pointer;
}
.nav-toggle-bars { display: block; width: 1.05rem; height: 9px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after  { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-paper-2);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { display: block; padding: .5rem var(--gutter) 1.5rem; }
  .site-nav li + li { border-top: 1px solid var(--c-line); }
  .site-nav a { padding: .95rem 0; font-size: 1.0625rem; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--c-orange-deep); }
  .site-nav .nav-cta { margin: 1.25rem 0 0; border-top: 0; }
  .site-nav .nav-cta a { padding: .8rem 1.6rem; justify-content: center; }
}

/* 4.3 Hero --------------------------------------------------------------- */

.hero { position: relative; background: var(--c-paper); }
.hero-media { position: relative; height: clamp(21rem, 12rem + 40vh, 34rem); overflow: hidden; }
@media (max-width: 48rem) { .hero-media { height: min(46vh, 21rem); } }
.hero-media > .ph, .hero-media > img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }

.hero-card {
  position: relative;
  background: var(--c-paper-2);
  padding: clamp(1.75rem, 1.1rem + 3vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--c-orange);
  max-width: 53rem;
  margin-top: clamp(-6rem, -3rem - 8vw, -2rem);
}
.hero-card h1 {
  font-size: var(--fs-hero);
  margin-bottom: .5em;
  letter-spacing: -0.02em;
}
.hero-card .lead { max-width: 38rem; }

/* Seitenkopf der Unterseiten */
.page-hero { background: var(--c-sand); border-bottom: 1px solid var(--c-line); }
.page-hero .wrap {
  display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.75rem);
}
@media (min-width: 56rem) {
  .page-hero--media .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
.page-hero h1 { margin-bottom: .45em; }
.page-hero .lead { max-width: 38rem; margin-bottom: 0; }
.page-hero-media { aspect-ratio: 4 / 3; }
.page-hero-media > * { width: 100%; height: 100%; object-fit: cover; }

/* 4.4 Bild-Platzhalter --------------------------------------------------- */
/* Fuer noch fehlende Naturmotive. Bewusst als Platzhalter erkennbar:
   Farbflaeche in der Sekundaerfarbe + Motivangabe. Keine Stockfotos
   (Lizenzfrage ungeklaert), siehe Brief Punkt 6. */

.ph {
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 8%,  rgba(255,255,255,.55), transparent 60%),
    radial-gradient(90% 70% at 88% 96%, color-mix(in srgb, var(--c-orange) 16%, transparent), transparent 65%),
    linear-gradient(157deg, #9fc2ca 0%, var(--c-teal) 55%, var(--c-teal-deep) 100%);
}
/* Hoehenlinien — nimmt die Natur-/Landschaftsanmutung vorweg, ohne Foto */
.ph::before {
  content: "";
  position: absolute; inset: -30%;
  background: repeating-radial-gradient(
    ellipse 62% 48% at 30% 78%,
    rgba(255,255,255,.16) 0 1px,
    transparent 1px 26px
  );
  opacity: .8;
  pointer-events: none;
}
.ph-label {
  position: relative;
  margin: 1rem;
  padding: .4rem .7rem;
  background: rgba(3, 52, 65, .58);
  backdrop-filter: blur(3px);
  border-left: 2px solid var(--c-orange);
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 1.4;
  letter-spacing: .01em;
  max-width: 22rem;
}
.ph-label b { color: #fff; font-weight: 700; display: block; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ph--sand {
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(255,255,255,.7), transparent 62%),
    linear-gradient(157deg, #efe3d3 0%, #d9c9b4 60%, #c2ab92 100%);
}
.ph--sand .ph-label { background: rgba(43,43,40,.6); }

/* 4.5 Karten-Raster ------------------------------------------------------ */

.grid { display: grid; gap: clamp(1.1rem, .8rem + 1.2vw, 1.75rem); }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.card {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1.1rem + .8vw, 2rem);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--c-ink-soft); font-size: var(--fs-sm); line-height: 1.65; }
.card--link:hover { border-color: color-mix(in srgb, var(--c-teal) 45%, transparent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.section--sand .card { background: var(--c-paper-2); }

/* Wertekarte mit Zaehler */
.value-card { position: relative; padding-top: clamp(1.6rem, 1.2rem + 1vw, 2.25rem); }
.value-card::before {
  content: attr(data-num);
  display: block;
  font-family: var(--font-display);
  font-size: .875rem; font-weight: 600; letter-spacing: .1em;
  color: var(--c-orange);
  margin-bottom: .9rem;
}
.value-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 2.5rem; height: 3px;
  background: var(--c-orange);
}

/* Leistungskachel */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { color: var(--c-teal-deep); }
.service-num, .card .service-num {
  font-family: var(--font-text);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em;
  color: var(--c-orange); display: block; margin-bottom: .75rem;
}

/* Karte als Ganzes verlinkt */
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover h3 { color: var(--c-orange-deep); }

/* 4.6 Zwei-Spalten-Feature ---------------------------------------------- */

.feature {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3.5vw, 4rem);
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
}
.feature-body { align-self: center; }
@media (min-width: 56rem) {
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--reverse .feature-media { order: 2; }
}
.feature-media {
  position: relative;
  min-height: clamp(17rem, 13rem + 12vw, 26rem);
}
.feature-media > img, .feature-media > .ph {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.feature-body h2 { margin-bottom: .55em; }

/* Bildunterschrift */
.figure-caption {
  margin-top: .7rem;
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
}

/* 4.7 Lebenslauf --------------------------------------------------------- */

.cv { display: grid; gap: 0; }
.cv-item {
  display: grid;
  gap: .35rem clamp(1.25rem, .8rem + 2vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.25rem, 1rem + .8vw, 1.75rem) 0;
  border-top: 1px solid var(--c-line);
}
.cv-item:last-child { border-bottom: 1px solid var(--c-line); }
@media (min-width: 44rem) {
  .cv-item { grid-template-columns: 9.5rem minmax(0, 1fr); }
}
.cv-period {
  font-family: var(--font-text);
  font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: .02em;
  color: var(--c-orange-deep);
  white-space: nowrap;
}
.cv-body h3 { font-size: 1.0625rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0; margin-bottom: .3rem; color: var(--c-ink); }
.cv-body p { font-size: var(--fs-sm); color: var(--c-ink-soft); margin-bottom: 0; }
.cv-item--future { background: var(--c-orange-tint); padding-inline: clamp(1rem, .6rem + 1.5vw, 1.5rem); }

/* 4.8 Tag-Liste (weitere Branchen) -------------------------------------- */

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: .4rem .9rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}
.section--sand .tag-list li { background: var(--c-paper-2); }

/* 4.9 Kontaktdaten-Block ------------------------------------------------- */

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .3rem; color: var(--c-orange); }
.contact-list .label { display: block; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-soft); margin-bottom: .1rem; }
.contact-list a { text-decoration: none; font-weight: 600; }

.contact-panel {
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-teal);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}

/* 4.10 Formular ---------------------------------------------------------- */

.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-teal-deep); }
.field .optional { font-weight: 400; color: var(--c-ink-soft); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: .75rem .9rem;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px var(--c-teal-tint);
}
.field-check { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.field-check input { width: 1.1rem; height: 1.1rem; margin-top: .3rem; flex: none; accent-color: var(--c-orange); }

/* 4.11 Hinweis auf offene Punkte ---------------------------------------- */
/* Sichtbare Markierung fuer Inhalte, die noch nicht geliefert wurden. */

.todo {
  display: inline-flex; align-items: baseline; gap: .55rem;
  background: var(--c-orange-tint);
  border: 1px dashed color-mix(in srgb, var(--c-orange) 55%, transparent);
  border-radius: var(--radius);
  padding: .3rem .65rem;
  color: var(--c-orange-deep);
  font-size: var(--fs-sm);
  font-style: normal;
}
.todo::before {
  content: "offen";
  font-size: .625rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--c-orange);
  padding: .1rem .4rem; border-radius: 1px;
  position: relative; top: -1px;
}
.todo--block {
  display: flex; padding: 1rem 1.1rem; align-items: flex-start;
  color: var(--c-ink); line-height: 1.6;
}
.todo--block strong { color: var(--c-orange-deep); }

/* 4.12 Kontakt-Schiene (Kundenwunsch: auf jeder Seite sichtbar) ---------- */

/* Desktop: schmale, fixierte Schiene am rechten Rand, klappt bei Hover auf. */
.contact-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 80;
  display: none;
  background: var(--c-teal-night);
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-rail ul { list-style: none; margin: 0; padding: 0; }
.contact-rail li + li { border-top: 1px solid rgba(255,255,255,.12); }
.contact-rail a, .contact-rail .rail-static {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1rem;
  color: #e9f0f2; text-decoration: none;
  font-size: var(--fs-sm); font-weight: 600;
  white-space: nowrap;
}
.contact-rail svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--c-orange); }
.contact-rail .rail-text {
  display: grid;
  grid-template-columns: 0fr;
  transition: grid-template-columns .3s var(--ease);
}
.contact-rail .rail-text > span { overflow: hidden; }
.contact-rail:hover .rail-text, .contact-rail:focus-within .rail-text { grid-template-columns: 1fr; }
.contact-rail .rail-static { color: #9db2b9; font-weight: 400; }
.contact-rail a:hover { background: var(--c-teal-deep); color: #fff; }
@media (min-width: 78rem) { .contact-rail { display: block; } }

/* Mobil: Sticky-Leiste am unteren Rand. */
.contact-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--c-teal-night);
  box-shadow: 0 -6px 24px -12px rgba(3, 52, 65, .5);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-dock a {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .6rem .5rem .65rem;
  color: #e9f0f2; text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.contact-dock a + a { border-left: 1px solid rgba(255,255,255,.12); }
.contact-dock svg { width: 1.15rem; height: 1.15rem; color: var(--c-orange); }
.contact-dock a:active { background: var(--c-teal-deep); }
@media (min-width: 60rem) { .contact-dock { display: none; } }
@media (max-width: 59.999rem) { body { padding-bottom: 4rem; } }

/* 4.13 Handlungsaufforderung -------------------------------------------- */

.cta-band { background: var(--c-teal-night); color: #dbe6e9; }
.cta-band .wrap {
  display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  align-items: center;
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}
@media (min-width: 56rem) { .cta-band .wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b6c8cd; }
.cta-band .eyebrow { color: #f0a487; }

/* 4.14 Fusszeile --------------------------------------------------------- */

.site-footer { background: var(--c-teal-deep); color: #c3d3d8; font-size: var(--fs-sm); }
.site-footer .wrap { padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.footer-grid {
  display: grid; gap: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 44rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

.footer-logo img { height: 3.25rem; width: auto; margin-bottom: 1.25rem; }
.footer-claim { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.5; color: #e4edef; max-width: 22rem; }

.site-footer h2 {
  font-family: var(--font-text);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #8fb0b9; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #dfeaed; text-decoration: none; }
.site-footer a:hover { color: var(--c-orange); }
.site-footer .contact-list svg { color: var(--c-orange); }
.site-footer .contact-list .label { color: #8fb0b9; }
.site-footer address { font-style: normal; line-height: 1.75; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: #93b0b8;
}
.footer-bar ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* 5. -------------------------------------------------------- Utilities --- */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.15rem; }

/* Entwurfs-Kennzeichnung ------------------------------------------------- */
.draft-flag {
  background: var(--c-orange);
  color: #fff;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  padding: .4rem 1rem;
}
.draft-flag a { color: #fff; text-decoration: underline; }

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

@media print {
  .topbar, .site-header, .contact-rail, .contact-dock, .draft-flag, .btn-row { display: none !important; }
  body { background: #fff; padding: 0; }
}
