/* =============================================================================
   kanaren.de – Stylesheet (kein Framework)
   Aufbau: Variablen · Reset/Base · Buttons · Header/Nav · Hero · Sections
           · Inselkarten · Planungs-Kacheln · CTA · Vorteile · Footer
           · Artikel-Layout · Scroll-Reveal · Responsive
   ========================================================================== */

:root {
    /* Farbwelt */
    --teal:        #1690a1;
    --teal-dark:   #0f6e7b;
    --teal-50:     #eef7f8;
    --sand:        #f6f0e7;
    --cream:       #faf7f1;
    --navy:        #1d333d;
    --fg:          #20323b;
    --muted:       #5f7079;
    --border:      #e4ebed;
    --white:       #ffffff;

    /* Typografie */
    --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --max: 1140px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(29, 51, 61, .06);
    --shadow-md: 0 10px 30px rgba(29, 51, 61, .10);
    --shadow-lg: 0 18px 50px rgba(29, 51, 61, .16);
    --header-h: 72px;
    --toc-bar-h: 54px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    /* Kein CSS-`scroll-behavior: smooth` am Wurzelelement: das bricht Anker-Sprünge und
       Text-Fragmente (#...:~:text=) beim FRISCHEN Seitenaufruf (z. B. Deep-Links aus der
       Suche). Der Smooth-Effekt für Klicks kommt bereits aus app.js via scrollIntoView. */
    scroll-padding-top: calc(var(--header-h) + var(--toc-bar-h) + 14px);
    /* Horizontales Überlaufen am Wurzelelement kappen – so bleibt der Viewport
       der Scroller (Sticky-Header & Sticky-Footer funktionieren korrekt). */
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--fg);
    background: var(--white);
    /* Sticky-Footer: Footer bleibt immer am unteren Rand, auch bei kurzen Seiten.
       WICHTIG: kein overflow auf dem body – sonst wird er zum Scroll-Container
       und langer Inhalt (Footer) wäre nicht mehr erreichbar. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* main füllt den verfügbaren Platz, Footer wird nach unten geschoben.
   min-width:0 ist wichtig: sonst kann das Flex-Item nicht unter seine
   Inhalts-Mindestbreite schrumpfen und breite Kinder (z. B. Tabellen) sprengen
   auf schmalen Screens das Layout. */
main { flex: 1 0 auto; min-width: 0; }
.site-footer { flex-shrink: 0; }

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

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

.container { max-width: min(var(--max), 100%); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-cream { background: var(--cream); }

.section-title {
    text-align: center;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin: 0 0 clamp(1.8rem, 4vw, 3rem);
    position: relative;
    color: var(--teal-dark);
}
.section-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 2px;
    background: var(--teal);
    margin: 0.9rem auto 0;
}

.visually-hidden, .skip-link {
    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:focus {
    position: fixed; top: 10px; left: 10px;
    width: auto; height: auto; clip: auto;
    background: var(--navy); color: #fff;
    padding: .6rem 1rem; border-radius: 8px; z-index: 1100;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .98rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ----------------------------------------------------------- Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(255,255,255,.78);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; flex-shrink: 0; color: var(--navy); }
.brand-logo { height: 50px; width: auto; display: block; }
.brand-mark { display: inline-flex; color: var(--teal); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .2px; }
.brand-dot { color: var(--teal); }

.main-nav { display: flex; gap: clamp(.6rem, 1.8vw, 1.6rem); align-items: center; }
.main-nav a {
    color: var(--navy);
    font-weight: 500;
    font-size: .97rem;
    padding: .35rem 0;
    position: relative;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal-dark); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: none; background: transparent; color: var(--navy);
    border-radius: 50%; cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--teal-50); color: var(--teal-dark); }

/* Such-Overlay: zentriertes Modal, unabhängig vom Header-Layout (kein Reflow/Logo-Stauchen). */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(4rem, 12vh, 9rem) 1rem 1rem;
}
.search-overlay[hidden] { display: none; }
.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 36, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.search-overlay-panel {
    position: relative;
    width: min(640px, 100%);
    animation: searchIn .18s var(--ease);
}
.search-overlay-form {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border-radius: 14px;
    padding: .45rem .5rem .45rem 1rem;
    box-shadow: var(--shadow-lg);
}
.search-overlay-icon { display: inline-flex; color: var(--teal-dark); }
.search-overlay-icon svg { width: 22px; height: 22px; }
.search-overlay-form input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 1.15rem;
    padding: .55rem .2rem;
    color: var(--navy);
}
.search-overlay-form input:focus { outline: none; }
.search-overlay-close { flex: 0 0 auto; }
@keyframes searchIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-toggle { display: none; }
.nav-toggle-close { display: none; }

