/* ALAZMEH Klima & Kältetechnik — Stylesheet
   Markenfarben aus Logo abgeleitet. */

:root {
  --navy-900: #08324f;
  --navy: #0c4878;
  --blue: #2c7da0;
  --sky: #5ba3c9;
  --ice: #e8f4fb;
  --mist: #f3f8fc;
  --silver: #8d979c;
  --ink: #15303d;
  --muted: #5d717c;
  --line: #dde8f0;
  --paper: #ffffff;
  --ok: #4caf50;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 10px 40px -18px rgba(8, 50, 79, 0.28);
  --shadow-sm: 0 4px 18px -10px rgba(8, 50, 79, 0.35);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }

/* Frost-line divider — Signaturelement (Schneeflocken-Knoten) */
.frostline { display: flex; align-items: center; gap: 14px; }
.frostline::before, .frostline::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); flex: 1; }
.frostline svg { width: 18px; height: 18px; color: var(--sky); flex: none; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.98rem; padding: 13px 24px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--ice); border-color: var(--sky); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 76px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-900); letter-spacing: 0.02em; }
.brand .brand-text span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-weight: 500; font-size: 0.96rem; color: var(--ink);
  padding: 9px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--mist); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
/* CTA-Button in der Navigation: Nav-Link-Farben dürfen den Button nicht überschreiben */
.nav-links .btn-primary { color: #fff; }
.nav-links .btn-primary:hover { color: #fff; background: var(--navy-900); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 96px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 0;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(91,163,201,0.22), transparent 55%),
    linear-gradient(180deg, var(--mist), #fff 75%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; padding: 24px 0 64px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.12rem; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust .stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); display: block; }
.hero-trust .stat span { font-size: 0.82rem; color: var(--muted); }

/* Hero visual — gestapeltes Karten-Motiv mit Alpenlinie */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 22px; padding: 34px; color: #fff;
  box-shadow: 0 30px 60px -28px rgba(8,50,79,0.55); position: relative; overflow: hidden;
}
.hero-card .snow { position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; opacity: 0.16; color: #fff; }
.hero-card .temp { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.hero-card .temp span { font-size: 1.4rem; vertical-align: super; }
.hero-card .temp-label { font-size: 0.9rem; opacity: 0.85; margin-bottom: 22px; }
.hero-card ul { list-style: none; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 11px; font-size: 0.98rem; }
.hero-card li svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px; background: #fff; color: var(--navy-900);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.hero-badge small { display: block; font-size: 0.78rem; color: var(--muted); max-width: 12ch; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 64px; }
  .hero-badge { left: 0; }
}

/* Hero-Einblendung – moderne, gestaffelte Choreografie (nur ohne reduzierte Bewegung) */
@media (prefers-reduced-motion: no-preference) {
  /* sanft driftende Aurora-Glow im Hintergrund */
  .hero::after {
    content: ""; position: absolute; z-index: 0; top: -180px; right: -120px;
    width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(91,163,201,0.38), rgba(44,125,160,0.12) 45%, transparent 72%);
    filter: blur(30px); animation: drift 16s ease-in-out infinite;
  }
  .hero .wrap { position: relative; z-index: 1; }

  /* Copy: gestaffeltes Fade-up mit Blur-to-Sharp */
  .hero-copy > * { opacity: 0; animation: heroUp .5s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero-copy > *:nth-child(1) { animation-delay: .04s; }
  .hero-copy > *:nth-child(3) { animation-delay: .26s; }
  .hero-copy > *:nth-child(4) { animation-delay: .32s; }
  .hero-copy > *:nth-child(5) { animation-delay: .38s; }

  /* Überschrift: maskierte Zeilen-Enthüllung (klappt aus der Maske hoch) */
  .hero-title { opacity: 1; animation: none; }
  .hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
  .hero-title .line > span { display: block; transform: translateY(115%); animation: lineUp .55s cubic-bezier(.2,.85,.25,1) forwards; }
  .hero-title .line:nth-child(1) > span { animation-delay: .08s; }
  .hero-title .line:nth-child(2) > span { animation-delay: .17s; }

  /* Bild: Clip-Path-Wipe von unten + leichter Zoom */
  .hero-visual { opacity: 0; animation: imgReveal .65s cubic-bezier(.2,.8,.2,1) .12s forwards; }
  .hero-photo .glass { opacity: 0; animation: heroUp .45s ease .5s forwards; }
}
@keyframes heroUp { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes lineUp { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes imgReveal { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: scale(1.05); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes drift { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-55px, 45px) scale(1.18); } }

/* sanfter Shine-Sweep auf dem Haupt-Button beim Hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .55s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Hero-Foto (rechte Spalte) */
.hero-photo {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -28px rgba(8,50,79,0.5);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .glass {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(8,50,79,0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 14px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px;
}
.hero-photo .glass span { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 0.85rem; font-weight: 500; }
.hero-photo .glass svg { width: 15px; height: 15px; color: var(--sky); flex: none; }
@media (max-width: 480px) { .hero-photo .glass { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.78); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ice); color: var(--navy); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; }

/* ---------- Feature list (Vorteile) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(76,175,80,0.14);
  display: grid; place-items: center; margin-top: 2px;
}
.feature .check svg { width: 15px; height: 15px; color: var(--ok); }
.feature h3 { font-size: 1.02rem; margin-bottom: 3px; }
.feature p { font-size: 0.92rem; }

/* ---------- Split (Über uns Teaser / CTA) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split, .split.reverse > :first-child { grid-template-columns: 1fr; order: 0; } }
.media-frame {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--ice); aspect-ratio: 4/3; position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--blue);
  background: linear-gradient(160deg, var(--ice), #fff); }
.media-placeholder svg { width: 48px; height: 48px; opacity: 0.5; margin-bottom: 10px; }
.media-placeholder span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Steps (Ablauf) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step .n { font-family: var(--font-display); font-size: 2.2rem; color: var(--sky); line-height: 1; }
.step h3 { margin: 8px 0 6px; }
.step p { font-size: 0.94rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; }
.gallery .tile {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--ice), #eaf3fa); border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center;
}
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tile .ph { color: var(--blue); }
.gallery .tile .ph svg { width: 40px; height: 40px; opacity: 0.45; }
.gallery .tile .ph small { display: block; color: var(--muted); margin-top: 6px; font-size: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--blue));
  border-radius: 22px; padding: 52px; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto 26px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .snow { position: absolute; opacity: 0.12; color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-block { display: grid; gap: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--ice); color: var(--navy); display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { font-size: 0.96rem; color: var(--muted); }
.info-item a:hover { color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: #fdfefe; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(91,163,201,0.2);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; margin-bottom: 18px; display: none; }
.form-msg.ok { display: block; background: rgba(76,175,80,0.12); color: #2f7d33; border: 1px solid rgba(76,175,80,0.3); }
.form-msg.err { display: block; background: rgba(214,69,69,0.1); color: #b13434; border: 1px solid rgba(214,69,69,0.3); }

/* ---------- Danke-Ansicht nach erfolgreichem Absenden ---------- */
.thanks-card { display: none; text-align: center; padding: 20px 8px 8px; }
.thanks-card.show { display: block; }
.thanks-icon { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; background: var(--ice);
  display: grid; place-items: center; }
.thanks-icon svg { width: 40px; height: 40px; color: var(--blue); }
.thanks-icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawCheck .5s ease .15s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .thanks-icon svg path { animation: none; stroke-dashoffset: 0; } }
.thanks-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.thanks-card p { max-width: 420px; margin: 0 auto 22px; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks-again { margin-top: 20px; font-size: 0.88rem; color: var(--muted); background: none; border: none; text-decoration: underline; cursor: pointer; }
.thanks-again:hover { color: var(--navy); }

/* Map */
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Page header (Unterseiten) ---------- */
.page-hero { background: linear-gradient(180deg, var(--mist), #fff); padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 58ch; font-size: 1.08rem; }
.crumbs { font-size: 0.85rem; color: var(--silver); margin-bottom: 18px; }
.crumbs a:hover { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .brand img { height: 52px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-about { max-width: 36ch; font-size: 0.92rem; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: rgba(255,255,255,0.55); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::after {
  content: "WhatsApp"; position: absolute; right: 70px; white-space: nowrap;
  background: var(--navy-900); color: #fff; font-size: 0.8rem; padding: 7px 12px; border-radius: 8px;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: .2s;
}
.wa-float:hover::after { opacity: 1; transform: translateX(0); }
@media (max-width: 520px) { .wa-float::after { display: none; } }

/* ---------- Bild mit Platzhalter-Fallback ---------- */
.ph-media { position: relative; background: linear-gradient(160deg, var(--ice), #eaf3fa); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-media.noimg::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 0.85rem; text-align: center; padding: 12px;
}
.ph-media.noimg::before {
  content: ""; position: absolute; left: 50%; top: calc(50% - 22px); transform: translateX(-50%);
  width: 34px; height: 34px; opacity: .4;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c7da0' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
}

/* ---------- Produkte ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .products { grid-template-columns: 1fr; } }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .product-media { aspect-ratio: 16/10; }
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.product h3 { margin: 5px 0 7px; font-size: 1.28rem; }
.product-tag { color: var(--ink); font-weight: 500; margin-bottom: 18px; font-size: 0.97rem; }
.product-feats { list-style: none; display: grid; gap: 11px; margin-bottom: 20px; }
.product-feats li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.product-feats li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 4px; }
.product-feats b { color: var(--ink); font-weight: 600; }
.product-sizes { margin-top: auto; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.product-sizes .sl { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 11px; }
.product-sizes ul { list-style: none; display: grid; gap: 9px; }
.product-sizes li { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.product-sizes .mdl {
  display: inline-block; color: var(--navy); background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 8px; font-size: 0.8rem; margin-right: 8px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em;
}

/* ---------- System-Typen (Ratgeber) ---------- */
.intro-note {
  background: var(--ice); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; margin-bottom: 44px; color: var(--ink); font-size: 1rem; line-height: 1.7;
}
.intro-note b { color: var(--navy-900); }
.systypes { display: grid; gap: 30px; }
.systype { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.systype:nth-child(even) .systype-media { order: 2; }
@media (max-width: 780px) { .systype { grid-template-columns: 1fr; gap: 22px; } .systype:nth-child(even) .systype-media { order: 0; } }
.systype-media {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  aspect-ratio: 16/10; display: grid; place-items: center; padding: 20px; box-shadow: var(--shadow-sm);
}
.systype-media img { width: 100%; height: 100%; object-fit: contain; }
.systype-media.noimg { aspect-ratio: 16/10; }
.systype-badge {
  display: inline-block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; background: var(--ice); border-radius: 999px; padding: 5px 13px; margin-bottom: 12px;
}
.systype h3 { font-size: 1.45rem; margin-bottom: 12px; }
.systype p { margin-bottom: 14px; }
.systype .adv { font-size: 0.95rem; color: var(--ink); }
.systype .adv b { color: var(--navy); }
.unit-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.unit-tags span {
  font-size: 0.82rem; background: var(--mist); border: 1px solid var(--line);
  color: var(--navy); border-radius: 999px; padding: 5px 13px; font-weight: 500;
}

/* ---------- Bauweisen + Callout ---------- */
.bauweisen-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .bauweisen-grid { grid-template-columns: 1fr; gap: 30px; } }
.bw-list { display: grid; gap: 24px; }
.callout {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sky);
  border-radius: 12px; padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.callout h3 { margin-bottom: 14px; }
.callout p { font-size: 0.95rem; }
.callout p + p { margin-top: 14px; }

/* reveal on scroll — nur aktiv, wenn JS die Klasse setzt (ausfallsicher) */
.js-reveal .reveal {
  opacity: 0; transform: translateY(18px) scale(.99); filter: blur(4px);
  transition: opacity .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease;
  will-change: opacity, transform;
}
.js-reveal .reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* Einblendung der Kopfzeile jeder Unterseite beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .crumbs, .page-hero .eyebrow, .page-hero h1, .page-hero > .wrap > p {
    opacity: 0; animation: heroUp .5s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .page-hero .crumbs { animation-delay: .03s; }
  .page-hero .eyebrow { animation-delay: .09s; }
  .page-hero h1 { animation-delay: .15s; }
  .page-hero > .wrap > p { animation-delay: .22s; }
}
