/* Schreinerei Horst Feld e.K. – hfc.hfeld.de
   Kein JavaScript, keine externen Ressourcen. Schrift: Manrope (OFL), selbst gehostet. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

:root {
  --blue: #2742a0;
  --blue-600: #1f3585;
  --blue-900: #121c42;
  --orange: #e87930;
  --orange-600: #c9611c;
  --ink: #141a2e;
  --text: #3a4154;
  --muted: #6b7185;
  --line: #e4e0d8;
  --paper: #faf8f4;
  --sand: #f2eee6;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(20 26 46 / .06), 0 8px 28px rgb(20 26 46 / .08);
  --shadow-lg: 0 2px 6px rgb(20 26 46 / .08), 0 24px 60px rgb(20 26 46 / .16);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-600); }

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -.012em; }
h4 { font-size: 1.08rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 248 244 / .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(20 26 46 / .07);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgb(39 66 160 / .08); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); background: rgb(39 66 160 / .08); }
.nav .nav-cta a {
  background: var(--blue); color: #fff; padding: 10px 20px; margin-left: 8px;
}
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current="page"] { background: var(--blue-600); color: #fff; }
.nav .nav-phone a { color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav .nav-phone svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; fill: currentColor; }

@media (max-width: 1180px) { .nav .nav-phone { display: none; } }

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .logo img { height: 38px; }
  .nav-burger {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    cursor: pointer; background: var(--white); box-shadow: var(--shadow); color: var(--ink);
  }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    position: relative; transition: transform .25s var(--ease), background .2s;
  }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--orange); outline-offset: 3px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgb(20 26 46 / .15);
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-toggle:checked ~ .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; }
  .nav a { padding: 13px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav .nav-cta a { margin: 10px 0 0; text-align: center; padding: 14px; }
  .nav .nav-phone { display: block; }
  .nav .nav-phone a { text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; line-height: 1.2;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 6px 18px rgb(232 121 48 / .32);
}
.btn:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-blue { background: var(--blue); box-shadow: 0 6px 18px rgb(39 66 160 / .28); }
.btn-blue:hover { background: var(--blue-600); }
.btn-ghost {
  background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgb(255 255 255 / .22); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }
.section-dark { background: var(--blue-900); color: #c9cfe4; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #ffb27c; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text); }

/* ---------- Hero (Start) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(88vh, 860px); display: flex; align-items: flex-end;
  background: var(--blue-900);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media img { object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 18 44 / .88) 0%, rgb(12 18 44 / .62) 45%, rgb(12 18 44 / .12) 100%),
    linear-gradient(0deg, rgb(12 18 44 / .7) 0%, transparent 45%);
}
.hero .wrap { padding: clamp(110px, 16vh, 180px) 0 clamp(40px, 7vh, 72px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #ffb27c; }
.hero .lead { color: rgb(255 255 255 / .86); max-width: 56ch; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: clamp(40px, 7vh, 72px); max-width: 760px;
  background: rgb(255 255 255 / .18); border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-facts div { background: rgb(12 18 44 / .35); padding: 18px 22px; }
.hero-facts strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.hero-facts span { font-size: .88rem; color: rgb(255 255 255 / .75); }
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; z-index: 0; }
  .hero-media img { position: static; height: auto; aspect-ratio: 3 / 2; }
  .hero::before { display: none; }
  .hero .wrap { padding: 32px 0 40px; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { display: flex; align-items: baseline; gap: 12px; padding: 12px 18px; }
}

/* ---------- Page hero (Unterseiten): Bild im Originalformat, kein Beschnitt ---------- */
.page-hero { background: var(--blue-900); color: #fff; overflow: hidden; }
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: clamp(48px, 7vw, 88px) 0;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgb(255 255 255 / .82); max-width: 52ch; font-size: 1.1rem; margin: 0; }
.page-hero-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; padding: 40px 0 var(--gutter); }
}

.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: rgb(255 255 255 / .75); }
.breadcrumb a { color: inherit; }
.page-head .breadcrumb { color: var(--muted); }

