/* ==========================================================================
   Elbservice – Designsystem
   Palette: Porzellan / Mitternacht / Petrol / Frischlack-Orange / Chrom
   Type: Archivo Variable (Display expanded), IBM Plex Mono (Codes/Labels)
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+20AC;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plexmono-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plexmono-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}

:root {
  --porzellan: #F4F5F2;
  --porzellan-tief: #E9EBE6;
  --mitternacht: #0D1418;
  --petrol: #14424F;
  --petrol-tief: #0C2A33;
  --frischlack: #E8500F;
  --frischlack-hell: #FF6A2A;
  --chrom: #C6CDCE;
  --text: #1A2226;
  --text-soft: #4C5A60;
  --text-light: rgba(244, 245, 242, .82);

  --font-body: 'Archivo', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(13, 20, 24, .28);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--porzellan);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--frischlack); color: #fff; padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --- Typo ------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-body);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--frischlack);
  margin: 0 0 1.1em;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: linear-gradient(145deg, var(--frischlack-hell), var(--frischlack));
  margin-right: .7em;
  vertical-align: -1px;
}
.eyebrow-light { color: var(--frischlack-hell); }

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-stretch: 110%;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: 0; cursor: pointer;
  padding: .95em 1.7em;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--frischlack); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(150deg, var(--frischlack-hell), var(--frischlack) 60%);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(232, 80, 15, .55);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(232, 80, 15, .65); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--chrom);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--petrol); }

.btn-glass {
  background: rgba(244, 245, 242, .14);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(244, 245, 242, .45);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(244, 245, 242, .24); }

/* --- Header ------------------------------------------------------------ */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(244, 245, 242, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(13, 20, 24, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background:
    linear-gradient(135deg, var(--frischlack) 0 50%, transparent 50%),
    linear-gradient(135deg, transparent 0 50%, var(--petrol) 50%);
  box-shadow: inset 0 0 0 2px rgba(244,245,242,.25);
}
.brand-word {
  font-stretch: 122%;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  transition: color .35s var(--ease);
}
.is-sub .brand-word, .site-header.is-solid .brand-word { color: var(--mitternacht); }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  font-weight: 600; font-size: .92rem; text-decoration: none;
  color: rgba(255, 255, 255, .85);
  padding: .5em .9em; border-radius: 999px;
  transition: color .25s, background .25s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.is-sub .main-nav a, .site-header.is-solid .main-nav a { color: var(--text-soft); }
.is-sub .main-nav a:hover, .site-header.is-solid .main-nav a:hover { color: var(--mitternacht); background: rgba(13, 20, 24, .06); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-phone {
  background: rgba(244, 245, 242, .13);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(244, 245, 242, .35);
  padding: .6em 1.2em;
  font-size: .88rem;
  backdrop-filter: blur(8px);
}
.is-sub .btn-phone, .site-header.is-solid .btn-phone {
  background: var(--mitternacht); color: #fff; box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; border-radius: 10px;
  background: rgba(244, 245, 242, .14);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
  width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), background .3s;
}
.is-sub .nav-toggle, .site-header.is-solid .nav-toggle { background: rgba(13, 20, 24, .08); }
.is-sub .nav-toggle span, .site-header.is-solid .nav-toggle span { background: var(--mitternacht); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile-Menü: Sibling des Headers (kein transform-Vorfahr!) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(13, 20, 24, .97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobile-menu a {
  font-stretch: 116%; font-weight: 800; font-size: 1.7rem;
  text-transform: uppercase; text-decoration: none;
  color: var(--porzellan); padding: .35em .8em;
}
.mobile-menu a:hover { color: var(--frischlack-hell); }
.mobile-menu-phone { font-family: var(--font-mono); font-size: 1rem !important; font-weight: 500 !important; text-transform: none !important; color: var(--frischlack-hell) !important; margin-top: 1.2em; }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(12, 42, 51, .1) 0%, rgba(13, 20, 24, .55) 62%, rgba(13, 20, 24, .88) 100%),
    linear-gradient(90deg, rgba(13, 20, 24, .35), transparent 55%);
}
.hero-inner { position: relative; padding-block: clamp(90px, 14vh, 150px) clamp(56px, 9vh, 110px); }
.hero .eyebrow { text-shadow: 0 1px 14px rgba(13, 20, 24, .8), 0 0 3px rgba(13, 20, 24, .6); }
.hero h1 { text-shadow: 0 2px 30px rgba(13, 20, 24, .35); }
.hero h1 { margin-bottom: .35em; max-width: 13ch; }
.hero-line { display: block; }
.hero-accent {
  color: transparent;
  background: linear-gradient(100deg, var(--frischlack-hell), var(--frischlack) 55%, #C23E08);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-light);
  margin: 0 0 2em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.reveal-hero {
  opacity: 0;
  transform: translateY(26px);
  animation: rise .9s var(--ease) forwards;
  animation-delay: calc(.12s + var(--d, 0) * .13s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Chipstrip (Signatur) ------------------------------------------------ */

.chipstrip { background: var(--mitternacht); color: var(--porzellan); }
.chipstrip-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  padding-block: 26px;
}
.chip { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.chip-swatch {
  grid-row: 1 / 3;
  width: 34px; height: 34px; border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .38), transparent 42%),
    var(--chip);
  box-shadow: inset 0 0 0 1px rgba(244, 245, 242, .18), 0 4px 10px -4px rgba(0, 0, 0, .6);
}
.chip-code { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--chrom); }
.chip-name { font-size: .82rem; font-weight: 600; }
.chip-note {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: rgba(198, 205, 206, .75);
  max-width: 30ch;
}

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: clamp(72px, 11vw, 130px); }
.section-dark {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(20, 66, 79, .55), transparent 60%),
    var(--mitternacht);
  color: var(--porzellan);
}
.section-dark h2 { color: #fff; }
.section-dark p { color: var(--text-light); }

/* --- Cards / Leistungen --------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: clamp(30px, 5vw, 56px);
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(13, 20, 24, .09);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 4px; }
.card-body h3 { position: relative; padding-bottom: 12px; margin-bottom: 10px; }
.card-body h3::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 42px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--frischlack-hell), var(--frischlack));
  transition: width .35s var(--ease);
}
.card:hover .card-body h3::after { width: 74px; }
.card-body p { margin: 0 0 14px; color: var(--text-soft); font-size: .98rem; }
.card-body ul { margin: auto 0 0; padding: 0; list-style: none; }
.card-body li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: .92rem; font-weight: 500;
  border-top: 1px solid var(--porzellan-tief);
}
.card-body li::before {
  content: '';
  position: absolute; left: 2px; top: 13px;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(145deg, var(--petrol), var(--petrol-tief));
}

/* --- Ablauf / Steps -------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  margin: clamp(34px, 5vw, 60px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(244, 245, 242, .045);
  border: 1px solid rgba(198, 205, 206, .16);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.step:hover { border-color: rgba(232, 80, 15, .55); background: rgba(244, 245, 242, .07); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--frischlack-hell);
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(232, 80, 15, .4);
  border-radius: 6px;
}
.step h3 { color: #fff; font-size: 1.08rem; }
.step p { margin: 0; font-size: .93rem; }

/* --- Split / Qualität ------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split-media { position: relative; }
.split-media > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: min(100%, 460px);
}
.split-media-small {
  position: absolute;
  right: -8px; bottom: -44px;
  width: min(52%, 260px) !important;
  aspect-ratio: 4 / 3 !important;
  border: 6px solid var(--porzellan);
}
.facts { margin: 1.6em 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.facts li {
  padding: 16px 0 16px 30px;
  position: relative;
  border-top: 1px solid var(--porzellan-tief);
  color: var(--text-soft);
  font-size: .97rem;
}
.facts li:last-child { border-bottom: 1px solid var(--porzellan-tief); }
.facts li::before {
  content: '';
  position: absolute; left: 0; top: 24px;
  width: 12px; height: 12px; border-radius: 4px;
  background: linear-gradient(145deg, var(--frischlack-hell), var(--frischlack));
}
.facts strong { display: block; color: var(--text); font-stretch: 110%; font-weight: 700; margin-bottom: 2px; }

/* --- Galerie ----------------------------------------------------------------- */

.section-gallery { padding-top: 0; }
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 14px;
  margin-top: 26px;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; height: clamp(280px, 30vw, 430px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.045); }

