/* =========================================================================
   Rechtsanwälte Dusik.See — Design-System
   Marke: Schwarz/Anthrazit (Logo wie Briefkopf Verena) · warme Grautöne. Blaue Fassung: logo-*-blau.png, Farben in einstellungen.json
   Schrift: Verdana (Hausschrift, wie im Briefkopf) · Bookman als Serifen-Akzent
   Keine Cookies, kein Tracking, keine externen Schriften. Statisch & schnell.
   ========================================================================= */

:root {
  /* @farben-start (aus einstellungen.json, nicht hier aendern) */
  --brand: #0B5F7E;
  --brand-dark: #063F55;
  --brand-soft: #8A8A86;
  --ink: #161616;
  --navy-900: #02161D;
  --navy-deep: #04232D;
  --paper: #F7F7F5;
  --paper-2: #EAF1F4;
  --white: #FFFFFF;
  --line: #D7E3E8;
  --muted: #5A5A57;
  --muted-dark: #A3A39E;
  --sans:  Verdana, Geneva, "DejaVu Sans", Tahoma, sans-serif;
  --serif: "Bookman Old Style", "URW Bookman", "Bookman", Georgia, serif;
  /* @farben-ende */

  /* Farben auf dunklem Grund (Seitenkopf, Kontaktband, Fußzeile) */
  --on-dark:        #EAEAE6;   /* Fließtext auf Dunkel */
  --on-dark-muted:  #A3A39E;   /* Nebeninfos auf Dunkel */

  /* Schriftgrößen: EINE Stufenleiter (Faktor ~1.25), keine Einzelwerte */
  --fs-xs:   .8125rem;  /* 13 px  Kleingedrucktes, Datum, Brotkrümel */
  --fs-s:    .875rem;   /* 14 px  Karten-Text, Hinweise, Labels */
  --fs-base: 1rem;      /* 16 px  Fließtext */
  --fs-m:    1.125rem;  /* 18 px  Zwischenüberschrift klein */
  --fs-l:    clamp(1.25rem, 1.15rem + .45vw, 1.4rem);    /* h3 */
  --fs-xl:   clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);      /* h2 */
  --fs-xxl:  clamp(2rem, 1.45rem + 2.6vw, 3.05rem);      /* h1 */
  --fs-lead: clamp(1.075rem, 1rem + .35vw, 1.25rem);     /* Einleitung */

  /* Zeilenabstände */
  --lh-tight: 1.15;   /* Überschriften */
  --lh-snug:  1.45;   /* kleine Texte */
  --lh-body:  1.65;   /* Fließtext */

  /* Abstände: 8-Pixel-Raster */
  --sp-1: .5rem;  --sp-2: 1rem;  --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 2.5rem; --sp-6: 3rem;  --sp-8: 4rem;

  /* Ecken: zwei Stufen, überall gleich */
  --radius:    6px;    /* Buttons, Felder, Karten, Hinweise */
  --radius-lg: 16px;   /* Bildflächen */

  /* Maße */
  --wrap: 1200px;
  --measure: 68ch;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 1px 3px rgba(0,0,0,.07);
}

/* --------------------------------------------------------- Reset / Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--brand-dark); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand-dark) 35%, transparent); }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; line-height: var(--lh-tight); color: var(--ink); margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-xxl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-l); }
h4 { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 var(--sp-2); max-width: var(--measure); }
strong { font-weight: 700; }

/* --------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--navy-deep); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--on-dark-muted); }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; font-weight: 400; }
.section--dark .lead { color: var(--on-dark); }

/* Abschnitts-Markierung: feine Markenlinie + Label */
.mark { display: flex; align-items: center; gap: .75rem; margin-bottom: var(--sp-2); font-family: var(--sans); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .04em; color: var(--brand); text-transform: none; }
.mark::before { content: ""; width: 32px; height: 3px; background: var(--brand); display: inline-block; border-radius: 2px; }
.section--dark .mark { color: var(--brand-soft); }
.section--dark .mark::before { background: var(--brand-soft); }

