/* ==========================================================================
   Steuerkanzlei Christian Schmidt – Design-System
   Schriften (lokal, SIL OFL): Inter (Text, Überschriften) + Source Serif 4 (Logo, Zitate)
   Farben nach dem Kanzlei-Logo: Navy #11154b, Rot #c50013, warmes Stein-Beige
   ========================================================================== */

@font-face { font-family: "Source Serif"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #090c2e; --navy-900: #11154b; --navy-800: #1b2062; --navy-700: #272d7c; --navy-600: #3a419a;
  --navy-200: #c9cce6; --navy-100: #e4e6f3; --navy-50: #f2f3f9;
  --red-600: #c50013; --red-700: #9e0010; --red-100: #fbe5e7;
  --stone-50: #faf9f6; --stone-100: #f3f1ec; --stone-200: #e7e3d9; --stone-300: #d8d3c5;
  /* Aliase für die Verwaltung */
  --plum-950: var(--navy-950); --plum-900: var(--navy-900); --plum-800: var(--navy-800); --gold-300: #d9c9a3;

  --bg: #ffffff; --bg-soft: var(--stone-100); --bg-tint: var(--navy-50);
  --surface: #ffffff; --surface-2: var(--stone-50); --glass: rgba(255, 255, 255, .86);
  --text: #15183a; --text-soft: #4b4f6b; --text-faint: #686c85;
  --border: #e2e1e8; --border-soft: #eeedf2;
  --primary: var(--navy-900); --primary-strong: var(--navy-950); --primary-soft: var(--navy-50); --on-primary: #fff;
  --accent: var(--red-600); --accent-strong: var(--red-700); --accent-soft: var(--red-100);
  --em: #8e1222; --focus: #c50013; --danger: #b3261e;
  --tile-bg: var(--navy-50); --tile-fg: var(--navy-800);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Source Serif", "Source Serif 4", Georgia, "Times New Roman", serif; /* Logo, Zitate */
  --font-heading: var(--font-sans); /* Überschriften */
  --em-grad: linear-gradient(100deg, #c50013 0%, #8e1222 45%, #3a419a 100%);
  --em-grad-dark: linear-gradient(100deg, #ff8f99 0%, #ffb3bb 45%, #aab0ff 100%);
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
  --fs-h4: clamp(1.25rem, 1.15rem + .4vw, 1.45rem);
  --fs-h3: clamp(1.45rem, 1.25rem + .8vw, 1.85rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.8rem);

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(17, 21, 75, .05), 0 2px 8px rgba(17, 21, 75, .04);
  --shadow-md: 0 14px 34px -16px rgba(17, 21, 75, .22), 0 4px 10px -6px rgba(17, 21, 75, .08);
  --shadow-lg: 0 34px 70px -28px rgba(17, 21, 75, .38), 0 12px 24px -12px rgba(17, 21, 75, .14);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-apple: cubic-bezier(.28, .11, .32, 1);
  --container: 1240px; --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --header-h: 80px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e26; --bg-soft: #10143a; --bg-tint: #121641;
    --surface: #13173f; --surface-2: #171c4a; --glass: rgba(11, 14, 38, .88);
    --text: #eef0fb; --text-soft: #c3c6dd; --text-faint: #9ea2bf;
    --border: #2a2f63; --border-soft: #20255a;
    --primary: #b9c0ff; --primary-strong: #dfe2ff; --primary-soft: #1c2160; --on-primary: #0b0e26;
    --accent: #ff7a86; --accent-strong: #ffa3ab; --accent-soft: #3a1426;
    --em: #ff9aa4; --focus: #ffb3ba;
    --tile-bg: #1c2160; --tile-fg: #c9cdff;
    --shadow-md: 0 14px 34px -16px rgba(0, 0, 0, .7); --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0e26; --bg-soft: #10143a; --bg-tint: #121641;
  --surface: #13173f; --surface-2: #171c4a; --glass: rgba(11, 14, 38, .88);
  --text: #eef0fb; --text-soft: #c3c6dd; --text-faint: #9ea2bf;
  --border: #2a2f63; --border-soft: #20255a;
  --primary: #b9c0ff; --primary-strong: #dfe2ff; --primary-soft: #1c2160; --on-primary: #0b0e26;
  --accent: #ff7a86; --accent-strong: #ffa3ab; --accent-soft: #3a1426;
  --em: #ff9aa4; --focus: #ffb3ba;
  --tile-bg: #1c2160; --tile-fg: #c9cdff;
  --shadow-md: 0 14px 34px -16px rgba(0, 0, 0, .7); --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-base)/1.65 var(--font-sans); font-feature-settings: "cv11", "ss01"; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 650; line-height: 1.08; letter-spacing: -.028em; margin: 0 0 .55em; color: var(--text); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 520px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 14 6 6; } }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.18; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: inherit; color: var(--em); padding-bottom: .06em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, h2 em, h3 em { background-image: var(--em-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
@media (forced-colors: active) { h1 em, h2 em, h3 em { background: none; -webkit-text-fill-color: currentColor; } }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; height: 1px; background: var(--border); margin: 3rem 0; }
code { font-size: .88em; background: var(--bg-soft); padding: .1em .35em; border-radius: 6px; }
::selection { background: var(--navy-100); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; display: inline-block; vertical-align: middle; stroke-width: 1.6; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; background: var(--navy-900); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 700; transform: translateY(calc(-100% - 2rem)); }
.skip-link:focus { transform: none; color: #fff; }
[hidden] { display: none !important; }
.muted { color: var(--text-soft); }
.center { text-align: center; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.check { background: #fff3c4; color: #5c4400; padding: .05em .35em; border-radius: 4px; font-weight: 600; font-size: .88em; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 800px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section-soft { background: var(--bg-soft); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--text-soft); line-height: 1.65; max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font: 700 .75rem/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.on-dark { color: rgba(255, 255, 255, .7); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { text-align: center; } .section-head.center .eyebrow { justify-content: center; }
.section-head.center h2 { margin-inline: auto; max-width: 20ch; }
.section-head.split { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } .section-head.split .lead { margin: 0; } }
.section-head h2 { margin-bottom: 0; }

/* ---------- Icons in Kacheln ---------- */
.ic-tile { width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
  background: var(--tile-bg); color: var(--tile-fg); border: 1px solid color-mix(in srgb, var(--tile-fg) 10%, transparent); position: relative; }
.ic-tile .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.ic-tile::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity .3s; }
.ic-tile.sm { width: 42px; height: 42px; border-radius: 12px; } .ic-tile.sm .icon { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--navy-900); --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--r-full); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font: 700 .95rem/1.1 var(--font-sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s, border-color .2s; }
.btn:hover { color: var(--btn-fg); background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(17, 21, 75, .6); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; stroke-width: 2; transition: transform .25s var(--ease-out); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--primary); border-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-ghost:hover { --btn-fg: var(--on-primary); background: var(--primary); border-color: var(--primary); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light:hover { --btn-fg: var(--navy-900); background: var(--stone-100); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { --btn-fg: var(--navy-900); background: #fff; }
.btn-danger { --btn-bg: var(--danger); } .btn-danger:hover { background: #8c1d18; }
:root[data-theme="dark"] .btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):not(.btn-danger) { --btn-bg: #c9ceff; --btn-fg: #0b0e26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):not(.btn-danger) { --btn-bg: #c9ceff; --btn-fg: #0b0e26; } }
:root[data-theme="dark"] .btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--primary); }
.link-arrow .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform .25s var(--ease-out); }
.link-arrow:hover .icon:last-child { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-mark .lm-a { fill: var(--navy-900); } .logo-mark .lm-b { fill: var(--red-600); }
.logo-text { display: grid; line-height: 1; }
.logo-name { font: 600 1.22rem/1.05 var(--font-display); letter-spacing: -.01em; }
.logo-sub { font: 700 .66rem/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--text-soft); margin-top: .35rem; }
.logo-light, .logo-light .logo-sub { color: #fff; } .logo-light .logo-sub { color: rgba(255, 255, 255, .65); }
.logo-light .logo-mark .lm-a { fill: #fff; }
:root[data-theme="dark"] .logo-mark .lm-a { fill: #dfe2ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-mark .lm-a { fill: #dfe2ff; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--glass); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 6px 24px -18px rgba(17, 21, 75, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { text-decoration: none; margin-right: auto; border-radius: 8px; flex-shrink: 0; }
.main-nav { display: none; }
@media (min-width: 1280px) { .main-nav { display: block; } }
.nav-list { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: var(--r-full); border: 0; background: none;
  color: var(--text); font: 600 .94rem/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--bg-soft); color: var(--text); }
.nav-link.is-active, .nav-link[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: calc(100% + 12px); width: min(760px, 90vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1rem; transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
.nav-item.is-open .mega, .nav-item:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega-grid a { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem; border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: background .2s; }
.mega-grid a:hover, .mega-grid a[aria-current] { background: var(--bg-soft); }
.mega-grid a:hover .ic-tile::after { opacity: 1; }
.mega-grid strong { display: block; font-size: .95rem; } .mega-grid small { display: block; color: var(--text-soft); font-size: .8rem; line-height: 1.45; margin-top: .15rem; }
.mega-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border-soft); margin-top: .6rem; padding: .9rem .8rem .3rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.header-phone { display: none; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--text); padding: .4rem .6rem; border-radius: var(--r-full); }
.header-phone .icon { color: var(--accent); width: 18px; height: 18px; stroke-width: 2; }
/* Telefon auf dem Desktop als runder Knopf (Nummer erscheint als Tooltip und für Screenreader) */
@media (min-width: 1280px) {
  .header-phone { display: inline-flex; }
  .header-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid var(--border); background: var(--surface); }
  .header-phone:hover { border-color: var(--primary); }
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.header-cta { display: none; } @media (min-width: 720px) { .header-cta { display: inline-flex; } }
.theme-toggle, .menu-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--primary); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; } :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
@media (min-width: 1280px) { .menu-toggle { display: none; } }
.bars { display: grid; gap: 4px; width: 18px; } .bar { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease-out), opacity .15s; }
.menu-open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); } .menu-open .bar:nth-child(2) { opacity: 0; } .menu-open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: var(--bg); padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease-out), visibility .25s; }
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-nav .m-link, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; border-bottom: 1px solid var(--border-soft);
  font: 650 1.4rem/1.2 var(--font-heading); letter-spacing: -.02em; color: var(--text); text-decoration: none; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav ul { list-style: none; padding: .5rem 0 1rem; margin: 0; display: grid; gap: .2rem; }