/* -------------------------------------------------------------------- Hero */
.hero {
    position: relative;
    min-height: clamp(440px, 72vh, 640px);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-media {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: kenburns 22s ease-in-out infinite alternate;
}
.hero::after { /* Lesbarkeits-Overlay links */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,42,48,.66) 0%, rgba(15,42,48,.28) 45%, rgba(15,42,48,0) 75%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 560px; color: #fff; }
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin: 0 0 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-text { font-size: clamp(1.02rem, 2vw, 1.2rem); color: rgba(255,255,255,.94); margin: 0 0 1.8rem; max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

@keyframes kenburns {
    from { transform: scale(1.05) translate(0, 0); }
    to   { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

/* ------------------------------------------------------------ Inselkarten */
.island-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.2vw, 1.6rem);
}
.island-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    color: var(--fg);
}
.island-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.island-card-media {
    display: block;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    transition: transform .5s var(--ease);
}
.island-card:hover .island-card-media { transform: scale(1.06); }
.island-card-body { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.2rem 1.3rem; }
.island-card-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.island-card-text { color: var(--muted); font-size: .95rem; }
.card-link {
    margin-top: .7rem;
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--teal-dark); font-weight: 600; font-size: .92rem;
}
.card-link svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.island-card:hover .card-link svg { transform: translateX(4px); }

/* ------------------------------------------- Weitere Inseln (untergeordnet) */
.more-islands { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.more-islands-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 1.1rem;
}
.more-islands-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}
.more-islands-list a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    padding: .6rem 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--navy);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.more-islands-list a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--teal);
}
.mi-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.mi-text { font-size: .82rem; color: var(--muted); }

/* -------------------------------------------------------- Planungs-Kacheln */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(.8rem, 1.8vw, 1.3rem);
}
.tile {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: .8rem;
    padding: 1.6rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.tile-icon { display: inline-flex; color: var(--teal); }
.tile-icon svg { width: 38px; height: 38px; stroke-width: 1.6; }
.tile-label { font-weight: 600; font-size: .95rem; line-height: 1.3; }

/* --------------------------------------------------------------- CTA-Band */
.cta-band {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.cta-band::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,42,48,.45), rgba(15,42,48,.05));
}
.cta-inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.cta-card {
    max-width: 420px;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}
.cta-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .7rem; }
.cta-card p { color: var(--fg); margin: 0 0 1.4rem; }

/* --------------------------------------------------------------- Vorteile */
.advantages { background: var(--teal-50); padding: clamp(2.2rem, 5vw, 3.2rem) 0; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.adv { display: flex; gap: .9rem; align-items: flex-start; }
.adv-icon { display: inline-flex; color: var(--teal-dark); flex: 0 0 auto; }
.adv-icon svg { width: 30px; height: 30px; }
.adv-body { display: flex; flex-direction: column; gap: .15rem; }
.adv-title { font-weight: 700; color: var(--navy); }
.adv-text { color: var(--muted); font-size: .92rem; }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--sand); color: var(--fg); margin-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: clamp(1.6rem, 4vw, 3rem);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}
/* Ohne Newsletter: zwei Spalten statt drei. */
.footer-grid--no-newsletter { grid-template-columns: 1fr 1.2fr; }
.footer-col h3 { font-size: 1.15rem; margin: 0 0 .9rem; }
.footer-col p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a { color: var(--fg); font-size: .95rem; }
.footer-links a:hover { color: var(--teal-dark); }

.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input {
    flex: 1 1 200px;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font: inherit; background: #fff;
}
.newsletter-form input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.newsletter-hint { color: var(--teal-dark); font-weight: 600; font-size: .9rem; margin-top: .6rem; }

.social { display: flex; gap: .6rem; }
.social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--teal-dark);
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