/* --- Standort ------------------------------------------------------------------ */

.split-standort { align-items: stretch; }
.location-facts { margin: 1.8em 0; display: grid; gap: 14px; }
.location-facts > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(198, 205, 206, .18);
}
.location-facts dt {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--frischlack-hell);
  padding-top: 3px;
}
.location-facts dd { margin: 0; color: var(--text-light); }

.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--petrol-tief);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 30px;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(20, 66, 79, .8), transparent 70%),
    var(--petrol-tief);
}
.map-placeholder p { max-width: 34ch; font-size: .9rem; color: var(--text-light); margin: 0; }

/* --- Kontakt -------------------------------------------------------------------- */

.split-kontakt { align-items: start; }
.contact-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 1.6em; }
.contact-direct a {
  font-stretch: 114%; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  text-decoration: none; text-transform: uppercase; letter-spacing: .01em;
  color: var(--petrol);
  width: fit-content;
  transition: color .25s;
}
.contact-direct a:hover { color: var(--frischlack); }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3.4vw, 42px);
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 600; font-size: .88rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  background: var(--porzellan);
  border: 1.5px solid var(--porzellan-tief);
  border-radius: 10px;
  padding: .8em 1em;
  width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(20, 66, 79, .14);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.form-field-check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--frischlack); }
