/* ==========================================================================
   Feiertage-Ferien.com – Gestaltung (Erweiterung feiertage, SEO CMS 1.0.153)
   --------------------------------------------------------------------------
   Was jeder aus dem gedruckten Kalender kennt: Feiertage sind rot. Daraus
   ein ruhiges, eindeutiges Farbsystem – Feiertagsrot für gesetzliche
   Feiertage, Ferienblau für Schulferien und Verweise, Ocker für Brückentage,
   Salbeigrün für Anlässe ohne Feiertag. Kopf und Fuß in Schiefer-Nacht,
   Inhalt auf warmem Papier. Literata für Überschriften und Datumszahlen,
   Figtree für Text und Bedienung. Keine Einblend-Animationen.

   Kontraste (WCAG AA): Text #1D2733 auf #FBF9F4 = 14,9:1 · leiser Text
   #4B5868 = 6,9:1 · Ferienblau #1F5F8B = 6,6:1 · Feiertagsrot #B3261E =
   6,3:1 · Koralle #E8857A auf Nacht #15222E = 5,8:1
   ========================================================================== */

@font-face {
    font-family: 'Literata';
    src: url('/assets/fonts/literata-var.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Figtree';
    src: url('/assets/fonts/figtree-var.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ff-nacht: #15222E;
    --ff-nacht-2: #1D2B38;
    --ff-nacht-3: #2A3B4B;
    --ff-gold: #E8857A;          /* Akzent auf dunklem Grund (Koralle) */
    --ff-gold-2: #B3261E;        /* Akzentlinien (Feiertagsrot) */
    --ff-gold-text: #1F5F8B;     /* Verweise und Rubriken auf hellem Grund (Ferienblau) */
    --ff-papier: #FBF9F4;
    --ff-papier-2: #F2EEE5;
    --ff-weiss: #FFFFFF;
    --ff-tinte: #1D2733;
    --ff-tinte-2: #4B5868;
    --ff-linie: #E2DCD0;
    --ff-linie-2: #D3CBBC;
    --ff-elfenbein: #F5F2EA;
    --ff-gruen: #3F6E5A;
    --ff-rot: #B3261E;
    --ff-rot-hell: #F7E4E1;
    --ff-blau: #1F5F8B;
    --ff-blau-hell: #E3EEF6;
    --ff-ocker: #B7862C;
    --ff-ocker-text: #8A6416;
    --ff-ocker-hell: #F6EBD3;
    --ff-salbei: #3F6E5A;
    --ff-salbei-hell: #E6EFEA;
    --ff-serif: 'Literata', Georgia, 'Times New Roman', serif;
    --ff-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ff-radius: 14px;
    --ff-radius-klein: 9px;
    --ff-schatten: 0 1px 2px rgba(21, 34, 46, .05), 0 8px 24px rgba(21, 34, 46, .07);
    --ff-breite: 1180px;
    --ff-text-breite: 740px;

    /* Kernvariablen auf die Marke umstellen */
    --navy: var(--ff-nacht);
    --primary-text: var(--ff-gold-text);
    --accent-text: var(--ff-gold-text);
    --font: var(--ff-sans);
}

/* Inhalte nie versteckt: alte Einblend-Klassen neutralisieren */
.reveal, .reveal.visible { opacity: 1 !important; transform: none !important; }

html { scroll-padding-top: 88px; }
body {
    font-family: var(--ff-sans);
    background: var(--ff-papier);
    color: var(--ff-tinte);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-feature-settings: "kern", "liga";
}
a { color: var(--ff-gold-text); }
a:hover { color: var(--ff-nacht); }
:focus-visible { outline: 3px solid var(--ff-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(31, 95, 139, .2); }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ff-breite { max-width: var(--ff-breite); margin: 0 auto; padding: 0 1.5rem; }
.ff-lesespalte { max-width: calc(var(--ff-text-breite) + 3rem); }
.ff-klein { font-family: var(--ff-sans); font-size: .85rem; color: var(--ff-tinte-2); line-height: 1.55; }
.ff-rubrik {
    font-family: var(--ff-sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--ff-gold-text); margin: 0 0 .6rem;
}

/* ---------- Knöpfe ---------- */
.ff-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--ff-sans); font-weight: 600; font-size: .95rem; line-height: 1.2;
    padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--ff-nacht);
    background: var(--ff-nacht); color: var(--ff-elfenbein); cursor: pointer; text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.ff-btn:hover { background: var(--ff-nacht-3); border-color: var(--ff-nacht-3); color: #fff; }
.ff-btn--gold { background: var(--ff-gold); border-color: var(--ff-gold); color: var(--ff-nacht); }
.ff-btn--gold:hover { background: #E5C788; border-color: #E5C788; color: var(--ff-nacht); }
.ff-btn--hell { background: transparent; border-color: rgba(244, 238, 225, .55); color: var(--ff-elfenbein); }
.ff-btn--hell:hover { background: rgba(244, 238, 225, .1); border-color: var(--ff-elfenbein); color: #fff; }
.ff-btn--rand { background: transparent; color: var(--ff-nacht); }
.ff-btn--rand:hover { background: var(--ff-nacht); color: var(--ff-elfenbein); }
.ff-btn--leise { background: var(--ff-weiss); color: var(--ff-tinte); border-color: var(--ff-linie-2); padding: .55rem 1rem; font-size: .88rem; }
.ff-btn--leise:hover { background: var(--ff-papier-2); color: var(--ff-nacht); border-color: var(--ff-gold-2); }
.ff-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ==========================================================================
   KOPF UND NAVIGATION
   ========================================================================== */
.header { background: var(--ff-nacht); border-bottom: 1px solid rgba(232, 133, 122, .22); backdrop-filter: none; }
.header-inner { max-width: var(--ff-breite); height: 72px; padding: 0 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ff-elfenbein); text-decoration: none; }
.logo:hover { color: #fff; }
.logo-mark { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: none; font-size: 0; }
.logo-mark svg { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; color: var(--ff-elfenbein); }
.logo-sub { font-family: var(--ff-sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 238, 225, .62); margin-top: .2rem; }
@media (max-width: 520px) { .header .logo-sub { display: none; } }

.nav { gap: .15rem; font-family: var(--ff-sans); }
.nav a, .nav-gruppe-kopf {
    color: rgba(244, 238, 225, .86); font-size: .93rem; font-weight: 500; padding: .55rem .85rem;
    border-radius: 8px; text-decoration: none;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(244, 238, 225, .07); }
.nav-gruppe { position: relative; }
.nav-gruppe-kopf { display: inline-flex; align-items: center; gap: .35rem; }
.nav-gruppe-kopf::after {
    content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.nav-gruppe--aktiv > .nav-gruppe-kopf { color: var(--ff-gold); }
.nav-unter {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; padding: .5rem;
    background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein);
    box-shadow: 0 18px 40px rgba(13, 27, 42, .18); opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .15s, transform .15s, visibility .15s; z-index: 1100;
}
.nav-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-gruppe:hover .nav-unter, .nav-gruppe:focus-within .nav-unter { opacity: 1; visibility: visible; transform: none; }
.nav .nav-unter a { display: block; color: var(--ff-tinte); padding: .5rem .75rem; font-size: .92rem; border-radius: 6px; }
.nav .nav-unter a:hover { background: var(--ff-papier-2); color: var(--ff-nacht); }
.nav .nav-unter a.active { background: var(--ff-papier-2); color: var(--ff-gold-text); font-weight: 600; }
.nav-cta {
    margin-left: .6rem; background: transparent !important; color: var(--ff-gold) !important;
    border: 1.5px solid rgba(232, 133, 122, .7); border-radius: 999px !important; padding: .5rem 1.1rem !important;
    font-size: .88rem !important;
}
.nav-cta:hover { background: var(--ff-gold) !important; color: var(--ff-nacht) !important; box-shadow: none; transform: none; }

@media (max-width: 1100px) {
    .mobile-toggle { display: flex; position: relative; z-index: 1002; }
    .mobile-toggle span { background: var(--ff-elfenbein); }
    /* Geöffnet: aus den drei Strichen wird ein X, das über dem Menü liegt */
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav {
        display: none; position: fixed; top: 0; right: 0; width: 88%; max-width: 360px; height: 100vh; overflow-y: auto;
        background: var(--ff-nacht); flex-direction: column; align-items: stretch; padding: 4.5rem 1.25rem 2rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, .4); z-index: 1001; gap: .1rem;
    }
    .nav.active { display: flex; }
    .nav-gruppe-kopf { font-family: var(--ff-sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ff-gold); padding: 1rem .5rem .35rem; }
    .nav-gruppe-kopf::after { display: none; }
    .nav-unter { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
    .nav .nav-unter a { color: rgba(244, 238, 225, .9); padding: .5rem .5rem; border-bottom: 1px solid rgba(244, 238, 225, .07); border-radius: 0; }
    .nav .nav-unter a:hover, .nav .nav-unter a.active { background: rgba(244, 238, 225, .06); color: #fff; }
    .nav-cta { margin: 1.25rem 0 0 !important; text-align: center; justify-content: center; }
}

/* ==========================================================================
   STARTSEITE
   ========================================================================== */
.ff-held {
    position: relative; overflow: hidden; color: var(--ff-elfenbein);
    background: radial-gradient(1200px 500px at 70% -10%, rgba(232, 133, 122, .16), transparent 60%),
                linear-gradient(180deg, var(--ff-nacht) 0%, var(--ff-nacht-2) 100%);
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.ff-held-bild { position: absolute; inset: 0; }
.ff-held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ff-held--bild::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(13, 27, 42, .94) 0%, rgba(13, 27, 42, .82) 42%, rgba(13, 27, 42, .38) 100%),
                linear-gradient(0deg, rgba(13, 27, 42, .65) 0%, transparent 45%);
}
.ff-held-inhalt { position: relative; z-index: 2; }
.ff-held-kicker { font-family: var(--ff-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ff-gold); margin-bottom: 1rem; }
.ff-held h1 {
    font-family: var(--ff-serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.06;
    letter-spacing: -.02em; max-width: 13ch; color: #FBF6EA; margin: 0 0 1.1rem;
}
.ff-held-lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.6; max-width: 36rem; color: rgba(244, 238, 225, .88); margin-bottom: 1.8rem; }
.ff-held .ff-countdown { max-width: 34rem; }
.ff-held-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.ff-abschnitt { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.ff-abschnitt--papier { background: var(--ff-papier-2); }
.ff-abschnitt h2 { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.18; letter-spacing: -.015em; color: var(--ff-nacht); margin: 0 0 .75rem; }
.ff-abschnitt-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.ff-abschnitt-kopf > div { max-width: 44rem; }
.ff-abschnitt-kopf p { color: var(--ff-tinte-2); margin: 0; }
.ff-mehr { font-family: var(--ff-sans); font-weight: 600; font-size: .95rem; white-space: nowrap; text-decoration: none; border-bottom: 1.5px solid var(--ff-gold-2); padding-bottom: .15rem; color: var(--ff-nacht); }
.ff-mehr::after { content: " →"; }
.ff-mehr:hover { color: var(--ff-gold-text); }
.ff-zwei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.ff-zwei--bild { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ff-zwei--bild img { border-radius: var(--ff-radius); box-shadow: var(--ff-schatten); }
.ff-kurzantwort .prose p:first-child { font-size: 1.18rem; line-height: 1.65; color: var(--ff-tinte); }
.ff-generator-teaser { background: var(--ff-nacht); color: var(--ff-elfenbein); }
.ff-generator-teaser h2 { color: #FBF6EA; }
.ff-generator-teaser .ff-rubrik { color: var(--ff-gold); }
.ff-generator-teaser p { color: rgba(244, 238, 225, .86); }
.ff-generator-teaser .ff-btn { background: var(--ff-gold); border-color: var(--ff-gold); color: var(--ff-nacht); }
.ff-thema + .ff-thema { padding-top: 0; }
.ff-thema .ff-abschnitt-kopf { border-top: 1px solid var(--ff-linie-2); padding-top: 2rem; }

@media (max-width: 860px) {
    .ff-zwei, .ff-zwei--bild { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ARTIKEL
   ========================================================================== */
.ff-main { display: block; }
.ff-kopf { padding: clamp(2rem, 5vw, 3.5rem) 0 1.75rem; }
/* Kopf, Titelbild und Text auf einer Achse; mit Inhaltsverzeichnis
   (breite Bildschirme) spannt der Kopf über beide Spalten. */
.ff-kopf .ff-breite { max-width: calc(var(--ff-text-breite) + 3rem); }
@media (min-width: 1101px) {
    .ff-artikel--toc .ff-kopf .ff-breite { max-width: calc(var(--ff-text-breite) + 3rem + 18rem); }
}
.ff-brotkrumen { font-family: var(--ff-sans); font-size: .84rem; color: var(--ff-tinte-2); margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.ff-brotkrumen a { color: var(--ff-tinte-2); text-decoration: underline; text-decoration-color: var(--ff-linie-2); text-underline-offset: 3px; }
.ff-brotkrumen a:hover { color: var(--ff-nacht); }
.ff-brotkrumen span[aria-hidden] { color: var(--ff-linie-2); }
.ff-kopf h1 {
    font-family: var(--ff-serif); font-weight: 600; font-size: clamp(2.05rem, 4.6vw, 3.25rem); line-height: 1.12;
    letter-spacing: -.02em; color: var(--ff-nacht); margin: 0 0 1rem; max-width: 22ch;
}
.ff-lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ff-tinte); max-width: var(--ff-text-breite); margin: 0 0 1.25rem; }
.ff-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-family: var(--ff-sans); font-size: .86rem; color: var(--ff-tinte-2); margin: 0; }
.ff-meta span + span::before { content: "·"; margin-right: 1.1rem; color: var(--ff-linie-2); }
@media (max-width: 520px) { .ff-meta span + span::before { content: none; } .ff-meta { gap: .2rem 1rem; } }
.ff-meta a { color: var(--ff-tinte); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ff-gold-2); }

.ff-titelbild-rahmen { max-width: calc(var(--ff-text-breite) + 3rem); margin: 0 auto 2.25rem; padding: 0 1.5rem; }
@media (min-width: 1101px) {
    .ff-artikel--toc .ff-titelbild-rahmen { max-width: calc(var(--ff-text-breite) + 3rem + 18rem); }
}
.ff-titelbild { margin: 0; }
.ff-titelbild img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--ff-radius); box-shadow: var(--ff-schatten); background: var(--ff-papier-2); }
.ff-titelbild figcaption { text-align: right; margin-top: .4rem; }

.ff-raster { max-width: calc(var(--ff-text-breite) + 3rem); margin: 0 auto; padding: 0 1.5rem 4rem; }
.ff-raster--toc { max-width: calc(var(--ff-text-breite) + 3rem + 18rem); display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.ff-seitenspalte { position: sticky; top: 96px; }
.ff-toc { font-family: var(--ff-sans); border-left: 2px solid var(--ff-linie-2); padding-left: 1rem; }
.ff-toc summary { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-gold-text); cursor: pointer; list-style: none; margin-bottom: .6rem; }
.ff-toc summary::-webkit-details-marker { display: none; }
.ff-toc ol { list-style: none; margin: 0; padding: 0; }
.ff-toc li { margin: 0; }
.ff-toc a { display: block; font-size: .88rem; line-height: 1.4; padding: .32rem 0; color: var(--ff-tinte-2); text-decoration: none; }
.ff-toc a:hover, .ff-toc a.aktuell { color: var(--ff-nacht); }
.ff-toc a.aktuell { font-weight: 600; }
@media (max-width: 1100px) {
    .ff-raster--toc { display: block; max-width: calc(var(--ff-text-breite) + 3rem); }
    .ff-seitenspalte { position: static; margin-bottom: 2rem; }
    .ff-toc { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein); padding: .9rem 1.1rem; }
    .ff-toc summary { margin: 0; }
    .ff-toc summary::after { content: " ▾"; }
    .ff-toc[open] summary { margin-bottom: .5rem; }
}

/* ---------- Fließtext ---------- */
.ff-main .prose { color: var(--ff-tinte); font-size: 1.0625rem; line-height: 1.75; }
.ff-main .prose > *:first-child { margin-top: 0; }
.ff-main .prose p { margin: 0 0 1.2rem; }
.ff-main .prose h2 {
    font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.25;
    letter-spacing: -.012em; color: var(--ff-nacht); margin: 3rem 0 1rem; padding: 0; border: 0;
}
.ff-main .prose h2::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--ff-gold); margin-bottom: 1rem; }
.ff-main .prose h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 1.24rem; line-height: 1.35; color: var(--ff-nacht); margin: 2.1rem 0 .7rem; }
.ff-main .prose h4 { font-family: var(--ff-sans); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--ff-nacht); margin: 1.4rem 0 .5rem; }
.ff-main .prose a { color: var(--ff-gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ff-main .prose a:hover { color: var(--ff-nacht); text-decoration-thickness: 2px; }
.ff-main .prose strong { color: var(--ff-nacht); font-weight: 650; }
.ff-main .prose ul, .ff-main .prose ol { margin: 0 0 1.35rem 1.3rem; padding: 0; }
.ff-main .prose li { margin-bottom: .45rem; padding-left: .2rem; }
.ff-main .prose ul li::marker { color: var(--ff-gold-2); }
.ff-main .prose ol li::marker { color: var(--ff-gold-text); font-family: var(--ff-sans); font-weight: 700; }
.ff-main .prose hr { border: 0; border-top: 1px solid var(--ff-linie-2); margin: 2.5rem 0; }

.ff-main .prose blockquote, .ff-main .prose .zitat {
    margin: 1.75rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--ff-gold); background: none;
    color: var(--ff-nacht); font-size: 1.15rem; line-height: 1.6; border-radius: 0;
}
.ff-main .prose blockquote p { margin-bottom: .5rem; }
.ff-main .prose blockquote footer, .ff-main .prose blockquote cite { font-family: var(--ff-sans); font-size: .85rem; font-style: normal; color: var(--ff-tinte-2); }
.ff-main .prose blockquote footer::before { content: "— "; }

.ff-main .prose figure, .ff-bild { margin: 2rem 0; }
.ff-bild img { border-radius: var(--ff-radius-klein); width: 100%; background: var(--ff-papier-2); }
.ff-main .prose figcaption, .ff-bild figcaption, .ff-titelbild figcaption { font-family: var(--ff-sans); font-size: .82rem; color: var(--ff-tinte-2); margin-top: .5rem; text-align: left; }
.ff-ki { display: inline-block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ff-tinte-2); border: 1px solid var(--ff-linie-2); border-radius: 4px; padding: 0 .35rem; margin-left: .35rem; vertical-align: 1px; }