/* --------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: var(--fs-base); line-height: 1;
  padding: 1rem 1.5rem; min-height: 48px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); color: var(--brand-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

/* --------------------------------------------------------- Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; display: block; }
/* Text-Wortmarke (nur Footer / Fallback) */
.brand--text { flex-direction: column; align-items: flex-start; line-height: 1; }
.brand--text b { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; }
.brand--text span { font-family: var(--sans); font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--sans); font-size: var(--fs-s); font-weight: 700; color: var(--ink); text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.nav-cta { margin-left: .4rem; }
.nav-cta a { color:#fff; padding: .75rem 1.25rem; min-height: 0; border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .6rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav[data-open="true"] .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--brand-dark); }
  .nav-links .nav-cta { margin: 1rem 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }
  .brand-logo { height: 36px; }
}

/* --------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-grid > * { min-width: 0; } /* verhindert, dass Bild oder Text die Spalte am Handy ueber den Rand drueckt */
.hero h1 { margin-bottom: .35em; }
@media (max-width: 440px) { .hero h1 { font-size: 1.7rem; } } /* jeder Satz der Leitzeile auf eine Zeile */
.hero .lead { max-width: 46ch; }
/* Fotos: freigestellte Personen auf weicher Markenfläche (keine harten Bildkanten) */
.photo-panel {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 95% at 50% 10%, #FAFAF8 0%, #ECECE8 50%, #D9D9D4 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: var(--sp-4) var(--sp-4) 0;
}
.photo-panel img { display: block; width: 100%; height: auto; border-radius: 0; aspect-ratio: auto; object-fit: contain; }
.photo-panel--portrait { padding: 0; aspect-ratio: 4 / 5; }
.photo-panel--portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-panel--wide { padding-inline: clamp(1rem, 8vw, 6rem); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .hero-figure { order: -1; }
}

/* Vertrauensleiste */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3) var(--sp-4); margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.trust div { min-width: 120px; }
.trust b { font-family: var(--sans); font-weight: 700; font-size: var(--fs-base); color: var(--brand-dark); display: block; line-height: var(--lh-snug); margin-bottom: .25rem; }
.trust span { display: block; font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; gap: var(--sp-2); } }

/* --------------------------------------------------------- Grid / Cards */
.grid { display: grid; gap: var(--sp-3); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* Rechtsgebiet-Karte */
.area {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.area:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.area-figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.area-figure img { width: 100%; height: 100%; object-fit: cover; }
.area-body { padding: var(--sp-3); display: flex; flex-direction: column; flex: 1; }
.area-body h3 { margin-bottom: var(--sp-1); }
.area-body p { font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); margin-bottom: var(--sp-2); }
.area-more { margin-top: auto; font-family: var(--sans); font-weight: 700; font-size: var(--fs-s); color: var(--brand-dark); }
.area:hover .area-more { color: var(--brand); }

/* Nutzen-Spalte (parallele Punkte, keine Nummerierung) */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; gap: var(--sp-3); } }
.benefit { border-top: 3px solid var(--brand); padding-top: var(--sp-2); }
.benefit h3 { font-size: var(--fs-m); margin-bottom: var(--sp-1); }
.benefit p { font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); margin: 0; }
.section--dark .benefit p { color: var(--on-dark-muted); }

/* Bild + Text nebeneinander */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--sp-4), 5vw, var(--sp-8)); align-items: center; }
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature--top { align-items: start; }
.feature-media > img { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.feature--flip .feature-media { order: 2; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature-media { order: 0; } }

/* --------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--sans); font-weight: 700; font-size: var(--fs-m); line-height: var(--lh-snug); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.5rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { padding-bottom: .4rem; }
.faq-answer { padding: 0 0 1.25rem; color: var(--muted); }
.faq-answer p { color: var(--muted); }

/* --------------------------------------------------------- Formular */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--sans); font-weight: 700; font-size: var(--fs-s); color: var(--ink); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); }
.check input { width: auto; margin-top: .25rem; }

/* --------------------------------------------------------- Beiträge (Blog) */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.post time { font-family: var(--sans); font-size: var(--fs-xs); color: var(--muted); }
.post h3, .post h2 { margin: var(--sp-1) 0; font-size: var(--fs-m); }
.post p { font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); margin: 0; }
.post:hover h3 { color: var(--brand); }

