/* ==========================================================================
   CORVESTA GmbH – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Header/Nav · 5 Komponenten
           6 Sektionen · 7 Formulare · 8 Footer · 9 Animation · 10 Responsive
   ========================================================================== */

/* 1 ─ Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy: #00274d;          /* Markenfarbe aus dem Logo */
  --navy-800: #0a3460;
  --navy-900: #001a33;
  --navy-950: #00111f;
  --brass: #b8956a;         /* Akzent – warm, hochwertig */
  --brass-light: #d9c3a1;
  --cream: #f6f3ee;
  --stone: #ebe6de;
  --line: #e2ddd3;
  --ink: #0e1a28;
  --text: #2c3846;
  --muted: #5e6b7a;
  --white: #ffffff;

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 30px 60px -30px rgba(0, 26, 51, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* 2 ─ Basis ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.25; }
h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
em.accent, .accent { font-style: italic; color: var(--brass); }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3 ─ Layout ────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1120px; }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,.78); }
.section--navy h2, .section--navy h3, .section--navy h4, .section--navy strong { color: var(--white); }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--top { align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head--split p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.7; color: var(--muted); }
.section--navy .lead { color: rgba(255,255,255,.72); }

/* 4 ─ Header & Navigation ───────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header--transparent { background: transparent; box-shadow: none; color: #fff; }
.header--transparent .brand__word { color: #fff; }
.header--transparent .brand__mark { color: #fff; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 10px 30px -18px rgba(0,26,51,.35); color: var(--ink); height: 72px; backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled .brand__word, .site-header.is-scrolled .brand__mark { color: var(--navy); }

.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; color: var(--navy); transition: color .3s; }
.brand__word {
  font-family: var(--font-sans); font-weight: 600; font-size: 1.12rem;
  letter-spacing: .32em; color: var(--navy); transition: color .3s;
  margin-right: -.32em;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: .95rem; font-weight: 600; color: inherit;
  border-radius: var(--radius); transition: color .2s;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brass); }
.nav__link svg { width: 10px; height: 10px; transition: transform .25s; }
.nav__item--drop:hover .nav__link svg, .nav__item--drop:focus-within .nav__link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 310px;
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,26,51,.3), 0 0 0 1px rgba(0,26,51,.05);
  padding: 12px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item--drop:hover .dropdown, .nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 12px 14px; border-radius: 8px; transition: background .2s; }
.dropdown a:hover { background: var(--cream); }
.dropdown strong { display: block; font-size: .95rem; color: var(--ink); }
.dropdown span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.45; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 14px; }

.header-cta { margin-left: 14px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%;
  background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* 5 ─ Komponenten ───────────────────────────────────────────────────────── */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; border-radius: var(--radius); border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 700 .95rem/1 var(--font-sans); letter-spacing: .02em;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--navy-800); border-color: var(--navy-800); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { --bg: var(--brass); --fg: var(--navy-950); }