/* Tabellen */
.tabelle { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein); background: var(--ff-weiss); -webkit-overflow-scrolling: touch; }
.ff-main .prose table, .tabelle table { width: 100%; border-collapse: collapse; margin: 0; font-family: var(--ff-sans); font-size: .92rem; line-height: 1.5; }
.ff-main .prose caption, .tabelle caption { caption-side: top; text-align: left; padding: .85rem 1rem .6rem; font-family: var(--ff-serif); font-size: .98rem; color: var(--ff-nacht); font-weight: 600; }
.ff-main .prose th, .tabelle th { background: var(--ff-papier-2); color: var(--ff-nacht); font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-align: left; padding: .65rem 1rem; border-bottom: 1px solid var(--ff-linie-2); vertical-align: top; }
.ff-main .prose tbody th { background: none; font-size: .92rem; font-weight: 650; letter-spacing: 0; border-bottom: 1px solid var(--ff-linie); }
.ff-main .prose td, .tabelle td { padding: .65rem 1rem; border-bottom: 1px solid var(--ff-linie); vertical-align: top; }
.ff-main .prose tr:last-child > * { border-bottom: 0; }
.tabelle--breit table { min-width: 860px; }

/* Kästen */
.ff-main .prose .kasten, .ff-kern {
    background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius);
    padding: 1.25rem 1.4rem; margin: 1.75rem 0; box-shadow: 0 1px 2px rgba(13, 27, 42, .04);
}
.ff-main .prose .kasten h3, .ff-main .prose .kasten h4 { margin-top: 0; }
.ff-main .prose .kasten > :last-child { margin-bottom: 0; }
.ff-main .prose .kasten--tipp { border-left: 4px solid var(--ff-gold); }
.ff-main .prose .kasten--hinweis { border-left: 4px solid var(--ff-rot); background: #FDF8F6; }
.ff-kern { background: var(--ff-nacht); border: 0; color: var(--ff-elfenbein); }
.ff-kern-titel { font-family: var(--ff-sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-gold); margin: 0 0 .6rem !important; }
.ff-kern ul { margin: 0 0 0 1.1rem !important; }
.ff-kern li { margin-bottom: .35rem !important; }
.ff-kern li::marker { color: var(--ff-gold) !important; }

/* Schritte */
.ff-main .prose ol.schritte { list-style: none; margin-left: 0; counter-reset: schritt; }
.ff-main .prose ol.schritte > li { counter-increment: schritt; position: relative; padding-left: 2.9rem; margin-bottom: 1rem; }
.ff-main .prose ol.schritte > li::before {
    content: counter(schritt); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--ff-nacht); color: var(--ff-gold); font-family: var(--ff-sans); font-weight: 700; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}

