/* ==========================================================
   Harp Haustechnik GmbH – Trinkbrunnenmanufaktur
   Stylesheet der neuen Homepage
   Farben unverändert aus der bisherigen Seite übernommen.
   ========================================================== */

/* ---------- Schrift (lokal, ohne Google-Server) ---------- */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url('../fonts/archivo-latin-standard-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Archivo';
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url('../fonts/archivo-latin-standard-italic.woff2') format('woff2');
}

/* ---------- Farben & Grundwerte ---------- */
:root {
    --primary: #0A4D6E;
    --primary-dark: #062E43;
    --primary-bright: #0D7FAB;
    --accent: #00AEDB;
    --accent-light: #A8E0F0;
    --light: #EFF8FC;
    --white: #ffffff;
    --text: #1e3a4a;
    --text-muted: #5C7A8A;

    --bad-bg: #fef2f2;
    --bad-line: #f87171;
    --bad-text: #dc2626;
    --good-bg: #f0fdf4;
    --good-line: #4ade80;
    --good-text: #16a34a;

    --shadow-sm: 0 2px 8px rgba(0, 80, 120, 0.07);
    --shadow-md: 0 6px 28px rgba(0, 80, 120, 0.12);
    --shadow-lg: 0 18px 60px rgba(0, 80, 120, 0.18);

    --gutter: clamp(16px, 4vw, 40px);
    --ease-out: cubic-bezier(.2, .7, .2, 1);

    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html:has(dialog[open]) { overflow: hidden; }

body {
    font-family: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    font-stretch: 100%;
    color: var(--text);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { color: var(--primary); font-weight: 650; }

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

/* Icons aus der SVG-Sammlung */
svg > use {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 650;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
    line-height: 1.1;
    color: var(--primary);
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    font-weight: 780;
    font-stretch: 110%;
    letter-spacing: -0.018em;
    line-height: 1.04;
    margin-bottom: 0.55em;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    font-stretch: 104%;
    letter-spacing: -0.005em;
    margin-bottom: 0.45em;
}

p { margin-bottom: 0.8rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: clamp(1.12rem, 1.6vw, 1.25rem);
    line-height: 1.55;
    color: var(--text);
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--primary-bright);
    margin-bottom: 18px;
}
.label::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}
.label--light { color: var(--accent-light); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    position: relative;
    padding: clamp(72px, 10vw, 128px) 0;
}
.bg-white { background: var(--white); }

.section-title {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 20px 64px;
    margin-bottom: clamp(40px, 6vw, 64px);
}
.section-title h2 { margin-bottom: 0; }
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

/* Granit-Körnung auf dunklen Flächen */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.07;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 650;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 174, 219, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.btn-small { padding: 11px 22px; font-size: 0.93rem; }
.btn-large { padding: 17px 30px; font-size: 1.05rem; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================
   NAVIGATION
   ========================================================== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.navbar.scrolled {
    background: rgba(6, 46, 67, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.22);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.nav-logo { position: relative; z-index: 2; }
.nav-logo img { height: 50px; width: auto; transition: height .3s; }
.navbar.scrolled .nav-logo img { height: 44px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    transition: color .25s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.nav-cta {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 999px;
    transition: background-color .25s, transform .25s;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

.hamburger {
    display: none;
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform .3s var(--ease-out), opacity .2s;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-bright) 100%);
    padding: 128px 0 104px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 78% 55%, rgba(0, 174, 219, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 45% 45% at 5% 95%, rgba(168, 224, 240, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid rgba(168, 224, 240, 0.45);
    border-radius: 999px;
    background: rgba(0, 174, 219, 0.12);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero h1 {
    margin: 26px 0 30px;
    color: var(--white);
    font-size: clamp(2.15rem, 6.3vw, 5.6rem);
    font-weight: 850;
    font-stretch: 118%;
    letter-spacing: -0.025em;
    line-height: 0.95;
}
.h1-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}
.h1-line > span { display: block; }
.h1-line:nth-child(2) > span { padding-left: 0.55em; }

.hero-sub {
    color: var(--accent);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 650;
    font-stretch: 105%;
    margin-bottom: 14px;
}
.hero-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.12rem;
    max-width: 40ch;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Brunnen mit Wasserringen */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 500px;
    padding-bottom: 30px;
}
.hero-fountain {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.38));
}
.hero-glow {
    position: absolute;
    left: 50%;
    bottom: 30px;
    width: 150%;
    height: 34%;
    transform: translate(-50%, 50%);
    background: radial-gradient(ellipse at center, rgba(0, 174, 219, 0.42) 0%, rgba(0, 174, 219, 0.12) 40%, transparent 68%);
    pointer-events: none;
}
.ripples {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    width: min(620px, 165%);
    aspect-ratio: 600 / 160;
    transform: translate(-50%, 50%);
    overflow: visible;
    pointer-events: none;
}
.ripples ellipse {
    fill: none;
    stroke: var(--accent-light);
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
    transform-box: view-box;
    transform-origin: 300px 80px;
    opacity: 0;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
}
.scroll-hint span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--accent);
}