.footer-bottom { border-top: 1px solid rgba(29,51,61,.1); }
.footer-bottom-inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
    padding: 1.1rem clamp(1rem, 4vw, 2rem);
    font-size: .85rem; color: var(--muted);
}
.legal-nav { display: flex; gap: 1.2rem; }
.legal-nav a,
.legal-nav button { color: var(--muted); }
.legal-nav a:hover,
.legal-nav button:hover { color: var(--teal-dark); }
.legal-nav button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.copyright { margin: 0; }
.affiliate-note { margin: 0; flex: 1 1 100%; }
.image-notice { margin: 0; flex: 1 1 100%; font-size: .72rem; font-style: italic; color: var(--muted); }

/* --------------------------------------------------- Artikel-Layout (Content) */
.page-main { padding-top: 2rem; padding-bottom: 2rem; }
.page { max-width: var(--max); margin: 0 auto; }

/* Inhaltsbreite: kurze Seiten lesbar begrenzt, lange Seiten volle Breite mit Sidebar-TOC */
.page-content { min-width: 0; }

/* Inhalte nutzen die volle Inhaltsbreite (Text, Karten, Tabellen, Bilder). */

/* Trennlinie + großzügiger Abstand zwischen den Abschnitten (bessere Lesbarkeit) */
.page-content > .content-section,
.page-content > .faq {
    margin-top: clamp(1.8rem, 3.75vw, 2.7rem);   /* Abstand über der Linie (−25 %) */
    padding-top: clamp(1.55rem, 3.25vw, 2.35rem); /* Abstand unter der Linie (−35 %) */
    border-top: 1px solid var(--border);
}
.page-content > .content-section:first-child {
    margin-top: .5rem;
    padding-top: 0;
    border-top: none;
}

/* Horizontale, sticky Inhaltsnavigation (statt Sidebar) */
.toc-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    margin: 1.6rem 0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.toc-bar ul {
    list-style: none;
    margin: 0;
    padding: .55rem 0;
    display: flex;
    flex-wrap: wrap;         /* Links brechen automatisch auf mehrere Zeilen um */
    gap: .45rem;
}
.toc-bar li { flex: 0 0 auto; }
.toc-bar a {
    display: block;
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--teal); /* kräftig gefüllte Pill im Normalzustand */
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.toc-bar a:hover,
.toc-bar a:focus-visible,
.toc-bar a.is-active {
    background: var(--teal-dark);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

/* Mobile: ebenfalls umbrechen (alle Links sichtbar), Pills kompakter.
   Nicht sticky, damit die mehrzeilige Leiste nicht dauerhaft den kleinen Screen verdeckt. */
@media (max-width: 620px) {
    .toc-bar { position: static; margin: 1.2rem 0; }
    .toc-bar ul { gap: .35rem; }
    .toc-bar a { padding: .4rem .8rem; font-size: .85rem; }
    /* Nav nicht sticky -> Anker nur unter dem Header ausrichten (nicht zusätzlich unter der Nav) */
    html { scroll-padding-top: calc(var(--header-h) + 14px); }
    /* Nav scrollt weg -> Rücksprung-Link am Sektionsende einblenden (höhere Spezifität) */
    .page-content .back-to-toc { display: block; }
}
.page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 1rem 0; }
.page h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; color: var(--teal-dark); }
/* Inhaltsverzeichnis (Sprungmarken auf langen Seiten) */
.toc {
    background: var(--teal-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    margin: 1.8rem 0;
}
.toc-title {
    margin: 0 0 .7rem;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--navy);
}
.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 2.5rem;
}
.toc li { margin: .32rem 0; break-inside: avoid; }
.toc a {
    color: var(--teal-dark);
    text-decoration: none;
    font-size: .95rem;
    border-bottom: 1px solid transparent;
}
.toc a:hover { border-bottom-color: currentColor; }
@media (max-width: 560px) { .toc ul { columns: 1; } }

/* „Zurück zum Inhaltsverzeichnis"-Link am Ende jeder Sektion */
/* Nur auf Mobil sichtbar (Desktop-Nav ist sticky -> Rücksprung dort unnötig) */
.back-to-toc { display: none; margin: 1.6rem 0 0; text-align: right; }
.back-to-toc a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: var(--muted);
    text-decoration: none;
    padding: .3rem .7rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.back-to-toc a:hover { color: var(--teal-dark); border-color: var(--teal); background: var(--teal-50); }
