/* =====================================================================
   Bautechnik Konrad GmbH – Stylesheet
   Farbwelt aus Logo & bisheriger Website: Petrol #0c343d + Gold #f9bf4b.
   Modern, mit dezenten Animationen (Reduced-Motion wird respektiert).
   ===================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Inter-roman.var.woff2") format("woff2");
}

:root {
  /* Marke */
  --petrol:      #0c343d;
  --petrol-900:  #071f25;
  --petrol-800:  #0a2b33;
  --petrol-700:  #124049;
  --petrol-600:  #1c525d;
  --petrol-500:  #2b6b76;
  --gold:        #f9bf4b;
  --gold-600:    #e5a72f;   /* Hover */
  --gold-ink:    #6b4a05;   /* goldnahes Braun, kontraststark auf Weiß */
  --gold-050:    #fdf4dd;

  --ink:         #14262b;   /* Fließtext */
  --ink-soft:    #33474d;
  --muted:       #5c6a6e;
  --line:        #e0e6e5;
  --line-strong: #c8d2d1;
  --surface:     #f4f4f3;   /* aus bisheriger Website */
  --surface-2:   #ebeeed;
  --white:       #ffffff;

  --focus:       #0c343d;

  --shadow-sm: 0 1px 2px rgba(12,52,61,.06), 0 1px 3px rgba(12,52,61,.10);
  --shadow-md: 0 10px 24px rgba(12,52,61,.10), 0 3px 8px rgba(12,52,61,.06);
  --shadow-lg: 0 24px 60px rgba(12,52,61,.16), 0 8px 20px rgba(12,52,61,.08);

  --container: 1180px;
  --radius: 6px;
  --radius-lg: 12px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --fs-0:  clamp(1rem, .965rem + .18vw, 1.09rem);
  --fs-1:  clamp(1.18rem, 1.08rem + .5vw, 1.4rem);
  --fs-2:  clamp(1.45rem, 1.24rem + 1vw, 1.95rem);
  --fs-3:  clamp(1.8rem, 1.42rem + 1.8vw, 2.7rem);
  --fs-4:  clamp(2.2rem, 1.6rem + 3vw, 3.5rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
button, a, input, select, textarea, label, summary { touch-action: manipulation; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--petrol);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4); line-height: 1.08; letter-spacing: -0.026em; }
h2 { font-size: var(--fs-3); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-1); line-height: 1.25; letter-spacing: -0.01em; }
h4 { letter-spacing: 0; }
p { margin: 0 0 1rem; max-width: 66ch; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-600); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2rem; }
li { margin: .3rem 0; }
strong { font-weight: 650; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.section--petrol :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .cta-band :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold); color: var(--petrol); }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--petrol); font-weight: 600;
  padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--petrol); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
.section { padding-block: clamp(3.25rem, 8vw, 6rem); position: relative; }
.section--tint { background: var(--surface); }
.section--petrol { background: var(--petrol); color: #d7e4e6; }
.section--petrol h1, .section--petrol h2, .section--petrol h3, .section--petrol h4 { color: #fff; }

.section__head { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
/* Wenn .section__head zugleich der .container ist: volle Breite behalten */
.container.section__head { max-width: var(--container); }
.container.section__head > h1, .container.section__head > h2 { max-width: 24ch; }
.container.section__head > p { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs--1); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--petrol);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--gold); flex: none; }
.section--petrol .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.lead { font-size: var(--fs-1); color: var(--ink-soft); }
.section--petrol .lead { color: #cfe0e2; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0 0 0 rgba(0,0,0,0);
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  font: inherit; font-weight: 650; line-height: 1;
  padding: .9rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .16s var(--ease), background-color .16s, border-color .16s, box-shadow .16s, color .16s;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn--primary { background: var(--gold); color: var(--petrol); }
.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--line-strong); }
.btn--on-dark { background: #fff; color: var(--petrol); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--petrol);
  transition: box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(7,31,37,.28); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* .94: bleibt auf hellen Seiten markentreues Petrol, Inhalte schimmern nur dezent durch */
  .site-header { background: rgba(12,52,61,.94); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--petrol); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--petrol-900); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,.5); }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { height: 30px; width: auto; display: block; }
