/* ==========================================================================
   Bernhard Rechtsanwalt – Gestaltung, Fassung 2 (16.11.2026)
   Modern, schlicht, vertrauenswürdig: Weiß, viel Luft, eine Schrift (Manrope),
   Hairlines statt Rahmen, ein ruhiges Grün als einziger Akzent. Keine Bibliotheken.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F5F3;
  --bg-soft-2: #ECEEEB;
  --ink: #101513;
  --ink-2: #2B322F;
  --ink-soft: #4E5753;
  --muted: #707A75;
  --line: #E4E7E5;
  --line-2: #CFD4D1;
  --accent: #1E5A46;
  --accent-2: #2A6F57;
  --accent-soft: #E6F0EC;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 6px;
  --r-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.015em; }
h1 em, h2 em, .hero__title em { font-style: normal; color: var(--muted); font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r); }
.skip-link:focus { left: 8px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 1rem; }
.eyebrow--light { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons – ruhig, eckig-weich */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: var(--r); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--light:hover { border-color: var(--ink); color: var(--ink); }
.btn--link { padding: 0; border: 0; border-radius: 0; color: var(--ink); background: none; font-weight: 600; }
.btn--link svg { transition: transform .2s var(--ease); }
.btn--link:hover { color: var(--accent); }
.btn--link:hover svg { transform: translateX(4px); }
.btn--sm { padding: 10px 14px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { display: inline-flex; flex: none; width: 28px; height: 28px; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand__tag { font-size: .82rem; color: var(--muted); font-weight: 500; }
.brand--light { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-block; padding: 8px 12px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: var(--r); transition: color .2s, background .2s; }
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__item.is-active > .nav__link { color: var(--ink); font-weight: 700; }
.nav__more { width: 26px; height: 26px; border: 0; background: transparent; cursor: pointer; margin-left: -8px; position: relative; }
.nav__more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translate(-50%, -65%) rotate(45deg); transition: transform .2s; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 50px -24px rgba(16, 21, 19, .25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__sub a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: var(--r); font-size: .93rem; }
.nav__sub a:hover { background: var(--bg-soft); }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub, .nav__item--sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item--sub.is-open .nav__more::after { transform: translate(-50%, -30%) rotate(225deg); }
.nav__meta { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav__phone svg { width: 17px; height: 17px; color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px var(--gutter) 40px; overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; z-index: 40; }
  .nav-open .nav { transform: none; visibility: visible; }
  html { overflow-x: hidden; }   /* kein Querscroll durch das nach rechts geschobene Menü */
  /* Tipp-Ziele: Links in Fußzeile, Brotkrumen, Karten und Listen mindestens 24 px hoch */
  .footer__col a, .footer__contact a, .footer__legal a, .crumbs a, .card__list a, .person__kontakt a, .eckdaten a, .contact__info a, .prose p a:not(.btn), .prose li a:not(.btn), .faq summary, .post__more, .liste__meta a, .audience__item a, .standort__body a, .facts__item a { display: inline-block; padding: 3px 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 16px 2px; font-size: 1.15rem; border-radius: 0; color: var(--ink); }
  .nav__more { width: 48px; height: 48px; margin: 0; }
  .nav__sub { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 10px; display: none; }
  .nav__item--sub.is-open .nav__sub { display: block; }
  .nav__item--sub:hover .nav__sub { display: none; }
  .nav__item--sub.is-open:hover .nav__sub { display: block; }
  .nav__meta { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; }
}

/* Hero – große ruhige Typografie, auf der Startseite mit Vertrauens-Karte rechts */
.hero { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero--start { padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.hero--start::before { content: ""; position: absolute; top: -30%; right: -10%; width: 55vw; height: 160%; background: radial-gradient(closest-side, #EEF3F0, transparent 72%); z-index: -1; }
.hero--start .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--start .hero__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 15ch; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero__badges span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); border-radius: 999px; padding: 7px 12px; }
.hero--page { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.hero--page .hero__title { max-width: 20ch; }
.hero--page .hero__lead { margin-bottom: .4em; }
.hero__aside { display: none; }
.hero--start .hero__aside { display: block; }

/* Vertrauens-Karte */
.panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 30px 60px -40px rgba(16, 21, 19, .35); }
.panel::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--r-lg); background: var(--bg-soft); z-index: -1; }
.panel__head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #E8ECE9, #D4DBD6); flex: none; display: grid; place-items: center; color: var(--muted); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.panel__name { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.panel__role { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.panel__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.panel__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.panel__list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.panel__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); }
.panel__foot a { font-weight: 600; color: var(--ink); text-decoration: none; }
.panel__foot a:hover { color: var(--accent); }

/* Bild im Hero (rechte Spalte) mit überlappender Karte */
.hero__visual { position: relative; }
.hero__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #E8ECE9, #D4DBD6); background-size: cover; background-position: center; }
.hero__visual .panel { position: absolute; left: -28px; bottom: 28px; right: 36px; }
.hero__visual .panel::before { display: none; }

/* Wissen – Beiträge */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.post { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.post + .post { border-left: 1px solid var(--line); padding-left: 26px; }
.post__tag { font-size: .78rem; font-weight: 600; color: var(--accent); }
.post__title { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.post__text { color: var(--ink-soft); font-size: .95rem; }
.post__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.post__more svg { width: 16px; height: 16px; }
.post:hover .post__title { color: var(--accent); }

/* Standort */
.standort { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.standort__photo { min-height: 320px; border-radius: var(--r-lg); background: linear-gradient(160deg, #E8ECE9, #D4DBD6); background-size: cover; background-position: center; }
.standort__body { display: flex; flex-direction: column; justify-content: center; }
.standort__body .btn { align-self: flex-start; }
.standort__body dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 18px; margin: 18px 0 22px; }
.standort__body dt { color: var(--muted); font-size: .9rem; padding-top: 2px; }
.standort__body dd { margin: 0; }

/* Für wen – drei Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience__item { background: var(--bg-soft); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.audience__item svg { width: 26px; height: 26px; color: var(--accent); }
.audience__item h3 { margin: 6px 0 0; font-size: 1.15rem; }
.audience__item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.audience__item a { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.audience__item a svg { width: 16px; height: 16px; color: currentColor; }
.audience__item a:hover { color: var(--accent); }
.crumbs { margin-bottom: 1.6rem; font-size: .84rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Bildband unter dem Start-Hero */
.band { padding: 0 0 clamp(40px, 6vw, 72px); }
.band__img { position: relative; aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #E3E8E4, #D6DDD8 55%, #C9D2CC); }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.band__caption { position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: var(--r); padding: 12px 16px; font-size: .9rem; }
.band__caption strong { display: block; font-weight: 700; }
.band__caption span { color: var(--muted); }

/* Fakten – Hairlines, monochrom */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: 22px 0; display: flex; flex-direction: column; gap: 4px; }
.facts__item + .facts__item { border-left: 1px solid var(--line); padding-left: 24px; }
.facts__item svg { display: none; }
.facts__item strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.facts__item span { font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--paper { background: var(--bg-soft); }
.section--dark { background: var(--bg-soft); color: var(--ink); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: start; margin-bottom: clamp(28px, 4vw, 56px); }
.section__head h2 { margin-bottom: 0; max-width: 18ch; }
.section__head p { margin: 0; padding-top: .4em; }

/* Rechtsgebiete – Raster mit Hairlines, ohne Rahmen */
.rg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.rg-row { border-bottom: 1px solid var(--line); }
.rg-row:nth-child(odd) { border-right: 1px solid var(--line); }
.rg-row__link { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; padding: 30px clamp(18px, 2.6vw, 36px) 30px 0; color: var(--ink); text-decoration: none; transition: background .25s; }
.rg-row:nth-child(even) .rg-row__link { padding-left: clamp(18px, 2.6vw, 36px); padding-right: 0; }
.rg-row__link:hover { color: var(--ink); }
.rg-row__num { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.rg-row__body { display: flex; flex-direction: column; gap: 8px; }
.rg-row__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.rg-row__text { color: var(--ink-soft); font-size: .98rem; max-width: 42ch; }
.rg-row__arrow { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); transition: transform .25s var(--ease), color .25s; }
.rg-row__arrow svg { width: 20px; height: 20px; }
.rg-row__link:hover .rg-row__arrow { transform: translateX(6px); color: var(--accent); }

/* Kacheln (Unterseiten) */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tile:nth-child(odd) { border-right: 1px solid var(--line); }
.tile:nth-child(even) { padding-left: 24px; padding-right: 0; }
.tile:hover .tile__title { color: var(--accent); }
.tile__num { font-size: .78rem; font-weight: 600; color: var(--muted); }
.tile__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; transition: color .2s; }
.tile__text { color: var(--ink-soft); font-size: .95rem; }
.tile__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.tile__more svg { width: 16px; height: 16px; }

/* Werte – drei Spalten, Hairline oben */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.value { border-top: 1px solid var(--ink); padding-top: 18px; }
.value__label { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.value h3 { margin-bottom: .45em; }
.value p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Über */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about__img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #E8ECE9, #D9DFDB); position: relative; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.portrait__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.quote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; color: var(--ink); margin: 0 0 1em; }
.quote::before, .quote::after { content: none; }
.about__sig { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.about__sig .about__sig strong { display: block; font-size: 1rem; }
.about__sig span { font-size: .86rem; color: var(--muted); }

/* Ablauf – Schritte als Zeitstrahl */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.step { counter-increment: s; position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: -.75em; left: 0; background: var(--bg); padding-right: 10px; font-size: .8rem; font-weight: 700; color: var(--accent); }
.section--paper .step::before { background: var(--bg-soft); }
.step h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* CTA – hell, groß, ruhig */
.cta { background: var(--bg-soft); padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.cta__title { font-size: clamp(1.9rem, 4vw, 3.3rem); max-width: 16ch; }
.cta__title em { font-style: normal; color: var(--muted); font-weight: 500; }
.cta__text { color: var(--ink-soft); max-width: 50ch; margin: 0; }
.cta__contact { display: flex; flex-direction: column; gap: 16px; }
.cta__line { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; }
.cta__line svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.cta__line small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 2px; }
.cta__hours { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--muted); font-size: .95rem; }
.cta__hours svg { width: 20px; height: 20px; }
.cta .btn--light { align-self: flex-start; margin-top: 6px; background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Inhaltsseiten */
.page { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 96px); align-items: start; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.prose { max-width: 66ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .35em; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.checks li svg { position: absolute; left: 0; top: .25em; width: 18px; height: 18px; color: var(--accent); }
.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--bg-soft); border-radius: var(--r-lg); padding: 24px; }
.card h3 { font-size: 1.05rem; margin-bottom: .6em; }
.card p { margin-bottom: .6em; font-size: .95rem; color: var(--ink-soft); }
.card .btn { margin-top: 6px; }
.card--accent { background: var(--ink); color: #fff; }
.card--accent h3 { color: #fff; }
.card--accent p { color: #CBD2CE; }
.card--accent a { color: #fff; }
.card--accent .btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.card__list { list-style: none; padding: 0; margin: 0; }
.card__list li { padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .94rem; }
.card__list li:first-child { border-top: 0; }
.card__list a { color: var(--ink); text-decoration: none; }
.card__list a:hover { color: var(--accent); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 0 18px; color: var(--ink-soft); max-width: 66ch; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.contact__info h2 { font-size: 1.4rem; }
.contact__info dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; margin: 0 0 1.5em; }
.contact__info dt { color: var(--muted); font-size: .9rem; padding-top: 2px; }
.contact__info dd { margin: 0; }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #E8ECE9, #D9DFDB); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { min-height: 160px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form .form__check, .form__check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9rem; }
.form .form__check input { width: auto; margin-top: 3px; }
.form__check input { width: auto; margin-top: 4px; }
.form .btn { justify-self: start; }

/* Footer – hell, Hairline */
.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 28px; color: var(--ink-soft); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__claim { margin: 16px 0 20px; font-size: .95rem; max-width: 38ch; color: var(--ink-soft); }
.footer__col h2 { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer__col a:hover { color: var(--accent); text-decoration: underline; }
.footer__contact p { margin-bottom: 10px; font-size: .95rem; }
.footer__contact a { color: var(--ink); text-decoration: none; }
.footer__hours { color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; font-size: .84rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--ink-soft); text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .cta__grid, .about, .page, .contact, .section__head, .hero--start .hero__grid { grid-template-columns: 1fr; }
  .hero--start .hero__title { max-width: none; }
  .panel { margin-top: 10px; }
  .audience { grid-template-columns: 1fr; }
  .hero__visual .panel { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
  .posts { grid-template-columns: 1fr; }
  .post + .post { border-left: 0; padding-left: 0; }
  .post { padding-right: 0; }
  .standort { grid-template-columns: 1fr; }
  .standort__photo { min-height: 220px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values { grid-template-columns: 1fr; }
  .rg-list { grid-template-columns: 1fr; }
  .rg-row:nth-child(odd) { border-right: 0; }
  .rg-row__link, .rg-row:nth-child(even) .rg-row__link { padding-left: 0; padding-right: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(odd) { border-right: 0; }
  .tile:nth-child(even) { padding-left: 0; }
  .side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .band__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__item + .facts__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .contact__info dl { grid-template-columns: 1fr; gap: 4px 0; }
  .contact__info dt { margin-top: 10px; }
}

/* ---------- Verwaltung und Ablage (nur auf /verwaltung und /ablage sichtbar) ---------- */
.portal-laden { color: var(--muted); }
.portal-form { max-width: 720px; }
.portal-form--schmal { max-width: 420px; margin: clamp(24px, 6vw, 72px) auto; padding: 32px; background: var(--bg-soft); border-radius: var(--r-lg); }
.portal-form__titel { font-size: 1.6rem; margin-bottom: .2em; }
.form__status { font-size: .9rem; margin: 0; color: var(--muted); }
.form__status.is-visible { padding: 10px 14px; border-radius: var(--r); }
.form__status--ok { background: #E6F2EC; color: #1E5A46; }
.form__status--err { background: #F8E8E6; color: #8A2E26; }
.form__check--inline { display: inline-flex; margin-left: 8px; }
.callout { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r); background: var(--bg-soft); border-left: 3px solid var(--accent); margin: 0 0 24px; }
.callout p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.callout--warn { border-left-color: #B8862B; background: #FBF4E6; }
.callout--info { border-left-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.btn--danger { background: transparent; color: #8A2E26; border-color: #E6C9C5; }
.btn--danger:hover { background: #F8E8E6; border-color: #8A2E26; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.badge--neu { background: var(--accent); color: #fff; }
.badge--laeuft { background: #E6F2EC; color: #1E5A46; }
.badge--ok { background: var(--bg-soft); color: var(--muted); }
.badge--warn { background: #FBF4E6; color: #8A5A10; }
.badge--neutral { background: #EEF0EE; color: var(--ink-soft); }

.vw-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 36px; align-items: start; }
.vw-seite { position: sticky; top: 92px; display: grid; gap: 14px; }
.vw-seite__konto { padding: 16px 18px; background: var(--bg-soft); border-radius: var(--r-lg); }
.vw-seite__konto .eyebrow { margin-bottom: 4px; }
.vw-seite__email { margin: 0 0 12px; font-size: .88rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.vw-nav { display: grid; gap: 2px; padding: 8px; background: var(--bg-soft); border-radius: var(--r-lg); }
.vw-nav__knopf { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: var(--r); background: transparent; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink-soft); text-align: left; cursor: pointer; }
.vw-nav__knopf svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vw-nav__knopf span:first-of-type { flex: 1 1 auto; }
.vw-nav__knopf:hover { background: #fff; color: var(--ink); }
.vw-nav__knopf.is-active { background: var(--ink); color: #fff; }
.vw-nav__zahl { min-width: 22px; padding: 2px 7px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; }
.vw-nav__zahl--warn { background: #B8862B; }
.vw-nav__zahl--live { background: #2E7D5B; }
.vw-nav__knopf.is-active .vw-nav__zahl { background: #fff; color: var(--ink); }
.vw-seite__links { display: grid; gap: 2px; padding: 4px 8px; }
.vw-seite__links a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--r); font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.vw-seite__links a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vw-seite__links a:hover { color: var(--ink); background: var(--bg-soft); }
.vw-haupt { min-width: 0; }
.vw-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vw-kopf h1 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vw-kopf__rechts { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.vw-h2 { font-size: 1.1rem; margin: 28px 0 12px; }
.vw-h2:first-child { margin-top: 0; }
.vw-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; align-items: start; }
.vw-filter { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; margin-bottom: 18px; }
.vw-filter__feld { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; min-width: min(100%, 220px); }
.vw-filter__feld input, .vw-filter__feld select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { display: grid; gap: 4px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--r-lg); }
.kpi__wert { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.kpi__label { font-size: .82rem; color: var(--muted); }
.zeitraum { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-soft); border-radius: var(--r); }
.zeitraum__knopf { padding: 7px 12px; border: 0; border-radius: calc(var(--r) - 2px); background: transparent; font: inherit; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.zeitraum__knopf.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding: 0 0 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); position: relative; }
.chart__balken { flex: 1 1 0; min-width: 2px; height: 100%; display: flex; align-items: flex-end; position: relative; }
.chart__wert { display: block; width: 100%; min-height: 2px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.chart__balken:hover .chart__wert { opacity: 1; }
.chart__label { position: absolute; left: 0; top: 100%; margin-top: 4px; font-size: .68rem; color: var(--muted); white-space: nowrap; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabelle th { text-align: left; font-size: .76rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line); }
.tabelle td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; position: relative; }
.tabelle .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.balken { position: absolute; left: 0; bottom: 2px; height: 3px; background: var(--accent); opacity: .35; border-radius: 2px; }
.balken-text { overflow-wrap: anywhere; }
.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.liste__item { border-bottom: 1px solid var(--line); }
.liste summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0; cursor: pointer; list-style: none; }
.liste summary::-webkit-details-marker { display: none; }
.liste summary:hover .liste__titel { color: var(--accent); }
.liste__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0; }
.liste__titel { flex: 1 1 auto; font-weight: 600; min-width: 200px; }
.liste__meta { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.liste__body { padding: 4px 0 20px; display: grid; gap: 14px; }
.liste__text { margin: 0; white-space: normal; font-size: .95rem; }
.liste__pre { margin: 0; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--r); font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 60vh; overflow: auto; }
.eckdaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; margin: 0; font-size: .9rem; }
.eckdaten dt { font-size: .76rem; color: var(--muted); font-weight: 600; }
.eckdaten dd { margin: 0; }
.an-form { gap: 12px; }
.ab-von { display: grid; gap: 4px; min-width: 200px; font-size: .85rem; }
.ab-von input { font: inherit; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.ab-neu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 0 0 36px; }
.ab-karte { padding: 22px 24px; background: var(--bg-soft); border-radius: var(--r-lg); gap: 12px; }
.ab-karte input, .ab-karte textarea { background: #fff; }
.ab-karte textarea { min-height: 120px; }
.ab-fortschritt { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.ab-fortschritt > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.ab-liste-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 12px; }
.ab-liste-kopf .vw-h2 { margin: 0; }
@media (max-width: 900px) {
  .vw-layout { grid-template-columns: 1fr; }
  .vw-seite { position: static; }
  .vw-nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .vw-grid2 { grid-template-columns: 1fr; }
  .kpis, .kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .liste__meta { white-space: normal; }
}

/* ---------- Logo-Seite (/logo) ---------- */
.logo-tafeln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.logo-tafeln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-tafel { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.logo-tafel__bild { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: clamp(24px, 4vw, 48px); background: #fff; }
.logo-tafel__bild img { display: block; width: 100%; max-width: 400px; height: auto; }
.logo-tafeln--3 .logo-tafel__bild { min-height: 200px; }
.logo-tafeln--3 .logo-tafel__bild img { max-width: 132px; }
.logo-tafel--dunkel .logo-tafel__bild { background: var(--ink); }
.logo-tafel--hell .logo-tafel__bild { background: var(--bg-soft); }
.logo-tafel__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.logo-tafel__fuss p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.farbfelder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.farbfeld { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.farbfeld__flaeche { height: 96px; border-bottom: 1px solid var(--line); }
.farbfeld__text { padding: 12px 14px; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }
.farbfeld__text strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.page--schmal { grid-template-columns: minmax(0, 1fr); border-top: 0; padding: 0; }
@media (max-width: 860px) { .logo-tafeln, .logo-tafeln--3 { grid-template-columns: 1fr; } .farbfelder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person { display: grid; gap: 14px; }
.person__foto { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #E8ECE9, #D9DFDB); }
.person__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 0; }
.person__rolle { color: var(--accent); font-weight: 600; font-size: .9rem; margin: 2px 0 0; }
.person__text { color: var(--ink-soft); font-size: .95rem; margin: 8px 0 0; }
.person__kontakt { margin: 6px 0 0; font-size: .9rem; }
.person__kontakt a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.person__kontakt a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

/* Porträts: schwarz-weiß, bei Mauskontakt farbig (Geräte ohne Maus: immer farbig) */
.person__foto img, .about__img img { filter: grayscale(1); transition: filter .45s ease; }
.person:hover .person__foto img, .person:focus-within .person__foto img, .about:hover .about__img img { filter: grayscale(0); }
@media (hover: none) { .person__foto img, .about__img img { filter: none; } }

/* hidden-Attribut gewinnt immer – auch gegen display: grid/flex der Bausteine (z. B. Dank-Hinweis am Kontaktformular) */
[hidden] { display: none !important; }
/* Anfahrtskarte: Hinweis mit Einwilligung, danach das iframe */
.map { display: grid; place-items: center; }
.map__hinweis { max-width: 42ch; padding: 24px; text-align: center; }
.map__hinweis p { margin: 0 0 14px; font-size: .92rem; color: var(--ink-soft); }
.map__hinweis strong { color: var(--ink); font-size: 1.02rem; }
.map__hinweis .btn-row { justify-content: center; }
.map--geladen { display: block; background: var(--bg-soft); }