/* Artikel-Fließtext */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--sp-5); font-size: var(--fs-l); }
.prose h3 { margin-top: var(--sp-4); font-size: var(--fs-m); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; max-width: var(--measure); }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 4px solid var(--brand); color: var(--ink); font-family: var(--serif); font-size: var(--fs-lead); font-style: italic; }

/* --------------------------------------------------------- Seiten-Kopf (Unterseiten) */
.page-head { background: var(--navy-deep); color: var(--paper); }
.page-head .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { color: #fff; }
.page-head p { color: var(--on-dark); max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: var(--fs-xs); color: var(--on-dark-muted); margin-bottom: var(--sp-2); }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------- Kontakt-Band */
.cta-band { background: var(--navy-deep); color: var(--paper); }
.cta-band .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: var(--on-dark); margin: 0; }
.cta-band .actions { display: flex; flex-direction: column; gap: var(--sp-2); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Info-Box / Hinweis */
.note { background: var(--paper-2); border-left: 4px solid var(--brand); padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); font-size: var(--fs-s); line-height: var(--lh-snug); color: var(--muted); max-width: var(--measure); }
.note strong { color: var(--ink); }

/* Definitionsliste */
.data-list { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; max-width: var(--measure); }
.data-list dt { font-weight: 700; color: var(--muted); }
.data-list dd { margin: 0; }

