/* ==========================================================================
   festseite.de – Stylesheet
   Ohne Framework, ohne Build-Schritt. Interaktion (Menü, Paket-Umschalter,
   FAQ) läuft nur über HTML + CSS.
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-var-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --ink: #1F1B16;
    --ink-2: #5B544B;
    --ink-3: #675F55;   /* >= 4,5:1 auf --paper, --paper-2, --card und den *-soft-Flächen (WCAG AA) */
    --paper: #F6F1E9;
    --paper-2: #EFE7DA;
    --card: #FFFFFF;
    --line: #E3D8C7;

    --gold: #B08D57;
    --gold-ink: #86652F;
    --gold-soft: #F1E6D3;
    --teal: #0F766E;
    --teal-ink: #0B5E58;
    --teal-soft: #DCEFEA;
    --indigo: #4F46E5;
    --indigo-ink: #4338CA;
    --indigo-soft: #E7E6FB;

    /* Standard-Akzent (Startseite) = Marken-Gold */
    --accent: var(--gold);
    --accent-ink: var(--gold-ink);
    --accent-soft: var(--gold-soft);

    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(31, 27, 22, .06), 0 12px 32px -12px rgba(31, 27, 22, .18);
    --shadow-lg: 0 2px 4px rgba(31, 27, 22, .06), 0 30px 60px -20px rgba(31, 27, 22, .28);

    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --wrap: 1180px;
}

[data-area="feiern"]   { --accent: var(--gold);   --accent-ink: var(--gold-ink);   --accent-soft: var(--gold-soft); }
[data-area="betriebe"] { --accent: var(--teal);   --accent-ink: var(--teal-ink);   --accent-soft: var(--teal-soft); }
[data-area="software"] { --accent: var(--indigo); --accent-ink: var(--indigo-ink); --accent-soft: var(--indigo-soft); }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.035em; }
h3, .h3 { font-size: 1.25rem; font-weight: 750; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center.hero-actions { justify-content: center; }
.accent { color: var(--accent); }
.accent-serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent-ink); letter-spacing: -.02em; }
.eyebrow {
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--accent-ink); margin-bottom: .9rem;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.35rem; border-radius: 999px;
    font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; border: 2px solid transparent;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 8px 20px -10px rgba(31, 27, 22, .6); }
[data-area] .btn-primary { background: var(--accent-ink); }
.btn-primary:hover { color: #fff; background: #000; }
[data-area] .btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--accent-ink); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 241, 233, .88);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(227, 216, 199, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
    display: flex; flex-direction: column; padding: .4rem .8rem; border-radius: 10px;
    text-decoration: none; font-weight: 650; font-size: .98rem; line-height: 1.2;
}
.main-nav ul a small { font-weight: 500; font-size: .75rem; color: var(--ink-3); }
.main-nav ul a:hover, .main-nav ul a.active { background: var(--paper-2); color: var(--ink); }
.main-nav ul a[data-area].active, .main-nav ul a[data-area]:hover { box-shadow: inset 0 -3px 0 var(--accent); }
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 920px) {
    .nav-burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; border-radius: 12px; cursor: pointer; padding: 0 11px;
    }
    .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--accent); }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 1rem;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 1rem 20px 1.5rem; box-shadow: var(--shadow);
        display: none;
    }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: .8rem .6rem; font-size: 1.1rem; }
    .main-nav .btn { justify-content: center; }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
    .brand img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: auto -10% 40% auto; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(closest-side, var(--accent-soft), transparent); opacity: .9; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.area-hero .hero-copy h1 { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust .icon { color: var(--accent-ink); }

.hero-stack { position: relative; aspect-ratio: 1 / .92; }
.stack-card {
    position: absolute; width: 74%; border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg); background: #fff; border: 6px solid #fff;
}
.stack-card .mockup { aspect-ratio: 4 / 3; object-fit: cover; }
.stack-card.s1 { top: 0; left: 0; transform: rotate(-3deg); z-index: 1; }
.stack-card.s2 { top: 22%; right: 0; transform: rotate(2.5deg); z-index: 2; }
.stack-card.s3 { bottom: 0; left: 10%; transform: rotate(-1deg); z-index: 3; width: 66%; }