.brand__mark rect { transition: opacity .5s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-weight: 700; font-size: 1.02rem; color: #fff; letter-spacing: .01em; }
.brand__sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 480px) { .brand__sub { display: none; } .brand__mark { height: 26px; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative; display: inline-block; padding: .55rem .85rem;
  border-radius: var(--radius); color: #cfe0e2; text-decoration: none;
  font-weight: 550; font-size: .95rem; transition: color .15s, background-color .15s;
}
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav a { white-space: nowrap; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
/* Schmale Desktop-Breiten (921–1120 px): enger setzen, damit "Über uns" nicht umbricht */
@media (min-width: 921px) and (max-width: 1120px) {
  .nav a { padding-inline: .6rem; }
  .nav a::after { left: .6rem; right: .6rem; }
  .nav .btn { margin-left: .25rem; padding-inline: .95rem; }
}
.nav .btn { margin-left: .5rem; padding: .62rem 1.1rem; }
.nav a.btn--primary, .nav a.btn--primary:hover, .nav a.btn--primary[aria-current="page"] { color: var(--petrol); }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: #fff; overflow: visible; }
.nav-toggle path { transition: transform .2s var(--ease), opacity .2s; transform-box: fill-box; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .l1 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .l2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .l3 { transform: translateY(-6px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-call {
  display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: var(--gold); color: var(--petrol); border-radius: var(--radius);
}
.header-call svg { width: 20px; height: 20px; }

@media (max-width: 920px) {
  .nav-toggle, .header-call { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--petrol-800);
    padding: .5rem clamp(1rem, 5vw, 2rem) 1.4rem;
    box-shadow: var(--shadow-lg);
    overscroll-behavior: contain; max-height: calc(100dvh - 68px); overflow-y: auto;
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .95rem .6rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--petrol-900); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,31,37,.94) 0%, rgba(7,31,37,.86) 38%, rgba(7,31,37,.35) 72%, rgba(7,31,37,.15) 100%),
    linear-gradient(0deg, rgba(7,31,37,.55), transparent 35%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 10vw, 8rem); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero h1 .hl { color: var(--gold); }
.hero p { color: #d7e4e6; font-size: var(--fs-1); max-width: 52ch; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(7,31,37,.72), rgba(7,31,37,.88) 60%, rgba(7,31,37,.96)); }
}

/* ---------- Kennzahlen-Leiste im Hero ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 2.6rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; max-width: 760px; }
.facts li { margin: 0; display: grid; gap: .15rem; }
.facts strong { font-size: 1.55rem; font-weight: 700; color: var(--gold); letter-spacing: -.01em; line-height: 1.1; }
.facts span { font-size: .9rem; color: #cfe0e2; max-width: 22ch; line-height: 1.4; }
@media (max-width: 560px) {
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
  .facts strong { font-size: 1.1rem; }
  .facts span { font-size: .78rem; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(1rem, 3vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.75rem); align-items: center; }
.split--media-first .split__media { order: -1; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } .split--media-first .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem; height: 100%; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
a.card { display: block; text-decoration: none; color: inherit; }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--surface-2); color: var(--petrol);
  margin-bottom: 1.1rem; transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.card h3 { font-size: 1.12rem; margin-bottom: .4rem; letter-spacing: 0; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 0; }
.card__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-weight: 650; font-size: .9rem; color: var(--gold-ink); }
.card__more { white-space: nowrap; }
.card__more svg { width: 1em; height: 1em; flex: none; }

/* ---------- Feature-Liste (petrol) ---------- */
.feature h3 { display: flex; align-items: center; gap: .6rem; }
.feature h3::before { content: ""; width: 10px; height: 10px; background: var(--gold); flex: none; }
.section--petrol .feature p { color: #bcd0d2; }
.section--petrol .feature a { color: var(--gold); }
.cta-band a.cta-phone { color: #fff; font-weight: 650; }

/* ---------- Leistungs-Detailblock ---------- */
.service { scroll-margin-top: 92px; }
.service + .service { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 6vw, 4rem); }
.service ul { margin: 1rem 0 0; list-style: none; padding: 0; }
.service ul li { position: relative; padding-left: 1.6rem; margin: .5rem 0; }
.service ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  background: var(--gold); transform: rotate(45deg);
}

/* ---------- Ablauf / Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: 1.1rem; padding-left: 0; }
.steps li {
  list-style: none; position: relative; padding: 1.3rem 1.4rem 1.3rem 4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.15rem; top: 1.2rem; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; background: var(--petrol); color: var(--gold);
  font-weight: 700; border-radius: 50%; font-size: .95rem;
}
.steps li h3 { margin-bottom: .2rem; font-size: 1.05rem; }
.steps li p { margin-bottom: 0; font-size: .96rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 840px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; transition: transform .2s var(--ease), box-shadow .2s;
}
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .35s var(--ease); }
.gallery img[src*="3d-gruendung"] { object-fit: contain; background: #fff; padding: .75rem; }
.gallery figcaption { padding: .85rem 1rem; font-size: .9rem; color: var(--muted); }

.gallery figcaption strong { display: block; color: var(--petrol); font-size: .95rem; margin-bottom: .15rem; }

/* ---------- Projekt-Teaser (Startseite) ---------- */
.projects { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1.1rem; }
.projects a { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--petrol-900); }
.projects a:first-child { grid-row: span 2; }
.projects img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.projects a:first-child { min-height: 320px; }
.projects a:first-child img { position: absolute; inset: 0; aspect-ratio: auto; }
.projects span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem .95rem; background: linear-gradient(0deg, rgba(7,31,37,.9), transparent); font-weight: 650; line-height: 1.3; }
.projects small { display: block; font-weight: 500; color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } .projects a:first-child { grid-row: auto; min-height: 0; } .projects a:first-child img { position: static; aspect-ratio: 4 / 3; } }