/* --------------------------------------------------------- Footer */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); font-size: var(--fs-s); }
.site-footer .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand--text b { color: #fff; }
.site-footer .brand--text span { color: var(--on-dark-muted); }
.site-footer h4, .site-footer .footer-title { color: #fff; font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: var(--fs-xs); color: var(--on-dark-muted); }

/* --------------------------------------------------------- Helfer */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.center .mark { justify-content: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
/* Einblend-Animationen bewusst entfernt (schneller, robuster, wie mit Patric vereinbart) */
.reveal { opacity: 1; transform: none; }

/* Fußzeilen-Kurztext: einheitlich (überschreibt alte Inline-Farbe) */
.site-footer .footer-grid > div:first-child p { color: var(--on-dark-muted) !important; font-size: var(--fs-s) !important; }

/* Personen auf "Über uns": Foto bewusst kleiner als der Text (Thomas 09.11.) */
.feature--person { grid-template-columns: minmax(0, 22rem) 1fr; align-items: start; }
.feature--person.feature--flip { grid-template-columns: 1fr minmax(0, 22rem); }
@media (max-width: 760px) {
  .feature--person, .feature--person.feature--flip { grid-template-columns: 1fr; }
  .feature--person .photo-panel--portrait { max-width: 20rem; }
}

/* Wer bearbeitet welche Rechtsgebiete (Startseite) */
.zustaendig { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); max-width: 60rem; }
.zustaendig li { border-left: 3px solid var(--brand); padding: var(--sp-1) 0 var(--sp-1) var(--sp-2); }
.zustaendig strong { display: block; font-size: var(--fs-m); line-height: var(--lh-snug); color: var(--ink); }
.zustaendig span { display: block; margin-top: .25rem; color: var(--muted); line-height: var(--lh-snug); }
@media (max-width: 640px) { .zustaendig { grid-template-columns: 1fr; } }

/* ========================================================== @design-d-start
   Variante D (freigegeben von Thomas und Verena, 11.11.2026):
   Verlauf Schwarz -> Petrol -> Blau oben auf der Startseite und im Kopf jeder Unterseite,
   darunter helle Flaechen. Farben exakt wie Variante D im Farbtest (Thomas 11.11. abends:
   Anthrazit-/Blaugrau-Versuche zurueckgenommen). Karten mit weicher Tiefe, Logo im Verlauf bleiben. */
:root { --on-dark: #E3EEF2; --on-dark-muted: #9FC0CC; --verlauf: linear-gradient(115deg, #000 0%, #04232D 45%, #0B5F7E 80%, #1885B7 100%);
        --shadow: 0 1px 2px rgba(4,35,45,.06), 0 4px 12px rgba(4,35,45,.06); }

/* Logo oben links: Zeichen im Verlauf + Wortmarke in der Hausschrift */
.brand { gap: .7rem; }
.brand-mark { width: 40px; height: 40px; display: block; flex: none; }
.brand-name { font-family: var(--sans); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; line-height: 1; }
.brand-name span { font-weight: 400; }
.brand-name b { font-weight: 700; color: var(--brand-dark); }
@media (max-width: 400px) { .brand-name { font-size: .8rem; letter-spacing: .05em; } .brand-mark { width: 34px; height: 34px; } }

/* Startseite oben: Verlauf, helle Schrift */
.hero { background: var(--verlauf); }
.hero h1, .hero .trust b { color: #fff; }
.hero .lead, .hero .trust span { color: #C9DDE5; }
.hero .mark { color: #C9DDE5; } .hero .mark::before { background: #5FB3D6; }
.hero .trust { border-top-color: rgba(255,255,255,.18); }
.hero .btn--primary { background: #fff; color: #000; } .hero .btn--primary:hover { background: #DDEFF6; color: #000; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .photo-panel { background: radial-gradient(closest-side, rgba(95,179,214,.40) 0%, rgba(95,179,214,.12) 60%, rgba(95,179,214,0) 100%); }
@media (min-width: 861px) { .hero .hero-grid { padding-bottom: 0; } .hero .hero-figure { align-self: end; } .hero-copy { padding-bottom: clamp(3rem, 7vw, 5.5rem); } }

/* Unterseiten-Kopf und Kontaktband: derselbe Verlauf */
.page-head, .cta-band { background: linear-gradient(115deg, #000 0%, #062A36 60%, #0B5A75 100%); }
.site-footer { background: var(--navy-900); }

/* Helle Bildflaechen passend zum Verlauf */
.photo-panel { background: radial-gradient(120% 95% at 50% 10%, #F6FAFB 0%, #E2EEF2 50%, #C8DDE5 100%); }

/* Rechtsgebiet-Karten: kein harter Rand, weiche Tiefe (3D-Effekt), hebt sich beim Zeigen leicht an */
.area {
  border: 0;
  box-shadow: 0 1px 2px rgba(4,35,45,.05), 0 6px 16px rgba(4,35,45,.07), 0 18px 36px -14px rgba(4,35,45,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.area:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(4,35,45,.06), 0 12px 26px rgba(4,35,45,.10), 0 28px 50px -16px rgba(11,95,126,.32);
}
@media (prefers-reduced-motion: reduce) { .area, .area:hover { transition: none; transform: none; } }

/* Kontaktformular: das ds-Zeichen als dezentes Wasserzeichen */
.form { position: relative; isolation: isolate; }
.form::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 4%; top: 50%; transform: translateY(-50%); width: 34%; height: 86%;
  background: url("../img/logo-zeichen.png") no-repeat center / contain; opacity: .07;
}
/* ========================================================== @design-d-ende ========================================================== */

/* Verena/Thomas 21.11.2026: Kopfbereich ohne Bild und ohne Logo (Zeichen liegt fuer spaeter in assets/img/logo-zeichen-linie.svg), Team-Abschnitt ohne Foto */
.feature-solo { max-width: 46rem; }

/* Thomas 21.11.2026: Abschnitts-Marken auf der Startseite fuehren zur passenden Unterseite; "Mehr erfahren" unter einem Punkt */
a.mark--link { display: inline-flex; text-decoration: none; }
a.mark--link::after { content: "\2192"; font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
a.mark--link:hover, a.mark--link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
a.mark--link:hover::after, a.mark--link:focus-visible::after { opacity: 1; transform: none; }
.hero a.mark--link:hover { color: #fff; }
.benefit-more { display: inline-block; margin-top: var(--sp-1); font-family: var(--sans); font-weight: 700; font-size: var(--fs-s); color: var(--brand-dark); text-decoration: none; }
.benefit-more::after { content: " \2192"; }
.benefit-more:hover, .benefit-more:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
#arbeitsweise { scroll-margin-top: 5rem; }