/* Gedicht */
.ff-main .prose .gedicht { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.4rem 1.6rem; margin: 1.75rem 0; }
.ff-main .prose .gedicht h3 { margin-top: 0; }
.ff-main .prose .gedicht p { font-size: 1.08rem; line-height: 1.75; }
.ff-main .prose .gedicht-quelle { font-family: var(--ff-sans); font-size: .84rem !important; color: var(--ff-tinte-2); margin: 0 !important; }

/* Quellen */
.ff-main .prose ul.quellen { font-family: var(--ff-sans); font-size: .86rem; line-height: 1.55; color: var(--ff-tinte-2); }
.ff-main .prose ul.quellen li { margin-bottom: .4rem; }

/* Fragen (Kern-Markup) */
.ff-main .faq-block { margin-top: 3rem; }
.ff-main .faq-block .section-heading { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.45rem, 2.3vw, 1.75rem); color: var(--ff-nacht); }
.ff-main .faq-item { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein); }
.ff-main .faq-item[open] { border-color: var(--ff-gold-2); }
.ff-main .faq-q { font-family: var(--ff-serif); font-weight: 600; font-size: 1.04rem; color: var(--ff-nacht); }
.ff-main .faq-q::after { color: var(--ff-gold-text); }
.ff-main .faq-q:hover { color: var(--ff-gold-text); }
.ff-main .faq-a { font-size: 1rem; color: var(--ff-tinte); line-height: 1.7; }

