/* Konditorei Mayr: statische Website. Von Hand gepflegt, build.py setzt nur die Cache-Version.
   Stil (Sandi, 24.11.2026): modern und schlicht. Kopfbild über die ganze Breite, Bilder randlos,
   keine abgerundeten Ecken. Weiß, Hellgrau #f5f5f7, fast schwarzer Text, Schrift Inter.
   Magenta aus dem Logo (#b3368d) nur für Knöpfe und Akzente.
   Titel in Schibsted Grotesk 600 (Sandi, 24.11.2026, Variante 3 im Schriftvergleich). Logo immer in Magenta (Logofarbe). */

@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --magenta: #b3368d;
  --magenta-dark: #962a75;
  --magenta-light: #f29bd0;
  --ink: #111111;
  --ink-2: #3d3d3f;
  --muted: #6e6e73;
  --grey: #f5f5f7;
  --line: #e0e0e3;
  --white: #ffffff;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --header-h: 64px;
  --font-head: "Schibsted Grotesk", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html.menu-offen { overflow: hidden; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.55 var(--font); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6rem); font-weight: 600; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; margin-top: 1.5rem; }
p { margin: 0 0 1em; }
address { font-style: normal; margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--pad), 980px); margin-inline: 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; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.small { font-size: .875rem; color: var(--muted); }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-dark); margin: 0 0 1rem; }

/* Knöpfe und Links, eckig */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.6rem; font: 600 1rem/1.2 var(--font); letter-spacing: -.005em; text-decoration: none !important; border: 0; transition: background-color .2s; }
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-dark); color: #fff; }
.btn--small { min-height: 38px; padding: .45rem 1rem; font-size: .875rem; }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; min-height: 0; padding: .15rem 0; text-decoration: none !important; }
.link-more::after { content: "→"; margin-left: .5em; transition: transform .2s; }
.link-more:hover { color: var(--magenta-dark); }
.link-more:hover::after { transform: translateX(3px); }
.link-more--hell { color: #fff; }
.link-more--hell:hover { color: #fff; opacity: .85; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 2rem 0 0; }
.actions--stack { flex-direction: column; align-items: flex-start; gap: 1rem; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); padding-inline: var(--pad); }
.brand { display: block; flex: none; position: relative; }
.logo { width: 92px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--ink); font-size: .9375rem; font-weight: 500; padding: .5rem 0; border-bottom: 1px solid transparent; }
.main-nav a:not(.btn):hover { text-decoration: none; border-bottom-color: currentColor; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--magenta); }

/* Kopfzeile über dem Vollbild: transparent, weiß, beim Scrollen hell */
.site-header--over { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; transition: background-color .3s, border-color .3s; }
.site-header--over:not(.is-scrolled):not(.menu-open) .main-nav a:not(.btn),
.site-header--over:not(.is-scrolled):not(.menu-open) .nav-toggle { color: #fff; }
.site-header--over.is-scrolled, .site-header--over.menu-open { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--line); }

.nav-toggle { display: none; align-items: center; gap: .55rem; background: none; border: 0; padding: .5rem 0; font: 600 .9375rem var(--font); color: var(--ink); cursor: pointer; min-height: 44px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--pad) 2rem; overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { display: block; padding: .7rem 0; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .main-nav a[aria-current="page"] { color: var(--magenta-dark) !important; border-bottom-color: var(--line); }
  .nav-cta { margin-top: 2rem; align-self: flex-start; min-height: 48px; padding: .8rem 1.6rem; font-size: 1rem; }
}

