/* ==========================================================================
   ARCONIS Projektentwicklungs GmbH – Stylesheet
   Farbwelt aus der Wortmarke: Petrol #0f766e / Anthrazit #1f2937.
   Keine externen Abhängigkeiten (keine Google Fonts, kein CDN).
   ========================================================================== */

/* --- 1. Design Tokens ---------------------------------------------------- */
:root {
  /* Markenfarben – exakt aus der Logodatei entnommen */
  --petrol:       #0f766e;
  --petrol-600:   #0c625b;
  --petrol-700:   #094e49;
  --petrol-300:   #4f9c95;
  --petrol-tint:  #e8f2f1;
  --petrol-tint2: #d3e6e3;

  --ink:          #1f2937;   /* Anthrazit der Wortmarke */
  --ink-deep:     #151c26;   /* dunkle Ankersektionen   */
  --ink-deeper:   #0f151d;

  --text:         #3f4855;
  --muted:        #636d79;   /* >= 4.5:1 auf Weiß, Sand und Petrol-Tint */
  --faint:        #7c8590;

  --paper:        #ffffff;
  --sand:         #f6f7f6;
  --sand-2:       #eef0ef;
  --line:         #e2e6e8;
  --line-2:       #d3d9dc;

  /* auf dunklem Grund */
  --d-text:       #edf0f1;
  --d-muted:      #a9b2bb;
  --d-faint:      #7d878f;
  --d-line:       rgba(255, 255, 255, .13);
  --d-line-2:     rgba(255, 255, 255, .26);

  /* Typografie */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Maße */
  --wrap: 1220px;
  --wrap-narrow: 800px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sect-y: clamp(4rem, 8vw, 7.5rem);
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(31, 41, 55, .05);
  --shadow:    0 6px 24px -8px rgba(31, 41, 55, .14);
  --shadow-lg: 0 18px 50px -18px rgba(31, 41, 55, .28);

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

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.021em;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); }
h4 { font-size: 1rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--petrol); color: #fff; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }

/* --- 3. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sect-y); position: relative; }
.section--sand { background: var(--sand); }
.section--tint { background: var(--petrol-tint); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

/* Dunkle Ankersektion */
.section--dark { background: var(--ink-deep); color: var(--d-text); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark .lead, .section--dark li { color: var(--d-muted); }
.section--dark .eyebrow { color: var(--petrol-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .745rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--petrol);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }

.lead { font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }

.section-head { max-width: 66ch; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.6rem;
  background: var(--petrol); color: #fff;
  border: 1.5px solid var(--petrol);
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--petrol-600); border-color: var(--petrol-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--outline:hover { background: var(--paper); color: var(--petrol); border-color: var(--petrol); }

.btn--onDark { background: transparent; color: #fff; border-color: var(--d-line-2); box-shadow: none; }
.btn--onDark:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--petrol);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; }

/* --- 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(31,41,55,.05); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: 84px; transition: min-height .3s var(--ease);
}
.site-header.is-solid .site-header__inner { min-height: 72px; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.is-solid .logo img { height: 40px; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; font-size: .95rem; font-weight: 500;
  color: var(--text); padding-block: .35rem;
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--petrol);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--petrol); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--petrol); font-weight: 600; }
.nav__cta { margin-left: .4rem; padding: .68rem 1.25rem; font-size: .87rem; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; position: relative;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer;
}
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .18s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
body.nav-open .burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile-Overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 890;
  background: var(--paper);
  padding: 6.5rem var(--gutter) 3rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.3rem; font-weight: 600; color: var(--ink);
}
.mobile-nav a.is-active { color: var(--petrol); }
.mobile-nav__foot { margin-top: auto; padding-top: 2.5rem; }
.mobile-nav__foot a { border: 0; padding: .2rem 0; font-size: 1rem; font-weight: 500; color: var(--petrol); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-deep);
  min-height: min(84vh, 780px);
  display: flex; align-items: center;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}
.hero--sub { min-height: 0; padding-block: clamp(3.75rem, 7vw, 5.75rem); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(21,28,38,.95) 0%, rgba(21,28,38,.86) 42%, rgba(21,28,38,.55) 100%),
    linear-gradient(180deg, rgba(21,28,38,.35) 0%, transparent 40%);
}
.hero__content { max-width: 820px; position: relative; }
.hero h1 { color: #fff; margin-bottom: 1.35rem; text-wrap: balance; }
.hero__sub { max-width: 58ch; font-size: clamp(1.05rem, 1.55vw, 1.25rem); color: #ccd3d8; }
.hero .eyebrow { color: var(--petrol-300); }
.hero .btn-row { margin-top: 2.25rem; }
.hero--sub h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }

/* Vertrauensleiste unter dem Hero */
.trustbar { background: var(--ink-deeper); border-top: 1px solid var(--d-line); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item { padding: 1.5rem 1.25rem; border-right: 1px solid var(--d-line); }
.trustbar__item:last-child { border-right: 0; }
.trustbar__item strong { display: block; color: #fff; font-size: .98rem; font-weight: 600; margin-bottom: .15rem; }
.trustbar__item span { font-size: .87rem; color: var(--d-faint); }
@media (max-width: 860px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(2n) { border-right: 0; }
  .trustbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--d-line); }
}

/* --- 7. Kennzahlen ------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats__item { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem) 1.3rem; text-align: center; }
.stats__num { display: block; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--petrol); margin-bottom: .55rem; }
.stats__label { font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --- 8. Grid & Karten ---------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.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: 1020px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--petrol); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { border-color: var(--petrol-300); transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 1.1rem;
  border-radius: var(--radius); background: var(--petrol-tint);
  color: var(--petrol); font-size: .88rem; font-weight: 700;
}
.card__kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: .7rem; }
.card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding-left: 1.15rem; font-size: .93rem; color: var(--muted); margin-bottom: .4rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 2px; background: var(--petrol); }

.section--dark .card { background: rgba(255,255,255,.045); border-color: var(--d-line); }
.section--dark .card:hover { border-color: var(--petrol-300); box-shadow: none; }
.section--dark .card p, .section--dark .card ul li { color: var(--d-muted); }
.section--dark .card__num { background: rgba(79,156,149,.18); color: var(--petrol-300); }
.section--dark .card__kicker { color: var(--petrol-300); }

/* Bildkarte */
.card-img {
  display: block; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-img:hover { border-color: var(--petrol-300); transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.card-img__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-img:hover .card-img__media img { transform: scale(1.05); }
.card-img__body { padding: clamp(1.3rem, 2.2vw, 1.8rem); }
.card-img__body h3 { margin-bottom: .45rem; }
.card-img__body p { font-size: .94rem; color: var(--muted); margin-bottom: .9rem; }
.tag {
  display: inline-block; padding: .28rem .62rem; margin-bottom: .8rem;
  background: var(--petrol-tint); color: var(--petrol-700);
  border-radius: 3px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tag--live { background: #fdf0e4; color: #9a5b18; }

/* Projekt-Metadaten */
.meta { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; }
.meta li { display: flex; justify-content: space-between; gap: 1rem; font-size: .87rem; }
.meta dt, .meta__k { color: var(--faint); }
.meta__v { color: var(--ink); font-weight: 500; text-align: right; }

/* --- 9. Split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: var(--radius-lg); }
/* Porträt – quadratisch und schmaler als die volle Spalte */
.split__media--portrait img { aspect-ratio: 1 / 1; }
.split__media--portrait { max-width: 400px; }
@media (max-width: 900px) { .split__media--portrait { max-width: 300px; } }
.split__badge {
  position: absolute; right: 1rem; bottom: 1rem;
  background: var(--petrol); color: #fff;
  padding: 1rem 1.35rem; border-radius: var(--radius); max-width: 66%;
  box-shadow: var(--shadow-lg);
}
.split__badge strong { display: block; font-size: 1.35rem; font-weight: 700; line-height: 1.1; margin-bottom: .2rem; }
.split__badge span { font-size: .78rem; opacity: .9; }

/* --- 10. Prozess --------------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__step {
  counter-increment: step;
  display: grid; grid-template-columns: 74px 1fr; gap: clamp(1.1rem, 2.5vw, 2.2rem);
  padding-block: clamp(1.5rem, 2.8vw, 2.1rem);
  border-top: 1px solid var(--line); align-items: start;
}
.process__step:last-child { border-bottom: 1px solid var(--line); }
.process__step::before {
  content: "0" counter(step);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 700;
  color: var(--petrol); letter-spacing: -.02em; line-height: 1.2;
}
.process__step h3 { margin-bottom: .35rem; }
.process__step p { color: var(--muted); font-size: .96rem; max-width: 74ch; }
.section--dark .process__step { border-color: var(--d-line); }
@media (max-width: 620px) { .process__step { grid-template-columns: 1fr; gap: .35rem; } }

/* --- 11. Checkliste ------------------------------------------------------ */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--muted); }
.checks li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .05rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .4em;
  width: 12px; height: 6px;
  border-left: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol);
  transform: rotate(-45deg);
}
.section--dark .checks li strong { color: #fff; }
.section--dark .checks li::before { border-color: var(--petrol-300); }

/* Pillen-Liste (Einsatzgebiet) */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pills li {
  padding: .42rem .85rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 100px;
  font-size: .86rem; color: var(--text);
}
.section--sand .pills li { background: var(--paper); }
.pills li.is-key { background: var(--petrol); border-color: var(--petrol); color: #fff; font-weight: 600; }

/* --- 11b. Referenzen: Leistungsumfang & Bildstreifen --------------------- */
.scope {
  margin: 1.4rem 0 0;
  padding: 1.05rem 1.25rem;
  background: var(--petrol-tint);
  border-left: 3px solid var(--petrol);
  border-radius: var(--radius);
}
.scope dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--petrol-700); margin-bottom: .3rem;
}
.scope dd { margin: 0; color: var(--petrol-700); font-weight: 600; line-height: 1.55; }
.scope dd + dt { margin-top: .8rem; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.2rem; }
.shots img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--line);
}
@media (max-width: 560px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* --- 12. Tabelle --------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
table.tbl th, table.tbl td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl thead th { background: var(--sand); color: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
table.tbl tbody td { color: var(--muted); }
table.tbl tbody td:first-child { color: var(--ink); font-weight: 600; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover td { background: var(--petrol-tint); }

/* --- 13. Accordion ------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  transition: color .22s var(--ease);
}
.acc__btn:hover { color: var(--petrol); }
.acc__icon { position: relative; flex: none; width: 16px; height: 16px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--petrol);
  transition: transform .32s var(--ease);
}
.acc__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.acc__icon::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .42s var(--ease); }
.acc__panel > div { padding-bottom: 1.4rem; color: var(--muted); max-width: 82ch; }

/* --- 14. Formular -------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--petrol); }
.field input, .field textarea, .field select {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .82rem .95rem; color: var(--ink); font-size: .97rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--petrol) 50%),
                    linear-gradient(135deg, var(--petrol) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(15,118,110,.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.field__err { display: none; font-size: .83rem; color: #c0392b; }
.field.has-error .field__err { display: block; }

.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--petrol); }
.consent a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error { color: #c0392b; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--petrol); color: #fff; padding: .8rem 1.2rem;
  font-size: .88rem; font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.form__note { font-size: .84rem; color: var(--faint); }
.form__status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .94rem; }
.form__status.is-visible { display: block; }
.form__status--ok { background: var(--petrol-tint); border: 1px solid var(--petrol-300); color: var(--petrol-700); }

/* --- 15. Kontaktblock ---------------------------------------------------- */
.contact-list { display: grid; gap: 1.5rem; margin: 0; }
.contact-list dt { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: .3rem; }
.contact-list dd { margin: 0; font-size: 1.02rem; color: var(--ink); line-height: 1.65; }
.contact-list dd a:hover { color: var(--petrol); }

/* --- 16. CTA-Band -------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(21,28,38,.96) 15%, rgba(21,28,38,.7) 100%); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.25rem; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; max-width: 21ch; }
.cta-band p { color: var(--d-muted); max-width: 46ch; }

/* --- 17. Hinweisbox ------------------------------------------------------ */
.note {
  border: 1px solid var(--petrol-tint2); border-left: 3px solid var(--petrol);
  background: var(--petrol-tint); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; font-size: .92rem; color: var(--petrol-700);
}
.note strong { color: var(--petrol-700); }
.note code { background: rgba(255,255,255,.7); padding: .1em .35em; border-radius: 3px; font-size: .93em; }
.section--dark .note { background: rgba(79,156,149,.12); border-color: rgba(79,156,149,.3); color: var(--d-muted); }
.section--dark .note strong { color: var(--petrol-300); }

/* --- 18. Rechtstexte ----------------------------------------------------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); margin-top: 2.75rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.legal p, .legal li { color: var(--muted); font-size: .97rem; }
.legal ul, .legal ol { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.8; }
.legal a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }
.ph { background: #fdf0e4; color: #8a4f12; padding: .05em .4em; border-radius: 3px; font-size: .95em; }

/* --- 19. Footer ---------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: var(--d-muted); padding-top: clamp(3.25rem, 6vw, 5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.25rem); padding-bottom: 3.25rem; }
@media (max-width: 940px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 1.15rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--d-muted); font-size: .94rem; transition: color .22s var(--ease); }
.site-footer a:hover { color: var(--petrol-300); }
.site-footer p, .site-footer address { color: var(--d-muted); font-size: .94rem; font-style: normal; line-height: 1.8; }
.site-footer .logo { margin-bottom: 1.25rem; }
.site-footer .logo img { height: 42px; }
.site-footer__bar {
  border-top: 1px solid var(--d-line); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .85rem; color: var(--d-faint);
}
.site-footer__bar a { font-size: .85rem; }
.credits { font-size: .79rem; color: var(--d-faint); padding-bottom: 1.5rem; }
.credits a { font-size: .79rem; color: var(--d-faint); text-decoration: underline; text-underline-offset: 2px; }

/* --- 20. Bild-Fallback --------------------------------------------------- */
.img-fallback {
  background:
    repeating-linear-gradient(115deg, rgba(31,41,55,.035) 0 2px, transparent 2px 10px),
    linear-gradient(150deg, #dfe3e2 0%, #cfd6d5 100%);
  min-height: 240px;
}
.hero__media.img-fallback, .cta-band__media.img-fallback {
  min-height: 0;
  background: linear-gradient(120deg, #1c2632 0%, #151c26 60%, #0f151d 100%);
}

/* --- 21. Scroll-Reveal --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* --- 22. Navigation responsiv -------------------------------------------- */
@media (max-width: 1040px) { .nav { display: none; } .burger { display: block; } }
@media (min-width: 1041px) { .mobile-nav { display: none; } }

/* --- 23. Druck ----------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .mobile-nav, .cta-band, .burger, .hero__media { display: none !important; }
  .hero { background: #fff; } .hero h1, .hero__sub { color: #000; }
}