/* ---------- Laufband ---------- */
.ticker {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    border-top: 1px solid rgba(168, 224, 240, 0.14);
    color: rgba(255, 255, 255, 0.78);
    padding: 18px 0;
}
.ticker-track {
    display: flex;
    width: max-content;
}
.ticker ul { display: flex; }
.ticker li {
    position: relative;
    padding-right: 64px;
    white-space: nowrap;
    font-weight: 600;
    font-stretch: 112%;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}
.ticker li::after {
    content: '';
    position: absolute;
    right: 29px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--accent);
}

/* ==========================================================
   INTRO
   ========================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
}

.years {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(10, 77, 110, 0.14);
}
.years-number {
    font-size: clamp(3.6rem, 7vw, 5.6rem);
    font-weight: 850;
    font-stretch: 122%;
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: var(--primary);
}
.years-label {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-muted);
    max-width: 9ch;
}

.compare {
    position: relative;
    display: grid;
}
.compare-item {
    border-radius: 22px;
    padding: 30px 32px;
}
.compare-item p { color: var(--text-muted); font-size: 0.98rem; }
.compare-item.bad {
    background: var(--bad-bg);
    border-left: 4px solid var(--bad-line);
    margin-right: 48px;
}
.compare-item.bad h3 { color: var(--bad-text); font-size: 1.08rem; }
.compare-item.good {
    background: var(--good-bg);
    border-left: 4px solid var(--good-line);
    margin-left: 48px;
    padding: 36px 36px;
    box-shadow: var(--shadow-md);
}
.compare-item.good h3 { color: var(--good-text); font-size: 1.3rem; }
.compare-item.good p { color: var(--text); font-size: 1.04rem; }

.compare-vs {
    position: relative;
    z-index: 1;
    justify-self: center;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: -14px 0;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-stretch: 110%;
    font-size: 0.95rem;
    box-shadow: 0 0 0 6px var(--white);
}

/* ==========================================================
   FEATURES
   ========================================================== */
.features-section {
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}
.features-section h2 { color: var(--white); }
.features-section .section-title p {
    color: rgba(255, 255, 255, 0.72);
    border-left-color: var(--accent);
}
.features-section .container { position: relative; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(168, 224, 240, 0.28);
}
.feature { padding: 44px 40px 8px 0; }
.feature + .feature {
    padding-left: 40px;
    border-left: 1px solid rgba(168, 224, 240, 0.18);
}
.feature-icon {
    width: 52px;
    height: 52px;
    color: var(--accent);
    margin-bottom: 30px;
}
.feature-icon use { stroke-width: 1.3; }
.feature h3 {
    color: var(--white);
    font-size: 1.45rem;
    font-stretch: 110%;
    margin-bottom: 14px;
}
.feature p { color: rgba(255, 255, 255, 0.74); }

/* ==========================================================
   BILDRAHMEN & PRODUKTBÜHNE
   ========================================================== */
