/* =====================================================================
   Ofenbau Görgen – Landingpages
   Design nach ofenbau-goergen.de: dunkler Grund, Orange als Akzent,
   Montserrat für Text, Allison (frei, SIL OFL) als Schreibschrift für Akzente –
   ersetzt die kommerzielle Brushwell der Hauptseite.
   Alles lokal – keine externen Ressourcen (siehe CSP in .htaccess).
   ===================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
/* size-adjust gleicht die kleinere Allison optisch an die Brushwell-Größen an */
@font-face { font-family: "Allison"; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 120%; src: url("../fonts/allison-latin-400-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
    --orange: #fe7400;
    --orange-hot: #ff6a00;
    --orange-deep: #c85400;
    --bg: #1b1b1b;
    --bg-deep: #111111;
    --bg-black: #050505;
    --card: #0f0f0f;
    --line: rgba(255, 255, 255, .12);
    --text: #f3f3f3;
    --muted: rgba(255, 255, 255, .72);
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    --container: 1200px;
    --nav-h: 84px;
    --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --script: "Allison", "Segoe Script", "Brush Script MT", cursive;
    color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: #ff9a40; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; line-height: 1.2; color: var(--text); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
h2 strong, h1 strong, .accent { color: var(--orange); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .94rem; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex: none; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.d-none { display: none !important; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--orange); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { position: relative; padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; }
.section-deep { background: var(--bg-deep); }
.section-black { background: var(--bg-black); }
/* Die typischen Glut-Verläufe des Originals */
.glow-left::before, .glow-right::before, .glow-center::before {
    content: ""; position: absolute; pointer-events: none; z-index: 0;
    width: 900px; height: 900px; border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 116, 0, .26) 0%, rgba(254, 116, 0, .08) 40%, transparent 70%);
}
.glow-left::before   { left: -380px; bottom: -380px; }
.glow-right::before  { right: -380px; top: -300px; }
.glow-center::before { left: 50%; top: 50%; transform: translate(-50%, -40%); width: 1100px; height: 800px; }
.section > .container { position: relative; z-index: 1; }

/* Überzeile mit Flamme */
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .9rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
    color: var(--text); margin-bottom: 1rem;
}
.eyebrow .ico { color: var(--orange); width: 1.1em; height: 1.1em; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: .01em; }

