/* ==========================================================================
   Herren Wileroltigen – Stylesheet
   ========================================================================== */

@font-face {
    font-family: "Quicksand";
    src: url("../fonts/quicksand-latin-wght-normal.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #cc1617;
    --red-dark: #a31112;
    --bg: #ffffff;
    --tint: #eef4ea;
    --straw: #f2c94c;
    --green: #4f7a3a;
    --green-dark: #2c4a21;
    --ink: #1e2a1e;
    --muted: #5b6b5b;
    --line: #dde6d8;
    --white: #fff;

    --font-sans: "Quicksand", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-head: var(--font-sans);

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(30 42 30 / 6%), 0 8px 24px rgb(30 42 30 / 8%);
    --container: 1180px;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

h1, h2, h3 {
    font-family: var(--font-head);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 700;
    color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--straw); outline-offset: 2px; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
    font: 600 .975rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }

/* --- Header ------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav ul a {
    display: block; padding: .45em .8em; border-radius: var(--radius-sm);
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .975rem;
}
.site-nav ul a:hover { background: var(--tint); }
.site-nav ul a[aria-current="page"] { color: var(--red); background: rgb(204 22 23 / 8%); }
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn { padding: .55em 1.05em; font-size: .9rem; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
    .nav-toggle {
        display: grid; place-items: center; width: 44px; height: 44px;
        background: none; border: 0; cursor: pointer; padding: 0;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
        position: relative; transition: transform .2s, background-color .2s;
    }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -7px; }
    .nav-toggle-bar::after { top: 7px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
        max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    }
    .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { padding: .75em .8em; font-size: 1.05rem; }
    .nav-cta { flex-direction: column; }
    .nav-cta .btn { padding: .8em 1em; font-size: 1rem; }
}

/* --- Sections ----------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--tint); }
.section-sand { background: var(--tint); }
.section-dark { background: var(--green-dark); color: #eef4ea; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
    display: inline-block; margin-bottom: .75em;
    font: 700 .78rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
}
.section-dark .eyebrow { color: var(--straw); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #c9d2bf; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head-row .section-head { margin-bottom: 0; }

.lead { font-size: 1.2rem; color: var(--muted); }

/* --- Hero --------------------------------------------------------------- */
.hero {
    position: relative; min-height: min(86vh, 760px);
    display: flex; align-items: flex-end;
    color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 15%, rgb(20 24 14 / 82%) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 0 72px; max-width: 760px; text-shadow: 0 1px 12px rgb(0 0 0 / 35%); }
.hero .eyebrow { color: var(--straw); }
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 1.6em; max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-hero .lead { max-width: 680px; }

/* --- Stats bar ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat strong { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-head); color: var(--red); }
.stat span { color: var(--muted); }

/* --- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .btn, .card-body .link-arrow { margin-top: auto; align-self: flex-start; }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Feature split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media img.is-diagram { object-fit: contain; background: var(--white); padding: clamp(20px, 4vw, 40px); aspect-ratio: auto; border: 1px solid var(--line); }
.split-media img.is-portrait { aspect-ratio: 3 / 4; max-height: 620px; width: auto; margin-inline: auto; }
.split { align-items: start; }

.haltung-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.haltung-facts li { background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.haltung-facts strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--green); }
.haltung-facts span { color: var(--muted); font-size: .95rem; }

.haltung-info { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); margin-top: 24px; }
.info-block { --accent: var(--green); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 24px 20px; border-top: 5px solid var(--accent); }
.info-block h3 { display: inline-block; vertical-align: middle; margin: 0 0 0 12px; }
.info-block p { color: var(--muted); margin: 12px 0 0; }
.info-icon { display: inline-grid; place-items: center; vertical-align: middle; width: 44px; height: 44px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, white); }
.info-icon svg { width: 24px; height: 24px; }
.info-stall { --accent: #8a6a4a; }
.info-wintergarten { --accent: #3d8fb8; }
.info-weide { --accent: var(--green); }
.info-labels { --accent: var(--red); }

.weide-zu { margin-top: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.weide-zu-head { max-width: 720px; }
.weide-zu-head p { color: var(--muted); }
.weide-zu-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.weide-zu-list li { position: relative; padding-left: 36px; color: var(--muted); }
.weide-zu-list li::before {
    content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
    background: #3d8fb8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.weide-zu-list strong { display: block; color: var(--ink); }
.weide-zu-note { padding: 14px 16px; background: var(--tint); border-radius: var(--radius-sm); }

.haltung-grafik { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 32px); }
.haltung-grafik svg { display: block; width: 100%; height: auto; }
.haltung-legende { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 24px; margin-top: 20px; font-size: .95rem; color: var(--muted); }
.haltung-legende strong { display: block; color: var(--ink); }
.haltung-legende div { position: relative; padding-left: 22px; }
.haltung-legende .dot { position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; }
.split > div:not(.split-media) { align-self: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.check-list li { position: relative; padding-left: 1.9em; margin-bottom: .55em; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .35em; width: 1.15em; height: 1.15em;
    border-radius: 50%; background: var(--green);
}
.check-list li::after {
    content: ""; position: absolute; left: .32em; top: .62em; width: .5em; height: .28em;
    border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg);
}

/* Offer cards (Bestellen) */
.offer { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.offer-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgb(204 22 23 / 10%); color: var(--red); margin-bottom: 16px; }
.offer-icon svg { width: 26px; height: 26px; }
.offer p { color: var(--muted); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-featured { background: var(--red); color: var(--white); }
.offer-featured h3 { color: var(--white); }
.offer-featured p { color: rgb(255 255 255 / 85%); }
.offer-featured .offer-icon { background: rgb(255 255 255 / 18%); color: var(--white); }
.price-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-list li { background: rgb(255 255 255 / 14%); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .95rem; }
.price-list strong { display: block; font-size: 1.05rem; }

/* --- News --------------------------------------------------------------- */
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.news-card time { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.news-card .card-body p { color: var(--ink); white-space: pre-line; }
.news-card .card-media { aspect-ratio: 1 / 1; position: relative; }
.news-card:not(:has(.card-media)) .card-body { border-top: 4px solid var(--red); }
.news-grid { align-items: start; }
.news-card .badge-video {
    position: absolute; inset: auto auto 12px 12px; background: rgb(0 0 0 / 70%); color: var(--white);
    font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.news-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* --- Gallery ------------------------------------------------------------ */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgb(12 12 10 / 92%);
    display: none; align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.is-open { display: flex; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox img, .lightbox video { max-height: 100%; max-width: 100%; width: auto; border-radius: var(--radius-sm); }
.lightbox button[hidden] { display: none; }
.card-media > a { display: block; height: 100%; position: relative; }
.play-icon {
    position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 28px no-repeat;
    box-shadow: 0 6px 20px rgb(0 0 0 / 35%); transition: transform .15s;
}
.card-media > a:hover .play-icon { transform: scale(1.08); }
.card-media > a[data-lb]:not([data-video]) { cursor: zoom-in; }
.lightbox button {
    position: absolute; background: rgb(255 255 255 / 12%); color: var(--white); border: 0;
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
}
.lightbox button:hover { background: rgb(255 255 255 / 25%); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Videos: YouTube erst nach Klick laden */
.video-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.video {
    position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
    background: var(--ink); box-shadow: var(--shadow);
}
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video button:hover img { opacity: 1; }
.video button::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
    border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 32px no-repeat;
    box-shadow: 0 6px 20px rgb(0 0 0 / 35%);
}
.video .video-note {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: .78rem;
    color: rgb(255 255 255 / 85%); background: linear-gradient(transparent, rgb(0 0 0 / 70%));
    pointer-events: none;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Logos -------------------------------------------------------------- */
.logo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.logo-grid div { background: var(--white); border-radius: var(--radius-sm); padding: 16px; display: grid; place-items: center; aspect-ratio: 3/2; }
.logo-grid img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-grid div:hover img { filter: none; opacity: 1; }

/* --- Egg anatomy / info ------------------------------------------------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button {
    font: 600 .95rem var(--font-sans); padding: .6em 1.1em; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

.nutrients { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 24px 0; }
.nutrient { background: var(--white); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.nutrient strong { display: block; font: 700 1.6rem/1 var(--font-head); color: var(--red); margin-bottom: 4px; }
.nutrient .bar { height: 6px; border-radius: 3px; background: var(--tint); margin-top: 10px; overflow: hidden; }
.nutrient .bar span { display: block; height: 100%; background: var(--straw); }
.note { font-size: .9rem; color: var(--muted); }

.abc-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; margin-bottom: 16px; }
.abc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.abc-item summary {
    cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative;
}
.abc-item summary::-webkit-details-marker { display: none; }
.abc-item summary::after {
    content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--green);
    display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
}
.abc-item[open] summary::after { content: "–"; background: var(--green); color: var(--white); }
.abc-item[open] { border-color: var(--green); }
.abc-item p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

/* --- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; color: var(--ink);
    padding: .75em .9em; border: 1px solid #c9d6c3; border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(204 22 23 / 15%); }
.field .error { color: var(--red); font-size: .875rem; margin-top: 4px; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-success { background: #e7f0df; color: var(--green-dark); }
.alert-error { background: #fbe4e7; color: var(--red-dark); }

.contact-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 3px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-consent { height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-consent p { color: var(--muted); font-size: .95rem; max-width: 340px; }

/* --- Prose (Impressum/Datenschutz) -------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--red); color: var(--white); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .25em; }
.cta-band p { margin: 0; opacity: .9; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--green-dark); color: #d6e2d0; padding: 64px 0 24px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; background: var(--white); padding: 6px 10px; border-radius: var(--radius-sm); box-sizing: content-box; }
.footer-title { font: 700 .8rem/1 var(--font-sans); text-transform: uppercase; letter-spacing: .14em; color: var(--straw); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Bestellformulare --------------------------------------------------- */
.btn-sm { padding: .45em .9em; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border-color: transparent; color: var(--muted); text-decoration: underline; }
.btn-link:hover { color: var(--ink); }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.order-main { display: grid; gap: 24px; }
.order-step { margin: 0; border: 0; padding: clamp(20px, 3vw, 32px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.order-step legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font: 700 1.25rem/1.3 var(--font-head); display: flex; align-items: center; gap: 12px; }
.order-step legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 1rem; flex: none; }
.order-summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 6px solid var(--red); }
.order-summary h2 { font-size: 1.3rem; }
.order-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 16px; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; font-weight: 700; text-align: right; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin-bottom: 16px; border-top: 1px solid var(--line); }
.order-total strong { font-size: 1.6rem; color: var(--red); }
.order-summary .note { margin: 12px 0 0; }
@media (max-width: 900px) {
    .order-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
}

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.choice input, .date-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { display: block; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice-box strong { display: block; font-size: 1.2rem; }
.choice-grid-sm { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice-grid-sm .choice-box { padding: 10px 6px; }
.choice-grid-sm .choice-box strong { font-size: 1rem; }
.choice-grid-sm .choice-box span { font-size: .85rem; }
.choice-box span { color: var(--muted); }
.choice:hover .choice-box { border-color: var(--green); }
.choice input:checked + .choice-box { border-color: var(--red); background: rgb(204 22 23 / 6%); }
.choice input:focus-visible + .choice-box, .date-chip input:focus-visible + span { outline: 3px solid var(--straw); outline-offset: 2px; }

.quick-select { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.date-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.date-chip span { display: block; padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; cursor: pointer; font-weight: 600; font-size: .95rem; transition: background-color .15s, border-color .15s, color .15s; }
.date-chip:hover span { border-color: var(--green); }
.date-chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.order-step > .error { margin-top: 12px; color: var(--red); font-weight: 600; }

.product-list { display: grid; gap: 12px; }
.product { display: grid; grid-template-columns: 96px minmax(0, 1fr) 140px; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.product img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.product h3 { font-size: 1.05rem; margin: 0 0 4px; }
.product p { margin: 0; color: var(--muted); font-size: .95rem; }
.product .restriction { color: var(--red); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.product .field label { font-size: .85rem; }
.product .field input { text-align: center; }
.product .unit { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; text-align: center; }
.product.is-disabled { opacity: .55; }
.product[hidden] { display: none; }
.product.has-qty { border-color: var(--green); background: rgb(79 122 58 / 6%); }
@media (max-width: 560px) {
    .product { grid-template-columns: 72px minmax(0, 1fr); }
    .product img { width: 72px; height: 72px; }
    .product .field { grid-column: 1 / -1; }
}
.radio-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.filter-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 16px; }
.filter-toggle button { border: 0; background: none; padding: .45em 1em; border-radius: 999px; font: 600 .9rem var(--font-sans); cursor: pointer; color: var(--muted); }
.filter-toggle button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff6dc; color: #6b5200; margin-bottom: 16px; font-size: .95rem; }

.b2b-summary { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .95rem; }
.b2b-summary li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.b2b-summary li.note { border: 0; }
.thanks { max-width: 640px; text-align: center; }
.thanks-icon { width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 2.5rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