.back-to-toc svg { width: 1em; height: 1em; }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 .4rem; }
.intro { font-size: 1.12rem; }

/* Bilder im Artikel (Insel-/Themenseiten) */
.content-figure { margin: 1.7rem 0; }
.content-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* Grafiken/Karten in natürlichem Seitenverhältnis zeigen (kein 16:9-Beschnitt). */
.map-figure img, .map-figure picture { aspect-ratio: auto; object-fit: contain; height: auto; }
.map-figure picture { display: block; }
/* Klickbare Insel-Karte (Image-Map). Hotspots liegen prozentual über den Inseln
   und skalieren mit dem Bild. Nur auf Desktop aktiv – mobil zu klein. */
.map-figure .map-wrap { position: relative; display: block; }
.map-hotspot { position: absolute; display: block; border-radius: 10px; }
@media (min-width: 621px) {
    .map-hotspot { cursor: pointer; transition: background .15s var(--ease), box-shadow .15s var(--ease); }
    .map-hotspot:hover,
    .map-hotspot:focus-visible { background: rgba(22, 144, 161, .22); box-shadow: inset 0 0 0 2px var(--teal); outline: none; }
}
@media (max-width: 620px) { .map-hotspot { display: none; } }
.content-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.content-hero { margin-top: .5rem; }

/* --- KI-Bild-Kennzeichnung (EU AI Act, Art. 50) ---
   Hinweis in der Bildunterschrift: Motiv, gefolgt von ", KI-generiert" in einer Zeile.
   Illustrationen/Karten (.map-figure) sind ausgenommen. */
.content-figure:not(.map-figure) figcaption::after,
.island-hero-media figcaption::after { content: ", KI-generiert"; }
.island-hero-media figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.content-hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.page h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }

/* =========================================================================
   UX-Komponenten für Inselseiten (Block-System)
   ========================================================================= */

