/* === Ratgeber, Stadtseiten, Neujahrsbaden ===
   Bausteine der Startseite (Nav, Foto-Kacheln, FAQ-Akkordeon, CTA) für die
   generierten Seiten. Erzeugt von ~/scripts/eisbaden_seo/build.py,
   lädt nach legal.css (Farben, Footer, Burger-Menü). */

/* --- Hero mit Foto --- */
.s-hero { max-width: 1200px; margin: 0 auto; padding: 104px 24px 0; }
.s-hero-media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 21/9; min-height: 340px; background: var(--surface-2); }
.s-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.s-hero-video.on { opacity: 1; }
.s-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, 0.05) 30%, rgba(8, 10, 14, 0.72) 100%); }
.s-hero-text { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 2; color: #fff; }
.s-hero-text .label { color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }
.s-hero-text .label::before { background: var(--ice); }
.s-hero h1 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 820px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.s-hero h1 .accent { color: var(--ice); }
[data-theme="dark"] .s-hero h1 .accent { color: #bfe3f5; }
.s-crumbs { font-family: 'Geist Mono', monospace; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 12px; }
.s-crumbs a { color: rgba(255, 255, 255, 0.85); }
.s-crumbs a:hover { color: #fff; }
.s-ki { position: absolute; top: 16px; right: 18px; z-index: 2; font-family: 'Geist Mono', monospace; font-size: 0.66rem; color: rgba(255, 255, 255, 0.75); background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 3px 9px; border-radius: 100px; }
.s-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 56px; align-items: start; max-width: 1200px; margin: 0 auto; padding: 40px 24px 0; }
.s-lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.s-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.s-stat { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 18px; }
.s-stat b { display: block; font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1.05; }
.s-stat b.acc { color: var(--accent); }
.s-stat span { font-family: 'Geist Mono', monospace; font-size: 0.7rem; color: var(--mute); }

/* --- Sektionen --- */
.s-main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.s-sec { padding: 72px 0 0; }
.s-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.s-head .label { margin-bottom: 14px; }
.s-head h2 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); max-width: 640px; }
.s-head h2 .accent { color: var(--accent); }
.s-head .side { color: var(--mute); font-size: 0.95rem; line-height: 1.55; max-width: 360px; }
.s-note { color: var(--mute); font-size: 0.85rem; line-height: 1.55; margin-top: 16px; }