/* Autorenbox */
.ff-autorbox {
    display: flex; gap: 1.1rem; align-items: flex-start; margin: 3rem 0 0; padding: 1.4rem 1.5rem;
    background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius);
}
.ff-autor-bild { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ff-autor-initialen { display: flex; align-items: center; justify-content: center; background: var(--ff-nacht); color: var(--ff-gold); font-family: var(--ff-serif); font-weight: 600; font-size: 1.4rem; letter-spacing: .02em; }
.ff-autorbox p { margin: 0 0 .45rem !important; }
.ff-autor-name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.08rem; color: var(--ff-nacht); }
.ff-autor-name a { color: var(--ff-nacht) !important; text-decoration: none !important; border-bottom: 1px solid var(--ff-gold-2); }
.ff-autor-name span { display: block; font-family: var(--ff-sans); font-weight: 500; font-size: .84rem; color: var(--ff-tinte-2); }

/* Passt dazu und Themenkarten */
.ff-passt { background: var(--ff-papier-2); padding: 3rem 0 3.5rem; border-top: 1px solid var(--ff-linie); }
.ff-passt h2 { font-family: var(--ff-serif); font-weight: 600; font-size: 1.6rem; color: var(--ff-nacht); margin: 0 0 1.25rem; }
.ff-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.ff-themenkarte {
    position: relative; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein);
    padding: 1.1rem 1.2rem 1.15rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ff-themenkarte:hover { border-color: var(--ff-gold-2); box-shadow: var(--ff-schatten); transform: translateY(-2px); }
.ff-themenkarte .ff-rubrik { font-size: .68rem; margin-bottom: .35rem; }
.ff-themenkarte-link { font-family: var(--ff-serif); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ff-nacht); text-decoration: none; }
.ff-themenkarte-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ff-themenkarte p { margin: .4rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--ff-tinte-2); }

/* ==========================================================================
   WERKZEUGE UND SAMMLUNGEN
   ========================================================================== */

/* Countdown */
.ff-countdown { font-family: var(--ff-sans); background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 133, 122, .38); border-radius: var(--ff-radius); padding: 1.1rem 1.25rem 1rem; color: var(--ff-elfenbein); }
.ff-main .prose .ff-countdown, .ff-text .ff-countdown { background: var(--ff-nacht); color: var(--ff-elfenbein); margin: 1.75rem 0; }
.ff-countdown-titel { font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-gold); margin: 0 0 .75rem !important; }
.ff-countdown-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.ff-countdown-zahlen div { text-align: center; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: .55rem .25rem .45rem; }
.ff-countdown-zahlen span { display: block; font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; color: #FBF6EA; }
.ff-countdown-zahlen small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 238, 225, .7); margin-top: .2rem; }
.ff-countdown-fuss { font-size: .8rem !important; color: rgba(244, 238, 225, .7); margin: .75rem 0 0 !important; }
.ff-countdown-fuss button { color: var(--ff-gold); }
.ff-countdown-fest { font-family: var(--ff-serif); font-size: 1.6rem !important; color: var(--ff-gold); margin: .5rem 0 0 !important; }
.ff-countdown--gross { padding: clamp(1.25rem, 3vw, 2rem); }
.ff-countdown--gross .ff-countdown-zahlen span { font-size: clamp(2.4rem, 8vw, 4.6rem); }
.ff-countdown:fullscreen { display: flex; flex-direction: column; justify-content: center; background: var(--ff-nacht); padding: 6vw; border: 0; border-radius: 0; }
.ff-countdown:fullscreen .ff-countdown-zahlen span { font-size: 11vw; }
.ff-countdown:fullscreen .ff-countdown-titel { font-size: 1.6vw !important; text-align: center; }
.ff-countdown:fullscreen .ff-countdown-zahlen small { font-size: 1.4vw; }
.ff-countdown:fullscreen .ff-countdown-fest { font-size: 6vw !important; text-align: center; }

/* Weltzeiten */
[data-weltzeiten] tr.ff-hier th, [data-weltzeiten] tr.ff-hier td { background: #FBF4E4; }
[data-weltzeiten] tr.ff-schon th, [data-weltzeiten] tr.ff-schon td { color: var(--ff-tinte-2); }
[data-weltzeiten] .ff-status { font-size: .8rem; white-space: nowrap; color: var(--ff-gruen); font-weight: 600; }

/* Filter und Suche */
.ff-filter { display: none; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin: 1.5rem 0; padding: .9rem 1rem; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein); font-family: var(--ff-sans); }
.ff-js .ff-filter { display: flex; }
.ff-filter-gruppe { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.ff-filter-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-tinte-2); margin-right: .3rem; }
.ff-filter button { font: 600 .85rem var(--ff-sans); padding: .38rem .8rem; border-radius: 999px; border: 1px solid var(--ff-linie-2); background: var(--ff-papier); color: var(--ff-tinte); cursor: pointer; }
.ff-filter button[aria-pressed="true"] { background: var(--ff-nacht); color: var(--ff-elfenbein); border-color: var(--ff-nacht); }
.ff-filter-zahl { font-family: var(--ff-sans); font-size: .84rem; color: var(--ff-tinte-2); margin: 0 !important; }
.ff-suche { display: flex; flex-direction: column; gap: .3rem; font-family: var(--ff-sans); font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ff-tinte-2); margin: 1rem 0; }
.ff-suche input { font: 400 1rem var(--ff-sans); padding: .7rem .9rem; border: 1px solid var(--ff-linie-2); border-radius: 10px; background: var(--ff-weiss); color: var(--ff-tinte); max-width: 28rem; }
.ff-suche input:focus { outline: 3px solid rgba(232, 133, 122, .55); border-color: var(--ff-gold-2); }
.ff-ausgeblendet { display: none !important; }