/* --- Insel-Hero --- */
.island-hero { margin-bottom: 1.5rem; }
.island-hero-media { margin: 1.3rem 0; }
.island-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.island-hero h1 { margin: 1rem 0 0; }
.island-subtitle { font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--teal-dark); margin: .2rem 0 0; }
/* Hero mit Such-Rechner: großes Bild + Suchbox nebeneinander (Desktop). */
.hero-search-row { margin: 1.3rem 0; }
.hero-search-row .island-hero-media { margin: 0; }
@media (min-width: 861px) {
    .hero-search-row { display: flex; gap: 1.5rem; align-items: flex-start; }
    .hero-search-row .island-hero-media { flex: 1 1 auto; min-width: 0; }
    .hero-search-row .affiliate-widget { flex: 0 0 330px; margin: 0; }
}
@media (max-width: 860px) {
    .hero-search-row .affiliate-widget { margin: 1.2rem 0 0; }
}
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; padding: 0; }
.hero-badges li { background: var(--teal-50); color: var(--navy); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1.2rem; }
.btn-outline { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.suitability { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 0; padding: .9rem 0 0; border-top: 1px solid var(--border); font-size: .95rem; }
.suitability li { font-weight: 600; }
.suitability .is-good { color: var(--teal-dark); }
.suitability .is-bad { color: #b5654a; }

/* --- Lead-Bereich (Blöcke direkt unter Hero) --- */
.page-lead { margin: 1.5rem 0; }

/* --- Quick-Facts-Leiste --- */
.quickfacts { list-style: none; margin: 1.5rem 0; padding: 1rem 1.1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; background: var(--teal-50); border: 1px solid var(--border); border-radius: var(--radius); }
.quickfacts li { display: flex; align-items: center; gap: .6rem; }
.qf-icon { font-size: 1.4rem; line-height: 1; }
.qf-text { display: flex; flex-direction: column; }
.qf-value { font-weight: 700; color: var(--navy); line-height: 1.2; }
.qf-label { font-size: .82rem; color: var(--muted); }

/* --- Icon-Karten-Grid (Kurzfazit, Aktivitäten) --- */
.ux-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.ux-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ux-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Klickbare Karten (mit url) – als Link ohne Unterstreichung, mit Klick-Affordance. */
.ux-card-link { text-decoration: none; color: inherit; cursor: pointer; }
.ux-card-link:hover { border-color: var(--teal); }
.ux-card-link:hover .ux-card-title { color: var(--teal-dark); }
.ux-card-icon { font-size: 1.8rem; line-height: 1; }
.ux-card-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.ux-card-text { font-size: .92rem; color: var(--muted); }

/* --- Fakten-Grid (Steckbrief) --- */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; margin: 1.5rem 0; }
.fact { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.fact-icon { font-size: 1.3rem; }
.fact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fact-value { font-weight: 700; color: var(--navy); }

/* --- Sterne --- */
.stars { white-space: nowrap; letter-spacing: 1px; }
.star { color: #d9dfe1; }
.star.is-on { color: #e8a200; }

/* --- Zielgruppen-Ratings --- */
.ratings { margin: 1.4rem 0; display: grid; gap: .2rem; }
.rating-item { border-bottom: 1px solid var(--border); }
.rating-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; cursor: default; }
details.rating-item > summary { list-style: none; cursor: pointer; }
details.rating-item > summary::-webkit-details-marker { display: none; }
details.rating-item[open] .rating-row { font-weight: 600; }
.rating-label { font-weight: 600; color: var(--navy); }
.rating-note { margin: 0 0 .8rem; color: var(--muted); font-size: .92rem; }

/* --- Vorteile / Nachteile --- */
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.pc { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.pc-pros { background: var(--teal-50); }
.pc-cons { background: var(--sand); }
.pc-head { font-weight: 700; margin: 0 0 .6rem; color: var(--navy); }
.pc-pros .pc-head span { color: var(--teal-dark); }
.pc-cons .pc-head span { color: #b5654a; }
.pc ul { margin: 0; padding-left: 1.1rem; }
.pc li { margin: .3rem 0; }

/* --- Aufenthaltsdauer-Karten --- */
.duration-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.duration-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.duration-label { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.duration-note { font-size: .88rem; color: var(--muted); }

/* --- Urlaubsorte-Karten (places) --- */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin: 1.6rem 0; }
.place-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.place-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.place-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.place-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.15rem 1.25rem 1.3rem; }
.place-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--teal-dark); margin: 0; }
.place-text { font-size: .95rem; color: var(--fg); margin: 0; }
.place-meta { display: flex; flex-direction: column; gap: .3rem; margin: .2rem 0 0; }
.place-meta .place-row { display: flex; gap: .5rem; font-size: .88rem; }
.place-meta dt { flex: 0 0 auto; min-width: 6.5rem; font-weight: 600; color: var(--muted); }
.place-meta dd { margin: 0; color: var(--fg); }
.place-verdict { list-style: none; margin: .35rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .3rem; }
.place-verdict .pv { display: flex; gap: .45rem; font-size: .88rem; color: var(--fg); }
.pv-pro span { color: var(--teal-dark); font-weight: 700; }
.pv-con span { color: #b5654a; font-weight: 700; }

/* --- Highlights-Timeline --- */
.timeline { list-style: none; margin: 1.6rem 0; padding: 0; }
.tl-item { position: relative; padding: 0 0 1.7rem 2rem; }
.tl-item::before { content: ""; position: absolute; left: 7px; top: .5rem; bottom: -.5rem; width: 2px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: .4rem; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.tl-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: .7rem; }
.tl-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--teal-dark); margin: 0 0 .3rem; }
.tl-text { margin: 0 0 .5rem; color: var(--fg); }
.tl-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: var(--muted); }
.tl-meta strong { color: var(--navy); font-weight: 600; }

/* --- Vergleichstabelle (comparison) --- */
.comparison { width: 100%; }
.comparison caption { caption-side: top; text-align: left; font-weight: 600; color: var(--muted); margin-bottom: .5rem; }
.comparison thead th:first-child, .comparison tbody th { text-align: left; }
.comparison tbody th { font-weight: 700; color: var(--navy); background: var(--cream); white-space: nowrap; }

/* --- Aktivitäten-Icon-Grid --- */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.activity { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.activity:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.activity-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-50); font-size: 1.4rem; }
.activity-body { display: flex; flex-direction: column; gap: .2rem; }
.activity-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.activity-text { font-size: .92rem; color: var(--muted); }