/* ---------- B2B-Leiste ---------- */
.b2b {
  background: var(--blue); color: #fff;
}
.b2b .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  padding: 22px 0;
}
.b2b p { margin: 0; font-weight: 600; font-size: 1.05rem; }
.b2b a { color: #fff; }
.b2b .btn { box-shadow: none; }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media .badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--white); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.badge strong { font-size: 2rem; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.badge span { font-size: .9rem; line-height: 1.35; color: var(--ink); font-weight: 600; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media .badge { left: 12px; bottom: 12px; }
}

.checklist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: rgb(39 66 160 / .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232742a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Kategorien (Türen / Fenster / Möbel) ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; color: #fff; text-decoration: none; background: var(--blue-900);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat picture { aspect-ratio: 16 / 9; overflow: hidden; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat.pos-right img { object-position: 75% 50%; }
.cat.pos-left img { object-position: 30% 50%; }
.cat > h3 { margin: 24px 26px 6px; }
.cat > p { margin: 0 26px 16px; }
.cat > .link-arrow { margin: auto 26px 26px; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat:hover img { transform: scale(1.05); }
.cat h3 { color: #fff; font-size: 1.7rem; }
.cat p { color: rgb(255 255 255 / .85); }
.cat .link-arrow { color: #fff; }
.cat:hover { color: #fff; }
@media (max-width: 880px) {
  .cats { grid-template-columns: 1fr; }
}

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media > picture, .person-photo > picture { height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--text); font-size: .98rem; }
.card-body .link-arrow { margin-top: auto; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--orange-600);
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .98rem; }
.section-dark .step { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.section-dark .step p { color: #c9cfe4; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Zielgruppen ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience {
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); background: var(--white); box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.audience.blue { border-top-color: var(--blue); }
.audience p { margin-bottom: 0; }
@media (max-width: 820px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Leistungsdetails ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service + .service { margin-top: clamp(56px, 8vw, 104px); }
.service:nth-child(even) .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.service-media.portrait img { aspect-ratio: 4 / 5; max-height: 620px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.tags li {
  font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: rgb(39 66 160 / .08); color: var(--blue);
}
@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 0; }
}

/* ---------- Referenzen ---------- */
.projects { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project .card-media { aspect-ratio: 16 / 10; }
.project-meta { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 8px; }
.project-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.project-stats div { line-height: 1.25; }
.project-stats strong { display: block; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.project-stats span { font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }

.project-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.project-feature + .project-feature { margin-top: clamp(56px, 8vw, 100px); padding-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); }
.project-feature:nth-child(even) > :first-child { order: 2; }
.project-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.project-feature .project-stats { border-top: 0; padding-top: 0; margin-top: 18px; }
@media (max-width: 880px) {
  .project-feature { grid-template-columns: 1fr; }
  .project-feature:nth-child(even) > :first-child { order: 0; }
}

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--blue-900); padding: 30px 26px; }
.stats strong { display: block; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.stats strong small { font-size: .5em; letter-spacing: 0; }
.stats span { color: #c9cfe4; font-size: .95rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Partner ---------- */
.partners {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.partners li {
  background: var(--white); border-radius: 14px; height: 96px; display: grid; place-items: center;
  padding: 16px 20px; box-shadow: 0 1px 2px rgb(20 26 46 / .05);
}
.partners img { max-height: 44px; width: auto; max-width: 100%; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .3s, opacity .3s; }
.partners img.square { max-height: 56px; }
.partners li:hover img { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: #dfe5fb; border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgb(232 121 48 / .45), transparent 65%);
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: 10px; }
.cta p { margin: 0; max-width: 58ch; }
.cta-person { text-align: center; }
.cta-person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 5px rgb(255 255 255 / .18); }
.cta-person span { display: block; margin-top: 10px; font-size: .85rem; color: #fff; font-weight: 700; line-height: 1.3; }
.cta-person small { display: block; font-weight: 500; color: #c9d2f3; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn-ghost { white-space: nowrap; }
@media (max-width: 980px) {
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta p { margin-inline: auto; }
  .cta-person img { margin-inline: auto; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Historie / Zeitleiste ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before {
  content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--orange), var(--blue));
  border-radius: 2px;
}
.tl-item { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 0 48px; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-weight: 800; color: var(--blue); font-size: 1.15rem; letter-spacing: -.01em; text-align: right;
  padding-right: 28px; line-height: 1.3; padding-top: 2px;
}
.tl-item::before {
  content: ""; position: absolute; left: 144px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--orange);
}
.tl-body h3 { margin-bottom: 8px; }
.tl-body p { margin: 0; }
.tl-body picture { margin-top: 20px; }
.tl-body img { border-radius: var(--radius-sm); box-shadow: var(--shadow); width: 100%; max-width: 520px; }
.tl-body img.tl-portrait { max-width: 300px; }
@media (max-width: 700px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; }
  .tl-item::before { left: 1px; }
  .tl-year { text-align: left; padding: 0 0 4px; }
}

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); aspect-ratio: 4 / 5; }
.gallery > :first-child img { aspect-ratio: auto; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > :first-child { grid-column: 1 / -1; }
  .gallery > :first-child img { aspect-ratio: 16 / 10; }
}

/* ---------- Team ---------- */
.team-group + .team-group { margin-top: clamp(48px, 6vw, 72px); }
.team-group > h3 { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.team-group > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 620px) { .team, .team.lead-team { grid-template-columns: 1fr 1fr; gap: 22px 14px; } .person h4 { font-size: .98rem; } .person p { font-size: .84rem; } }
.team.lead-team { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.person { text-align: left; }
.person-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #e9e6df; margin-bottom: 14px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person-initials {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-900) 100%);
  color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em;
}
.person h4 { margin: 0 0 2px; font-size: 1.05rem; }
.person p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }

.senior { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.senior img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) { .senior { grid-template-columns: 1fr; } .senior img { max-width: 420px; } }

.wide-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Karriere ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.benefit .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgb(232 121 48 / .12); color: var(--orange-600);
}
.benefit .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 8px; }
.benefit p { margin: 0; font-size: .98rem; }
.section-dark .benefit { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.section-dark .benefit p { color: #c9cfe4; }
.section-dark .benefit .icon { background: rgb(232 121 48 / .18); color: #ffb27c; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 14px; box-shadow: 0 1px 2px rgb(20 26 46 / .06); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: rgb(39 66 160 / .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232742a0' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Formulare ---------- */
.form-card { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--orange-600); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgb(39 66 160 / .12);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 18px 0 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text); margin-top: 4px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-card + .info-card { margin-top: 18px; }
.info-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--blue); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-weight: 700; color: var(--ink); padding: 8px 12px 8px 0; vertical-align: top; white-space: nowrap; }
.hours td { padding: 8px 0; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.info-card.dark { background: var(--blue-900); color: #c9cfe4; }
.info-card.dark h2 { color: #fff; }
.info-card.dark a { color: #fff; }

/* ---------- Status-Seiten ---------- */
.status { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.status .icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center;
  background: rgb(39 66 160 / .1); color: var(--blue);
}
.status .icon.warn { background: rgb(232 121 48 / .14); color: var(--orange-600); }
.status .icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.status p { max-width: 56ch; margin-inline: auto; }
.status .btn-row { justify-content: center; }

/* ---------- Aktuelles ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.post-meta .cat-tag { color: var(--orange-600); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }

.article-hero { padding: clamp(48px, 7vw, 88px) 0 0; }
.article-media { max-width: 1000px; }
.article-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: 32px; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); margin: 28px 0; }
.prose .lead { font-size: 1.22rem; color: var(--ink); }

/* ---------- Rechtstexte ---------- */
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; padding-top: .2em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal address { font-style: normal; margin-bottom: 1em; }
.toc { background: var(--white); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 40px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 260px; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9afc3; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer a { color: #e3e6f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 10px 14px; height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-hours dt { color: #fff; font-weight: 700; }
.footer-hours dd { margin: 0 0 10px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); }
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.more { margin: 40px 0 0; text-align: center; }
.mt-0 { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.pt-16 { padding-top: 16px; }
.pt-24 { padding-top: 24px; }
.pt-48 { padding-top: 48px; }
.audience-title { font-size: 1.6rem; }
.article-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.eyebrow-center { justify-content: center; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