.section-head { display: grid; gap: 1.5rem 4rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.section-head.center { text-align: center; justify-items: center; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font: 500 1.02rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .02em;
    padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
    text-align: center;
}
.btn .ico { width: 1rem; height: 1rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(254, 116, 0, .28); }
.btn-primary:hover { background: var(--orange-hot); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(254, 116, 0, .38); }
.btn-outline { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(0, 0, 0, .15); }
.btn-outline:hover { background: #fff; color: #111; }
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Navigation ---------- */
.site-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: height .25s ease;
}
/* Hintergrund + Blur auf einem Pseudo-Element: backdrop-filter direkt auf
   .site-nav wuerde das fixierte Mobilmenue in der Leiste einsperren. */
.site-nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(5, 5, 5, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: background-color .25s ease;
}
.site-nav.is-scrolled { --nav-h: 68px; height: 68px; }
.site-nav.is-scrolled::before { background: rgba(5, 5, 5, .97); }
.site-nav .container { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 64px; height: 64px; transition: width .25s ease, height .25s ease; }
.site-nav.is-scrolled .brand img { width: 52px; height: 52px; }
.nav-menu { display: flex; align-items: center; gap: 2rem; margin: 0 auto; padding: 0; list-style: none; }
.nav-menu a { color: #fff; font-weight: 600; font-size: 1.02rem; padding: .4rem 0; position: relative; }
.nav-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--orange); transform: scaleX(0); transition: transform .2s ease;
}
.nav-menu a:hover, .nav-menu a[aria-current="true"] { color: var(--orange); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-call { display: flex; align-items: center; gap: .8rem; color: #fff; flex: none; }
.nav-call:hover { color: #fff; }
.nav-call .bubble {
    width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff;
    display: grid; place-items: center; transition: transform .2s ease;
}
.nav-call:hover .bubble { transform: scale(1.08); }
.nav-call .bubble .ico { width: 18px; height: 18px; }
.nav-call small { display: block; font-size: .875rem; line-height: 1.3; color: var(--muted); }
.nav-call strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.nav-toggle {
    display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
    background: transparent; color: #fff; border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline-block; }

@media (max-width: 991.98px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-call { display: none; }
    .nav-panel {
        position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0;
        background: rgba(5, 5, 5, .98); padding: 2rem 20px;
        display: flex; flex-direction: column; gap: 2rem;
        transform: translateX(100%); visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
        overflow-y: auto;
    }
    .nav-panel.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: .2rem; margin: 0; }
    .nav-menu a { font-size: 1.35rem; display: block; padding: .6rem 0; }
    .nav-panel .nav-call { display: flex; }
    body.nav-open { overflow: hidden; }
}
@media (min-width: 992px) {
    .nav-panel { display: contents; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(92vh, 860px);
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--nav-h) + 60px) 0 80px;
    background: #000 url("../img/hero-1920.webp") center 55% / cover no-repeat;
    isolation: isolate;
}
@media (max-width: 1200px) { .hero { background-image: url("../img/hero-1200.webp"); } }
@media (max-width: 768px)  { .hero { background-image: url("../img/hero-768.webp"); background-position: 62% center; } }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .38) 45%, rgba(0, 0, 0, .7) 100%);
}
.hero h1 {
    font-size: clamp(2rem, 1.1rem + 4.2vw, 4.25rem); font-weight: 700; text-transform: uppercase;
    line-height: 1.08; letter-spacing: .01em; margin-bottom: .35em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero h1 .loc { color: var(--orange); }
.hero .script-line {
    font-family: var(--script); font-size: clamp(1.6rem, 1rem + 2.4vw, 2.75rem);
    line-height: 1.25; margin: 0 auto 1.6rem; max-width: 900px; color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .5);
}
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 720px; margin: 0 auto 2rem; }
.hero .btn-row { justify-content: center; }
.hero-trust {
    list-style: none; padding: 0; margin: 2.4rem auto 0; display: flex; flex-wrap: wrap;
    justify-content: center; gap: .6rem 1.6rem; font-size: 1rem; color: rgba(255, 255, 255, .92);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .ico { color: var(--orange); }

/* ---------- USP-Leiste ---------- */
.usp-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: center; }
.usp .usp-ico { width: 52px; height: 52px; color: var(--orange); margin: 0 auto .8rem; }
.usp h3 { font-family: var(--script); font-weight: 400; font-size: 1.9rem; margin-bottom: .2rem; }
.usp p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- Produktkarten (Verkauf) ---------- */
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.product-card {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(254, 116, 0, .45); }
.product-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover figure img { transform: scale(1.05); }
.product-card .body { padding: 1.5rem 1.5rem 1.7rem; text-align: center; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: .4rem; }
.product-card p { color: var(--muted); font-size: 1.02rem; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .97rem; color: var(--muted); text-align: left; }
.product-card li { display: flex; gap: .5rem; padding: .25rem 0; }
.product-card li .ico { color: var(--orange); margin-top: .3em; width: .9em; height: .9em; }
.product-card .btn { margin-top: auto; align-self: center; }

/* Orangefarbener Verlaufsstreifen wie unter den Ofenwelten-Karten */
.fire-band { position: relative; }
.fire-band::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(254, 116, 0, .35) 55%, var(--orange) 100%);
    z-index: 0; pointer-events: none;
}
.fire-band .container { position: relative; z-index: 1; }

/* ---------- Ofenbau nach Maß ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } .split.reverse > :first-child { order: 2; } }
.media-stack { position: relative; padding-bottom: 12%; padding-right: 10%; }
.media-stack .main { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-stack .inset {
    position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: var(--radius); border: 4px solid #fff; box-shadow: var(--shadow);
}
.media-stack .badge-years {
    position: absolute; left: -12px; bottom: 18%;
    background: #000; border-radius: 14px; padding: .7rem 1.1rem;
    display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow);
}
.badge-years b { font-size: 3rem; font-weight: 700; color: var(--orange); line-height: 1; }
.badge-years span { font-family: var(--script); font-size: 1.35rem; line-height: 1.05; color: #fff; }

.type-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 2rem 0; }
.type-item {
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.2rem 1.25rem;
}
.type-item h3 { font-size: 1.1rem; margin-bottom: .3rem; display: flex; align-items: center; gap: .5rem; }
.type-item h3 .ico { color: var(--orange); }
.type-item p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Ablauf-Kacheln (Orange/Schwarz wie Original) ---------- */
.step-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
@media (min-width: 1100px) { .step-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) and (max-width: 1099.98px) { .step-grid { grid-template-columns: repeat(6, 1fr); } .step { grid-column: span 2; } .step:nth-child(4) { grid-column: 2 / span 2; } }
.step {
    position: relative; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; min-height: 190px;
    background: radial-gradient(120% 140% at 100% 100%, rgba(254, 116, 0, .85) 0%, rgba(254, 116, 0, .2) 38%, #000 70%);
    counter-increment: step; overflow: hidden;
}
.step:nth-child(even) { background: var(--orange); }
.step::before {
    content: counter(step, decimal-leading-zero); position: absolute; right: 1.2rem; top: .6rem;
    font-size: 3.2rem; font-weight: 700; color: rgba(255, 255, 255, .14); line-height: 1;
}
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; padding-right: 3.4rem; }
.step p { margin: 0; font-size: 1.02rem; color: rgba(255, 255, 255, .92); }