/* Startseite: Vollbild */
.hero-full { position: relative; min-height: max(560px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a1d1a; }
.hero-full .hero-full-media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero-full .hero-full-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-full::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 65%), linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.hero-full-text { position: relative; z-index: 1; padding: 0 var(--pad) clamp(3rem, 8vh, 6rem); max-width: 1100px; }
.hero-full h1 { color: #fff; max-width: 13ch; margin-bottom: 0; }
.hero-full .eyebrow { color: #fff; opacity: .9; }
.hero-full .ai-badge { z-index: 2; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.facts div { padding: 1.75rem var(--pad); border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.facts dd { margin: 0; font-size: 1.125rem; font-weight: 500; }

/* Bildflächen ohne Rand und Rundung */
.media { margin: 0; position: relative; }
.media img { width: 100%; }

.panels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #fff; }
.panel { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; color: #fff; text-decoration: none !important; background: #222; }
.media--panel, .media--panel img { height: 100%; }
.media--panel img { object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.panel:hover .media--panel img { transform: scale(1.04); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .68) 100%); pointer-events: none; }
.panel-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.5rem, 3vw, 2.75rem); }
.panel-title { font-family: var(--font-head); font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.panel-sub { font-size: 1.0625rem; max-width: 28rem; opacity: .92; }
.panel-more { font-weight: 600; font-size: .9375rem; margin-top: .5rem; }
.panel-more::after { content: "→"; margin-left: .5em; }
.panel .ai-badge { top: 1rem; bottom: auto; z-index: 2; }

/* Familie */
.family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding: clamp(4.5rem, 10vw, 9rem) var(--pad); }
.family-text { max-width: 34rem; color: var(--ink-2); font-size: 1.125rem; }
.family-text h2 { margin-bottom: .6em; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.portrait { margin: 0; }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.portraits .portrait:nth-child(1) img { object-position: 70% center; }
.portraits .portrait:nth-child(2) img { object-position: 55% center; }
.portrait figcaption { font-size: .875rem; font-weight: 500; color: var(--muted); margin-top: .75rem; }

/* Bestellen: dunkle Fläche über die ganze Breite */
.order { background: var(--ink); color: #e8e8ed; }
.order-inner { padding: clamp(4.5rem, 10vw, 8rem) var(--pad); max-width: 1100px; }
.order h2 { color: #fff; font-size: clamp(2.4rem, 1.2rem + 4vw, 4.75rem); max-width: 14ch; }
.order .eyebrow { color: var(--magenta-light); }
.order p { font-size: 1.1875rem; max-width: 38rem; color: #c7c7cc; }
.order .link-more { color: #fff; }

/* Reihen: Bild randlos, Text daneben */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: clamp(420px, 46vw, 720px); }
.row + .row { border-top: 2px solid #fff; }
.row--rev > .media, .row--rev > .map-link { order: 2; }
.media--bleed, .media--bleed img { height: 100%; }
.media--bleed img { object-fit: cover; object-position: center 45%; min-height: 320px; }
.row-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3rem, 7vw, 7rem) var(--pad); color: var(--ink-2); font-size: 1.125rem; max-width: 42rem; }
.row-text h2 { color: var(--ink); }
.row-text > :last-child { margin-bottom: 0; }
.row:nth-of-type(even) .row-text { }
.map-link { display: block; }
.visit-info { margin: .5rem 0 1.75rem; display: grid; gap: 1.1rem; }
.visit-info dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.visit-info dd { margin: 0; color: var(--ink); }
.hours { margin: 0 0 1.5rem; display: grid; gap: .3rem; max-width: 22rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.25rem; }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; white-space: nowrap; }

/* Unterseiten: geteilter Kopf */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(480px, 70vh, 760px); background: var(--grey); }
.page-hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(3rem, 8vw, 7rem) var(--pad); }
.page-hero h1 { margin-bottom: .45em; font-size: clamp(2.4rem, 1.1rem + 3.6vw, 4.5rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.page-lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36rem; margin: 0; }
.page-hero .media--bleed img { min-height: 360px; }
.page-head { padding: clamp(3.5rem, 8vw, 7rem) var(--pad) clamp(1.5rem, 3vw, 2.5rem); max-width: 1100px; }
.page-head h1 { max-width: 16ch; }
.subnav { border-bottom: 1px solid var(--line); overflow-x: auto; }
.subnav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0 var(--pad); white-space: nowrap; }
.subnav a { display: inline-block; padding: 1.1rem 0; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover { border-bottom-color: var(--magenta); }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; border-top: 2px solid #fff; }
.gallery .media--panel { aspect-ratio: 3 / 2; }

/* Geschichte: Zeitleiste und zwei Bilder */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.station { padding: clamp(3rem, 6vw, 5.5rem) var(--pad) clamp(2.5rem, 5vw, 4.5rem); border-right: 1px solid var(--line); color: var(--ink-2); }
.station:last-child { border-right: 0; }
.station-zeit { font-family: var(--font-head); font-size: clamp(2.2rem, 1.1rem + 2.6vw, 3.75rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--magenta); margin: 0 0 1.5rem; min-height: 2em; display: flex; align-items: flex-end; }
.station h2 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); letter-spacing: -.03em; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.duo-bild { margin: 0; position: relative; background: #222; }
.duo-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.duo-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .6) 100%); pointer-events: none; }
.duo-bild figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 3vw, 2.5rem); color: #fff; font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; }
.next-links { display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding: clamp(3rem, 6vw, 5rem) var(--pad); }

/* Ausflüge */
.tours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tour { padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(2rem, 4vw, 3rem); border-right: 1px solid var(--line); color: var(--ink-2); }
.tour:last-child { border-right: 0; }
.tour h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; }
.tour-meta { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-dark); margin-bottom: 1rem; }
.checklist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .9rem; }
.checklist li { padding-left: 1.25rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--magenta); }