/* Sprüche und Nachrichten */
.ff-main .prose ul.ff-sprueche, .ff-main .prose ul.ff-nachrichten, ul.ff-sprueche, ul.ff-nachrichten {
    list-style: none; margin: 1.25rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .85rem;
}
.ff-spruch, .ff-nachricht {
    display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; margin: 0 !important; padding: 1.1rem 1.2rem .8rem !important;
    background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein);
}
.ff-spruch .ff-text, .ff-nachricht .ff-text { margin: 0 !important; font-size: 1.04rem; line-height: 1.6; color: var(--ff-tinte); }
.ff-nachricht--brief .ff-text { font-family: var(--ff-sans); font-size: .95rem; }
.ff-nachrichten--brief { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important; }
.ff-spruch-fuss { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-family: var(--ff-sans); border-top: 1px solid var(--ff-linie); padding-top: .6rem; }
.ff-marke { font-family: var(--ff-sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ff-tinte-2); }
.ff-marke--ja { color: var(--ff-gruen); }
.ff-marke--nein { color: var(--ff-rot); }
.ff-marke--teils { color: var(--ff-gold-text); }
.ff-kopieren { font: 600 .8rem var(--ff-sans); color: var(--ff-nacht); background: var(--ff-papier-2); border: 1px solid var(--ff-linie-2); border-radius: 999px; padding: .32rem .8rem; cursor: pointer; margin-left: auto; }
.ff-kopieren:hover { border-color: var(--ff-gold-2); }
.ff-kopieren.ok { background: var(--ff-gruen); border-color: var(--ff-gruen); color: #fff; }
.ff-wa { font-size: .82rem; font-weight: 600; text-decoration: none !important; color: var(--ff-gruen) !important; }
.ff-sprueche--start { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; }

/* Galerie */
.ff-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem; margin: 1.25rem 0 .5rem; }
.ff-galerie--start { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 1000px) { .ff-galerie--start { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ff-galerie, .ff-galerie--start { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
.ff-karte { margin: 0 !important; display: flex; flex-direction: column; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius-klein); overflow: hidden; }
.ff-karte-bild { display: block; line-height: 0; }
.ff-karte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 !important; transition: transform .35s ease; }
.ff-karte:hover img { transform: scale(1.025); }
.ff-karte figcaption { padding: .65rem .8rem .75rem; margin: 0 !important; display: flex; flex-direction: column; gap: .35rem; font-family: var(--ff-sans); text-align: left; }
.ff-karte-titel { font-size: .86rem; line-height: 1.35; color: var(--ff-tinte); font-weight: 600; }
.ff-karte-aktionen { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .78rem; }
.ff-karte-aktionen a { color: var(--ff-gold-text) !important; font-weight: 600; text-decoration: none !important; }
.ff-karte-aktionen a:hover { text-decoration: underline !important; }
.ff-galerie-zahl { font-family: var(--ff-sans); font-size: .82rem !important; color: var(--ff-tinte-2); margin: .5rem 0 2rem !important; }

/* Wachsgieß-Lexikon */
.ff-alphabet { display: flex; flex-wrap: wrap; gap: .25rem; font-family: var(--ff-sans); margin: .5rem 0 1rem; }
.ff-alphabet a, .ff-alphabet span { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 6px; font-weight: 700; font-size: .86rem; }
.ff-alphabet a { background: var(--ff-weiss); border: 1px solid var(--ff-linie-2); color: var(--ff-nacht) !important; text-decoration: none !important; }
.ff-alphabet a:hover { background: var(--ff-nacht); color: var(--ff-gold) !important; }
.ff-alphabet span { color: var(--ff-linie-2); }
.ff-lexikon-gruppe h3 { font-size: 1.5rem !important; color: var(--ff-gold-text) !important; border-bottom: 1px solid var(--ff-linie); padding-bottom: .3rem; }
.ff-lexikon-gruppe dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .1rem 1.75rem; margin: .5rem 0 1rem; }
.ff-eintrag { padding: .6rem 0; border-bottom: 1px dashed var(--ff-linie); }
.ff-eintrag dt { font-weight: 650; color: var(--ff-nacht); }
.ff-eintrag dd { margin: .15rem 0 0; font-size: .98rem; line-height: 1.55; color: var(--ff-tinte); }

/* Checkliste */
.ff-checkliste { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.25rem 1.4rem; margin: 1.75rem 0; }
.ff-check-kopf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-family: var(--ff-sans); border-bottom: 1px solid var(--ff-linie); padding-bottom: .9rem; margin-bottom: .5rem; }
.ff-check-stand { margin: 0 !important; font-weight: 700; color: var(--ff-nacht); }
.ff-check-knoepfe { display: flex; gap: .5rem; flex-wrap: wrap; }
.ff-check-gruppe h3 { font-size: 1.08rem !important; margin: 1.5rem 0 .5rem !important; color: var(--ff-gold-text) !important; }
.ff-main .prose .ff-check-gruppe ul { list-style: none; margin: 0; }
.ff-check-gruppe li { padding: .35rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--ff-papier-2); }
.ff-check-gruppe label, .ff-check-zeile { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.ff-check-zeile label { display: inline; }
.ff-check-gruppe input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--ff-nacht); }
.ff-check-gruppe input:checked + span, .ff-check-gruppe input:checked + label { color: var(--ff-tinte-2); text-decoration: line-through; text-decoration-color: var(--ff-gold-2); }

/* Grußkarten-Generator */
.ff-generator { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.75rem; align-items: start; margin: 1.75rem 0; padding: 1.25rem; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); }
.ff-main .prose .ff-generator { margin-left: 0; margin-right: 0; }
.ff-gen-vorschau { position: sticky; top: 92px; }
.ff-gen-vorschau canvas { width: 100%; height: auto; border-radius: var(--ff-radius-klein); background: var(--ff-papier-2); box-shadow: var(--ff-schatten); }
.ff-gen-form { font-family: var(--ff-sans); }
.ff-gen-form fieldset { border: 0; margin: 0 0 1.1rem; padding: 0; }
.ff-gen-form legend { font-family: var(--ff-serif); font-weight: 600; font-size: 1.05rem; color: var(--ff-nacht); margin-bottom: .6rem; }
.ff-gen-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .86rem; font-weight: 600; color: var(--ff-tinte); margin-bottom: .75rem; }
.ff-gen-form small { font-weight: 400; color: var(--ff-tinte-2); }
.ff-gen-form input[type=text], .ff-gen-form textarea, .ff-gen-form select, .ff-rechner select, .ff-rechner input[type=number] {
    font: 400 1rem var(--ff-sans); padding: .6rem .75rem; border: 1px solid var(--ff-linie-2); border-radius: 9px; background: var(--ff-papier); color: var(--ff-tinte); width: 100%;
}
/* 48 Motive: eigener Scrollbereich, die angeschnittene Reihe zeigt, dass es weitergeht */
.ff-gen-motive { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: .5rem; position: relative; max-height: 16rem; overflow-y: auto; overscroll-behavior: contain; padding: 5px; margin: -5px; scrollbar-gutter: stable; }
.ff-gen-motiv { margin: 0 !important; position: relative; cursor: pointer; }
.ff-gen-motiv input { position: absolute; opacity: 0; }
.ff-gen-motiv img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; border: 2px solid transparent; }
.ff-gen-motiv input:checked + img { border-color: var(--ff-gold-2); box-shadow: 0 0 0 2px var(--ff-nacht); }
.ff-gen-motiv input:focus-visible + img { outline: 3px solid var(--ff-gold); outline-offset: 2px; }
.ff-gen-reihe { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-bottom: .6rem; font-size: .88rem; }
.ff-gen-reihe > span { font-weight: 700; min-width: 4.5rem; }
.ff-gen-reihe label { flex-direction: row; align-items: center; gap: .35rem; font-weight: 500; margin: 0; }
.ff-gen-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 .75rem; }
@media (max-width: 860px) { .ff-generator { grid-template-columns: 1fr; } .ff-gen-vorschau { position: static; max-width: 420px; } }