.media-frame { position: relative; }
.media-frame::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 2px solid var(--accent-light);
    border-radius: 26px;
}
.media-frame img {
    position: relative;
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}
.media-frame--portrait { max-width: 430px; justify-self: center; }

.product-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 480px;
    padding: 24px 0 40px;
}
.stage-disc {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(92%, 470px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, var(--white) 0%, #d6f0f8 55%, var(--accent-light) 100%);
}
.stage-disc::after {
    content: '';
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(0, 174, 219, 0.35);
    border-radius: 50%;
}
.product-stage img {
    position: relative;
    max-height: 520px;
    width: auto;
    filter: drop-shadow(0 28px 26px rgba(6, 46, 67, 0.28));
}
.product-stage--tall img { max-height: 560px; }

/* Eigenschaften */
.props-list { display: grid; margin-top: 12px; }
.prop-group {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6px 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(10, 77, 110, 0.14);
}
.prop-group:last-child { border-bottom: 1px solid rgba(10, 77, 110, 0.14); }
.prop-group h3 { font-size: 1.05rem; margin: 0; }
.prop-group li {
    position: relative;
    padding-left: 22px;
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 4px;
}
.prop-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

/* ==========================================================
   REFERENZEN
   ========================================================== */
.references-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    gap: 28px;
}

.ref-card {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    overflow: hidden;
    border-radius: 26px;
    background: var(--light);
}
.ref-card--feature {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    background: var(--primary-dark);
    color: var(--white);
}

.ref-media {
    position: relative;
    display: block;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    border: 0;
    background: var(--primary);
}
.ref-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.ref-card:hover .ref-media img { transform: scale(1.04); }
.ref-card--feature .ref-media { flex: 1; min-height: 340px; }
.ref-media--video { cursor: pointer; }
.ref-media--video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 46, 67, 0.65) 100%);
}

.play-btn {
    position: absolute;
    left: 36px;
    bottom: 32px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 0 0 10px rgba(0, 174, 219, 0.25), 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.ref-media--video:hover .play-btn,
.ref-media--video:focus-visible .play-btn {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(0, 174, 219, 0.22), 0 14px 40px rgba(0, 0, 0, 0.35);
}

.ref-body { padding: 28px 30px 30px; }
.ref-card--feature .ref-body { padding: 32px 36px 36px; }
.ref-card--feature h3 { color: var(--white); font-size: 1.7rem; font-stretch: 110%; }
.ref-card--feature p { color: rgba(255, 255, 255, 0.78); margin-bottom: 24px; }
.ref-body p { font-size: 0.98rem; color: var(--text-muted); }
.ref-card--feature .ref-body p {
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}
.ref-title-long { font-size: 1.08rem; line-height: 1.32; }

/* Referenzurkunde */
.urkunde {
    position: relative;
    overflow: hidden;
    margin-top: clamp(56px, 8vw, 88px);
    border-radius: 32px;
    padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 70%, var(--primary-bright) 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}
.urkunde::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(0, 174, 219, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 95%, rgba(168, 224, 240, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.urkunde-inner { position: relative; z-index: 1; }

.urkunde-header {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}
.urkunde-header h3 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 780;
    font-stretch: 110%;
    margin-bottom: 18px;
}
.urkunde-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
}

.urkunde-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 52px;
    border-top: 1px solid rgba(168, 224, 240, 0.25);
    border-bottom: 1px solid rgba(168, 224, 240, 0.25);
}
.urkunde-stat {
    padding: 30px 24px;
    text-align: center;
}
.urkunde-stat + .urkunde-stat { border-left: 1px solid rgba(168, 224, 240, 0.25); }
.stat-number {
    display: block;
    color: var(--accent);
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    font-weight: 850;
    font-stretch: 120%;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.urkunde-stat p {
    margin: 12px auto 0;
    max-width: 26ch;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.urkunde-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    margin-bottom: 52px;
}
.urkunde-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}
.urkunde-list .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 5px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary-dark);
}
.urkunde-list .check use { stroke-width: 2.6; }
.urkunde-list p { color: rgba(255, 255, 255, 0.84); font-size: 0.97rem; }
.urkunde-list strong { color: var(--white); }