/* --- Callout / Hinweis-Box --- */
.callout { display: flex; gap: .9rem; align-items: flex-start; margin: 1.6rem 0; padding: 1rem 1.2rem; background: var(--teal-50); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); }
.callout-tip { border-left-color: #e8a200; }
.callout-icon { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.callout-title { font-weight: 700; margin: 0 0 .2rem; color: var(--navy); }
.callout-text { color: var(--fg); }
.callout-text :last-child { margin-bottom: 0; }

/* --- Affiliate-CTA --- */
.affiliate-cta { margin: 1.5rem 0; }
.affiliate-cta-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.3rem; background: var(--teal); color: #fff; font-weight: 600; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.affiliate-cta-link:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.affiliate-cta-link svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }

@media (max-width: 560px) {
    .procon { grid-template-columns: 1fr; }
}

.affiliate-slot { margin: 1.5rem 0; }
.affiliate-slot:empty { display: none; }

/* --- Affiliate-Widget (eingebetteter Partner-Rechner, consent-gated) --- */
.affiliate-widget { margin: 1.75rem 0; }
.affiliate-widget-frame { width: 100%; }
.affiliate-widget-frame iframe { max-width: 100%; }

/* Rechner-Box (rentalcar) – Standard: eigener Block. */
.affiliate-widget--rentalcar { margin: 1.25rem 0; }
.affiliate-widget--rentalcar .affiliate-widget-frame > div { max-width: 100%; }
/* Eigene Überschrift + Einleitung + Hinweis (unsere Markup, nicht CHECK24). */
.affiliate-widget--rentalcar .affiliate-widget-title { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .5rem; color: var(--navy); }
.affiliate-widget-intro { font-size: .9rem; color: var(--muted); margin: 0 0 .7rem; }
.affiliate-widget-note { font-size: .78rem; color: var(--muted); margin: .55rem 0 0; text-align: center; }

/* CHECK24-Box aufräumen: Motiv-Hintergrund, feste Höhe, leere Logo-Leiste & den
   internen Titel entfernen; dezenter Rahmen/Radius/Schatten. Nur im eigenen Widget. */
.affiliate-widget--rentalcar .c24rentalcar {
    background-image: none !important;
    background-color: var(--teal-50) !important;
    height: auto !important;
    min-height: 0 !important;
    border: 1px solid #cfe6ea !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(22, 144, 161, .14) !important;
    padding: 1.1rem 1.15rem 1.15rem !important;
}
.affiliate-widget--rentalcar .c24rentalcar-logo-wrapper,
.affiliate-widget--rentalcar .c24rentalcar-title { display: none !important; }
.affiliate-widget--rentalcar .c24rentalcar-wrapper { padding-bottom: 0 !important; }
/* Beschriftung der beiden Ortsfelder (fehlen im CHECK24-Box-Markup). */
.affiliate-widget--rentalcar .c24rentalcar-dep-location.ui-front::before {
    content: "Abholort" !important; display: block !important; font-weight: 700; font-size: .8rem; color: var(--fg); margin: 0 0 .25rem;
}
.affiliate-widget--rentalcar .c24rentalcar-ret-location.ui-front::before {
    content: "Rückgabeort" !important; display: block !important; font-weight: 700; font-size: .8rem; color: var(--fg); margin: .6rem 0 .25rem;
}
/* Such-Button in unserem Teal statt CHECK24-Blau. */
.affiliate-widget--rentalcar button.c24rentalcar-submit { background: var(--teal) !important; border-color: var(--teal) !important; }
.affiliate-widget--rentalcar button.c24rentalcar-submit:hover { background: var(--teal-dark) !important; border-color: var(--teal-dark) !important; }

/* --- Pauschalreise-Box (identische Behandlung wie die Mietwagen-Box) --- */
.affiliate-widget--package .c24package {
    background-image: none !important;
    background-color: var(--teal-50) !important;
    height: auto !important;
    min-height: 0 !important;
    border: 1px solid #cfe6ea !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(22, 144, 161, .14) !important;
    padding: 1.1rem 1.15rem 1.15rem !important;
}
.affiliate-widget--package .c24package-logo-wrapper,
.affiliate-widget--package .c24package-title { display: none !important; }
.affiliate-widget--package .c24package-wrapper { padding-bottom: 0 !important; }
/* Such-Button (CHECK24-Blau) -> unser Teal. */
.affiliate-widget--package .c24package-submit,
.affiliate-widget--package button.c24package-submit { background: var(--teal) !important; border-color: var(--teal) !important; color: #fff !important; }
.affiliate-widget--package .c24package-submit:hover,
.affiliate-widget--package button.c24package-submit:hover { background: var(--teal-dark) !important; }

/* Variante "sidebar": Box rechts neben den Inhalt, Text fließt links daneben (nur Desktop). */
@media (min-width: 721px) {
    /* Abschnitt mit Sidebar-Box bildet einen eigenen Block-Formatting-Context,
       damit die rechts gestellte Box sauber im Abschnitt eingeschlossen bleibt. */
    .content-section:has(.affiliate-widget--sidebar) { display: flow-root; }
    .affiliate-widget--sidebar {
        float: right;
        width: 300px;
        margin: .2rem 0 1rem 1.75rem;
    }
}

/* Fallback-Box: sichtbar bis zur Einwilligung / bis das Rechner-Script geladen ist. */
.affiliate-widget-fallback {
    background: var(--teal-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}
.affiliate-widget-fallback .affiliate-cta-link { margin: 0; }
.affiliate-widget-hint { margin: .7rem 0 0; font-size: .86rem; color: var(--muted); }
.linklike {
    background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
    color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--teal); }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 600; padding-bottom: .5rem; color: var(--navy); }
th, td { border: 1px solid var(--border); padding: .6rem .75rem; text-align: left; }
thead th { background: var(--teal-50); }
tbody tr:nth-child(even) { background: var(--cream); }

/* Klimatabelle mit Temperatur-Graph */
.climate { margin: 1.7rem 0; }
.climate-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--teal-dark); margin: 0 0 .9rem; }
.climate-svg { width: 100%; height: auto; display: block; }
/* Zweiter Chart (Sonne/Regen-Linien): halbe Höhe ergibt sich aus der viewBox; kleiner Abstand nach oben. */
.climate-chart--lines { margin-top: .5rem; }
.climate-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; margin: .5rem 0 1.1rem; padding: 0; font-size: .9rem; color: var(--fg); }
.climate-legend li { display: flex; align-items: center; gap: .45rem; }
.cl-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.climate-note { color: var(--muted); font-size: .9rem; margin-top: .7rem; }

