:root {
    --bg: #f8f4ee;
    --bg-soft: #efe7dc;
    --surface: #fffaf3;
    --surface-strong: #ffffff;
    --text: #2d2520;
    --muted: #6f6258;
    --line: rgba(89, 61, 43, .18);
    --brand: #9f5c4f;
    --brand-dark: #774137;
    --brand-soft: #ead6cc;
    --wood: #5b321f;
    --green: #52705a;
    --success: #1f7a4d;
    --error: #a73535;
    --shadow: 0 18px 50px rgba(65, 39, 24, .12);
    --radius: 22px;
    --radius-small: 12px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-dark);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--wood);
}

h1,
h2,
h3 {
    margin: 0 0 18px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.45rem, 7vw, 5.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3.6vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
    margin: 0 0 18px;
}

ul,
ol {
    margin-top: 0;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 860px;
}

.center-text {
    text-align: center;
}

.skip-link {
    position: absolute;
    left: 18px;
    top: -80px;
    z-index: 999;
    padding: 10px 14px;
    background: var(--text);
    color: #fff;
    border-radius: 10px;
}

.skip-link:focus {
    top: 18px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 244, 238, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--wood), var(--brand));
    box-shadow: 0 8px 25px rgba(65, 39, 24, .18);
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: .01em;
}

.brand-text small {
    color: var(--muted);
    font-size: .82rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-weight: 650;
    font-size: .95rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: var(--brand-soft);
    color: var(--wood);
}

.main-nav .nav-cta {
    background: var(--brand);
    color: #fff;
    padding-inline: 18px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
    background: var(--brand-dark);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    display: block;
    margin: 4px auto;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 630px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #301b12 url('/assets/img/hero-feuer.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 10, 5, .82), rgba(40, 19, 9, .58), rgba(20, 10, 5, .72));
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 100px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
}

.hero .eyebrow {
    color: #ffd9b1;
}

.hero-lead,
.subhero p,
.large-text {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-lead {
    max-width: 740px;
    color: rgba(255, 255, 255, .88);
}

.hero-actions,
.cta-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    font-size: .96rem;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(65, 39, 24, .18);
}

.btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.btn-outline {
    border-color: var(--brand);
    color: var(--brand-dark);
    background: transparent;
}

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.section {
    padding: clamp(64px, 8vw, 110px) 0;
}

.section-light {
    background: var(--bg-soft);
}

.section-intro {
    padding: 50px 0 44px;
}

.check-list {
    display: grid;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 22px;
}

.check-list-inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.check-list span,
.clean-list li,
.step-list li {
    position: relative;
}

.check-list span::before,
.clean-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: var(--brand);
    margin-right: 8px;
    transform: translateY(-1px);
}

.large-text {
    color: var(--text);
    max-width: 820px;
    margin-inline: auto;
}

.card-grid,
.price-grid,
.product-grid,
.gallery-grid,
.split-grid,
.contact-layout,
.footer-grid {
    display: grid;
    gap: 28px;
}

.two-cards,
.price-grid,
.product-grid,
.split-grid,
.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.price-card,
.product-card,
.contact-form-card,
.contact-info-card,
.cta-card,
.note-card,
.form-status-box {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card,
.price-card,
.note-card {
    padding: clamp(28px, 4vw, 44px);
}

.feature-card-accent,
.price-card.highlighted,
.product-card-featured {
    background: linear-gradient(180deg, #fff, #fff7ef);
    border-color: rgba(159, 92, 79, .38);
}

.card-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: .78rem;
}

.split-grid {
    align-items: center;
}

.split-grid-reverse .image-frame {
    order: 2;
}

.image-frame {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.image-frame img,
.product-image img,
.gallery-grid img,
.map-placeholder img {
    width: 100%;
    object-fit: cover;
}

.image-frame img {
    aspect-ratio: 4 / 3;
}

.split-content {
    padding: 12px 0;
}

.info-box,
.privacy-note-small {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: var(--radius-small);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
}

.promise-band,
.machine-band {
    padding: clamp(60px, 8vw, 96px) 0;
    color: #fff;
    background: linear-gradient(135deg, var(--wood), var(--brand-dark));
}

.promise-band .eyebrow,
.machine-band .eyebrow {
    color: #ffd9b1;
}

.promise-band h2 {
    max-width: 900px;
    margin-inline: auto;
}

.section-heading {
    text-align: center;
    max-width: 820px;
    margin-bottom: 34px;
}

.price-card {
    text-align: center;
}

.price {
    margin: 18px 0;
    color: var(--wood);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.04em;
}

.price span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: clamp(30px, 4vw, 46px);
}

.cta-card p:last-child {
    margin-bottom: 0;
}

.text-link {
    font-weight: 850;
}

.subhero {
    color: #fff;
    background: linear-gradient(90deg, rgba(40, 20, 9, .82), rgba(60, 30, 14, .76)), url('/assets/img/hero-feuer.jpg') center/cover no-repeat;
}

.subhero-content {
    padding: clamp(76px, 10vw, 130px) 0;
    max-width: 850px;
}

.subhero-content h1 {
    font-size: clamp(2.15rem, 5vw, 4.4rem);
}

.subhero-content p {
    color: rgba(255, 255, 255, .86);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: .92rem;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: #fff;
}

.product-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    overflow: hidden;
}