.urkunde-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 34px 40px;
    border: 1px solid rgba(168, 224, 240, 0.35);
    border-radius: 22px;
    text-align: center;
}
.urkunde-quote p {
    max-width: none;
    color: var(--accent-light);
    font-style: italic;
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.6;
}
.urkunde-quote footer {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================
   PRODUKTION
   ========================================================== */
.production-mosaic {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: clamp(400px, 46vw, 540px);
    margin-bottom: 44px;
}
.mosaic-item {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: var(--primary);
    cursor: zoom-in;
    box-shadow: var(--shadow-md);
}
.mosaic-item--large { grid-row: span 2; }
.mosaic-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.mosaic-item:hover img { transform: scale(1.04); }
.zoom-hint {
    position: absolute;
    right: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .25s, transform .25s var(--ease-out);
}
.zoom-hint svg { width: 18px; height: 18px; }
.mosaic-item:hover .zoom-hint,
.mosaic-item:focus-visible .zoom-hint { opacity: 1; transform: none; }

.production-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
}
.production-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 1px solid rgba(10, 77, 110, 0.14);
}
.production-features .drop {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: var(--accent);
}

/* ==========================================================
   TEAM
   ========================================================== */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.skill-tags li {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 550;
}

.team-stack {
    position: relative;
    padding-bottom: 22%;
}
.team-img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.team-img--back { width: 82%; }
.team-img--front {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    border: 8px solid var(--white);
    border-radius: 28px;
}

/* ==========================================================
   QUALITÄT
   ========================================================== */
.cert-items { display: grid; gap: 14px; }
.cert-item {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(10, 77, 110, 0.08);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.cert-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.cert-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
}
.cert-icon svg { width: 24px; height: 24px; }
.cert-item p { font-size: 0.98rem; }

.quality-image { justify-self: center; position: relative; max-width: 360px; }
.quality-image::before {
    content: '';
    position: absolute;
    inset: -18px 18px 18px -18px;
    border-radius: 28px;
    background: var(--accent-light);
    opacity: .55;
}
.quality-image img {
    position: relative;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================
   INSTALLATION (Zeitleiste)
   ========================================================== */
.timeline {
    position: relative;
    display: grid;
    gap: 34px;
    margin-top: 16px;
}
.timeline::before,
.timeline::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    margin-left: -1px;
    border-radius: 2px;
}
.timeline::before { background: rgba(10, 77, 110, 0.14); }
.timeline::after {
    background: var(--accent);
    transform: scaleY(var(--fill, 1));
    transform-origin: top;
}
.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.step-number {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 800;
    font-stretch: 110%;
    transition: background-color .4s, color .4s;
}
.timeline-step h3 { margin: 9px 0 6px; }
.timeline-step p { color: var(--text-muted); font-size: 0.98rem; }

html.js .timeline::after { transform: scaleY(var(--fill, 0)); }
html.js .timeline-step .step-number { background: var(--white); color: var(--primary); }
html.js .timeline-step.is-active .step-number { background: var(--accent); color: var(--primary-dark); }

/* ==========================================================
   WARTUNG
   ========================================================== */
.care-list { display: grid; gap: 26px; margin-top: 30px; }
.care-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.care-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(0, 174, 219, 0.35);
    color: var(--primary);
}
.care-icon svg { width: 26px; height: 26px; }
.care-list h3 { font-size: 1.1rem; margin: 4px 0 4px; }
.care-list p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 2px; }

/* ==========================================================
   MASSGESCHNEIDERTE LÖSUNGEN
   ========================================================== */