.mobile-nav ul a { display: flex; gap: .7rem; align-items: center; padding: .6rem .25rem; color: var(--text-soft); text-decoration: none; font-weight: 600; }
.m-contact { display: grid; gap: .7rem; margin-top: 2rem; }

/* ---------- Bildrahmen mit Parallax ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate; background: var(--bg-soft); }
.frame-lg { border-radius: var(--r-xl); } .frame-xl { border-radius: clamp(24px, 2vw + 12px, 40px); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame-inner { position: absolute; inset: -15% 0; will-change: transform; }
.frame-inner img { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 21, 75, .06); pointer-events: none; }

/* ---------- Hero (Startseite) ---------- */
.hero { padding: clamp(2rem, 1rem + 4vw, 4.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 60vw; height: 100%; background: radial-gradient(60% 60% at 70% 30%, var(--bg-tint), transparent 70%); z-index: -1; }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 1.5rem + 2.7vw, 4.1rem); }
.hero .lead { margin-bottom: 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--border); padding-top: 1.6rem; }
.hero-facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--text-soft); line-height: 1.45; }
.hero-facts .icon { color: var(--accent); width: 22px; height: 22px; margin-top: .1rem; }
.hero-facts strong { display: block; color: var(--text); font-size: .95rem; }
.hero-visual { position: relative; min-height: 420px; }
.hero-main { aspect-ratio: 4 / 4.6; width: 86%; margin-left: auto; box-shadow: var(--shadow-lg); }
.hero-small { position: absolute; left: 0; bottom: 8%; width: 40%; aspect-ratio: 1; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
.hero-quote { position: absolute; right: -2%; bottom: -4%; max-width: 300px; margin: 0; padding: 1.3rem 1.4rem 1.2rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-soft); }
.hero-quote .icon { color: var(--accent); width: 26px; height: 26px; margin-bottom: .4rem; }
.hero-quote blockquote { margin: 0; font: italic 500 1.05rem/1.45 var(--font-display); color: var(--text); }
.hero-quote figcaption { margin-top: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
@media (max-width: 640px) { .hero-quote { position: relative; right: auto; bottom: auto; margin: -2.5rem 0 0 auto; max-width: 88%; } .hero-small { width: 44%; bottom: 22%; } }

/* ---------- Schnellzugriff ---------- */
.quick { margin-top: -1rem; position: relative; z-index: 2; }
.quick-bar { background: var(--navy-900); color: #fff; border-radius: var(--r-xl); padding: 1.4rem; display: grid; gap: 1rem; box-shadow: var(--shadow-lg); }
@media (min-width: 1240px) { .quick-bar { grid-template-columns: auto 1fr; align-items: center; padding: 1.2rem 1.4rem 1.2rem 2rem; } }
@media (min-width: 900px) { .quick-items { grid-template-columns: repeat(4, 1fr); } }
.quick-title { display: flex; align-items: center; gap: .6rem; margin: 0; font: 700 .78rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.quick-title .icon { color: #ff8892; }
.quick-items { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.quick-items a { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border-radius: var(--r-md); color: #fff; text-decoration: none; transition: background .2s; }
.quick-items a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.quick-items .ic-tile { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .12); }
.quick-items strong { display: block; font-size: .95rem; } .quick-items small { display: block; color: rgba(255, 255, 255, .65); font-size: .8rem; }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .2s; text-decoration: none; color: inherit; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover .ic-tile::after { opacity: 1; }
.svc-card .ic-tile { margin-bottom: 1.2rem; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.svc-card h3 a { color: inherit; text-decoration: none; }
.svc-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.2rem; }
.svc-card .link-arrow { margin-top: auto; font-size: .88rem; }
.svc-card-cta { background: var(--bg-soft); border-style: dashed; }
.svc-card-cta:hover { color: inherit; }

/* ---------- Band (dunkle Karte mit Bild) ---------- */
.band { padding-block: clamp(1rem, .5rem + 2vw, 2rem); }
.band-card { display: grid; background: var(--navy-900); color: #fff; border-radius: clamp(24px, 2vw + 12px, 40px); overflow: hidden; }
@media (min-width: 960px) { .band-card { grid-template-columns: 1.1fr 1fr; } }
.band-media { min-height: 320px; border-radius: 0; background: var(--navy-800); }
@media (min-width: 960px) { .band-media { min-height: 560px; margin: 1rem; border-radius: calc(clamp(24px, 2vw + 12px, 40px) - 10px); } }
.band-content { padding: clamp(2rem, 1.5rem + 3vw, 4rem); align-self: center; }
.band-content h2 { color: #fff; } .band-content h2 em { color: #ffb1b8; --em-grad: var(--em-grad-dark); }
.band-content p { color: rgba(255, 255, 255, .78); }
.band-content .eyebrow { color: rgba(255, 255, 255, .7); }
.icon-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.icon-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.5; }
.icon-list .icon { width: 22px; height: 22px; margin-top: .1rem; color: var(--accent); }
.band-content .icon-list .icon { color: #ff8892; }
.icon-list.sm { gap: .5rem; font-size: .92rem; margin: .5rem 0 1rem; } .icon-list.sm .icon { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.2; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; min-height: 420px; }
.about-a { width: 64%; aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); }
.about-b { position: absolute; right: 0; bottom: -6%; width: 50%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.section-soft .about-b { border-color: var(--bg-soft); }
.about-grid > .frame { aspect-ratio: 1; box-shadow: var(--shadow-md); }
.sign-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.8rem 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.sign-row strong { display: block; font: 700 1.05rem/1.25 var(--font-heading); } .sign-row span { font-size: .85rem; color: var(--text-soft); }

/* ---------- Spezialisierungen, Werte ---------- */
.spec-grid, .values { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.spec, .value { padding: 2rem; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border-soft); }
.spec .ic-tile, .value .ic-tile { margin-bottom: 1.1rem; }
.spec h3 { font-size: 1.45rem; } .spec p, .value p { color: var(--text-soft); margin: 0; font-size: .95rem; }

/* ---------- Auszeichnung ---------- */
.award { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .award { grid-template-columns: 1.1fr 1fr; } }
.award-media { aspect-ratio: 16 / 10; box-shadow: var(--shadow-md); background: var(--navy-950); }
.award-media img { object-position: 62% center; }
.band-media img { object-position: 30% 85%; }

/* ---------- News ---------- */
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft); transition: transform .25s var(--ease-out), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pc-img { aspect-ratio: 16 / 10; border-radius: calc(var(--r-lg) - 8px); margin: .5rem .5rem 0; }
.pc-img img { transition: transform .5s var(--ease-out); }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy-200); } .pc-ph .icon { width: 48px; height: 48px; }
.pc-body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pc-meta { display: flex; gap: .7rem; align-items: center; font-size: .8rem; color: var(--text-faint); margin-bottom: .6rem; flex-wrap: wrap; }
.pc-cat { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.post-card h3 { font-size: 1.3rem; } .post-card h3 a { color: inherit; text-decoration: none; }
.post-card p { color: var(--text-soft); font-size: .93rem; }
.post-card .link-arrow { margin-top: auto; font-size: .85rem; }
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font-family: var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: var(--r-full); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; font-size: .88rem; background: var(--surface); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.chip.sm { min-height: 28px; padding: .1rem .7rem; font-size: .75rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 700; }
.pagination .is-current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.article-head { padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0 2rem; }
.article-head h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text-soft); margin: 1.5rem 0 1rem; }
.article-cover { aspect-ratio: 21 / 9; margin: 0 0 1rem; box-shadow: var(--shadow-md); }

/* ---------- Standorte ---------- */
.loc-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.loc-card { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.loc-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.loc-head h3 { font-size: 1.4rem; margin: 0; }
.loc-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.loc-card address { font-style: normal; margin-bottom: 1rem; line-height: 1.6; } .loc-card address small { color: var(--text-soft); }
.loc-contact { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.loc-contact li { display: flex; gap: .6rem; align-items: center; }
.loc-contact .icon { width: 18px; height: 18px; color: var(--text-faint); }
.loc-contact a { font-weight: 700; text-decoration: none; }
.loc-contact.big { font-size: 1.1rem; }
.loc-hours-title { display: flex; gap: .5rem; align-items: center; font: 700 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin: .4rem 0 .8rem; }
.loc-hours-title .icon { width: 16px; height: 16px; }
.hours { margin: 0 0 1.4rem; display: grid; gap: .1rem; font-size: .92rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--border); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; text-align: right; color: var(--text-soft); white-space: nowrap; }
.loc-card .link-arrow { margin-top: auto; font-size: .88rem; }
.loc-detail { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* ---------- Seitenkopf ---------- */
.page-hero { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(180deg, var(--bg-tint), var(--bg)); }
.page-hero-inner { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.page-hero-inner > * { min-width: 0; }
.page-hero.has-media .page-hero-inner { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .page-hero.has-media .page-hero-inner { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.page-hero h1 { max-width: 20ch; margin-top: .4rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-media { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1.6rem; font-size: .83rem; color: var(--text-faint); }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; } .breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Leistungsdetail ---------- */
.svc-detail { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .svc-detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 4.5rem; } .svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.check-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1.2rem 0 2.5rem; }
@media (min-width: 700px) { .check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: .9rem 2rem; } }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; background: var(--surface-2); border-radius: var(--r-md); border: 1px solid var(--border-soft); line-height: 1.5; }
.check-list .icon { color: var(--accent); margin-top: .1rem; width: 20px; height: 20px; }
.svc-group + .svc-group { margin-top: 1rem; }
.aside-card { display: block; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card h2 { display: flex; gap: .55rem; align-items: center; } .aside-card h2 .icon { color: var(--accent); width: 22px; height: 22px; }
.aside-card address { font-style: normal; margin-bottom: 1rem; }
.aside-link { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--text); transition: border-color .2s, transform .25s var(--ease-out); }
.aside-link:hover { border-color: var(--primary); color: var(--text); transform: translateY(-2px); }
.aside-link > span:nth-child(2) { flex: 1; } .aside-link strong { display: block; } .aside-link small { color: var(--text-soft); font-size: .85rem; }
.aside-link > .icon:last-child { color: var(--primary); }
.steps-grid { display: grid; gap: 3rem; align-items: center; } @media (min-width: 960px) { .steps-grid { grid-template-columns: 1fr 1.1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { display: flex; gap: 1.2rem; padding: 1.4rem; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border-soft); }
.step-n { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font: 700 1.1rem/1 var(--font-heading); }
.steps h3 { font-size: 1.25rem; margin-bottom: .2rem; } .steps p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- Team ---------- */
.team-loc { display: flex; gap: .6rem; align-items: center; font: 700 .8rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin: 3rem 0 1.2rem; }
.team-loc .icon { color: var(--accent); }
.team-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.person { display: flex; gap: 1rem; align-items: center; padding: .8rem 1.1rem .8rem .8rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); min-width: 0; }
.person-initials { width: 84px; height: 84px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--tile-bg); color: var(--tile-fg); font: 700 1.3rem/1 var(--font-heading); }
.person-photo { width: 84px; height: 84px; flex: none; border-radius: 18px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.person-body { min-width: 0; }
.person h3 { font: 700 1.05rem/1.3 var(--font-sans); margin: 0; letter-spacing: 0; }
.person-role { margin: .15rem 0 0; font-size: .85rem; color: var(--accent); font-weight: 600; }
.person-quali { margin: .3rem 0 0; font-size: .8rem; color: var(--text-soft); line-height: 1.45; }
/* Steuerberater: große Darstellung */
.team-leads { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 1.2rem; }
@media (min-width: 900px) { .team-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person.is-lead { flex-direction: column; align-items: stretch; padding: .6rem .6rem 1.4rem; }
.person.is-lead .person-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 6px); }
.person.is-lead .person-photo img { object-position: center 18%; }
.person.is-lead .person-body { padding: 0 .8rem; }
.person.is-lead h3 { font: 700 1.45rem/1.2 var(--font-heading); margin-top: .7rem; }
.person.is-lead .person-quali { font-size: .88rem; }

/* ---------- Karriere ---------- */
.job-list { display: grid; gap: .8rem; }
.job { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); flex-wrap: wrap; }
.job > div { flex: 1; min-width: 200px; } .job h3 { margin: 0; } .job p { margin: .2rem 0 0; color: var(--text-soft); font-size: .9rem; }

/* ---------- Mandantenservice & Downloads ---------- */
.trust-row { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-bottom: 3rem; }
.trust-row > div { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--bg-tint); font-size: .88rem; color: var(--text-soft); line-height: 1.45; }
.trust-row .icon { color: var(--primary); width: 22px; height: 22px; margin-top: .1rem; }
.trust-row strong { display: block; color: var(--text); font-size: .95rem; }
.ms-group { margin-top: 3rem; }
.ms-title { display: flex; align-items: center; gap: .9rem; font-size: 1.7rem; }
.form-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.form-tile { position: relative; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s; }
.form-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.form-tile .ic-tile { margin-bottom: 1rem; }
.form-tile h3 { font-size: 1.25rem; margin-bottom: .3rem; } .form-tile h3 a { color: inherit; text-decoration: none; }
.form-tile p { font-size: .9rem; color: var(--text-soft); }
.ft-meta { margin-top: auto; display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--primary); }
.ft-meta .icon { width: 16px; height: 16px; stroke-width: 2; }
.dl-teaser { display: grid; gap: 2.5rem; align-items: center; } @media (min-width: 960px) { .dl-teaser { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.dl-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dl-cats a { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--border-soft); text-decoration: none; color: var(--text); }
.dl-cats a:hover { border-color: var(--primary); color: var(--text); }
.dl-cats a > span:nth-child(2) { flex: 1; } .dl-cats strong { display: block; } .dl-cats small { color: var(--text-soft); }
.dl-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .dl-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; } .dl-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.dl-nav ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .2rem; }
.dl-nav ol a { display: flex; gap: .6rem; align-items: center; padding: .6rem .8rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: .93rem; }
.dl-nav ol a:hover { background: var(--bg-soft); color: var(--text); }
.dl-section { margin-bottom: 3rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.dl-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.dl-item { position: relative; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .2s, box-shadow .3s; }
.dl-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.dl-type { width: 48px; height: 56px; flex: none; border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 2px; background: var(--accent-soft); color: var(--accent); }
.dl-type small { font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.dl-type.dl-docx, .dl-type.dl-doc { background: var(--tile-bg); color: var(--tile-fg); }
.dl-type .icon { width: 20px; height: 20px; }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { font: 700 1rem/1.35 var(--font-sans); margin: 0; letter-spacing: 0; } .dl-body h3 a { color: var(--text); text-decoration: none; }
.dl-body p { margin: .2rem 0 0; font-size: .87rem; color: var(--text-soft); }
.dl-meta { font-size: .78rem; color: var(--text-faint); }
.dl-icon { color: var(--primary); } .dl-icon .icon { stroke-width: 2; }

/* ---------- Formulare (Allgemein) ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.field label, .field .label, .field legend { font-weight: 700; font-size: .9rem; color: var(--text); }
.req { color: var(--accent); }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font: 500 1rem/1.4 var(--font-sans); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23686c85' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field .hint { font-size: .82rem; color: var(--text-faint); line-height: 1.45; }
.field .error { display: flex; gap: .35rem; align-items: center; font-size: .84rem; color: var(--danger); font-weight: 600; }
.field .error .icon { width: 16px; height: 16px; stroke-width: 2; }
.field.has-error input:not([type=checkbox]):not([type=radio]), .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.chk { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.5; font-weight: 500; }
.chk input { width: 22px; height: 22px; flex: none; margin: .05rem 0 0; accent-color: var(--navy-900); cursor: pointer; }
:root[data-theme="dark"] .chk input { accent-color: #b9c0ff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r-md); font-size: .95rem; }
.alert .icon { margin-top: .15rem; flex: none; }
.alert-success { background: #e7f4ec; color: #17532f; } .alert-error { background: #fdecea; color: #8c1d18; } .alert-info { background: var(--bg-tint); color: var(--text); }
.alert a { color: inherit; font-weight: 700; }
.err-list { margin: .5rem 0 0; padding-left: 1.1rem; } .err-list a { font-weight: 600; }
.fnote { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--bg-tint); font-size: .92rem; line-height: 1.55; color: var(--text); }
.fnote > .icon { color: var(--primary); margin-top: .15rem; }
.choice { border: 0; padding: 0; margin: 0; } .choice legend { padding: 0; margin-bottom: .5rem; }
.choices { display: grid; gap: .5rem; } .choices.inline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.choices .chk { padding: .1rem 0; }

/* ---------- Online-Formular (mehrstufig) ---------- */
.form-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; } .form-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.3rem, .8rem + 2.5vw, 2.8rem); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 1rem); }
.xform { display: grid; gap: 1.6rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.xform-progress { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0; }
.xform-progress li { flex: 1 1 0; display: flex; flex-direction: column; gap: .5rem; min-width: 0; font-size: .76rem; color: var(--text-faint); font-weight: 600; }
.xform-progress .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xform-progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--border); transition: background .3s; }
.xform-progress li.is-done::before { background: var(--navy-600); } .xform-progress li.is-current::before { background: var(--accent); }
.xform-progress li.is-current { color: var(--text); }
.xform-progress .n { display: none; }
@media (max-width: 760px) { .xform-progress .t { display: none; } }
.xform-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-legend { padding: 0; font: 700 clamp(1.45rem, 1.25rem + .8vw, 1.9rem)/1.2 var(--font-heading); letter-spacing: -.025em; margin-bottom: 1rem; color: var(--text); }
.step-no { display: block; font: 700 .74rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.step-intro { color: var(--text-soft); margin-bottom: 1.2rem; }
.fgrid { display: grid; gap: 1.1rem 1.2rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.fgrid > * { grid-column: span 12; }
@media (min-width: 640px) {
  .fgrid > .w-2 { grid-column: span 6; } .fgrid > .w-3 { grid-column: span 4; } .fgrid > .w-23 { grid-column: span 8; } .fgrid > .w-4 { grid-column: span 3; }
}
.fsec { font: 700 .8rem/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin: .8rem 0 0; display: flex; gap: .5rem; align-items: center; }
.fgroup, .frepeat { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.2rem 1.3rem 1.4rem; margin: 0; background: var(--surface-2); min-width: 0; }
.fgroup legend, .frepeat legend { font-weight: 800; font-size: .95rem; padding: 0 .4rem; }
.frepeat > .hint, .fgroup > .hint { font-size: .85rem; color: var(--text-faint); margin: 0 0 1rem; }
.frow + .frow { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px dashed var(--border); }
.frow-title { margin: 0 0 .7rem; font-weight: 700; font-size: .85rem; color: var(--text-soft); }
.frepeat [data-repeat-add] { margin-top: 1rem; }
.single-chk { padding: .9rem 1rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border-soft); }
.single-chk.has-error { border-color: var(--danger); }
.consent { background: var(--bg-tint); border-color: transparent; }
.dropfile { position: relative; display: flex; gap: .8rem; align-items: center; justify-content: center; padding: 1.3rem 1rem; border: 1.5px dashed var(--border); border-radius: var(--r-md); background: var(--surface-2); color: var(--text-soft); font-size: .92rem; text-align: center; transition: border-color .2s, background .2s; }
.dropfile .icon { color: var(--primary); width: 26px; height: 26px; }
.dropfile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropfile:hover, .dropfile.is-drag { border-color: var(--primary); background: var(--bg-tint); }
.dropfile:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropfile.has-files { border-style: solid; border-color: var(--navy-600); color: var(--text); font-weight: 600; }
.sig-pad { position: relative; border: 1.5px solid var(--border); border-radius: var(--r-md); background: #fff; touch-action: none; overflow: hidden; }
.sig-pad canvas { display: block; width: 100%; height: 180px; cursor: crosshair; }
.sig-line { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 2.4rem; border-top: 1px solid #c7c9d6; padding-top: .3rem; font-size: .72rem; color: #8a8ea6; pointer-events: none; }
.sig-clear { position: absolute; right: .6rem; top: .6rem; --btn-fg: #11154b; background: #fff; }
.sig-nojs { display: none; } .no-js .sig-pad { display: none; } .no-js .sig-nojs { display: block; }
.secure-note { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--bg-tint); border-radius: var(--r-md); font-size: .88rem; color: var(--text-soft); line-height: 1.55; margin-bottom: 1rem; }
.secure-note .icon { color: var(--primary); width: 24px; height: 24px; }
.secure-note p { margin: 0; }
.xform-final { display: grid; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.step-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.step-nav .btn:only-child, .step-nav [data-next]:only-child { margin-left: auto; }
.step-nav [type=submit] { margin-left: auto; }
/* JS aktiv: nur der aktuelle Schritt ist sichtbar */
.js .xform[data-steps] .xform-step:not(.is-current) { display: none; }
.js .xform[data-steps] .xform-final:not(.is-current) { display: none; }
.js .xform[data-steps] .xform-step.is-last .step-nav { display: none; }
.no-js .xform-progress, .no-js [data-prev], .no-js [data-next] { display: none; }
.no-js .xform-step + .xform-step { padding-top: 1.6rem; border-top: 1px solid var(--border); }
.js [data-show-if].is-hidden { display: none; }
.form-done { text-align: center; padding: 2rem 0; }
.done-icon { width: 80px; height: 80px; margin: 0 auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: #e7f4ec; color: #17532f; }
.done-icon .icon { width: 40px; height: 40px; stroke-width: 1.8; }
.form-done .ref { font-size: 1.1rem; } .form-done .ref strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.contact-grid { display: grid; gap: 2rem; align-items: start; } @media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) 1fr; gap: 3rem; } }
.contact-side { display: grid; gap: 1rem; } .contact-side .aside-card + .aside-card { margin-top: 0; }

/* ---------- Rechtstexte ---------- */
.prose { font-size: 1.04rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); margin-top: 1.6em; }
.prose h4 { font-size: 1.15rem; margin-top: 1.4em; }
.prose h5 { font-size: .9rem; margin-top: 1.4em; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); }
.prose .align-left { text-align: left; } .prose .align-right { text-align: right; }
.prose .align-center { text-align: center; margin-inline: auto; }
.prose figure.align-center img, .prose img.align-center { margin-inline: auto; }
.prose img { border-radius: var(--r-lg); }
.prose figure { margin: 2rem 0; } .prose figcaption { font-size: .85rem; color: var(--text-faint); margin-top: .6rem; text-align: center; }
.prose blockquote { position: relative; margin: 2.4rem 0; padding: 1.6rem 1.8rem 1.6rem 4.2rem; background: var(--bg-soft); border-radius: var(--r-md); font: italic 500 1.3rem/1.5 var(--font-display); }
.prose blockquote::before { content: "\201E"; position: absolute; left: 1.3rem; top: .2rem; font: 600 3.4rem/1 var(--font-display); color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: .6rem .5rem; text-align: left; }
.prose .gallery-masonry { columns: 3 200px; column-gap: .75rem; margin: 2rem 0; }
.prose .gallery-masonry figure { break-inside: avoid; margin: 0 0 .75rem; border-radius: var(--r-md); overflow: hidden; }
.prose .gallery-masonry img { border-radius: 0; width: 100%; }
.prose .gallery-masonry.is-2col { columns: 2; }
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.65rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal address { font-style: normal; }
.legal .fnote { margin-bottom: 1.5rem; }
.legal-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.legal-layout > * { min-width: 0; }
.legal { overflow-wrap: break-word; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; } }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .86rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; border-left: 1px solid var(--border); }
.toc a { display: block; padding: .35rem .9rem; color: var(--text-soft); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--primary); border-left-color: var(--accent); }
@media (max-width: 1023px) { .toc { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.footer-cta { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); margin-bottom: 1rem; background: var(--navy-800); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 28px; background: var(--red-600); opacity: .9; transform: rotate(12deg); }
@media (min-width: 960px) { .footer-cta { grid-template-columns: 1.3fr auto; } }
.footer-cta h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin: 0; max-width: 22ch; } .footer-cta h2 em { color: #ffb1b8; --em-grad: var(--em-grad-dark); }
.footer-cta .btn-row { position: relative; z-index: 1; }
.site-footer .btn { color: var(--btn-fg); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .92rem; margin-top: 1.2rem; max-width: 34ch; }
.footer-mail a { display: inline-flex; gap: .5rem; align-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.footer-loc h2 { font: 700 .8rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-loc h2 a { color: #fff; text-decoration: none; } .footer-loc h2 a:hover { color: #ffb1b8; }
.footer-loc p { font-size: .92rem; margin: 0 0 .7rem; } .footer-loc p a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.footer-loc .icon { width: 16px; height: 16px; color: #ff8892; }
.hours-mini { list-style: none; padding: 0; margin: 0; font-size: .8rem; display: grid; gap: .2rem; }
.hours-mini li { display: grid; } .hours-mini li span:first-child { font-weight: 700; color: rgba(255, 255, 255, .85); } .hours-mini li + li { margin-top: .3rem; }
.footer-links-row { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-links-row nav, .footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: rgba(255, 255, 255, .8); } .site-footer a:hover { color: #fff; }
.footer-links-row a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { text-decoration: none; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy-900); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); box-shadow: var(--shadow-md); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease-out) var(--d, 0s), transform .55s var(--ease-out) var(--d, 0s); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* Bewegung aus, kurze Überblendungen (Farbe, Deckkraft) bleiben */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; }
}
@media print {
  .site-header, .site-footer, .to-top, .mobile-nav, .quick, .xform-progress, .step-nav { display: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; transform: none; }
}

/* Grid-Kinder dürfen schrumpfen (verhindert Querscrollen auf kleinen Bildschirmen) */
.form-layout, .dl-teaser, .contact-grid, .svc-detail, .steps-grid, .about-grid, .award, .dl-layout, .hero-grid { grid-template-columns: minmax(0, 1fr); }
.form-layout > *, .dl-teaser > *, .contact-grid > *, .svc-detail > *, .steps-grid > *, .about-grid > *, .award > *, .dl-layout > *, .hero-grid > *, .loc-detail > * { min-width: 0; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr) 320px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } .contact-grid { grid-template-columns: minmax(0, 1.4fr) 1fr; } }
@media (min-width: 960px) { .dl-teaser, .about-grid { grid-template-columns: 1fr 1fr; } .svc-detail { grid-template-columns: minmax(0, 1fr) 340px; } .steps-grid { grid-template-columns: 1fr 1.1fr; } .award { grid-template-columns: 1.1fr 1fr; } .dl-layout { grid-template-columns: 280px minmax(0, 1fr); } }
.xform { grid-template-columns: minmax(0, 1fr); } .xform > * { min-width: 0; }
.dl-cats span, .aside-link span, .quick-items span, .mega-grid span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; min-width: 0; }
@media (max-width: 1023px) { .xform[data-steps="8"] .xform-progress .t, .xform[data-steps="7"] .xform-progress .t, .xform[data-steps="6"] .xform-progress .t { display: none; } }
.nowrap { white-space: nowrap; }
.person-body { overflow-wrap: break-word; }
.person-mail { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--primary); }
.person-mail .icon { width: 16px; height: 16px; stroke-width: 2; }
.person-mail:hover span { text-decoration: underline; text-underline-offset: .2em; }
.person.is-lead .person-mail { font-size: .9rem; margin-top: .8rem; }