/* --- Fließtext (in Akkordeons) --- */
.prose p { color: var(--ink-2); font-size: 1rem; line-height: 1.75; margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 20px; }
.prose li { color: var(--ink-2); line-height: 1.7; margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a, .s-main a.link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose h3 { font-weight: 600; font-size: 1.05rem; margin: 18px 0 8px; color: var(--ink); }
.callout { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.callout p { margin-bottom: 0; font-size: 0.95rem; }
.callout .callout-label { font-family: 'Geist Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); display: block; margin-bottom: 6px; }
.table-wrap, .temp-table-wrap { overflow-x: auto; margin: 16px 0 20px; }
table.data, table.temp-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 460px; }
table.data th, table.temp-table th { font-family: 'Geist Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; color: var(--mute); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule-strong); }
table.data td, table.temp-table td { padding: 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); line-height: 1.5; vertical-align: top; }
table.data td:first-child, table.temp-table td:first-child { font-family: 'Geist Mono', monospace; color: var(--ink); white-space: nowrap; }
.temp-badge { display: inline-block; font-family: 'Geist Mono', monospace; font-size: 0.72rem; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* --- Akkordeon (wie FAQ der Startseite) --- */
.acc { border-top: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-q { width: 100%; background: transparent; border: 0; text-align: left; padding: 24px 4px; cursor: pointer; display: flex; align-items: center; gap: 18px; font-family: 'Geist', sans-serif; font-weight: 500; font-size: clamp(1.08rem, 2vw, 1.3rem); letter-spacing: -0.02em; color: var(--ink); transition: color 0.2s; }
.acc-q:hover { color: var(--accent); }
.acc-q .num { font-family: 'Geist Mono', monospace; font-size: 0.78rem; color: var(--accent); min-width: 24px; }
.acc-q .t { flex: 1; }
.acc-q .cnt { font-family: 'Geist Mono', monospace; font-size: 0.74rem; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.acc-ico { width: 24px; height: 24px; border-radius: 100px; border: 1px solid var(--rule-strong); position: relative; flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, background 0.3s; }
.acc-ico::before, .acc-ico::after { content: ''; position: absolute; background: var(--ink); }
.acc-ico::before { top: 50%; left: 6px; right: 6px; height: 1px; transform: translateY(-50%); }
.acc-ico::after { left: 50%; top: 6px; bottom: 6px; width: 1px; transform: translateX(-50%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.acc-item.open .acc-ico { transform: rotate(180deg); border-color: var(--accent); background: var(--accent-soft); }
.acc-item.open .acc-ico::after { transform: translateX(-50%) scaleY(0); }
.acc-a { overflow: hidden; height: 0; transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.acc-item.open .acc-a { height: auto; }
.acc-a-inner { padding: 0 4px 30px 46px; max-width: 760px; }
.acc.wide .acc-a-inner { max-width: none; padding-left: 4px; }
.no-js .acc-a { height: auto; }

/* --- Foto-Kacheln --- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface-2); grid-column: span 4; height: 300px; color: #fff; display: block; }
.tile.large, .tile.medium { height: 400px; }
.tile.large { grid-column: span 7; }
.tile.medium { grid-column: span 5; }
.tile.wide { grid-column: span 12; height: 360px; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 10, 14, 0.7) 100%); }
.tile .tile-t { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.tile .tile-t b { display: block; font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; }
.tile .tile-t span { font-size: 0.85rem; opacity: 0.85; }
.tile .pill { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: 'Geist Mono', monospace; font-size: 0.72rem; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); padding: 4px 10px; border-radius: 100px; }

/* --- Chips --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink); background: transparent; font: inherit; font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chips a:hover, .chips button:hover { border-color: var(--accent); color: var(--accent); }
.chips .hl, .chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips .hl:hover, .chips button[aria-pressed="true"]:hover { color: var(--bg); opacity: 0.88; }

/* --- Spots --- */
.spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spot { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; }
.spot-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 14px; }
.spot-type { font-family: 'Geist Mono', monospace; font-size: 0.72rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.05em; }
.spot h3 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.spot-temp { text-align: right; flex-shrink: 0; }
.spot-temp b { display: block; font-family: 'Geist', sans-serif; font-weight: 500; font-size: 2.1rem; letter-spacing: -0.04em; color: var(--accent); line-height: 1; }
.spot-temp span { font-family: 'Geist Mono', monospace; font-size: 0.66rem; color: var(--mute); }
.spot-temp.wait b { color: var(--mute-2); }
.spot p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.65; }
.spot .hint { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--mute); font-size: 0.86rem; line-height: 1.5; }
.spot .hint svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.spot .spot-link { margin-top: auto; padding-top: 14px; font-size: 0.86rem; color: var(--accent); }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.group { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); color: var(--ink); transition: border-color 0.2s; }
.group:hover { border-color: var(--accent); }
.group b { font-weight: 500; display: block; }
.group span { font-family: 'Geist Mono', monospace; font-size: 0.7rem; color: var(--mute); }
.group .arr { color: var(--accent); }

/* --- Neujahr: Termine --- */
.ev { display: grid; grid-template-columns: 150px 1fr auto; gap: 6px 22px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: start; }
.ev:first-child { border-top: 0; }
.ev-when { font-family: 'Geist Mono', monospace; font-size: 0.82rem; color: var(--accent); line-height: 1.5; }
.ev-when small { display: block; color: var(--mute); font-size: 0.74rem; }
.ev b { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.ev .where { color: var(--mute); font-size: 0.88rem; margin-top: 2px; }
.ev .note { color: var(--ink-2); font-size: 0.88rem; margin-top: 6px; line-height: 1.5; }
.ev-side { text-align: right; display: flex; flex-direction: column; align-items: end; gap: 6px; }
.ev-status { font-family: 'Geist Mono', monospace; font-size: 0.68rem; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--rule-strong); color: var(--mute); white-space: nowrap; }
.ev-status.ok { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.ev-side a { font-size: 0.82rem; color: var(--accent); }

/* --- CTA dunkel wie Startseite --- */
.s-cta { max-width: 1200px; margin: 96px auto 0; padding: 0 24px; }
.s-cta-in { background: #0e1116; color: #ece9df; border-radius: 28px; padding: 72px 32px; text-align: center; position: relative; overflow: hidden; }
.s-cta-in .label { color: #a09e95; margin-bottom: 26px; }
.s-cta-in .label::before { background: #d1ebf8; }
.s-cta-in h2 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 0.98; letter-spacing: -0.04em; margin: 0 auto 20px; max-width: 760px; }
.s-cta-in h2 .accent { color: #d1ebf8; }
.s-cta-in p { color: #a09e95; font-size: 1.05rem; max-width: 480px; margin: 0 auto 32px; line-height: 1.55; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; background: #fbfaf6; color: #111110; font-weight: 600; font-size: 0.95rem; padding: 14px 26px; border-radius: 999px; transition: background 0.2s, transform 0.2s; }
.s-btn:hover { background: #d1ebf8; transform: translateY(-1px); }
.s-more { max-width: 1200px; margin: 0 auto; padding: 72px 24px 100px; }

@media (max-width: 860px) {
    .s-hero { padding: 92px 14px 0; }
    .s-hero-media { aspect-ratio: 4/5; min-height: 0; max-height: 520px; border-radius: 22px; }
    .s-hero-text { left: 20px; right: 20px; bottom: 22px; }
    .s-intro { grid-template-columns: 1fr; padding: 28px 16px 0; }
    .s-main, .s-more, .s-cta { padding-left: 16px; padding-right: 16px; }
    .s-sec { padding-top: 56px; }
    .spots { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr; }
    .tile, .tile.large, .tile.medium, .tile.wide { grid-column: span 1; height: auto; aspect-ratio: 16/10; }
    .acc-a-inner { padding-left: 4px; }
    .ev { grid-template-columns: 1fr; }
    .ev-side { text-align: left; align-items: start; flex-direction: row; }
    .s-cta-in { padding: 56px 22px; border-radius: 22px; }
}

/* --- Karte DE/AT/CH --- */
.nj-grid { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: 32px 48px; align-items: start; margin-top: 8px; }
.nj-map { position: sticky; top: 96px; }
.s-map { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 18px; }
.s-map svg { width: 100%; height: auto; display: block; }
.map-nb { fill: none; stroke: var(--rule-strong); stroke-width: 1.2; }
.map-c { fill: var(--surface-2); stroke: var(--mute); stroke-width: 1.6; stroke-linejoin: round; }
.map-dot circle { fill: var(--bg); stroke: var(--accent); stroke-width: 3.5; transition: r 0.2s, fill 0.2s; cursor: pointer; }
.map-dot.on circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.map-dot:hover circle { r: 15; fill: var(--accent); }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 10px)); background: var(--ink); color: var(--bg); font-size: 0.78rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 3; }
.ev.hit { background: var(--accent-soft); border-radius: 12px; padding-left: 12px; padding-right: 12px; transition: background 0.4s; }
@media (max-width: 860px) { .nj-grid { grid-template-columns: 1fr; } .nj-map { position: static; } }

/* --- Zentrale Seite Badestellen --- */
.sp-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 12px; border-top: 1px solid var(--rule); border-radius: 12px; transition: background 0.4s; }
.sp-row:first-child { border-top: 0; }
.sp-row.hit { background: var(--accent-soft); }
.sp-main b { display: block; font-weight: 500; font-size: 1.05rem; color: var(--ink); margin: 2px 0 6px; }
.sp-main p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.sp-main .hint { display: flex; gap: 8px; margin-top: 8px; color: var(--mute); font-size: 0.85rem; line-height: 1.5; }
.sp-main .hint svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.sp-main .spot-link { display: inline-block; margin-top: 8px; font-size: 0.84rem; color: var(--accent); }
.sp-row .spot-temp { min-width: 64px; }
.sp-more { padding: 14px 12px 4px; font-size: 0.88rem; color: var(--mute); }
.s-lede a.link { color: var(--accent); white-space: nowrap; }

/* Bildstrecke (echte Fotos) */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); color: #fff; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 14, 0.72) 100%); }
.strip-item figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.strip-item .num { display: block; font-family: 'Geist Mono', monospace; font-size: 0.72rem; opacity: 0.8; margin-bottom: 6px; }
.strip-item b { display: block; font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.strip-item .txt { display: block; font-size: 0.88rem; line-height: 1.45; opacity: 0.88; }
.s-head .side a { color: var(--accent); }
a.s-ki { text-decoration: none; transition: color 0.2s, background 0.2s; }
a.s-ki:hover { color: #fff; background: rgba(0, 0, 0, 0.4); }
@media (max-width: 860px) {
    .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px; scroll-padding: 0 24px; scrollbar-width: none; }
    .strip::-webkit-scrollbar { display: none; }
    .strip-item { scroll-snap-align: start; }
}
.tile[href="/eistonne-zuhause.html"] img { object-position: 8% center; }
.tile[href="/eisbaden-wie-lange.html"] img { object-position: 6% center; }
/* Neujahr: Foto neben „Gut vorbereitet“ */
.nj-prep { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.nj-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; height: 300px; background: var(--surface-2); }
.nj-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
@media (max-width: 860px) { .nj-prep { grid-template-columns: 1fr; gap: 24px; } .nj-photo { height: auto; aspect-ratio: 4/3; } }