.form-field-check label { font-weight: 400; font-size: .84rem; color: var(--text-soft); }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-submit { justify-self: start; }
.form-error {
  background: #FBEDE6;
  border: 1.5px solid rgba(232, 80, 15, .45);
  color: #A33A0B;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .92rem;
  margin: 0;
}
.form-success { text-align: left; }
.form-success-title { font-stretch: 114%; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: var(--petrol); margin: 0 0 .4em; }

/* --- Legal / Prose ---------------------------------------------------------------- */

.section-legal { padding-top: clamp(130px, 18vh, 190px); }
.section-legal h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  overflow-wrap: break-word;
}
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose a { color: var(--petrol); text-decoration-color: var(--frischlack); text-underline-offset: 3px; }
.prose a:hover { color: var(--frischlack); }

/* --- Ratgeber / Blog ---------------------------------------------------------------- */

.page-intro {
  max-width: 44rem;
  font-size: 1.12rem;
  color: var(--text-soft);
  margin: 0 0 clamp(36px, 6vw, 64px);
}

.post-meta {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin: 0 0 .9em;
}

.post-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(13, 20, 24, .09);
  text-decoration: none;
  margin-bottom: clamp(18px, 2.5vw, 30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-featured-media { overflow: hidden; min-height: 320px; }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-featured:hover .post-featured-media img { transform: scale(1.04); }
.post-featured-body { padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; align-items: flex-start; }
.post-featured-body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
}
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(13, 20, 24, .09);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.post-card-body h2, .post-card-body h3 { font-size: 1.06rem; line-height: 1.25; }

.post-teaser { color: var(--text-soft); font-size: .94rem; margin: 0 0 1.2em; }
.post-more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--frischlack);
  position: relative;
  padding-right: 22px;
}
.post-more::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  width: 14px; height: 2px;
  background: var(--frischlack);
  transform: translateY(-50%);
  transition: width .25s var(--ease);
}
.post-card:hover .post-more::after, .post-featured:hover .post-more::after { width: 20px; }