/* Kontakt */
.info-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.info-col { padding: clamp(2.5rem, 5vw, 4rem) var(--pad); border-right: 1px solid var(--line); color: var(--ink-2); }
.info-col:last-child { border-right: 0; }
.info-col h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; }
#torten-bestellen { background: var(--grey); }

/* Rechtstexte und Fließtext */
.legal, .prose { max-width: 760px; margin: 0; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem); width: auto; overflow-wrap: anywhere; color: var(--ink-2); }
.legal h2, .prose h2 { font-size: 1.6rem; margin-top: 2.4rem; letter-spacing: -.025em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.legal h4 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; color: var(--ink); }
.legal img { display: inline-block; margin: .5rem 0 1rem; }
.legal a, .prose a { text-decoration: underline; text-underline-offset: .15em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
main > .wrap:not(.legal):not(.prose) { width: auto; margin: 0; padding: 0 var(--pad); }
.notfound-links { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 0 0 6rem; margin: 0; }
.notfound-links .btn--ghost { color: var(--ink); padding-inline: 0; min-height: 0; border-bottom: 1px solid currentColor; }

/* Quellenangabe direkt am Bild (Karte: OpenStreetMap) */
.media .credit { position: absolute; left: 0; bottom: 0; z-index: 2; padding: .3rem .6rem; background: rgba(255, 255, 255, .88); color: var(--ink-2); font-size: .75rem; line-height: 1.3; }
.media .credit a { color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }

/* KI-Hinweis direkt am Bild */
.ai-badge { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; background: rgba(17, 17, 17, .62); backdrop-filter: blur(8px); color: #fff; font: 500 .6875rem/1 var(--font); letter-spacing: 0; padding: .4rem .6rem; }
.portrait .ai-badge { bottom: 2.75rem; }

/* Fußzeile dunkel */
.site-footer { background: var(--ink); color: #a1a1a6; font-size: .875rem; line-height: 1.6; }
.site-footer a { color: #e8e8ed; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2.5rem; padding: clamp(3.5rem, 6vw, 5rem) var(--pad) 2.5rem; }
.footer-brand img { width: 96px; margin-bottom: 1.25rem; }
.footer-claim { font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; margin-bottom: .3rem; }
.footer-head { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; line-height: 1.4; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .hours dt { color: #e8e8ed; }
.footer-col .hours { margin-bottom: .75rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.25rem var(--pad) 1.75rem; border-top: 1px solid #2c2c2e; font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 46px; height: 46px; background: var(--ink); color: #fff !important; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--magenta); }

/* Band: Bild über die ganze Breite, Schrift weiß im oberen Bildteil */
.band { position: relative; display: flex; align-items: flex-start; min-height: clamp(560px, 56.25vw, 92svh); color: #fff; overflow: hidden; background: #4f7fb8; }
.band .band-media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.band .band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 65%), linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .38) 40%, rgba(0, 0, 0, 0) 66%); }
.band-text { position: relative; z-index: 1; max-width: 46rem; padding: clamp(3.5rem, 7vw, 6.5rem) var(--pad); font-size: clamp(1.125rem, .6rem + .75vw, 1.3125rem); font-weight: 500; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.band-text h2, .band-text p { color: #fff; }
.band-text > :last-child { margin-bottom: 0; }
.band .ai-badge { z-index: 2; text-shadow: none; }

/* Tablet */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tours, .info-cols, .timeline { grid-template-columns: 1fr; }
  .tour, .info-col, .station { border-right: 0; border-bottom: 1px solid var(--line); }
  .tour:last-child, .info-col:last-child, .station:last-child { border-bottom: 0; }
  .station-zeit { min-height: 0; }
  .family { grid-template-columns: 1fr; align-items: start; }
  .family-text { max-width: none; }
  /* Band: Titel auf dem Bild, Text darunter auf Weiß */
  .band { display: grid; align-items: stretch; min-height: 0; color: var(--ink-2); background: #fff; }
  .band .band-media, .band::after { position: relative; grid-area: 1 / 1; }
  .band .band-media img { height: auto; aspect-ratio: 4 / 3; object-position: center 60%; }
  .band::after { inset: auto; background: linear-gradient(180deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .28) 22%, rgba(0, 0, 0, 0) 48%); }
  .band-text { display: contents; text-shadow: none; }
  .band-text h2 { grid-area: 1 / 1; align-self: start; z-index: 1; margin: 0; padding: 1.75rem var(--pad) 0; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
  .band-text p { color: var(--ink-2); font-weight: 400; padding-inline: var(--pad); margin-bottom: 0; max-width: 46rem; }
  .band-text h2 + p { padding-top: 2.5rem; }
  .band-text p + p { padding-top: 1rem; }
  .band-text p:last-child { padding-bottom: 3.5rem; }
}

/* Handy */
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  body { font-size: 1rem; }
  .logo { width: 80px; }
  .hero-full { min-height: max(520px, 92svh); }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 1.2rem; }
  .facts div:last-child { border-bottom: 0; }
  .panels, .gallery, .duo { grid-template-columns: 1fr; }
  .panel { aspect-ratio: 4 / 4.2; }
  .row, .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .row--rev > .media, .row--rev > .map-link { order: 0; }
  .media--bleed img { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .page-hero .media--bleed img { aspect-ratio: 4 / 3; min-height: 0; }
  .page-hero-text { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .row-text { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Datenschutz-Hinweis und Dialog (js/consent.js), Aufbau wie der frühere CookieYes-Banner, eckig im Stil der Seite */
.footer-consent { padding: 0; border: 0; background: none; color: #e8e8ed; font: inherit; cursor: pointer; text-align: left; }
.footer-consent:hover { color: #fff; text-decoration: underline; text-underline-offset: .15em; }
.legal-consent { margin: 0 var(--pad) 2.5rem; max-width: 760px; padding: 1.5rem 1.75rem; background: var(--grey); border-left: 3px solid var(--magenta); }
.legal-consent p { margin: 0 0 1rem; color: var(--ink-2); }
.consent-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(440px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; padding: 1.6rem 1.6rem 1.5rem; background: #fff; color: var(--ink); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .45); }
.consent-banner__title { margin: 0 2rem .6rem 0; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.02em; }
.consent-banner__text { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.consent-banner a, .consent-panel a { color: var(--magenta-dark); text-decoration: underline; text-underline-offset: .15em; }
.consent-x { position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.consent-x:hover { color: var(--ink); background: var(--grey); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.consent-btn { flex: 1 1 auto; min-height: 46px; padding: .65rem 1.1rem; border: 2px solid var(--magenta); background: #fff; color: var(--magenta-dark); font: 500 .95rem/1.1 var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
.consent-btn:hover { background: #fbeef6; }
.consent-btn--primary { background: var(--magenta); color: #fff; }
.consent-btn--primary:hover { background: var(--magenta-dark); border-color: var(--magenta-dark); color: #fff; }
.consent-panel { width: min(760px, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); }
.consent-panel::backdrop { background: rgba(17, 17, 17, .55); }
.consent-panel__head { position: relative; padding: 1.4rem 4rem 1.2rem 1.75rem; border-bottom: 1px solid var(--line); }
.consent-panel__head .consent-x { top: 50%; right: 1rem; transform: translateY(-50%); }
.consent-panel__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; }
.consent-panel__body { padding: 1.4rem 1.75rem .5rem; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.consent-panel__body > p { margin: 0 0 1rem; }
.consent-more { margin: 0 0 1.2rem; }
.consent-more summary { display: inline-block; color: var(--magenta-dark); cursor: pointer; list-style: none; }
.consent-more summary::-webkit-details-marker { display: none; }
.consent-more summary:hover { text-decoration: underline; }
.consent-more p { margin: .8rem 0 0; }
.consent-group { border-top: 1px solid var(--line); padding: 1rem 0 .5rem; }
.consent-group__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.consent-group__head::-webkit-details-marker { display: none; }
.consent-group__name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.consent-group__name::before { content: "›"; display: inline-block; width: 1.2rem; transition: transform .2s; }
.consent-group[open] .consent-group__name::before { transform: rotate(90deg); }
.consent-always { flex: none; color: #1e7b34; font-weight: 600; font-size: .95rem; }
.consent-group p { margin: .7rem 0 0 1.2rem; }
.consent-panel__foot { margin: 0; padding: 1rem 1.75rem 1.5rem; }
.consent-fab { position: fixed; left: 1rem; bottom: 1rem; z-index: 45; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--magenta); color: #fff; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); transition: background-color .2s, transform .2s; }
.consent-fab:hover { background: var(--magenta-dark); transform: scale(1.05); }
.consent-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media print { .consent-fab, .to-top, .consent-banner { display: none !important; } }
@media (max-width: 560px) {
  .consent-banner { left: 0; right: 0; bottom: 0; width: auto; padding: 1.4rem 1.25rem 1.25rem; }
  .consent-btn { flex: 1 1 100%; }
  .consent-panel__head { padding-left: 1.25rem; }
  .consent-panel__body, .consent-panel__foot { padding-left: 1.25rem; padding-right: 1.25rem; }
}

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