/* ---------- Referenzen ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85));
    font-size: .9rem; font-weight: 500;
}

/* ---------- Bewertungen ---------- */
.review-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review {
    background: #1d1d1d; border: 1px solid rgba(232, 200, 140, .55); border-radius: var(--radius);
    padding: 1.3rem 1.4rem 1.2rem; display: flex; flex-direction: column; position: relative; margin: 0;
}
.review header { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.review .avatar {
    width: 38px; height: 38px; border-radius: 50%; background: #3b3f46; color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 1.02rem; flex: none;
}
.review cite { font-style: normal; font-weight: 700; font-size: 1.02rem; display: block; line-height: 1.2; }
.review .src { font-size: .85rem; color: var(--muted); }
.review .stars { color: #f6bb06; display: flex; gap: 2px; margin-bottom: .6rem; }
.review .stars .ico { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, .88); }
.review .q { position: absolute; right: 1rem; bottom: .8rem; width: 26px; height: 26px; color: rgba(232, 200, 140, .55); }
.review-note { text-align: center; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }

/* ---------- Region ---------- */
.place-list { list-style: none; padding: 0; margin: 1.6rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.place-list li {
    border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
    padding: .45rem .95rem; border-radius: 999px; font-size: .97rem;
}
.place-list li.is-main { background: var(--orange); border-color: var(--orange); font-weight: 600; }
.fact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.fact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.fact-list .ico-box {
    width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: #fff;
    display: grid; place-items: center; flex: none;
}
.fact-list .ico-box .ico { width: 20px; height: 20px; }
.fact-list strong { display: block; }
.fact-list span { color: var(--muted); font-size: 1.02rem; }

/* Ausstellungs-Box (Rahmenkarte wie Original) */
.visit-card {
    border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.6rem); background: rgba(10, 10, 10, .55);
}
.visit-card .clock { width: 44px; height: 44px; border-radius: 8px; background: var(--orange); display: grid; place-items: center; margin: 1.6rem 0 1rem; }
.visit-card .clock .ico { width: 20px; height: 20px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; margin: 0 0 1.4rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: .9rem; }
.faq details {
    background: var(--card); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius);
    transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(254, 116, 0, .55); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--orange); width: 20px; height: 20px; transition: transform .25s ease; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.25rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */
.cta-band {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: #000 url("../img/funken.webp") center / cover no-repeat;
    padding: clamp(2.2rem, 5vw, 4rem); display: grid; gap: 1.5rem; align-items: center;
    border: 1px solid rgba(254, 116, 0, .35);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); margin: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.contact-direct { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-direct a, .contact-direct div { display: flex; gap: .9rem; align-items: center; color: #fff; }
.contact-direct .ico-box { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.contact-direct .ico-box .ico { width: 18px; height: 18px; }
.contact-direct small { display: block; color: var(--muted); font-size: .875rem; }

.contact-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.req { color: var(--orange); }
.form-control, .form-select {
    width: 100%; font: 400 1.0625rem/1.4 var(--font); color: #fff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px; padding: .8rem .95rem; transition: border-color .2s ease, background-color .2s ease;
}
.form-control::placeholder { color: rgba(255, 255, 255, .45); }
.form-control:focus, .form-select:focus { border-color: var(--orange); background: rgba(255, 255, 255, .09); outline: none; box-shadow: 0 0 0 3px rgba(254, 116, 0, .3); }
.form-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form-select option { background: #1b1b1b; color: #fff; }
textarea.form-control { min-height: 140px; resize: vertical; }
.invalid-feedback { display: none; color: #ff8f8f; font-size: .9rem; margin-top: .3rem; }
.is-invalid { border-color: #ff6b6b !important; }
.is-invalid ~ .invalid-feedback, .form-check .is-invalid ~ .invalid-feedback { display: block; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.form-check-input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--orange); }
.form-check-label { font-size: .94rem; }
.form-check .invalid-feedback, .form-check .privacy-hint { grid-column: 2; }
.privacy-hint { margin: .2rem 0 0; color: var(--muted); }
.form-text { color: var(--muted); font-size: .875rem; margin-top: .4rem; }
.alert { border-radius: 12px; padding: .9rem 1.1rem; font-size: 1.02rem; }
.alert-success { background: rgba(46, 160, 67, .18); border: 1px solid rgba(46, 160, 67, .6); }
.alert-danger { background: rgba(220, 53, 69, .18); border: 1px solid rgba(220, 53, 69, .6); }
.alert-warning { background: rgba(254, 116, 0, .14); border: 1px solid rgba(254, 116, 0, .6); }
.alert p { margin: 0 0 .6rem; }
.spinner { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ALTCHA-Widget an das dunkle Design anpassen */
altcha-widget {
    --altcha-color-base: #1d1d1d;
    --altcha-color-text: #f3f3f3;
    --altcha-color-border: rgba(255, 255, 255, .22);
    --altcha-color-border-focus: var(--orange);
    --altcha-color-error-text: #ff8f8f;
    --altcha-color-footer-bg: #151515;
    --altcha-border-radius: 10px;
    --altcha-max-width: 100%;
    display: block;
}

/* ---------- Lieferanten ---------- */
.brands { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .brands { grid-template-columns: 320px 1fr; } .brands h2 { border-right: 3px solid #fff; padding-right: 2rem; } }
.brand-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.brand-grid li { background: #fff; border-radius: 6px; height: 84px; display: grid; place-items: center; padding: .8rem 1rem; }
.brand-grid img { max-height: 54px; width: auto; object-fit: contain; }
.brand-grid { list-style: none; padding: 0; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #000; padding: 4rem 0 1.6rem; font-size: 1.02rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 3rem; }
.site-footer h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer .contact a { color: var(--orange); }
.site-footer .footer-logo img { width: 92px; height: 92px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

/* ---------- Mobile Anruf-Leiste ---------- */
.call-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: #fff;
    display: none; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.call-fab:hover { color: #fff; }
.call-fab .ico { width: 24px; height: 24px; }
@media (max-width: 991.98px) { .call-fab { display: grid; } }

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.legal h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal h4 { font-size: 1rem; font-weight: 600; margin-top: 1.2rem; }
.legal a { overflow-wrap: anywhere; }
.legal p, .legal li { color: rgba(255, 255, 255, .85); }

/* ---------- Einblend-Animationen (nur mit JS + ohne reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
    .site-nav, .call-fab, .contact-form, .hero::before { display: none !important; }
    body { background: #fff; color: #000; }
}

/* Rechtsseiten: Telefon-Button auch mobil in der Kopfzeile */
.nav-call.always { display: flex; margin-left: auto; }

/* Mittlere Breiten: Menü bleibt einzeilig trotz größerer Schrift */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-nav .container { gap: 1rem; }
    .nav-menu { gap: 1.1rem; }
    .nav-menu a { font-size: .94rem; }
    .nav-call small { display: none; }
}

/* ===== Hinweis-Popup (gesteuert über /hinweis.json) ==================
   Aufbau und Verhalten 1:1 wie kutscher-it.de (assets/js/hinweis.js),
   Farben an das Görgen-Design angepasst. Nutzt <dialog>: Fokusfalle,
   Esc und Hintergrund-Layer kommen vom Browser. */
.hinweis-modal {
    position: fixed; margin: auto; padding: 0; border: 1px solid rgba(254, 116, 0, .45);
    width: min(32rem, calc(100vw - 2rem)); max-width: none;
    max-height: calc(100vh - 2rem);
    border-radius: var(--radius-lg); background: #161616; color: var(--text);
    box-shadow: var(--shadow); overflow: hidden;
    opacity: 0; transform: translateY(14px) scale(.97);
    transition: opacity .22s ease, transform .22s cubic-bezier(.2, .7, .3, 1);
}
.hinweis-modal.is-offen { opacity: 1; transform: translateY(0) scale(1); }
.hinweis-modal::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hinweis-modal[open] { display: flex; flex-direction: column; }
.hinweis-inner { padding: 2.25rem 2rem 0; overflow-y: auto; flex: 1 1 auto; }
.hinweis-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--orange); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.1rem;
}
.hinweis-icon .bi, .hinweis-close .bi { width: 1em; height: 1em; }
.hinweis-titel { font-weight: 700; font-size: 1.5rem; line-height: 1.25; margin: 0 0 .75rem; color: var(--text); }
.hinweis-text { color: var(--muted); line-height: 1.6; }
.hinweis-text p { margin: 0 0 .8rem; }
.hinweis-text p:last-child { margin-bottom: 0; }
.hinweis-fussnote {
    display: block; margin: 1.1rem 0 0; padding: .7rem .85rem;
    background: rgba(254, 116, 0, .12); border-radius: 12px;
    font-size: .94rem; color: var(--text);
}
.hinweis-actions { display: flex; flex-wrap: wrap; gap: .6rem; flex: 0 0 auto; padding: 1.5rem 2rem 1.75rem; }
.hinweis-actions .btn { flex: 1 1 auto; }
.hinweis-close {
    position: absolute; top: .85rem; right: .85rem;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: transparent; color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem; cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}
.hinweis-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hinweis-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 575.98px) {
    .hinweis-inner { padding: 1.9rem 1.35rem 0; }
    .hinweis-actions { padding: 1.2rem 1.35rem 1.4rem; }
    .hinweis-titel { font-size: 1.3rem; }
    .hinweis-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hinweis-modal { transition: none; transform: none; } }