.solutions {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.solutions::before {
    content: '';
    position: absolute;
    left: 28px;
    right: 10%;
    top: 27px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.solution { position: relative; }
.solution-step {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--white);
    color: var(--primary);
    font-weight: 800;
    font-stretch: 112%;
    box-shadow: 0 0 0 8px var(--white);
    transition: background-color .3s, color .3s;
}
.solution:hover .solution-step { background: var(--accent); color: var(--primary-dark); }
.solution h3 { font-size: 1.35rem; font-stretch: 110%; }
.solution p { color: var(--text-muted); }

/* ==========================================================
   KONTAKT
   ========================================================== */
.contact-section {
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}
.contact-section .container { position: relative; }
.contact-section h2 { color: var(--white); }
.contact-section .section-title p { color: rgba(255, 255, 255, 0.72); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
}
.contact-card {
    border-radius: 28px;
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-card h3 {
    color: var(--accent);
    font-size: 1.3rem;
    font-stretch: 110%;
    margin-bottom: 26px;
}
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 174, 219, 0.16);
    color: var(--accent);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-key {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}
.contact-value {
    display: block;
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 550;
    text-decoration: none;
}
a.contact-value:hover { color: var(--accent); }

.contact-card--cta {
    display: flex;
    flex-direction: column;
    background: var(--primary-dark);
    border-color: rgba(168, 224, 240, 0.18);
}
.contact-card--cta p { color: rgba(255, 255, 255, 0.8); }
.contact-actions {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 26px 0;
    font-size: 0.92rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer-logo { width: 34px; height: auto; }
.footer-inner p { margin: 0; max-width: none; }
.footer-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}
.footer-links a {
    color: var(--accent);
    font-weight: 600;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-links a[aria-current="page"] { color: var(--white); text-decoration: none; }

/* ==========================================================
   UNTERSEITE: DATENSCHUTZ
   ========================================================== */
.nav-back { position: relative; z-index: 2; }

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 72px;
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-bright) 100%);
    color: var(--white);
}
.page-hero .container { position: relative; }
.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    font-weight: 850;
    font-stretch: 118%;
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 18px;
}
.page-hero p { color: var(--accent-light); font-weight: 600; }

.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: clamp(32px, 6vw, 80px);
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(72px, 10vw, 120px);
}

.legal-toc {
    position: sticky;
    top: 112px;
    align-self: start;
}
.legal-toc-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.legal-toc ol {
    list-style: decimal;
    padding-left: 1.3em;
    border-left: 2px solid rgba(10, 77, 110, 0.12);
    padding-top: 2px;
}
.legal-toc li {
    margin: 0 0 8px 6px;
    color: var(--text-muted);
    font-size: 0.93rem;
}
.legal-toc a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.legal-toc a:hover { color: var(--primary); text-decoration: underline; }

.legal-content { max-width: 74ch; }
.legal-content section + section { margin-top: 52px; }
.legal-content h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-stretch: 108%;
    margin-bottom: 16px;
}
.legal-content p { max-width: none; }
.legal-content address {
    font-style: normal;
    margin: 4px 0 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid rgba(10, 77, 110, 0.1);
    line-height: 1.7;
}
.legal-list { margin: 4px 0 16px; }
.legal-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.legal-summary {
    padding: clamp(24px, 4vw, 36px);
    border-radius: 24px;
    background: var(--white);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-md);
}
.legal-summary ul { display: grid; gap: 10px; margin-top: 16px; }
.legal-summary li { display: flex; gap: 14px; align-items: flex-start; }
.legal-summary .check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 5px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary-dark);
}
.legal-summary .check use { stroke-width: 2.6; }

.legal-highlight {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 22px;
    background: var(--primary);
    color: var(--white);
}
.legal-highlight h3 { color: var(--accent); font-size: 1.15rem; margin-bottom: 10px; }
.legal-highlight p { color: rgba(255, 255, 255, 0.88); }

.legal-date { margin-top: 18px; font-weight: 600; color: var(--text-muted); }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc {
        position: static;
        padding: 22px 24px;
        border-radius: 20px;
        background: var(--white);
        border: 1px solid rgba(10, 77, 110, 0.1);
    }
    .legal-toc ol { border-left: 0; columns: 2; column-gap: 28px; }
    .page-hero { padding: 128px 0 56px; }
}
@media (max-width: 600px) {
    .legal-toc ol { columns: 1; }
    .nav-back { padding: 10px 16px; font-size: 0.88rem; }
}