/* ---------- Sprungmarken (Leistungen) ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.subnav li { margin: 0; }
.subnav a { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--petrol); transition: background-color .15s, border-color .15s; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 650; color: var(--petrol); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* ---------- Badge EEE ---------- */
.badge { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); background: var(--gold-050); border: 1px solid #f0dca9; }
.badge svg { width: 34px; height: 34px; flex: none; color: var(--gold-ink); }
.badge p { margin: 0; }

/* ---------- Schnellkontakt ---------- */
.quick-contact { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 3rem); }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.definition { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.3rem; margin: 0; }
.definition dt { font-weight: 650; color: var(--petrol); }
.definition dd { margin: 0; color: var(--ink-soft); }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--petrol); }
.field .req { color: var(--gold-ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .8rem .9rem; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(12,52,61,.14);
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--petrol); }
.field--check label { font-weight: 450; font-size: .9rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }

/* ---------- Callout ---------- */
.callout {
  border: 1px solid var(--line-strong); border-left: 4px solid var(--gold);
  background: var(--surface); border-radius: var(--radius); padding: 1.15rem 1.3rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: #c9860a; background: #fff8ec; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--petrol); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(249,191,75,.16), transparent 70%);
}
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 3.75rem); }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #cfe0e2; margin: .45rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); color: #9fb4b7; font-size: .95rem; }
.site-footer a { color: #cfe0e2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(1.5rem, 5vw, 3rem); padding-block: clamp(2.75rem, 6vw, 3.75rem); }
@media (max-width: 780px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45rem 0; }
.site-footer__brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .86rem;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; }

/* ---------- Utilities ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prose > :last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--petrol); color: var(--gold); margin-bottom: .6rem; }

/* ---------- Rechtstext-Seiten ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); max-width: 860px; }
.legal h2 { font-size: var(--fs-2); margin-top: 2.5rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal p, .legal li { max-width: 78ch; }
.legal .placeholder { background: #fff7e6; border: 1px dashed #c9860a; color: #7a5300; padding: .1rem .4rem; border-radius: 3px; font-weight: 600; }

/* ---------- Scroll-Reveal-Animation ---------- */
/* Nur aktiv, wenn JavaScript laeuft (Klasse .js am <html>). Ohne JS: sofort sichtbar. */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Interaktion (Apple-Prinzipien: sofortige Rückmeldung, Hover nur mit Maus)
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }

/* Druck-Rückmeldung sofort beim Berühren (alle Geräte) */
a.card, .projects a, .subnav a, .gallery__zoom { transition: transform .16s var(--ease), box-shadow .2s, border-color .2s, background-color .15s; }
a.card:active { transform: scale(.985); transition-duration: 80ms; }
.projects a:active, .gallery__zoom:active { transform: scale(.985); transition-duration: 80ms; }
.subnav a:active { background: var(--gold); border-color: var(--gold); }
.header-call:active, .nav-toggle:active { transform: scale(.94); }
.header-call, .nav-toggle { transition: transform .12s var(--ease); }

/* Tastatur-Fokus auf Karten wie Hover darstellen */
a.card:focus-visible { box-shadow: var(--shadow-lg); border-color: transparent; }
a.card:focus-visible::before { transform: scaleX(1); }

/* Hover-Effekte nur bei echter Maus – auf Touch bleiben sie sonst "hängen" */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
  .btn--primary:hover { background: var(--gold-600); color: var(--petrol); box-shadow: 0 8px 22px rgba(249,191,75,.4); }
  .btn--ghost:hover { background: var(--surface); border-color: var(--petrol); color: var(--petrol); }
  .btn--on-dark:hover { background: var(--gold); color: var(--petrol); box-shadow: 0 8px 22px rgba(249,191,75,.35); }
  a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
  a.card:hover::before { transform: scaleX(1); }
  a.card:hover .card__icon { background: var(--gold); color: var(--petrol); }
  a.card:hover .card__more { gap: .55rem; }
  .projects a:hover img { transform: scale(1.03); }
  .subnav a:hover { background: var(--gold); border-color: var(--gold); color: var(--petrol); }
  .gallery__zoom:hover img { transform: scale(1.03); }
}