.hero-media .framed, .detail-media .framed {
    border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid #fff; background: #fff;
}
.small-hero { padding-bottom: 1.5rem; }
.small-hero h1 { max-width: 20ch; }
.small-hero .lead { max-width: 60ch; }

.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .35rem; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stack { max-width: 560px; width: 100%; margin: 0 auto; }
    .hero-copy h1 { max-width: none; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tight { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.1rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; }
.checks .icon { color: var(--accent-ink); margin-top: .2rem; }
.checks.small { font-size: .95rem; gap: .35rem; }
.checks.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; }
@media (max-width: 640px) { .checks.two-col { grid-template-columns: 1fr; } }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---------- Bereichskarten (Startseite) ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.area-card {
    display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink);
    border-top: 5px solid var(--accent); transition: transform .2s ease, box-shadow .2s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.area-media { background: var(--paper-2); }
.area-media .mockup { aspect-ratio: 4 / 3; object-fit: cover; }
.area-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.area-body p { color: var(--ink-2); font-size: .98rem; }
.area-body .link-arrow { margin-top: auto; }
.area-price {
    align-self: flex-start; font-weight: 700; font-size: .85rem; color: var(--accent-ink);
    background: var(--accent-soft); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .8rem;
}
@media (max-width: 960px) { .area-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Schritte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; counter-increment: step; }
.steps li::after {
    content: counter(step); position: absolute; top: 1.2rem; right: 1.4rem;
    font-size: 2.4rem; font-weight: 800; color: var(--paper-2); line-height: 1;
}
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.step-icon, .hl-icon {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1rem;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Preis-Teaser (Startseite) ---------- */
.price-teaser { display: grid; gap: .75rem; margin-bottom: 2rem; }
.price-row {
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.5fr; align-items: center; gap: 1rem;
    background: var(--card); border-radius: var(--radius-sm); padding: 1rem 1.4rem;
    text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
    border-left: 5px solid var(--accent); transition: transform .15s ease;
}
.price-row:hover { transform: translateX(4px); color: var(--ink); }
.price-cell { display: flex; flex-direction: column; font-weight: 750; font-size: 1.1rem; }
.price-cell small { font-weight: 500; font-size: .75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.price-rec { font-size: .88rem; }
@media (max-width: 820px) {
    .price-row { grid-template-columns: repeat(3, 1fr); }
    .price-row > strong, .price-rec { grid-column: 1 / -1; }
}

/* ---------- Highlights (Bereichsseiten) ---------- */
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.highlights li { display: flex; flex-direction: column; }
.highlights h2 { font-size: 1.1rem; margin-bottom: .35rem; letter-spacing: -.015em; }
.highlights p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Stil-Karten ---------- */
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.style-card, .custom-card {
    display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
    text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease;
}
.style-card { background: var(--card); box-shadow: var(--shadow); }
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.style-media { background: var(--paper-2); overflow: hidden; }
.style-media .mockup { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.style-card:hover .style-media .mockup { transform: scale(1.03); }
.style-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.style-body p { color: var(--ink-2); font-size: .95rem; }
.style-body h3 a { text-decoration: none; }
.style-body h3 a:hover { color: var(--accent-ink); }
.style-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: .6rem; }
.style-meta .style-no { margin-bottom: 0; }
.style-pkg { font-size: .78rem; font-weight: 650; color: var(--accent-ink); background: var(--accent-soft); padding: .2rem .6rem; border-radius: 999px; }
.style-links { margin-top: auto; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.style-no {
    display: inline-block; align-self: flex-start; background: var(--accent); color: #fff;
    font-weight: 700; font-size: .78rem; padding: .2rem .65rem; border-radius: 999px; margin-bottom: .6rem;
}
.custom-card {
    border: 2px dashed var(--accent); padding: 2rem 1.6rem; justify-content: center; background: transparent; min-height: 320px;
}
.custom-card:hover { background: var(--card); color: var(--ink); }
.custom-card p { color: var(--ink-2); }
.custom-plus {
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
    background: var(--accent); color: #fff; margin-bottom: 1.2rem;
}
@media (max-width: 960px) { .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .style-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Paket-Umschalter  (Radio-Buttons + CSS, siehe PackageSwitcher.razor)
   ========================================================================== */
.pkg-switch { position: relative; }
.pkg-radio, .area-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.pkg-tabs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
    background: var(--paper-2); padding: 6px; border-radius: 18px; margin-bottom: 1.25rem;
    border: 1px solid var(--line);
}
.section.alt .pkg-tabs, .area-panel .pkg-tabs { background: #E7DDCC; }
.pkg-tab {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem;
    padding: .85rem .5rem; border-radius: 13px; cursor: pointer; text-align: center;
    color: var(--ink-2); transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    user-select: none;
}
.pkg-tab:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }
.pkg-tab-name { font-weight: 750; font-size: 1.05rem; }
.pkg-tab-price { font-weight: 600; font-size: .92rem; }
.pkg-tab-badge {
    position: absolute; top: -10px; right: 10px; font-size: .68rem; font-weight: 750; text-transform: uppercase;
    letter-spacing: .06em; background: var(--accent); color: #fff; padding: .15rem .5rem; border-radius: 999px;
}

.pkg-radio:nth-of-type(1):checked ~ .pkg-tabs .pkg-tab:nth-child(1),
.pkg-radio:nth-of-type(2):checked ~ .pkg-tabs .pkg-tab:nth-child(2),
.pkg-radio:nth-of-type(3):checked ~ .pkg-tabs .pkg-tab:nth-child(3) {
    background: var(--card); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(31, 27, 22, .35), inset 0 -3px 0 var(--accent);
}
.pkg-radio:nth-of-type(1):checked ~ .pkg-tabs .pkg-tab:nth-child(1) .pkg-tab-price,
.pkg-radio:nth-of-type(2):checked ~ .pkg-tabs .pkg-tab:nth-child(2) .pkg-tab-price,
.pkg-radio:nth-of-type(3):checked ~ .pkg-tabs .pkg-tab:nth-child(3) .pkg-tab-price { color: var(--accent-ink); }

.pkg-switch:has(.pkg-radio:nth-of-type(1):focus-visible) .pkg-tab:nth-child(1),
.pkg-switch:has(.pkg-radio:nth-of-type(2):focus-visible) .pkg-tab:nth-child(2),
.pkg-switch:has(.pkg-radio:nth-of-type(3):focus-visible) .pkg-tab:nth-child(3) { outline: 3px solid var(--accent); outline-offset: 2px; }

.pkg-panel { display: none; }
.pkg-radio:nth-of-type(1):checked ~ .pkg-panels .pkg-panel:nth-child(1),
.pkg-radio:nth-of-type(2):checked ~ .pkg-panels .pkg-panel:nth-child(2),
.pkg-radio:nth-of-type(3):checked ~ .pkg-panels .pkg-panel:nth-child(3) { display: block; animation: pkg-in .25s ease; }
@keyframes pkg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pkg-panel, .area-panel { animation: none !important; } html { scroll-behavior: auto; } }

.pkg-panel {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: clamp(1.25rem, 3.5vw, 2.25rem); border-top: 5px solid var(--accent);
}
.pkg-head { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.pkg-head .eyebrow { margin-bottom: .4rem; }
.pkg-name { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem; }
.pkg-claim { font-weight: 500; color: var(--ink-2); font-size: .7em; letter-spacing: -.01em; }
.pkg-for { color: var(--ink-2); margin: 0; max-width: 56ch; }
.pkg-price { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.pkg-price strong { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent-ink); }
.pkg-price span { font-size: .85rem; color: var(--ink-3); margin: .2rem 0 .5rem; }
.pkg-price small { font-size: .8rem; color: var(--ink-2); background: var(--paper); padding: .25rem .6rem; border-radius: 8px; max-width: 24ch; text-align: right; }

.pkg-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.pkg-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pkg-group li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.pkg-group li .icon {
    margin-top: .05rem; padding: 2px; border-radius: 50%;
}
.pkg-group li.in .icon { background: var(--accent-soft); color: var(--accent-ink); }
.pkg-group li.out { color: var(--ink-3); }
.pkg-group li.out .f-label { text-decoration: line-through; text-decoration-color: rgba(138, 130, 119, .45); }
.pkg-group li.out .icon { color: #C9BFAF; }
.f-label strong { font-weight: 700; margin-left: .3em; }
.f-hint { display: block; color: var(--ink-3); font-size: .8rem; }
.chip {
    display: inline-block; font-style: normal; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em;
    background: var(--accent); color: #fff; padding: .05rem .45rem; border-radius: 999px; margin-left: .35rem; vertical-align: .12em;
}
.chip-soft { background: var(--accent-soft); color: var(--accent-ink); }
.pkg-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pkg-foot .muted { font-size: .9rem; }

@media (max-width: 760px) {
    .pkg-head { flex-direction: column; gap: 1rem; }
    .pkg-price { text-align: left; align-items: flex-start; }
    .pkg-price small { text-align: left; }
    .pkg-groups { grid-template-columns: 1fr; }
    .pkg-tab { padding: .7rem .25rem; }
    .pkg-tab-name { font-size: .95rem; }
    .pkg-tab-price { font-size: .82rem; }
    .pkg-tab-badge { right: 50%; transform: translateX(50%); }
}

/* Vergleichstabelle */
.compare { margin-top: 1.25rem; }
.compare summary {
    cursor: pointer; font-weight: 650; color: var(--accent-ink); padding: .6rem 0; list-style: none; display: inline-flex; align-items: center; gap: .4rem;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); font-weight: 800; }
.compare[open] summary::before { content: "–"; }
.table-scroll { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: .5rem; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.compare thead th { background: var(--paper); font-size: 1rem; position: sticky; top: 0; }
.compare td { text-align: center; width: 18%; }
.compare tbody th[scope="row"] { font-weight: 500; }
.compare .group-row th { background: var(--accent-soft); color: var(--accent-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.compare .yes { color: var(--accent-ink); display: inline-flex; }
.compare .no { color: #C9BFAF; }

/* Laufende Kosten */
.recurring { margin-top: 3rem; }
.recurring .section-head { margin-bottom: 1.25rem; }
.recurring .section-head h3 { font-size: 1.5rem; }
.recurring-grid { display: grid; gap: 1.25rem; }
.recurring-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recurring-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recurring-card { background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.recurring-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .35rem; }
.recurring-top strong { font-size: 1.1rem; }
.recurring-price { font-weight: 800; color: var(--accent-ink); white-space: nowrap; }
.recurring-card .muted { font-size: .92rem; }
.recurring-card .checks { font-size: .95rem; gap: .35rem; margin: 0; }
.recurring + .muted, .area-panel + .muted { margin-top: 1.25rem; }
@media (max-width: 820px) { .recurring-grid.cols-2, .recurring-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- Bereichs-Umschalter (Preisseite) ---------- */
.area-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.area-tabs label {
    display: flex; flex-direction: column; gap: .15rem; cursor: pointer;
    background: var(--card); border-radius: var(--radius-sm); padding: 1rem 1.2rem;
    box-shadow: var(--shadow); border: 2px solid transparent; border-left: 6px solid var(--accent);
    transition: transform .15s ease, border-color .15s ease;
}
.area-tabs label:hover { transform: translateY(-2px); }
.area-tabs strong { font-size: 1.05rem; }
.area-tabs small { color: var(--ink-3); font-weight: 600; }
.area-radio:nth-of-type(1):checked ~ .area-tabs label:nth-child(1),
.area-radio:nth-of-type(2):checked ~ .area-tabs label:nth-child(2),
.area-radio:nth-of-type(3):checked ~ .area-tabs label:nth-child(3) { border-color: var(--accent); background: var(--accent-soft); }
.area-switch:has(.area-radio:nth-of-type(1):focus-visible) .area-tabs label:nth-child(1),
.area-switch:has(.area-radio:nth-of-type(2):focus-visible) .area-tabs label:nth-child(2),
.area-switch:has(.area-radio:nth-of-type(3):focus-visible) .area-tabs label:nth-child(3) { outline: 3px solid var(--ink); outline-offset: 2px; }
.area-panel { display: none; }
.area-radio:nth-of-type(1):checked ~ .area-panels .area-panel:nth-child(1),
.area-radio:nth-of-type(2):checked ~ .area-panels .area-panel:nth-child(2),
.area-radio:nth-of-type(3):checked ~ .area-panels .area-panel:nth-child(3) { display: block; animation: pkg-in .25s ease; }
@media (max-width: 700px) {
    .area-tabs { grid-template-columns: 1fr; gap: .5rem; }
    .area-tabs label { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

/* ---------- Detailseite ---------- */
.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.detail-copy h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.ideal { color: var(--ink-2); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; color: var(--ink-2); }
.pager a:hover { color: var(--accent-ink); }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pager { flex-wrap: wrap; justify-content: center; } .pager a:nth-child(2) { order: -1; width: 100%; justify-content: center; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; font-weight: 500; color: var(--accent-ink); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) 0; position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%;
    background: radial-gradient(closest-side, var(--accent), transparent); opacity: .35;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; position: relative; }
.cta-inner h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { margin: 0; color: #D8CFC2; }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Formular ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; gap: .6rem; align-items: center; }
.contact-list .icon { color: var(--accent-ink); }
.mini-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--ink-2); }
.form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .95rem; }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; width: 100%; padding: .75rem .9rem; border-radius: 10px;
    border: 1.5px solid var(--line); background: #FDFBF8; color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field.check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.field.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--accent-ink); }
.field.check label { font-weight: 450; font-size: .92rem; color: var(--ink-2); }
.validation-message { color: #B42318; font-size: .88rem; font-weight: 550; }
/* Zusammenfassung oben im Formular (ValidationSummary) – nach fehlgeschlagenem Absenden sofort sichtbar */
.validation-errors { list-style: none; margin: 0 0 1.25rem; padding: .9rem 1.2rem; border-radius: var(--radius-sm); background: #FEE4E2; border-left: 4px solid #B42318; display: grid; gap: .25rem; }
.validation-errors .validation-message { color: #912018; font-size: .95rem; }
.validation-errors:empty { display: none; }
.invalid { border-color: #D92D20 !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.notice { border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
.notice.success { background: var(--teal-soft); color: var(--teal-ink); }
.notice.success h2 { color: var(--teal-ink); }
.notice.error { background: #FEE4E2; color: #912018; }
.notice.warn { background: #FEF0C7; color: #7A2E0E; font-size: .95rem; }

/* ---------- Rechtstexte ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p { color: var(--ink-2); }
.legal { overflow-wrap: anywhere; } /* lange Mailadressen/Wörter dürfen umbrechen – kein horizontales Scrollen */
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.4rem; color: var(--ink-2); }
.legal li { margin-bottom: .35em; padding-left: .15rem; }
.legal li::marker { color: var(--accent-ink); }
.legal b { color: var(--ink); font-weight: 650; }
.legal-download { margin: 0 0 1rem; font-size: .9rem; }
.legal-download a { color: var(--ink-3); text-decoration: none; border-bottom: 1px dotted currentColor; }
.legal-download a:hover { color: var(--accent-ink); }
.legal .legal-lead { font-size: 1.1rem; line-height: 1.5; color: var(--ink-3); margin: 0 0 1.5rem; }
.legal .legal-box { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 1rem 0 1.25rem; }
.legal .legal-box p { color: var(--ink); }
.legal .legal-box p:last-child { margin-bottom: 0; }
.legal .legal-small { font-size: .85rem; color: var(--ink-3); }
/* Muster-Widerrufsformular: Beschriftung + Schreiblinie, am Bildschirm wie auf Papier brauchbar */
.legal .legal-form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .25rem .75rem; margin: 1.25rem 0 0; color: var(--ink-2); font-size: .95rem; }
.legal .legal-form-row > span:first-child { flex: 0 1 auto; max-width: 100%; }
.legal .legal-form-line { flex: 1 1 14rem; min-width: 10rem; min-height: 1.7rem; border-bottom: 1.5px solid var(--ink); }
.legal .legal-form .legal-small { margin-top: 1.25rem; }
/* Eingebettetes Fragment (Datenschutz → „Anfragen, Angebote und Aufträge“): eigene h2 werden wie h3 dargestellt */
.legal .legal-embed { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--line); }
.legal .legal-embed h2 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.legal .legal-embed .legal-lead { font-size: 1rem; }
.ph { background: #FEF0C7; color: #7A2E0E; padding: 0 .25em; border-radius: 4px; } /* offener Platzhalter */
@media (max-width: 560px) { .legal .legal-embed { padding-left: .75rem; } .legal .legal-box { padding: .9rem 1rem; } }
@media print {
    body:has(.legal) .site-header, body:has(.legal) .site-footer, body:has(.legal) .skip, .legal-download { display: none !important; }
    body:has(.legal) { background: #fff; color: #000; }
    .legal { padding: 0; }
    .legal .wrap { max-width: none; padding: 0; }
    .legal h1, .legal h2, .legal h3 { break-after: avoid; }
    .legal p, .legal li, .legal b, .legal .legal-lead, .legal .legal-small, .legal .legal-form-row { color: #000; }
    .legal .legal-box { background: none; border-color: #000; break-inside: avoid; }
    .legal .legal-embed { border-left-color: #000; }
    .legal a { color: #000; text-decoration: none; }
    .ph { background: none; color: #000; border: 1px dashed #000; }
}

/* ---------- Footer ---------- */
.site-footer { background: #17140F; color: #CFC6B8; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; color: #A89F92; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #CFC6B8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #2E2921; color: #8A8173; font-size: .85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Abstand unter dem Paket-Umschalter (z. B. „Pakete vergleichen“ auf Detailseiten) */
.pkg-switch + p, .pkg-switch + .recurring { margin-top: 2.25rem; }
.area-panel > p:last-child { margin-top: 1.5rem; }

/* ---------- Wer baut Ihre Seite? (AboutMe.razor) ---------- */
.about { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); }
.about-text h2 { margin-top: 0; }
.about-text > p { color: var(--ink-2); }
.about-contact { font-weight: 600; margin: .5rem 0 0; }
.about-compact { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1.25rem; }
.about-compact .about-photo { border-radius: var(--radius-sm); box-shadow: none; }
.contact-aside .about-compact { margin-top: 0; }
.about-compact .h3 { margin: 0 0 .35rem; }
.about-compact p { font-size: .95rem; margin: 0 0 .35rem; }
@media (max-width: 820px) {
    .about:not(.about-compact) { grid-template-columns: 1fr; }
    .about:not(.about-compact) .about-photo { max-width: 260px; }
}

/* ---------- Zusatzpaket-Teaser (Startseite, /feiern) ---------- */
.extra-teaser {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.5rem;
    text-decoration: none; color: var(--ink); border-left: 6px solid var(--accent);
}
.extra-teaser:hover { box-shadow: var(--shadow-lg); }
.extra-badge { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .85rem; padding: .35rem .7rem; border-radius: 999px; white-space: nowrap; }
.extra-copy { display: grid; gap: .15rem; }
.extra-copy span { color: var(--ink-2); font-size: .95rem; }
.extra-price { font-weight: 700; color: var(--accent-ink); white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 720px) { .extra-teaser { grid-template-columns: 1fr; } .extra-badge { justify-self: start; } }

/* ---------- /weihnachtsfeier ---------- */
.rsvp-mock { margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.5rem; max-width: 420px; justify-self: center; width: 100%; }
.rsvp-mock-head { display: grid; gap: .2rem; border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: 1rem; }
.rsvp-mock-head span { color: var(--ink-3); font-size: .9rem; }
.rsvp-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.rsvp-counts div { background: var(--accent-soft); border-radius: var(--radius-sm); padding: .7rem .5rem; text-align: center; display: grid; }
.rsvp-counts b { font-size: 1.7rem; line-height: 1.1; color: var(--accent-ink); }
.rsvp-counts span { font-size: .82rem; color: var(--ink-2); }
.rsvp-meals { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.rsvp-meals li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: .35rem; }
.rsvp-btn { background: var(--ink); color: var(--paper); text-align: center; border-radius: 999px; padding: .65rem 1rem; font-weight: 600; font-size: .95rem; }
.rsvp-mock figcaption { color: var(--ink-3); font-size: .8rem; margin-top: .75rem; text-align: center; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; margin: .5rem 0 1rem; }
.offer-price strong { font-size: 2.6rem; letter-spacing: -.03em; }
.offer-price s { font-size: 1.3rem; }
.offer-pilot { flex-basis: 100%; margin: 0; color: var(--accent-ink); font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