/* Mengenrechner */
.ff-rechner { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.25rem 1.4rem; margin: 1.75rem 0; font-family: var(--ff-sans); }
.ff-rechner-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .75rem 1rem; align-items: end; }
.ff-rechner-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .84rem; font-weight: 700; color: var(--ff-tinte); }
.ff-rechner-fleisch { flex-direction: row !important; align-items: center; gap: .45rem !important; padding-bottom: .7rem; }
.ff-rechner-ergebnis table { margin-top: 1rem !important; }
.ff-rechner-ergebnis td:last-child { text-align: right; font-weight: 700; color: var(--ff-nacht); white-space: nowrap; }
.ff-rechner-ergebnis p { font-size: .88rem; color: var(--ff-tinte-2); margin: .75rem 0 0 !important; }
@media (max-width: 640px) { .ff-rechner-form { grid-template-columns: 1fr 1fr; } }

/* Rezeptkarte */
.ff-rezept { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); overflow: hidden; margin: 1.75rem 0 2.25rem; }
.ff-rezept-kopf { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; padding: 1.1rem; border-bottom: 1px solid var(--ff-linie); }
.ff-rezept-bild { margin: 0 !important; }
.ff-rezept-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ff-rezept-titel h3 { margin: .1rem 0 .4rem !important; font-size: 1.35rem !important; }
.ff-rezept-titel p { font-size: .98rem; margin-bottom: .6rem !important; }
.ff-fakten { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: .5rem 0 0; font-family: var(--ff-sans); }
.ff-fakten dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-tinte-2); }
.ff-fakten dd { margin: 0; font-weight: 700; color: var(--ff-nacht); }
.ff-rezept-inhalt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; padding: .5rem 1.4rem 1rem; }
.ff-rezept-inhalt ul, .ff-rezept-inhalt ol { font-size: .98rem; }
.ff-rezept-tipp { margin: 0 !important; padding: .9rem 1.4rem 1.1rem; background: var(--ff-papier); border-top: 1px solid var(--ff-linie); font-size: .97rem; }
@media (max-width: 760px) { .ff-rezept-kopf, .ff-rezept-inhalt { grid-template-columns: 1fr; } }

.ff-drucken-zeile { margin: 1.5rem 0 !important; }
.ff-leer { font-style: normal; color: var(--ff-tinte-2); }

/* ==========================================================================
   FUSSBEREICH
   ========================================================================== */