.btn--brass:hover { background: var(--brass-light); border-color: var(--brass-light); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(0,39,77,.3); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { padding: 12px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--navy);
  border-bottom: 1px solid rgba(0,39,77,.2); padding-bottom: 4px; transition: border-color .25s, gap .25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { border-color: var(--brass); gap: 14px; }
.section--navy .link-arrow { color: #fff; border-color: rgba(255,255,255,.3); }

.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist--light li::before { background-color: var(--brass); }
.checklist--cols { columns: 2; column-gap: 40px; }
.checklist--cols li { break-inside: avoid; }

.icon { display: block; width: 52px; height: 52px; color: var(--brass); flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }

/* Feature-Karten */
.feature { padding: 38px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; height: 100%; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon { margin-bottom: 26px; }
.feature h3 { margin-bottom: 12px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.section--cream .feature { border-color: transparent; }
.section--navy .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--navy .feature p { color: rgba(255,255,255,.66); }

/* Leistungskarten mit Bild */
.service-cards { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 540px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,17,31,.05) 20%, rgba(0,17,31,.88) 100%); transition: background .5s; }
.service-card:hover img { transform: scale(1.06); }
.service-card__body { padding: 36px 34px; }
.service-card__tag { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 14px; display: block; }
.service-card h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; }
.service-card p { color: rgba(255,255,255,.8); font-size: .97rem; margin-bottom: 22px; max-width: 420px; }
.service-card .link-arrow { color: #fff; border-color: rgba(255,255,255,.35); }
.service-card--featured { min-height: 600px; }

/* Objektarten / Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { padding: 40px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.tile:hover { background: var(--cream); }
.tile .icon { margin-bottom: 22px; width: 44px; height: 44px; }
.tile h3 { font-size: 1.35rem; margin-bottom: 10px; }
.tile p { margin: 0; color: var(--muted); font-size: .96rem; }
.section--cream .tiles, .section--cream .tile { border-color: #ddd6ca; }
.section--cream .tile:hover { background: #fff; }

/* Bildrahmen */
.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.media--tall img { aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 4 / 3; }
.media__badge {
  position: absolute; left: -32px; bottom: 40px; background: var(--navy); color: #fff;
  padding: 26px 30px; border-radius: var(--radius-lg); max-width: 270px; box-shadow: var(--shadow);
}
.media__badge strong { display: block; color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-bottom: 6px; }
.media__badge span { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.5; display: block; }
.media__frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--brass); border-radius: var(--radius-lg); z-index: -1; }
.media__frame { z-index: 0; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step__num {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--brass);
}
.step__num::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.step:last-child .step__num::after { opacity: 0; }
.step h3 { font-size: 1.35rem; margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
.section--navy .step p { color: rgba(255,255,255,.66); }

/* Werte / Statement */
.statement { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.statement em { color: var(--brass); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.pillar { padding: 40px 36px 0 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar__label { font-family: var(--font-serif); font-size: 2rem; color: var(--navy); margin-bottom: 14px; display: block; }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Leistungsliste (Detailseiten) */
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scope--2 { grid-template-columns: repeat(2, 1fr); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.scope__col { background: #fff; border-radius: var(--radius-lg); padding: 40px 36px; border: 1px solid var(--line); }
.section--cream .scope__col { border-color: transparent; }
.scope__col h3 { display: flex; align-items: center; gap: 14px; font-size: 1.45rem; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.scope__col h3 .icon { width: 38px; height: 38px; flex-shrink: 0; }
.scope__col .checklist li { font-size: .97rem; margin-bottom: 12px; }

/* Zielgruppen-Liste */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.audience__item { background: var(--navy-900); padding: 32px 30px; }
.audience__item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.audience__item p { margin: 0; font-size: .94rem; color: rgba(255,255,255,.64); }

/* Ansprechpartner */
.person { display: flex; gap: 26px; align-items: center; padding: 30px; background: var(--cream); border-radius: var(--radius-lg); }
.person__avatar {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 2rem;
}
.person__name { font-family: var(--font-serif); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.person__role { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.person a { color: var(--navy); font-weight: 700; font-size: .95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2300274d' stroke-width='1.4'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--cream); }
.faq details p { padding: 0 60px 28px 0; margin: 0; color: var(--muted); }

/* CTA-Band */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(90px, 12vw, 160px) 0; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,17,31,.94) 0%, rgba(0,26,51,.82) 50%, rgba(0,26,51,.55) 100%); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 760px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 600px; font-size: 1.12rem; margin-bottom: 36px; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }
.cta-band__contact { border-left: 1px solid rgba(255,255,255,.2); padding-left: 40px; }
.cta-band__contact span { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 6px; font-weight: 700; }
.cta-band__contact a, .cta-band__contact address { display: block; font-style: normal; color: #fff; font-size: 1.1rem; margin-bottom: 22px; }

/* 6 ─ Sektionen ─────────────────────────────────────────────────────────── */
/* Hero (Start) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 60px) 0 clamp(60px, 8vw, 100px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,17,31,.55) 0%, rgba(0,17,31,.25) 35%, rgba(0,17,31,.85) 100%), linear-gradient(90deg, rgba(0,17,31,.7) 0%, rgba(0,17,31,0) 70%); }
.hero h1 { color: #fff; max-width: 980px; margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 620px; color: rgba(255,255,255,.84); margin-bottom: 40px; }
.hero .eyebrow { color: var(--brass-light); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 64px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); font-size: .95rem; color: rgba(255,255,255,.85); }
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--brass-light); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(60px, 8vw, 100px); writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* Page-Hero (Unterseiten) */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(80px, 11vw, 150px)) 0 clamp(70px, 9vw, 120px); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(0,17,31,.9) 0%, rgba(0,26,51,.72) 55%, rgba(0,26,51,.35) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 900px; margin-bottom: 24px; }
.page-hero p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 36px; }
.page-hero .eyebrow { color: var(--brass-light); }
.page-hero--plain { background: var(--navy-900); padding-bottom: clamp(56px, 7vw, 90px); }
.page-hero--plain::after { display: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 30px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

/* Intro mit Logo-Zeichen */
.intro { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.intro__mark { width: 140px; color: var(--navy); opacity: .95; }

/* Kennzeichen-Leiste */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.fact { padding: 34px 26px 0 0; }
.fact + .fact { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
.fact strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.fact span { font-size: .93rem; color: rgba(255,255,255,.62); }

/* Notiz-Box */
.note { display: flex; gap: 22px; align-items: flex-start; padding: 30px 32px; background: var(--cream); border-left: 3px solid var(--brass); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.note p { margin: 0; min-width: 0; flex: 1; }
.note .icon { width: 34px; height: 34px; flex-shrink: 0; }

/* Rechtstexte */
.legal { padding: clamp(60px, 8vw, 110px) 0; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.8em; font-family: var(--font-sans); font-weight: 700; }
.legal p, .legal li { color: var(--text); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; margin-bottom: 1.1em; }
.placeholder { background: #fff4d6; border: 1px dashed #c9a24a; padding: 1px 6px; border-radius: 3px; font-size: .95em; }

/* 7 ─ Formulare ─────────────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.contact-list { margin: 40px 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 28px; height: 28px; flex-shrink: 0; margin-top: 3px; }
.contact-list span { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--brass); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 52px); box-shadow: 0 40px 80px -40px rgba(0,26,51,.35), 0 0 0 1px rgba(0,26,51,.06); }
.form-card h3 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font-sans); color: var(--ink);
  padding: 15px 16px; border: 1px solid #d6d0c5; border-radius: var(--radius); background: #fcfbf9;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2300274d' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(0,39,77,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field .error-msg { font-size: .82rem; color: #b3261e; display: none; }
.field.has-error .error-msg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid #d6d0c5; border-radius: 40px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s; background: #fcfbf9; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.consent a { color: var(--navy); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-hint { font-size: .82rem; color: var(--muted); }
.form-status { display: none; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-success { display: block; background: #e8f3ec; color: #1d5b34; }
.form-status.is-error { display: block; background: #fbe9e7; color: #8c1d18; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* 8 ─ Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.66); padding: clamp(70px, 9vw, 110px) 0 36px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand__word, .site-footer .brand__mark { color: #fff; }
.footer-claim { margin: 26px 0 0; max-width: 320px; line-height: 1.65; }
.footer-claim em { font-family: var(--font-serif); color: var(--brass-light); font-size: 1.15rem; display: block; margin-bottom: 10px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer li { margin-bottom: 12px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 30px; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 26px; }
.footer-bottom li { margin: 0; }

/* 9 ─ Animation ─────────────────────────────────────────────────────────── */
@keyframes heroZoom { to { transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 10 ─ Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-column: 1 / -1; min-height: 480px; }
  .service-card { min-height: 460px; }
  .grid-4, .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .step:nth-child(2) .step__num::after { opacity: 0; }
  .scope { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; background: var(--navy-950); color: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--header-h) + 30px) var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: var(--navy-950); color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .site-header .brand__word, .nav-open .site-header .brand__mark { color: #fff; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { width: 100%; justify-content: space-between; padding: 20px 0; font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; }
  .nav__link svg { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 16px; min-width: 0; color: #fff; }
  .dropdown a { padding: 8px 0; }
  .dropdown a:hover { background: none; }
  .dropdown strong { color: rgba(255,255,255,.9); font-weight: 500; }
  .dropdown span, .dropdown hr { display: none; }
  .nav .btn { margin-top: 30px; }
  body.nav-open { overflow: hidden; }

  .split, .split--wide-left, .contact-wrap, .section-head--split, .cta-band__inner, .intro { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .split--keep-order .media { order: 0; }
  .media__badge { left: 16px; bottom: 16px; }
  .media__frame::before { inset: 18px -12px -12px 18px; }
  .grid-3, .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding: 30px 0; }
  .cta-band__contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 30px; }
  .intro__mark { width: 90px; }
  .hero__scroll { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  p, li { hyphens: auto; -webkit-hyphens: auto; }
  .service-cards, .grid-2, .grid-4, .scope, .scope--2, .steps--3, .tiles, .audience, .facts, .steps, .form-grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .step { padding: 0; }
  .step__num::after { opacity: 0 !important; }
  .service-card, .service-card--featured { min-height: 420px; }
  .checklist--cols { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .faq details p { padding-right: 0; }
  .btn-row .btn { width: 100%; }
  .hero__meta { flex-direction: column; margin-top: 44px; }
  .person { flex-direction: column; align-items: flex-start; }
  .tile { padding: 32px 26px; }
  .brand__word { font-size: 1rem; letter-spacing: .26em; }
  .brand__mark { width: 34px; height: 34px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero__scroll { display: none; }
  .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}

/* Referenzen */
.ref { margin-bottom: clamp(80px, 10vw, 140px); }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--2 img { aspect-ratio: 4 / 5; }
.gallery--3 figure:first-child { grid-column: 1 / -1; }
.gallery--3 figure:first-child img { aspect-ratio: 16 / 10; }
.ref-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ref-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.ref-facts dd { margin: 0; color: var(--ink); }
@media (max-width: 680px) { .ref-facts { grid-template-columns: 1fr; } }

/* Referenzen: Bilder-Slider (Swipe, Pfeile, Punkte) */
.slider { position: relative; min-width: 0; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; border-radius: var(--radius-lg); scrollbar-width: none; cursor: grab; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slider__slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; -webkit-user-drag: none; }
.slider__btn { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,26,51,.45); transition: opacity .2s, background .2s; }
.slider__btn:hover { background: #fff; color: var(--brass); }
.slider__btn:disabled { opacity: 0; pointer-events: none; }
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }
.slider__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.slider__count { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--brass); font-variant-numeric: tabular-nums; }
.slider__dots { display: flex; gap: 4px; }
.slider__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.slider__dots button[aria-current="true"]::before { background: var(--brass); transform: scale(1.25); }
@media (hover: none) { .slider__btn { display: none; } .slider__track { cursor: auto; } }
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }

/* Formular: Rückmeldung vom Server */
.form-alert { margin: 0 0 22px; padding: 16px 20px; border-radius: var(--radius); font-size: .95rem; }
.form-alert ul { margin: 8px 0 0 18px; padding: 0; }
.form-alert--error { background: #fbe9e7; color: #8c1d18; }
.form-alert--success { background: #e8f3ec; color: #1d5b34; }