.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem 1rem; margin: .6rem 0; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; }

/* Suchergebnis-Seite (/suche) */
.search-form { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.6rem; }
.search-form input { flex: 1 1 260px; padding: .75rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; font: inherit; }
.search-form input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.search-results { list-style: none; margin: 1rem 0 0; padding: 0; }
.search-results li { border-bottom: 1px solid var(--border); }
.search-results a { display: block; padding: 1rem 0; }
.search-results a:hover .sr-title { color: var(--teal); }
.sr-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.sr-snippet { display: block; color: var(--muted); font-size: .92rem; margin-top: .25rem; }

.cta-box { background: var(--teal-50); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin: 1.5rem 0; }
.cta-box p { margin: 0; }
.updated { color: var(--muted); font-size: .85rem; margin-top: 2rem; }
.error-page { text-align: center; padding: 3rem 0; }

/* ------------------------------------------------------------ Scroll-Reveal */
/* Standardmäßig sichtbar (Fallback ohne JS). JS aktiviert den Reveal-Zustand. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- Consent-Banner */
.consent-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(29, 51, 61, .12);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
}
.consent-banner.is-open { transform: translateY(0); }
.consent-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.consent-text { flex: 1 1 320px; font-size: .92rem; color: var(--fg); line-height: 1.55; }
.consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent-actions .btn { font-size: .92rem; }
@media (max-width: 560px) {
    .consent-actions { width: 100%; }
    .consent-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
    .island-grid { grid-template-columns: repeat(2, 1fr); }
    .tile-grid { grid-template-columns: repeat(3, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: .5rem clamp(1rem, 4vw, 2rem) 1rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform .28s var(--ease), opacity .28s var(--ease);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav a { padding: .85rem .2rem; border-bottom: 1px solid var(--border); }
    .main-nav a::after { display: none; }
    body.nav-open .nav-toggle-open { display: none; }
    body.nav-open .nav-toggle-close { display: inline-flex; }

    .cta-inner { justify-content: center; }
    .cta-card { max-width: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------- Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