/* Artikel-Detail */
.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-meta { color: var(--text-soft); margin-bottom: 1.6em; }
.article-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 62ch;
  margin: 0 0 2em;
}
.article-hero {
  margin: 0 0 clamp(36px, 6vw, 60px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.section-artikel h1 {
  font-size: clamp(1.55rem, 4vw, 3rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--frischlack); }
.prose ol { padding-left: 1.3em; }

.cta-box {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(20, 66, 79, .55), transparent 70%),
    var(--mitternacht);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 40px);
  margin-top: clamp(44px, 6vw, 70px);
}
.cta-box-title {
  font-stretch: 114%; font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 .4em;
}
.cta-box p { margin: 0; font-size: .95rem; }
.cta-box-actions { display: flex; flex-direction: column; gap: 10px; }
.cta-box .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(198, 205, 206, .4); justify-content: center; }
.cta-box .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--frischlack); }

.article-more { margin-top: clamp(56px, 8vw, 90px); }
.article-more-title {
  font-size: 1.3rem;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--porzellan-tief);
}

@media (max-width: 1020px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured-media { min-height: 0; aspect-ratio: 21 / 10; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-box-actions { flex-direction: row; flex-wrap: wrap; }
  .article-hero img { aspect-ratio: 16 / 10; }
}

/* --- Footer -------------------------------------------------------------------------- */

.site-footer { background: var(--mitternacht); color: var(--text-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(50px, 7vw, 80px) 40px;
}
.site-footer .brand-word { color: #fff; }
.footer-brand p { max-width: 30rem; font-size: .95rem; }
.footer-chips { display: flex; gap: 8px; margin-top: 18px; }
.footer-chips span {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .35), transparent 45%), var(--chip);
  box-shadow: inset 0 0 0 1px rgba(244, 245, 242, .16);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em;
  color: var(--frischlack-hell);
  margin: 0 0 .9em;
}
.footer-col h3 + p { margin-top: 0; }
.footer-col p { font-size: .95rem; }
.footer-col a { color: var(--porzellan); text-decoration: none; }
.footer-col a:hover { color: var(--frischlack-hell); }
.footer-bottom {
  border-top: 1px solid rgba(198, 205, 206, .14);
  padding-block: 22px;
}
.footer-bottom p { margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em; color: rgba(198, 205, 206, .6); }

/* --- Consent-Banner ---------------------------------------------------------------------- */

.consent[hidden] { display: none; }
.consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  display: flex; justify-content: center;
}
.consent-box {
  max-width: 560px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgba(13, 20, 24, .45);
  padding: 24px 26px;
}
.consent-title { font-stretch: 112%; font-weight: 800; text-transform: uppercase; margin: 0 0 .4em; }
.consent-box p { font-size: .9rem; color: var(--text-soft); margin: 0 0 1.2em; }
.consent-box a { color: var(--petrol); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { font-size: .86rem; padding: .75em 1.4em; }

/* --- Reveal-Animationen ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * .1s);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* --- Responsive ---------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card:last-child { grid-column: 1 / -1; }
  .card:last-child .card-media { aspect-ratio: 21 / 9; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { margin-bottom: 40px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure { height: auto; aspect-ratio: 4 / 3; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-phone span { display: none; }
  .btn-phone { padding: .7em .85em; border-radius: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .chip-note { margin-left: 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .card:last-child .card-media { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery figure, .gallery figure:first-child { aspect-ratio: 4 / 3; }
  .split-media-small { display: none; }
  .location-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .hero { min-height: 100svh; }
  .hero-media::after {
    background:
      linear-gradient(200deg, rgba(13, 20, 24, .38) 0%, rgba(13, 20, 24, .62) 55%, rgba(13, 20, 24, .9) 100%);
  }
  .consent { left: 10px; right: 10px; bottom: 10px; }
}