.footer { background: var(--ff-nacht); color: var(--ff-elfenbein); padding: 3.5rem 1.5rem 1.75rem; border-top: 3px solid var(--ff-gold-2); font-family: var(--ff-sans); }
.footer-inner { max-width: var(--ff-breite); }
.footer-top { border-bottom: 1px solid rgba(244, 238, 225, .1); gap: 2.5rem; }
.footer-brand { max-width: 300px; }
.footer-brand p { color: rgba(244, 238, 225, .72); font-size: .9rem; }
.footer-links-group { gap: 2.5rem; }
.footer-col { min-width: 150px; }
.footer-col h2 { font-family: var(--ff-sans); color: var(--ff-gold); font-size: .72rem; letter-spacing: .14em; }
.footer-col a { color: rgba(244, 238, 225, .8); font-size: .9rem; padding: .22rem 0; }
.footer-col a:hover { color: #fff; }
.footer-copy, .footer-legal a { color: rgba(244, 238, 225, .65); }
.footer-copy a { color: var(--ff-gold); }
.footer-legal { align-items: center; }
.footer-consent { background: none; border: 0; padding: 0; font: inherit; font-size: .78rem; color: rgba(244, 238, 225, .65); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-consent:hover { color: #fff; }

/* ==========================================================================
   DRUCK
   ========================================================================== */
@media print {
    .header, .footer, .ff-seitenspalte, .ff-passt, .ff-filter, .ff-kopieren, .ff-check-knoepfe, .ff-drucken-zeile,
    .ff-titelbild-rahmen, .ff-autorbox, .faq-block, .ff-wa, .skip-link, ins.adsbygoogle, .google-auto-placed { display: none !important; }
    body { background: #fff; font-size: 11pt; }
    .ff-raster, .ff-raster--toc { display: block; max-width: none; padding: 0; }
    .ff-kopf { padding: 0 0 1rem; }
    .ff-main .prose a { color: inherit; text-decoration: none; }
    .ff-checkliste, .ff-spruch, .ff-nachricht, .kasten, .ff-rezept { break-inside: avoid; box-shadow: none; }
    .ff-check-gruppe input { -webkit-appearance: none; appearance: none; border: 1.5px solid #333; border-radius: 3px; }
}

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

/* ==========================================================================
   FEIERTAGE-FERIEN.COM – BAUSTEINE (Datumskarte, Terminliste, Kachelkarte,
   Ferienwelle, Brückentage, Werkzeuge)
   ========================================================================== */
.ff-main h1, .ff-main h2, .ff-main h3 { font-family: var(--ff-serif); }
.ff-main .prose a, .ff-text a { color: var(--ff-blau); text-underline-offset: 3px; }
.ff-main .prose a:hover { color: var(--ff-nacht); }
.ff-rubrik { color: var(--ff-blau); }
.header { border-bottom: 3px solid var(--ff-rot); }

/* ---------- Startseite: Held ---------- */
.ff-start .ff-held { position: relative; background: var(--ff-nacht); color: var(--ff-elfenbein); padding: clamp(2.5rem, 6vw, 4.5rem) 0; min-height: 0; display: block; }
.ff-start .ff-held::before { display: none; }
.ff-held-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ff-held-text h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.ff-held-kicker { color: var(--ff-gold); }
.ff-held-lead { color: rgba(245, 242, 234, .86); }
.ff-start .ff-held-bild { position: static; inset: auto; }
.ff-held-bild figure { margin: 0; }
.ff-start .ff-held-bild img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ff-radius); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.ff-held-bild figcaption { color: rgba(245, 242, 234, .6); font-size: .78rem; margin-top: .5rem; }
.ff-heute { background: rgba(255, 255, 255, .06); border: 1px solid rgba(232, 133, 122, .35); border-radius: var(--ff-radius); padding: 1rem 1.2rem; font-size: .98rem; max-width: 40rem; }
.ff-heute p { margin: 0 0 .35rem; color: rgba(245, 242, 234, .9); }
.ff-heute strong { color: #fff; }
.ff-heute-land { display: inline-flex; align-items: center; gap: .6rem; font-size: .88rem; color: rgba(245, 242, 234, .75); margin-top: .35rem; }
.ff-heute-land select, .ff-werkzeug select, .ff-werkzeug input { font: inherit; font-size: .95rem; padding: .45rem .6rem; border-radius: 8px; border: 1px solid var(--ff-linie-2); background: #fff; color: var(--ff-tinte); }
@media (max-width: 860px) { .ff-held-raster { grid-template-columns: minmax(0, 1fr); } .ff-start .ff-held-bild { order: -1; } }
.ff-held-text, .ff-held-bild, .ff-kopf-text { min-width: 0; }
.ff-held-kicker { overflow-wrap: anywhere; }
.ff-heute-land { flex-wrap: wrap; }

/* ---------- Artikelkopf mit Datumskarte ---------- */
.ff-kopf--karte .ff-breite { max-width: var(--ff-breite); }
.ff-kopf-raster { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.ff-kopf-raster .ff-kopf-text { max-width: calc(var(--ff-text-breite) + 2rem); }
@media (max-width: 760px) { .ff-kopf-raster { grid-template-columns: minmax(0, 1fr); } .ff-kopf-karte { order: -1; max-width: 300px; } }

.ff-datumskarte { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: 16px; box-shadow: var(--ff-schatten); padding: 1.1rem 1.1rem 1rem; text-align: center; font-family: var(--ff-sans); position: relative; overflow: hidden; }
.ff-datumskarte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ff-salbei); }
.ff-datumskarte.ff-art--bund::before, .ff-datumskarte.ff-art--regional::before { background: var(--ff-rot); }
.ff-datumskarte p { margin: 0; }
.ff-dk-name { font-weight: 700; font-size: .95rem; color: var(--ff-nacht); margin-top: .4rem !important; }
.ff-dk-tag { font-family: var(--ff-serif); font-weight: 600; font-size: 4.4rem; line-height: 1; letter-spacing: -.03em; color: var(--ff-salbei); margin: .35rem 0 .15rem !important; font-variant-numeric: lining-nums; }
.ff-art--bund .ff-dk-tag, .ff-art--regional .ff-dk-tag { color: var(--ff-rot); }
.ff-dk-monat { font-family: var(--ff-serif); font-size: 1.15rem; color: var(--ff-nacht); }
.ff-dk-wt { color: var(--ff-tinte-2); font-size: .92rem; }
.ff-dk-zusatz { color: var(--ff-tinte-2); font-size: .82rem; margin-top: .15rem; }
.ff-dk-chip { display: inline-block; margin-top: .7rem !important; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--ff-salbei-hell); color: var(--ff-salbei); }
.ff-art--bund .ff-dk-chip { background: var(--ff-rot); color: #fff; }
.ff-art--regional .ff-dk-chip { background: var(--ff-rot-hell); color: var(--ff-rot); border: 1px solid rgba(179, 38, 30, .35); }
.ff-dk-in { margin-top: .6rem !important; font-size: .85rem; color: var(--ff-tinte-2); }

/* ---------- Terminliste ---------- */
.ff-terminliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ff-termin { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .9rem; align-items: center; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: 12px; padding: .6rem .85rem .6rem .6rem; }
.ff-mini { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 10px; border: 1.5px solid var(--ff-salbei); color: var(--ff-salbei); font-family: var(--ff-sans); line-height: 1; }
.ff-art--bund .ff-mini { background: var(--ff-rot-hell); border: 2px solid var(--ff-rot); color: var(--ff-rot); }
.ff-art--regional .ff-mini { border: 1.5px solid var(--ff-rot); color: var(--ff-rot); }
.ff-mini-tag { font-family: var(--ff-serif); font-weight: 600; font-size: 1.45rem; }
.ff-mini-mon { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.ff-termin-text { display: flex; flex-direction: column; min-width: 0; }
.ff-termin-name { font-family: var(--ff-serif); font-weight: 600; font-size: 1.08rem; color: var(--ff-nacht); }
.ff-termin-name a { color: inherit; text-decoration: none; }
.ff-termin-name a:hover { text-decoration: underline; }
.ff-termin-info { font-size: .85rem; color: var(--ff-tinte-2); }
.ff-bt-hinweis { color: var(--ff-ocker-text); font-weight: 600; }
.ff-termin-in { font-size: .82rem; font-weight: 600; color: var(--ff-tinte-2); white-space: nowrap; }
.ff-vorbei, .ff-land-aus { display: none !important; }
.ff-war td, .ff-war th { opacity: .5; }
.ff-rechenweg summary { cursor: pointer; font-size: .9rem; color: var(--ff-blau); }

/* ---------- Kachelkarte ---------- */
.ff-kachelkarte { margin: 0; }
.ff-kachel { width: 100%; max-width: 270px; height: auto; display: block; }
.ff-k { fill: #fff; stroke: var(--ff-linie-2); stroke-width: 1.2; }
.ff-k--voll { fill: var(--ff-rot-hell); stroke: var(--ff-rot); stroke-width: 2; }
.ff-k--teil { fill: #fff; stroke: var(--ff-rot); stroke-width: 1.4; stroke-dasharray: 4 3; }
.ff-k--ferien { fill: var(--ff-blau); stroke: var(--ff-blau); }
.ff-k--bald { fill: var(--ff-blau-hell); stroke: var(--ff-blau); stroke-width: 1.4; }
.ff-kt { font-family: var(--ff-sans); font-size: 13px; font-weight: 600; fill: var(--ff-tinte-2); }
.ff-kt--an { fill: var(--ff-nacht); }
.ff-k--ferien + .ff-kt { fill: #fff; }
.ff-kachel a:hover .ff-k { stroke: var(--ff-nacht); stroke-width: 2.4; }
.ff-kachelkarte figcaption { font-size: .85rem; color: var(--ff-tinte-2); margin-top: .5rem; }
.ff-kachel-legende { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .4rem; }
.ff-lg { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; }
.ff-lg::before { content: ""; width: .85rem; height: .85rem; border-radius: 3px; border: 1.5px solid var(--ff-linie-2); background: #fff; }
.ff-lg--voll::before { background: var(--ff-rot-hell); border-color: var(--ff-rot); }
.ff-lg--teil::before { border: 1.5px dashed var(--ff-rot); }
.ff-lg--ferien::before { background: var(--ff-blau); border-color: var(--ff-blau); }
.ff-lg--bald::before { background: var(--ff-blau-hell); border-color: var(--ff-blau); }
.ff-geltung { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: center; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.ff-geltung-text { margin: 0 !important; }
@media (max-width: 620px) { .ff-geltung { grid-template-columns: 1fr; } }

/* ---------- Schulferien jetzt, Ferienwelle ---------- */
.ff-jetzt { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.ff-jetzt-titel { font-family: var(--ff-serif); font-weight: 600; font-size: 1.15rem; color: var(--ff-nacht); margin: 0 0 .4rem; }
.ff-jetzt-liste { margin: 0 0 1.1rem; padding-left: 1.1rem; }
.ff-jetzt-liste li { margin: .2rem 0; }
.ff-jetzt-liste a { color: var(--ff-blau); font-weight: 600; }
@media (max-width: 760px) { .ff-jetzt { grid-template-columns: 1fr; } }
.ff-ferienwelle { margin: 1.5rem 0; }
.ff-welle-rahmen { overflow-x: auto; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: .75rem; }
.ff-welle { width: 100%; min-width: 640px; height: auto; display: block; }
.ff-w-raster { stroke: var(--ff-linie); stroke-width: 1; }
.ff-w-monat { font-family: var(--ff-sans); font-size: 10px; fill: var(--ff-tinte-2); }
.ff-w-land { font-family: var(--ff-sans); font-size: 10.5px; font-weight: 600; fill: var(--ff-nacht); }
.ff-w-ferien { fill: var(--ff-blau); opacity: .85; }
.ff-w-feiertag { fill: var(--ff-rot); }
.ff-w-heute { stroke: var(--ff-ocker); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ff-w-heute-t { font-family: var(--ff-sans); font-size: 9.5px; font-weight: 600; fill: var(--ff-ocker-text); }
.ff-ferienwelle figcaption { font-size: .82rem; color: var(--ff-tinte-2); margin-top: .5rem; }

/* ---------- Tabellen der Bausteine ---------- */
.ff-main .tabelle td, .ff-main .tabelle th { font-variant-numeric: tabular-nums; }
.ff-matrix td { text-align: center; padding-left: .35rem !important; padding-right: .35rem !important; }
.ff-matrix thead th { font-size: .78rem; }
/* Spalte mit den Feiertagen bleibt beim seitlichen Wischen stehen */
.ff-matrix tbody th[scope="row"], .ff-matrix thead th:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--ff-weiss);
    box-shadow: 1px 0 0 var(--ff-linie-2);
}
.ff-matrix .ff-summe th[scope="row"] { background: var(--ff-weiss); }
.ff-ja span { color: var(--ff-rot); font-size: 1.05rem; }
.ff-teil span { color: var(--ff-rot); opacity: .75; }
.ff-nein span { color: var(--ff-linie-2); }
.ff-summe th, .ff-summe td { font-weight: 700; border-top: 2px solid var(--ff-linie-2); }
.ff-we td, .ff-we th { color: var(--ff-tinte-2); }
.ff-bt strong { color: var(--ff-ocker-text); white-space: nowrap; }
.ff-bt-leer { background: var(--ff-papier-2); border-radius: var(--ff-radius-klein); padding: .8rem 1rem; }

/* ---------- Brückentage-Karten (Startseite) ---------- */
.ff-bt-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.ff-bt-karte { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.1rem 1.2rem; }
.ff-bt-karte p { margin: 0 0 .25rem; }
.ff-bt-rechnung { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--ff-nacht); }
.ff-bt-rechnung strong { color: var(--ff-ocker-text); }
.ff-bt-zeit { font-weight: 600; }
.ff-bt-anlass { font-size: .88rem; color: var(--ff-tinte-2); }
.ff-bt-leiste { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .75rem; }
.ff-tag { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 34px; height: 40px; border-radius: 7px; font-family: var(--ff-sans); font-weight: 700; font-size: .9rem; line-height: 1; background: var(--ff-papier-2); color: var(--ff-tinte-2); border: 1px solid var(--ff-linie); }
.ff-tag small { font-weight: 500; font-size: .62rem; margin-bottom: .15rem; }
.ff-tag--fei { background: var(--ff-rot-hell); border: 2px solid var(--ff-rot); color: var(--ff-rot); }
.ff-tag--url { background: var(--ff-ocker-hell); border: 2px solid var(--ff-ocker); color: var(--ff-ocker-text); }

/* ---------- Jetzt aktuell ---------- */
.ff-aktuell { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.ff-aktuell-karte { position: relative; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 0 0 1rem; overflow: hidden; }
.ff-aktuell-karte > *:not(.ff-aktuell-bild) { margin-left: 1.1rem; margin-right: 1.1rem; }
.ff-aktuell-bild img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ff-aktuell-datum { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-rot); margin-top: .9rem !important; margin-bottom: .2rem !important; }
.ff-aktuell-karte p { font-size: .93rem; color: var(--ff-tinte-2); margin-bottom: 0; }

/* ---------- Jahreslauf, Jahre, Länder ---------- */
.ff-jahreslauf { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2.25rem 0 1rem; }
.ff-jahreslauf a { flex: 1 1 200px; display: flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: 12px; text-decoration: none !important; color: var(--ff-nacht) !important; font-family: var(--ff-serif); font-weight: 600; }
.ff-jahreslauf a span { font-family: var(--ff-sans); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ff-blau); }
.ff-jahreslauf a:hover { border-color: var(--ff-rot); }
.ff-jl-nach { text-align: right; align-items: flex-end; }
.ff-jl-mitte { text-align: center; align-items: center; }
.ff-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ff-chips a { display: inline-flex; flex-direction: column; padding: .55rem .9rem; border-radius: 10px; background: var(--ff-weiss); border: 1px solid var(--ff-linie); text-decoration: none !important; color: var(--ff-nacht) !important; font-weight: 600; }
.ff-chips a small { font-weight: 500; color: var(--ff-tinte-2); }
.ff-chips a:hover { border-color: var(--ff-rot); }
.ff-chips .ff-chip-aktiv { display: inline-flex; flex-direction: column; padding: .55rem .9rem; border-radius: 10px; background: var(--ff-nacht); border: 1px solid var(--ff-nacht); color: var(--ff-elfenbein); font-weight: 600; }
.ff-chips .ff-chip-aktiv small { font-weight: 500; color: rgba(251, 249, 244, .75); }
.ff-modul { margin-top: 2.5rem; }
.ff-zwei-spalten { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.ff-link-liste { margin: 0; padding-left: 1.1rem; }
@media (max-width: 620px) { .ff-zwei-spalten { grid-template-columns: 1fr; } }

/* ---------- Countdown auf hellem Grund ---------- */
.ff-main .prose .ff-countdown, .ff-text .ff-countdown, .ff-werkzeug .ff-countdown { background: var(--ff-nacht); color: var(--ff-elfenbein); }
.ff-countdown-zahlen span { color: #fff; }

/* ---------- Werkzeuge ---------- */
.ff-werkzeug { background: var(--ff-weiss); border: 1px solid var(--ff-linie); border-radius: var(--ff-radius); padding: 1.2rem 1.25rem; margin: 1.5rem 0; font-family: var(--ff-sans); }
.ff-wz-reihe { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: flex-end; }
.ff-wz-reihe label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ff-tinte-2); }
.ff-werkzeug fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.ff-werkzeug legend { font-weight: 700; color: var(--ff-nacht); margin-bottom: .5rem; }
.ff-wz-boxen { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .35rem .75rem; }
.ff-wz-box { display: flex; align-items: center; gap: .45rem; font-size: .93rem; }
.ff-wz-ergebnis { margin-top: 1.1rem; }
.ff-wz-ergebnis:empty { display: none; }
.ff-wz-zahl { font-family: var(--ff-serif); font-size: 2.2rem; font-weight: 600; color: var(--ff-nacht); line-height: 1.1; }
.ff-wz-ergebnis .tabelle { margin-top: .75rem; }
.ff-stundenplan { margin: 1.5rem 0; }
.ff-sp-titel { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 600; outline: none; }
.ff-stundenplan td, .ff-stundenplan th { min-width: 90px; height: 2.4rem; }
.ff-stundenplan [contenteditable]:focus { outline: 2px solid var(--ff-blau); outline-offset: -2px; background: var(--ff-blau-hell); }
.ff-abo td { white-space: nowrap; font-size: .9rem; }

@media print {
    .ff-werkzeug form, .ff-heute-land, .ff-jahreslauf { display: none !important; }
    .ff-stundenplan td { border: 1px solid #999 !important; }
}