/* Nach oben */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(168, 224, 240, 0.4);
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--accent);
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

/* ==========================================================
   DIALOGE (Video, Bild, Impressum)
   ========================================================== */
.modal {
    margin: auto;
    width: 100%;
    max-width: min(580px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    border: 0;
    border-radius: 26px;
    background: var(--white);
    color: var(--text);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.modal::backdrop {
    background: rgba(6, 46, 67, 0.75);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.modal[open] { animation: modalIn .38s var(--ease-out); }
.modal-inner {
    position: relative;
    max-height: inherit;
    overflow-y: auto;
    padding: 44px 40px 40px;
}
.modal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; padding-right: 44px; }
.modal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.modal p { color: var(--text); }
.modal .small { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }
.modal video {
    display: block;
    width: 100%;
    margin-top: 22px;
    border-radius: 16px;
    background: var(--primary-dark);
}
.modal--wide { max-width: min(920px, calc(100vw - 32px)); }

.modal--image {
    max-width: min(1000px, calc(100vw - 32px));
    width: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.modal--image .modal-inner { padding: 0; overflow: visible; }
.modal--image img {
    max-height: calc(100dvh - 80px);
    width: auto;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    cursor: pointer;
    transition: background-color .2s;
}
.modal-close:hover { background: var(--accent-light); }
.modal-close svg { width: 20px; height: 20px; }
.modal-close svg use { stroke-width: 2; }
.modal--image .modal-close {
    right: 12px;
    top: 12px;
    background: rgba(255, 255, 255, 0.92);
}

/* ==========================================================
   BEWEGUNG
   ========================================================== */
@keyframes lineUp {
    from { transform: translateY(105%); }
    to   { transform: none; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(60px) scale(.96); }
    to   { opacity: 1; transform: none; }
}
@keyframes glowIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes ripple {
    0%   { transform: scale(.18); opacity: 0; }
    12%  { opacity: .75; }
    100% { transform: scale(1); opacity: 0; }
}
@keyframes ticker {
    to { transform: translateX(-50%); }
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
@keyframes scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
    /* Einstieg: Überschrift, Text, dann steigt der Brunnen auf und das Wasser zieht Kreise */
    .hero-badge   { animation: fadeUp .7s var(--ease-out) .1s both; }
    .h1-line > span { animation: lineUp 1s var(--ease-out) .2s both; }
    .h1-line:nth-child(2) > span { animation-delay: .32s; }
    .hero-sub     { animation: fadeUp .8s var(--ease-out) .65s both; }
    .hero-text    { animation: fadeUp .8s var(--ease-out) .75s both; }
    .hero-buttons { animation: fadeUp .8s var(--ease-out) .85s both; }
    .hero-fountain { animation: rise 1.4s var(--ease-out) .45s both; }
    .hero-glow    { animation: glowIn 1.6s ease 1.1s both; }
    .ripples ellipse { animation: ripple 6.4s cubic-bezier(.25, .6, .35, 1) infinite; }
    .ripples ellipse:nth-child(1) { animation-delay: 1.3s; }
    .ripples ellipse:nth-child(2) { animation-delay: 2.9s; }
    .ripples ellipse:nth-child(3) { animation-delay: 4.5s; }
    .ripples ellipse:nth-child(4) { animation-delay: 6.1s; }
    .scroll-hint span { animation: scrollDot 2.2s ease-in-out 2s infinite; }

    .ticker-track { animation: ticker 70s linear infinite; }
    .ticker:hover .ticker-track { animation-play-state: paused; }

    html.js .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    }
    html.js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ripples ellipse:nth-child(1) { opacity: .5;  transform: scale(.35); }
    .ripples ellipse:nth-child(2) { opacity: .35; transform: scale(.55); }
    .ripples ellipse:nth-child(3) { opacity: .22; transform: scale(.75); }
    .ripples ellipse:nth-child(4) { opacity: .12; transform: scale(.95); }
    .ticker-track { flex-wrap: wrap; width: auto; }
    .ticker ul[aria-hidden="true"] { display: none; }
    .ticker ul { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
    .nav-links { gap: 24px; }
    .hero-grid { grid-template-columns: 1.3fr 0.7fr; }
    .ref-card { grid-template-columns: 1fr; }
    .ref-card .ref-media { min-height: 200px; }
}

@media (max-width: 900px) {
    /* Mobiles Menü */
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        background: var(--primary-dark);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .nav-links.open { opacity: 1; visibility: visible; }
    .nav-links a { font-size: 1.6rem; font-stretch: 110%; }
    .nav-links a.nav-cta { margin-top: 10px; padding: 14px 34px; font-size: 1.25rem; }

    .hero { padding: 112px 0 96px; }
    .hero-grid { grid-template-columns: 1fr; gap: 8px; }
    .hero-visual { min-height: 0; padding: 20px 0 40px; }
    .hero-fountain { width: min(56vw, 270px); }
    .h1-line:nth-child(2) > span { padding-left: 0; }

    .section-title { grid-template-columns: 1fr; }

    .intro-grid,
    .two-col { grid-template-columns: 1fr; }
    .compare-item.bad { margin-right: 24px; }
    .compare-item.good { margin-left: 24px; }

    .features-grid { grid-template-columns: 1fr; border-top: 0; }
    .feature,
    .feature + .feature {
        padding: 34px 0;
        border-left: 0;
        border-top: 1px solid rgba(168, 224, 240, 0.22);
    }
    .feature-icon { margin-bottom: 20px; }

    .media-frame::before { inset: 14px -12px -14px 12px; }
    .product-stage { min-height: 0; }
    .product-stage img { max-height: 420px; }
    .product-stage--tall img { max-height: 440px; }

    .references-grid { grid-template-columns: 1fr; }
    .ref-card--feature { grid-row: auto; }
    .ref-card { grid-template-columns: 0.8fr 1fr; }
    .ref-card--feature .ref-media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }

    .urkunde-stats { grid-template-columns: 1fr; }
    .urkunde-stat + .urkunde-stat { border-left: 0; border-top: 1px solid rgba(168, 224, 240, 0.25); }
    .urkunde-list { grid-template-columns: 1fr; }

    .production-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        height: auto;
    }
    .mosaic-item--large { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
    .mosaic-item { aspect-ratio: 1; }
    .zoom-hint { opacity: 1; transform: none; }
    .production-features { grid-template-columns: 1fr; }

    .team-stack { max-width: 560px; }

    .quality-grid { gap: 56px; }

    .solutions { grid-template-columns: 1fr; gap: 34px; }
    .solutions::before {
        left: 27px;
        right: auto;
        top: 28px;
        bottom: 28px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--accent), var(--accent-light));
    }
    .solution { display: grid; grid-template-columns: 56px 1fr; gap: 0 22px; }
    .solution-step { grid-row: span 2; margin-bottom: 0; }
    .solution h3 { margin-top: 12px; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
    .footer-links { margin-left: 0; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .hero-badge { font-size: 0.82rem; }
    .hero h1 { font-size: 10.2vw; }
    .product-stage img { max-height: 360px; }
    .product-stage--tall img { max-height: 380px; }
    .stage-disc { width: min(84%, 340px); }
    .hero-buttons .btn { flex: 1 1 100%; }
    .ref-card { grid-template-columns: 1fr; }
    .ref-card .ref-media { min-height: 0; aspect-ratio: 16 / 10; }
    .ref-media img { position: absolute; }
    .ref-body,
    .ref-card--feature .ref-body { padding: 24px 22px 26px; }
    .compare-item.bad { margin-right: 0; }
    .compare-item.good { margin-left: 0; }
    .compare-item { padding: 24px 22px; }
    .compare-item.good { padding: 28px 22px; }
    .prop-group { grid-template-columns: 1fr; }
    .urkunde { border-radius: 24px; }
    .urkunde-list li { padding: 16px; }
    .urkunde-quote { padding: 26px 20px; }
    .modal-inner { padding: 36px 22px 26px; }
    .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