/* ---------- Mobiles Menü: Hintergrund abdunkeln, Seite fixieren ---------- */
.nav-scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(7,31,37,.5);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }
html.nav-open { overflow: hidden; }
@media (min-width: 921px) { .nav-scrim { display: none; } }

/* ---------- Tippflächen mind. 44 px ---------- */
.header-call, .nav-toggle { width: 44px; height: 44px; flex: none; }
.brand { min-height: 44px; }
.definition a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer li { margin: 0; min-height: 44px; display: flex; align-items: center; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.subnav a { min-height: 44px; display: inline-flex; align-items: center; }
.cta-band a.cta-phone { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .15rem; }
.field--check label a { padding-block: .7rem; }

/* ---------- Formular: Rückmeldung direkt am Feld ---------- */
.field-error { margin: .1rem 0 0; font-size: .86rem; font-weight: 550; color: #a1260d; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #a1260d; box-shadow: 0 0 0 3px rgba(161,38,13,.12); }
.field.is-valid input, .field.is-valid textarea { border-color: #2e7d4f; }
.field--check .field-error { grid-column: 2; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"] svg { animation: btnSpin .9s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ---------- FAQ: weich aufklappen (wo unterstützt) ---------- */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0; overflow: hidden; opacity: 0;
  transition: block-size .32s var(--ease), opacity .24s var(--ease), content-visibility .32s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; opacity: 1; }

/* ---------- Referenzen: Großansicht ---------- */
.gallery__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery__zoom:focus-visible { outline-offset: -3px; }
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(5,20,24,.92); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox__stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 0; touch-action: none; }
.lightbox__img { max-width: min(1400px, 100%); max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; transform-origin: 0 0; }
.lightbox__cap { padding: 1rem 4.5rem 1.4rem; text-align: center; font-size: .95rem; color: #d7e4e6; max-width: 70ch; }
.lightbox__cap strong { color: var(--gold); margin-right: .4rem; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .15s, transform .12s var(--ease);
}
.lightbox__btn:active { transform: scale(.92); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lightbox__prev { left: 1rem; bottom: 1.1rem; }
.lightbox__next { right: 1rem; bottom: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(255,255,255,.24); } }
@media (prefers-reduced-transparency: reduce) { .lightbox__btn { background: #1c525d; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Bildformat in Leistungsblöcken vereinheitlichen (4:3) ---------- */
.service .split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.split__media img.crop-43 { object-position: 50% 58%; }
.gallery figcaption small, .lightbox__cap small { display: block; margin-top: .3rem; font-size: .76rem; opacity: .8; font-weight: 400; }
.gallery figcaption small a, .lightbox__cap small a { color: inherit; }

/* ---------- Karte: Zwei-Klick-Platzhalter (Google Maps erst nach Klick) ---------- */
.map-consent { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); margin: 1rem 0 .5rem; }
.map-consent__box { height: 100%; display: grid; align-content: center; justify-items: start; gap: .25rem; padding: 1.25rem; background:
  linear-gradient(135deg, rgba(12,52,61,.94), rgba(18,64,73,.94)); color: #d7e4e6; }
.map-consent__box p { margin: 0 0 .5rem; font-size: .9rem; max-width: 46ch; }
.map-consent__box strong { color: #fff; }
.map-consent__box a { color: var(--gold); }
.map-consent__load { margin-top: .4rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent__off { position: absolute; right: .6rem; bottom: .6rem; z-index: 1; min-height: 44px; padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--petrol); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-sm); }
.map-consent__off:active { transform: scale(.97); }
@media (max-width: 520px) { .map-consent { aspect-ratio: auto; min-height: 380px; } }

/* Leistungen: beide Spalten exakt gleich breit, damit alle Bilder dieselbe Größe haben */
@media (min-width: 841px) { .service .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 921px) { .brand { margin-right: 1rem; } }

/* Über uns: Bild füllt die volle Höhe der Textspalte */
.split--stretch { align-items: stretch; }
.split--stretch .split__media { display: grid; }
.split--stretch .split__media img { height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 45%; aspect-ratio: auto; }
@media (min-width: 1081px) { .split--stretch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .split--stretch { grid-template-columns: 1fr; } .split--stretch .split__media img { height: auto; min-height: 0; aspect-ratio: 16 / 10; } }