/* Kooperationspartner (BIZ-CON) */
.partner-card { display: grid; gap: 1.5rem; padding: 1.2rem; margin: 2.5rem 0 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .partner-card { grid-template-columns: 220px minmax(0, 1fr); align-items: start; padding: 1.4rem 1.8rem 1.6rem 1.4rem; } }
.partner-photo { aspect-ratio: 1; border-radius: var(--r-lg); max-width: 260px; }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.partner-body .eyebrow { margin-bottom: .6rem; }
.partner-body h2 { margin: 0; }
.partner-body .person-role { margin: .2rem 0 1rem; }
.partner-fact { display: flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .92rem; }
.partner-fact .icon { color: var(--accent); }
.partner-focus-title { margin: 1rem 0 .5rem; font: 700 .75rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.partner-focus { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.partner-focus li { padding: .35rem .9rem; border-radius: var(--r-full); background: var(--tile-bg); color: var(--tile-fg); font-weight: 600; font-size: .85rem; }

/* ---------- Team: Galerie-Ansicht ---------- */
.features { display: grid; gap: 1.4rem; margin-bottom: 3.5rem; }
@media (min-width: 1200px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; gap: 1.4rem; align-items: center; padding: 1rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
@media (min-width: 560px) { .feature { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 2rem; padding: 1rem 1.6rem 1rem 1rem; } }
@media (min-width: 1200px) { .feature { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.4rem; } }
.feature-photo { aspect-ratio: 4 / 5; }
.feature-photo .frame-inner img { object-position: center 18%; }
.feature h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin: .2rem 0 1rem; }
.feature-quali { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .5rem; font-size: .9rem; color: var(--text-soft); line-height: 1.45; }
.feature-quali li { display: flex; gap: .5rem; align-items: flex-start; }
.feature-quali .icon { color: var(--accent); width: 18px; height: 18px; margin-top: .1rem; }
.feature-mail { display: inline-flex; gap: .5rem; align-items: flex-start; font-weight: 700; font-size: .92rem; text-decoration: none; overflow-wrap: anywhere; }
.feature-mail .icon { width: 18px; height: 18px; margin-top: .15rem; stroke-width: 2; }
.feature-mail:hover span { text-decoration: underline; text-underline-offset: .2em; }
.tile-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.8rem; }
.js .tile-filter[hidden] { display: flex !important; }
.tile-filter small { opacity: .7; margin-left: .3rem; }
.tiles { display: grid; gap: 1.6rem 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile.is-filtered { display: none; }
.tile-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); isolation: isolate; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s var(--ease-out), filter .3s; filter: saturate(.92); }
.tile:hover .tile-media img { transform: scale(1.045); filter: saturate(1.05); }
.tile-mono { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(2.2rem, 1.7rem + 2vw, 3.1rem)/1 var(--font-heading); color: #fff; letter-spacing: .02em;
  background: radial-gradient(120% 90% at 85% 10%, rgba(197, 0, 19, .55), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.tile-mail { position: absolute; right: .7rem; bottom: .7rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-900);
  box-shadow: 0 6px 16px -6px rgba(9, 12, 46, .5); transition: transform .25s var(--ease-out), background .2s, color .2s; }
.tile-mail:hover, .tile-mail:focus-visible { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.tile-mail .icon { width: 19px; height: 19px; stroke-width: 1.8; }
.tile-body { padding: .9rem .2rem 0; }
.tile-body h3 { font: 700 1.15rem/1.25 var(--font-heading); margin: 0; }
.tile-role { margin: .2rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tile-quali { margin: .35rem 0 0; font-size: .84rem; color: var(--text-soft); line-height: 1.45; }
.tile, .tile-body { min-width: 0; } .tile-body { overflow-wrap: break-word; } @media (max-width: 520px) { .tile-body { hyphens: auto; -webkit-hyphens: auto; } .tile-body h3 { font-size: 1.05rem; } .tile-role { font-size: .7rem; letter-spacing: .05em; } }

/* ==========================================================================
   Startseite (neues Design): dunkler Einstieg, Glasflächen, Kontur-Kacheln,
   senkrechter Claim, Bildrahmen mit ausgeschnittener Ecke
   ========================================================================== */
:root { --fx-bg: #0a0d2c; --fx-line: rgba(255, 255, 255, .11); --fx-red: #ff5c6a; --fx-em: #ff8f99; }
.is-dark-top main { margin-top: calc(-1 * var(--header-h)); }

/* Kopfzeile transparent über dem dunklen Einstieg, beim Scrollen wieder Glas */
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .logo,
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .nav-link,
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .header-phone { color: #fff; }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .logo-sub { color: rgba(255, 255, 255, .7); }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .logo-mark .lm-a { fill: #fff; }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .nav-link:hover,
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .nav-item.is-open > .nav-link { background: rgba(255, 255, 255, .1); color: #fff; }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .header-phone .icon { color: var(--fx-em); }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .theme-toggle,
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .menu-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #fff; }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .header-cta { --btn-bg: #fff; --btn-fg: var(--navy-900); }
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }

.fx-zone { position: relative; isolation: isolate; overflow: hidden; background: var(--fx-bg); color: #fff;
  border-radius: 0 0 clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .06); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.fx-zone :focus-visible { outline-color: #fff; }
.fx-zone .eyebrow::before { background: var(--fx-red); }

/* Einstieg */
.fx-hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: center;
  padding: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.fx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx-orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.fx-orb-a { width: min(46vw, 720px); aspect-ratio: 1; left: 32%; top: -22%; background: #2b33a8; opacity: .55; animation: fx-drift 22s ease-in-out infinite alternate; }
.fx-orb-b { width: min(30vw, 460px); aspect-ratio: 1; right: -8%; bottom: -12%; background: var(--red-600); opacity: .32; animation: fx-drift 26s ease-in-out infinite alternate-reverse; }
@keyframes fx-drift { to { transform: translate3d(-6%, 8%, 0) scale(1.08); } }

.fx-hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
.fx-hero-grid > * { min-width: 0; }
@media (min-width: 1024px) { .fx-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
@media (min-width: 1280px) and (min-height: 760px) { .fx-hero-grid { padding-inline: 2.5rem 4.5rem; } }
.fx-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(2.3rem, 1.5rem + 2.7vw, 4.1rem); }
.fx-hero h1 em { color: var(--fx-em); --em-grad: var(--em-grad-dark); }
.fx-hero .lead { color: rgba(255, 255, 255, .76); margin-bottom: 2rem; }
.fx-tags { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .45rem;
  font: 600 .74rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.fx-tags li { padding: .5rem .8rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-full); background: rgba(255, 255, 255, .03); }
.fx-facts { list-style: none; margin: 2.4rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--fx-line); display: flex; flex-wrap: wrap; gap: .9rem 2rem; }
.fx-facts li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.fx-facts strong { color: #fff; font-weight: 700; }
.fx-facts .icon { width: 20px; height: 20px; stroke-width: 1.6; color: var(--fx-em); }

.fx-hero-visual { position: relative; }
.fx-hero-img { aspect-ratio: 4 / 4.4; background: var(--navy-800); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); }
.fx-hero-img::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
@media (min-width: 1024px) { .fx-hero-img { width: 90%; margin-left: auto; } }
@media (max-width: 1023px) { .fx-hero-img { aspect-ratio: 4 / 3.4; } }

/* Ausgeschnittene Ecke: Fläche in Hintergrundfarbe mit zwei nach innen gewölbten Übergängen */
.notch { --nr: 22px; --notch-bg: var(--fx-bg); position: absolute; z-index: 2; background: var(--notch-bg); }
.notch-bl { left: 0; bottom: 0; padding: 14px 14px 0 0; border-top-right-radius: calc(var(--nr) + 6px); }
.notch-bl::before, .notch-bl::after { content: ""; position: absolute; width: var(--nr); height: var(--nr);
  background: radial-gradient(circle at 100% 0, transparent calc(var(--nr) - .5px), var(--notch-bg) var(--nr)); }
.notch-bl::before { left: 0; bottom: 100%; }
.notch-bl::after { left: 100%; bottom: 0; }
.fx-badge { display: flex; align-items: center; gap: .8rem; max-width: 270px; padding: .85rem 1.15rem .85rem .95rem; border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); border: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .74); }
.fx-badge strong { display: block; font-size: .92rem; color: #fff; }
.fx-badge .icon { width: 30px; height: 30px; stroke-width: 1.4; color: #e9c46a; }
@media (max-width: 420px) { .notch { --nr: 16px; } .notch-bl { padding: 10px 10px 0 0; } .fx-badge { max-width: 210px; padding: .7rem .9rem; } .fx-badge .icon { width: 24px; height: 24px; } }

.fx-quote { position: absolute; right: -1rem; top: 7%; z-index: 3; max-width: 270px; margin: 0; padding: 1.2rem 1.3rem 1.1rem; border-radius: 22px;
  background: rgba(10, 13, 44, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.fx-quote .icon { width: 24px; height: 24px; color: var(--fx-em); margin-bottom: .4rem; }
.fx-quote blockquote { margin: 0; font: italic 500 1.02rem/1.45 var(--font-display); color: #fff; }
.fx-quote figcaption { margin-top: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (max-width: 1023px) { .fx-quote { right: .9rem; top: .9rem; max-width: min(62%, 300px); } }
@media (max-width: 560px) { .fx-quote { position: relative; right: auto; top: auto; max-width: none; margin-top: 1rem; background: rgba(255, 255, 255, .05); } }

/* Senkrechter Claim und Scroll-Hinweis (nur auf großen Bildschirmen) */
.fx-claim, .fx-scroll { display: none; }
@media (min-width: 1280px) and (min-height: 760px) {
  .fx-claim { display: block; position: absolute; right: clamp(1rem, 1.6vw, 2.25rem); top: 50%; margin: 0; writing-mode: vertical-rl; transform: translateY(-46%) rotate(180deg);
    font: 200 clamp(2.6rem, 1.6rem + 2.4vw, 4.4rem)/1 var(--font-sans); letter-spacing: -.01em; white-space: nowrap; color: rgba(255, 255, 255, .9); }
  .fx-claim span { color: var(--fx-red); font-weight: 300; }
  .fx-scroll { position: absolute; left: clamp(1rem, 1.6vw, 2.25rem); bottom: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: .4rem;
    color: rgba(255, 255, 255, .75); text-decoration: none; font: 600 .72rem/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; }
  .fx-scroll:hover { color: #fff; }
}
.fx-scroll-text { writing-mode: vertical-rl; }
.fx-scroll-line { position: relative; width: 1px; height: 64px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.fx-scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; transform: translateY(-100%); animation: fx-scroll 2.4s var(--ease-out) infinite; }
@keyframes fx-scroll { to { transform: translateY(250%); } }

/* Schnellzugriff im dunklen Bereich */
.fx-zone .quick { margin-top: 0; }
.fx-zone .quick-bar { background: rgba(255, 255, 255, .045); border: 1px solid var(--fx-line); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Kernkompetenzen */
.fx-section { padding-top: clamp(4.5rem, 3rem + 5vw, 7.5rem); scroll-margin-top: calc(var(--header-h) - 2rem); }
.fx-section h2 { color: #fff; } .fx-section h2 em { color: var(--fx-em); --em-grad: var(--em-grad-dark); }
.fx-section .lead { color: rgba(255, 255, 255, .74); }
.fx-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.fx-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: .75rem .75rem 1.4rem; border-radius: 26px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--fx-line); transition: border-color .2s, transform .25s var(--ease-out), background .2s; }
.fx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(122, 134, 255, .18), transparent 45%); }
.fx-card:hover { border-color: rgba(255, 255, 255, .24); transform: translateY(-4px); }
.fx-card:hover::before { opacity: 1; }
.fx-card-media { position: relative; aspect-ratio: 16 / 10; margin-bottom: 1.3rem; border-radius: 18px; overflow: hidden; background: var(--navy-800); }
.fx-card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s var(--ease-out), transform .5s var(--ease-out); }
.fx-card-media::after { content: ""; position: absolute; inset: 0; background: #7d8cff; mix-blend-mode: color; opacity: .7; transition: opacity .4s var(--ease-out); pointer-events: none; }
.fx-card:hover .fx-card-media img { filter: none; transform: scale(1.04); }
.fx-card:hover .fx-card-media::after { opacity: 0; }
.fx-card-ic { position: absolute; left: .7rem; bottom: .7rem; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(10, 13, 44, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.fx-card-ic .icon { width: 22px; height: 22px; stroke-width: 1.5; }
.fx-card h3 { margin: 0 .6rem .4rem; font-size: 1.35rem; color: #fff; overflow-wrap: break-word; }
.fx-card p { margin: 0 .6rem 1.3rem; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.fx-pill { align-self: flex-start; margin: auto .6rem 0; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1.15rem; border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .38); color: #fff; text-decoration: none; font: 600 .86rem/1 var(--font-sans); transition: background .25s, color .25s, border-color .25s; }
.fx-pill::after { content: ""; position: absolute; inset: 0; border-radius: 26px; }
.fx-pill .icon { width: 1em; height: 1em; stroke-width: 2; }
.fx-card:hover .fx-pill, .fx-pill:focus-visible { background: #fff; border-color: #fff; color: var(--navy-900); }
.fx-card-cta { padding: 1.6rem 1.4rem 1.4rem; border-style: dashed; }
.fx-card-cta .fx-card-ic { position: static; margin-bottom: 1.2rem; }
.fx-card-cta h3, .fx-card-cta p, .fx-card-cta .fx-pill { margin-inline: 0; }

/* Vollflächiges Bild mit Glasfläche */
.fx-wide { padding-block: clamp(1rem, .5rem + 2vw, 2rem); }
.fx-wide-frame { width: min(100% - 2 * clamp(.5rem, 1.5vw, 1.5rem), 1680px); margin-inline: auto; display: flex; align-items: center;
  min-height: clamp(560px, 40vw + 220px, 820px); border-radius: clamp(24px, 2vw + 12px, 48px); background: var(--navy-900); }
.fx-wide-frame .frame-inner img { object-position: 30% 75%; }
.fx-wide-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9, 12, 46, .05) 30%, rgba(9, 12, 46, .55)); }
.fx-wide-inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding-block: clamp(1.25rem, 1rem + 3vw, 4rem); }
.fx-glass { width: min(100%, 560px); padding: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); border-radius: 28px; color: rgba(255, 255, 255, .82);
  background: rgba(9, 12, 46, .78); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.fx-glass h2 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); } .fx-glass h2 em { color: #ffb1b8; --em-grad: var(--em-grad-dark); }
.fx-glass p { color: rgba(255, 255, 255, .82); }
.fx-glass .icon-list .icon { color: #ff8892; }
.fx-glass :focus-visible { outline-color: #fff; }
@media (max-width: 700px) { .fx-wide-frame { align-items: flex-end; min-height: 0; padding-top: clamp(200px, 50vw, 300px); } }

/* Kontur-Kacheln */
.fx-kicker { margin: 0 0 1.6rem; font: 300 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.fx-logos { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fx-logos li { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; transition: border-color .2s, transform .25s var(--ease-out); }
.fx-logos li:hover { border-color: var(--primary); transform: translateY(-3px); }
.fx-logo-name { display: grid; place-items: center; min-height: 104px; padding: 1rem; text-align: center; font: 800 1.3rem/1.1 var(--font-sans); letter-spacing: .02em; color: var(--text); hyphens: manual; }
.fx-logo-sub { padding: .8rem 1rem; text-align: center; font-size: .85rem; color: var(--text-soft); background: var(--bg-soft); border-top: 1px solid var(--border); }

/* Menü als Seitenpanel von rechts (alle Seiten) */
.mobile-nav { inset: 0 0 0 auto; width: min(100%, 480px); padding: calc(var(--header-h) + 1rem) clamp(1.5rem, 5vw, 2.75rem) 2rem; opacity: 1; transform: translateX(100%);
  border-left: 1px solid var(--border-soft); box-shadow: -30px 0 80px -30px rgba(9, 12, 46, .45); transition: transform .2s var(--ease-out), visibility .2s; }
.menu-open .mobile-nav { transform: none; transition-duration: .3s; }
/* Abdunkler: Übergang statt Keyframe, damit Öffnen/Schließen unterbrechbar bleibt und gemeinsam mit dem Panel ausblendet */
body::before { content: ""; position: fixed; inset: 0; z-index: 98; background: rgba(9, 12, 46, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-out), visibility .2s; }
body.menu-open::before { opacity: 1; visibility: visible; }
.mobile-nav .m-link, .mobile-nav summary { font: 450 clamp(1.45rem, 1.2rem + 1vw, 1.85rem)/1.2 var(--font-sans); letter-spacing: -.01em; }
.mobile-nav > * { opacity: 0; transform: translateX(16px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.menu-open .mobile-nav > * { opacity: 1; transform: none; }
.menu-open .mobile-nav > :nth-child(2) { transition-delay: .03s; } .menu-open .mobile-nav > :nth-child(3) { transition-delay: .06s; }
.menu-open .mobile-nav > :nth-child(4) { transition-delay: .09s; } .menu-open .mobile-nav > :nth-child(5) { transition-delay: .12s; }
.menu-open .mobile-nav > :nth-child(n+6) { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) { .fx-orb, .fx-scroll-line::after { animation: none !important; } .fx-card:hover, .fx-logos li:hover { transform: none; } }
@media print { .fx-bg, .fx-claim, .fx-scroll, .fx-quote { display: none !important; } .fx-zone { background: none; color: inherit; } .fx-hero h1, .fx-section h2, .fx-card h3 { color: #000; } }

/* Animierter Hintergrund im Einstieg: fließende Linienbänder (Canvas, siehe main.js) */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 55%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3), #000 55%); }
@media (max-width: 1023px) { .fx-canvas { opacity: .55; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Dunkler Seitenkopf der Unterseiten (gleiche Welt wie der Einstieg der Startseite) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fx-bg); color: #fff;
  padding: calc(var(--header-h) + clamp(1.25rem, 1rem + 1.5vw, 2.25rem)) 0 clamp(3rem, 2.4rem + 3vw, 5.5rem);
  border-radius: 0 0 clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -45%; width: min(60vw, 820px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 51, 168, .55), transparent); }
.page-hero h1 { color: #fff; } .page-hero h1 em { color: var(--fx-em); --em-grad: var(--em-grad-dark); }
.page-hero .lead { color: rgba(255, 255, 255, .78); }
.page-hero .lead a, .page-hero-text p a { color: #fff; }
.page-hero .breadcrumbs ol { color: rgba(255, 255, 255, .62); }
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; } .page-hero .breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero .breadcrumbs [aria-current] { color: #fff; }
.page-hero :focus-visible { outline-color: #fff; }
.page-hero .btn:not(.btn-ghost) { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.page-hero .btn:not(.btn-ghost):hover { background: var(--stone-100); --btn-fg: var(--navy-900); }
.page-hero .btn-ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .42); }
.page-hero .btn-ghost:hover { --btn-fg: var(--navy-900); background: #fff; border-color: #fff; }
.page-hero-media { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); background: var(--navy-800); }
.page-hero-media::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.page-hero .check { color: #5c4400; }
:root[data-theme="dark"] .page-hero .btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):not(.btn-danger) { --btn-bg: #fff; --btn-fg: var(--navy-900); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-hero .btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):not(.btn-danger) { --btn-bg: #fff; --btn-fg: var(--navy-900); } }

/* ---------- Browser-Oberflächen in Markenfarben ---------- */
html { scrollbar-color: color-mix(in srgb, var(--primary) 45%, transparent) transparent; }
input, textarea, select { caret-color: var(--accent); }
input[type="checkbox"], input[type="radio"], input[type="range"], progress { accent-color: var(--navy-900); }
:root[data-theme="dark"] input[type="checkbox"], :root[data-theme="dark"] input[type="radio"] { accent-color: #c9ceff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) input[type="checkbox"], :root:not([data-theme="light"]) input[type="radio"] { accent-color: #c9ceff; } }
.fx-zone ::selection, .page-hero ::selection, .site-footer ::selection { background: rgba(255, 143, 153, .35); color: #fff; }
.hours-mini, .footer-loc p, .fx-facts, .loc-card, .hours, time, td { font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .fx-tags { display: none; } }

/* Monat/Jahr als zwei Auswahllisten */
.fmonth { border: 0; padding: 0; margin: 0; min-width: 0; }
.fmonth legend { padding: 0; margin-bottom: .4rem; }
.fmonth .hint { margin-bottom: .1rem; }
.fmonth-sel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: .5rem; }
.fmonth-sel select { padding-left: .85rem; padding-right: 2.2rem; background-position: right .7rem center; }

/* Galerie: Standorte als eigene Abschnitte */
.tile-group + .tile-group { margin-top: 1rem; }
.tile-group:first-child .team-loc { margin-top: .5rem; }
.tile-group[hidden] { display: none; }
.tile-group > .features { margin-bottom: 0; }

/* Bewegung beim Überfahren nur mit Maus/Trackpad – auf Touch-Geräten bleibt der Hover-Zustand sonst nach dem Antippen hängen */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .btn:hover, .svc-card:hover, .post-card:hover, .aside-link:hover, .form-tile:hover, .tile-mail:hover, .fx-card:hover, .fx-logos li:hover,
  .btn:hover .icon:last-child:not(:first-child), .link-arrow:hover .icon:last-child,
  .post-card:hover .pc-img img, .tile:hover .tile-media img, .fx-card:hover .fx-card-media img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav > *, .menu-open .mobile-nav > * { transform: none !important; }
  .mobile-nav { opacity: 0; transition-property: opacity, visibility; } .menu-open .mobile-nav { opacity: 1; }
  .mega, .nav-item:hover .mega, .nav-item.is-open .mega { transform: translate(-50%, 0); }
  .to-top { transform: none; }
}

/* ---------- Förderung ---------- */
.funding-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1rem 1.4rem; background: #fff; border-radius: var(--r-md); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.funding-logos img { display: block; width: auto; height: auto; }
.funding-logo-eu { max-height: 64px; max-width: min(100%, 300px); }
.funding-logo-st { max-height: 70px; max-width: 150px; }
.funding-grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .funding-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.funding-main > h2 { margin-bottom: 1rem; }
.funding-steps { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .8rem; }
.funding-steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.funding-steps h3 { margin: 0 0 .25rem; } .funding-steps p { margin: 0; color: var(--text-soft); }
.funding-benefit { display: flex; gap: .7rem; align-items: flex-start; margin: 0; color: var(--text); }
.funding-benefit .icon { flex: none; color: var(--accent); margin-top: .2rem; }
.funding-facts h2 { display: flex; gap: .55rem; align-items: center; margin: 0 0 1rem; } .funding-facts h2 .icon { color: var(--accent); }
.funding-facts dl { margin: 0; display: grid; gap: 0; }
.funding-facts dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--border-soft); }
.funding-facts dt { color: var(--text-soft); font-size: .9rem; } .funding-facts dd { margin: 0; font-weight: 700; text-align: right; }
.funding-facts .num { font-variant-numeric: tabular-nums; }
.funding-poster { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--text); margin-top: 1rem; }
.funding-poster-img { flex: none; width: 64px; aspect-ratio: 1131 / 1600; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-soft); }
.funding-poster-img img { width: 100%; height: 100%; object-fit: cover; }
.funding-poster > span:nth-child(2) { flex: 1; } .funding-poster strong { display: block; } .funding-poster small { color: var(--text-soft); font-size: .85rem; }
.funding-poster > .icon { color: var(--text-soft); }

/* Kopfzeile: nichts umbrechen, bei mittleren Breiten enger setzen */
.logo-name, .logo-sub, .nav-link, .header-phone, .header-cta { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1499px) {
  .header-inner { gap: 1rem; }
  .nav-list { gap: 0; }
  .nav-link { padding: .6rem .62rem; font-size: .9rem; }
}
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .header-phone { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
/* „Mandant werden“ im dunklen Kopf: beim Überfahren hell bleiben (sonst dunkle Schrift auf dunklem Grund) */
body.is-dark-top:not(.menu-open) .site-header:not(.is-scrolled) .header-cta:hover { background: var(--stone-200); color: var(--navy-900); }

/* ==========================================================================
   Animationen und FAQ aus der Neugestaltung vom 29.10.2026
   ========================================================================== */
/* Einblenden: weiche Apple-Kurve; Inhalte sind ohne JavaScript, beim Drucken und bei „Bewegung reduzieren“ immer sichtbar */
.js [data-reveal] { transform: translateY(28px); transition: opacity .9s var(--ease-apple) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-stagger] > * { transform: translateY(28px); transition: opacity .8s var(--ease-apple) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
/* Bild-Maske: das Bild öffnet sich aus einer kleineren, abgerundeten Fläche */
.js [data-mask] { clip-path: inset(10% 8% 10% 8% round 40px); transition: clip-path 1.4s var(--ease-out) var(--d, 0s); }
.js [data-mask] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
/* Endzustand größer als das Element, damit Schatten der Bildrahmen nicht abgeschnitten werden */
.js [data-mask].is-in { clip-path: inset(-6rem -6rem -6rem -6rem round 0); }
.js [data-mask].is-in img { transform: none; }
/* Wort für Wort (Zitat) */
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity .8s var(--ease-apple), transform 1s var(--ease-out), filter .8s var(--ease-apple); transition-delay: calc(var(--i) * 45ms + .1s); }
.js [data-split].is-in .w { opacity: 1; transform: none; filter: none; }
/* Kennzahlen: gleiche Ziffernbreite, damit beim Hochzählen nichts springt */
[data-count] { font-variant-numeric: tabular-nums; }
/* Sicherheitsnetz: wenn das Skript nicht startet, bleibt nichts unsichtbar */
.js.anim-off [data-reveal], .js.anim-off [data-stagger] > *, .js.anim-off [data-split] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
.js.anim-off [data-mask], .js.anim-off [data-mask] img { clip-path: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-mask], .js [data-mask] img, .js [data-split] .w { clip-path: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}
@media print {
  .js [data-mask], .js [data-mask] img, .js [data-split] .w { clip-path: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}

/* Seitenwechsel mit sanfter Überblendung (View Transitions, ohne JavaScript) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .25s var(--ease-apple) both vt-out; }
  ::view-transition-new(root) { animation: .4s var(--ease-out) both vt-in; }
  .site-header { view-transition-name: site-header; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- FAQ (Leistungsseiten) ---------- */
.faq { margin-top: 3rem; }
.faq-list { display: grid; gap: .6rem; margin-top: 1.2rem; }
.faq-item { border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--border-soft); overflow: hidden; }
.faq-item summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; width: 22px; height: 22px; transition: transform .4s var(--ease-out); color: var(--text-soft); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--text-soft); }
.faq-a p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