.product-image img {
    height: 100%;
    min-height: 360px;
}

.product-content {
    padding: clamp(28px, 4vw, 42px);
}

.clean-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.step-list {
    display: grid;
    gap: 14px;
    padding-left: 22px;
}

.note-card {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.machine-band {
    background: linear-gradient(135deg, #7c4a43, #a66860);
}

.machine-content {
    text-align: center;
    max-width: 780px;
}

.machine-facts {
    margin: 26px auto 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
}

.machine-facts li {
    padding: 13px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.gallery-grid img {
    aspect-ratio: 1 / 1;
}

.contact-layout {
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    padding: clamp(24px, 4vw, 36px);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

label,
legend {
    font-weight: 800;
    color: var(--text);
    font-size: .95rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    background: #fff;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border .18s ease, box-shadow .18s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(159, 92, 79, .14);
}

.radio-fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    padding: 16px;
    margin: 0;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    color: var(--muted);
}

.radio-label + .radio-label {
    margin-top: 8px;
}

.radio-label input,
.checkbox-label input {
    width: auto;
    min-height: 0;
    margin-top: 6px;
    accent-color: var(--brand);
}

.form-status-box {
    margin-bottom: 28px;
    padding: 28px;
}

.form-status-box h2 {
    font-size: 1.6rem;
}

.form-status-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    color: #fff;
}

.form-status-success {
    border-color: rgba(31, 122, 77, .28);
}

.form-status-success .form-status-badge {
    background: var(--success);
}

.form-status-error {
    border-color: rgba(167, 53, 53, .32);
}

.form-status-error .form-status-badge {
    background: var(--error);
}

.form-error-list {
    margin-bottom: 0;
}

.contact-info-card {
    position: sticky;
    top: 110px;
}

.map-placeholder {
    overflow: hidden;
    border-radius: var(--radius-small);
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.map-placeholder img {
    aspect-ratio: 16 / 9;
}

.whatsapp-button {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: #1f9d55;
    text-decoration: none;
    font-weight: 800;
}

.whatsapp-button:hover {
    color: #fff;
    background: #167c42;
}

.privacy-note-small {
    font-size: .92rem;
    color: var(--muted);
}

.legal-content {
    max-width: 920px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(28px, 5vw, 58px);
}

.legal-content h2 {
    margin-top: 36px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    padding-left: 22px;
}

.site-footer {
    background: #251813;
    color: rgba(255, 255, 255, .82);
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 58px 0;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
}

.site-footer a {
    color: #ffe1c5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: rgba(255, 255, 255, .62);
    font-size: .92rem;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: var(--radius);
        background: var(--surface-strong);
        box-shadow: var(--shadow);
        border: 1px solid var(--line);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        justify-content: center;
    }

  .two-cards,
.price-grid,
.product-grid,
.split-grid,
.contact-layout,
.footer-grid {
    grid-template-columns: 1fr;
}
    .split-grid-reverse .image-frame {
        order: initial;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-image img {
        min-height: 280px;
        aspect-ratio: 16 / 9;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-info-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 76px 0;
    }

    .hero-actions,
    .cta-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .text-link {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 56px 0;
    }

    .check-list-inline {
        justify-content: flex-start;
        text-align: left;
    }

    .feature-card,
    .price-card,
    .note-card,
    .contact-form-card,
    .contact-info-card,
    .legal-content,
    .cta-card {
        border-radius: 18px;
    }

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

    .machine-facts,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }
}
