/* =========================================================
   Inselkirche Mallorca – style.css
   ========================================================= */

/* ---- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/dm-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/caveat-latin-500-normal.woff2') format('woff2'); }

/* ---- Basis --------------------------------------------- */
:root {
  --teal: #079eae;
  --teal-dark: #067c8d;
  --ink: #063b53;
  --muted: #486877;
  --ice: #e9f8fa;
  --white: #fff;
  --radius: 24px;
  --header-h: 96px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: 'DM Sans', Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ffae43; outline-offset: 3px; }
.container { width: min(1320px, calc(100% - 9vw)); margin: auto; }
.skip-link { position: absolute; z-index: 100; top: -80px; left: 12px; background: #fff; padding: 10px; }
.skip-link:focus { top: 12px; }

/* ---- Header (fixiert) ---------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: linear-gradient(180deg, rgba(236,249,253,.92), rgba(236,249,253,0)); transition: background .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.menu-open { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px #00405512; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 32px; transition: min-height .3s; }
.scrolled .nav-wrap { min-height: 74px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 74px; transition: height .3s; }
.scrolled .brand img { height: 54px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; letter-spacing: .17em; white-space: nowrap; }
.brand-name strong { font-size: 22px; font-weight: 600; color: #008da1; }
.brand-name small { display: flex; align-items: center; gap: 10px; letter-spacing: .32em; font-size: 11px; margin-top: 6px; }
.brand-name i { width: 28px; border-top: 1px solid var(--ink); }
.nav-links { display: flex; gap: clamp(12px, 2vw, 31px); align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); border-color: var(--teal); }
.menu-toggle { display: none; }

/* ---- Hero ---------------------------------------------- */
.hero { min-height: 900px; position: relative; background: #bdeaf0 url('assets/kueste.webp') center 42% / cover no-repeat; display: flex; align-items: center; padding: 150px 0 82px; isolation: isolate; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(232,249,252,.9) 0%, rgba(229,248,251,.74) 34%, rgba(228,249,252,.2) 63%, rgba(255,255,255,0) 100%), linear-gradient(180deg, rgba(245,253,255,.25), transparent 70%); }
.hero-content { position: relative; }
.eyebrow { font-weight: 700; letter-spacing: .2em; color: var(--teal-dark); font-size: 12px; margin: 0 0 22px; }
.hero h1 { font-size: clamp(70px, 7vw, 112px); font-weight: 500; line-height: .96; letter-spacing: -.066em; margin: 0; max-width: 650px; }
.hero-script, .hero-quote, h2 em, .visual-panel > span:not(.hl-ki), .footer-content p { font-family: 'Caveat', cursive; font-weight: 500; }
.hero-script { font-size: clamp(44px, 5vw, 78px); line-height: 1; white-space: nowrap; color: var(--teal); margin: 10px 0 20px; }
.hero-intro { max-width: 610px; font-size: 21px; line-height: 1.45; margin: 0 0 30px; }
.hero-facts { display: flex; gap: 30px; max-width: 780px; }
.hero-fact { display: flex; gap: 15px; flex: 1; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.hero-fact:nth-child(2) { flex: 1.3; }
.hero-fact p { margin: 0; }
.hero-fact b { font-weight: 800; }
.fact-icon { display: grid; place-items: center; background: #13a4c1; color: #fff; width: 54px; height: 54px; flex-shrink: 0; border-radius: 100px; }
.fact-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.address { font-size: 14px; }
.text-link { color: #007b94; font-weight: 700; text-underline-offset: 4px; }
.hero-quote { position: relative; font-size: 54px; line-height: 1.15; transform: rotate(-4deg); transform-origin: left center; margin: 22px 0 38px; padding-bottom: 6px; width: max-content; max-width: 100%; }
.hero-quote::after { content: ''; position: absolute; left: -3%; right: -5%; bottom: -14px; height: 20px; background: url('assets/pinselstrich.png') center / 100% 100% no-repeat; opacity: .7; pointer-events: none; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---- Buttons ------------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 30px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; min-height: 56px; border: 0; cursor: pointer; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 20px #00506d22; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button-primary { background: linear-gradient(130deg, #008697, #00adbb); color: #fff; }
.button-outline { border: 1.8px solid #007c93; background: #ffffff91; color: var(--ink); }

/* ---- Sektionen ----------------------------------------- */
.section { padding: 110px 0; }
.intro { padding: 100px 0 85px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.intro-grid > p { font-size: 19px; color: var(--muted); max-width: 565px; margin: 0 0 4px; }
h2 { font-size: clamp(43px, 4.5vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: 1.09; margin: 0 0 28px; }
h2 em { color: var(--teal); font-style: normal; font-size: 1.15em; letter-spacing: 0; }

.highlight-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; gap: 24px; }
.highlight { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px 26px 28px; border-radius: 24px; color: #fff; text-decoration: none; box-shadow: 0 18px 40px #04405522; transition: transform .3s, box-shadow .3s; }
.highlight::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform .6s ease; }
.highlight::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,52,72,0) 30%, rgba(4,60,82,.55) 62%, rgba(3,48,68,.92) 100%); }
.highlight:hover { transform: translateY(-6px); box-shadow: 0 26px 50px #04405533; }
.highlight:hover::before { transform: scale(1.07); }
.highlight-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--teal); margin-bottom: 18px; box-shadow: 0 8px 20px #00283a33; }
.highlight-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl-text { display: flex; flex-direction: column; gap: 2px; padding-right: 54px; }
.hl-text b { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.hl-text span { font-size: 15px; opacity: .92; }
.arrow { position: absolute; right: 22px; bottom: 26px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.8px solid rgba(255,255,255,.9); color: #fff; transition: background .25s, color .25s; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.highlight:hover .arrow { background: #fff; color: var(--teal-dark); }
.hl-ki { position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; opacity: .8; cursor: help; }
.brush { position: relative; display: inline-block; }
.brush::after { content: ''; position: absolute; left: 2%; right: -6%; bottom: -14px; height: 18px; background: url('assets/pinselstrich.png') center / 100% 100% no-repeat; opacity: .7; pointer-events: none; }

.values { background: var(--ice); }
.card-grid { display: grid; gap: 22px; margin-top: 45px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .event-card { border-radius: var(--radius); background: #fff; padding: 38px; box-shadow: 0 12px 40px #045a6410; }
.info-card { min-height: 380px; display: flex; flex-direction: column; }
.info-card h3, .event-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.03em; margin: 18px 0; }
.info-card p, .event-card p { color: var(--muted); font-size: 15px; }
.info-card small { margin-top: auto; color: var(--teal-dark); }
.card-numeral { font-size: 32px; font-weight: 800; color: var(--teal); }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.visual-panel { height: 680px; border-radius: 30px; background: url('assets/lobpreis.webp') center 40% / cover; display: flex; align-items: flex-end; padding: 40px; }
.visual-panel > span:not(.hl-ki) { font-size: 70px; line-height: .95; color: #fff; text-shadow: 0 2px 18px #00283a55; }
.section-text p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.section-text h3 { font-size: 21px; margin: 24px 0 0; }
.section-text .button { margin-top: 24px; }

.gatherings { background: #f3eadc; }
.section-lead { max-width: 650px; color: var(--muted); font-size: 19px; }
.dot { color: var(--teal); }
.event-tag { letter-spacing: .16em; font-size: 12px; font-weight: 800; color: var(--teal-dark); }
/* Terminkarten – Kalenderblatt */
.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; }
.ev-grid .event-card { padding: 0; display: flex; flex-direction: column; border-radius: 26px; border: 1px solid #e6dac6; box-shadow: 0 2px 4px #5a462814, 0 16px 40px #5a46281f; transition: transform .2s, box-shadow .2s; }
.ev-grid .event-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px #5a462814, 0 24px 54px #5a46282b; }
.ev-top { display: flex; gap: 18px; align-items: center; padding: 28px 30px 0; }
.ev-date { width: 84px; flex-shrink: 0; border-radius: 18px; overflow: hidden; text-align: center; box-shadow: 0 6px 18px #07626d26; background: #fff; }
.ev-date .m { display: block; background: linear-gradient(130deg, #008697, #00adbb); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; padding: 5px 0; }
.ev-date .d { display: block; font-size: 36px; font-weight: 800; line-height: 1; padding: 10px 0 4px; color: var(--ink); letter-spacing: -.03em; }
.ev-date .w { display: block; font-size: 10px; font-weight: 800; color: var(--muted); padding: 0 4px 9px; letter-spacing: .05em; }
.ev-top .event-tag { font-size: 11px; }
.ev-top h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.03em; margin: 5px 0 0; }
.ev-today { display: inline-block; padding: 2px 9px; border-radius: 99px; background: #ffe9c7; color: #8a5200; font-size: 10px; font-weight: 800; letter-spacing: .08em; vertical-align: 1px; margin-left: 4px; }
.ev-body { padding: 20px 30px 0; margin: 0; color: var(--muted); font-size: 15px; }
.ev-meta { list-style: none; margin: auto 30px 0; padding: 18px 0 0; border-top: 1px solid #e3f0f2; display: grid; gap: 11px; }
.ev-body + .ev-meta { margin-top: 22px; }
.ev-meta li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.ev-meta small { color: var(--muted); font-size: 13px; }
.ev-ico { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-foot { padding: 22px 30px 28px; }
.ev-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 99px; background: #e3f6f8; color: var(--teal-dark); font-weight: 800; font-size: 13.5px; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.ev-btn:hover { transform: translateY(-2px); background: #d2f0f3; }
.event-card.main .ev-btn { background: linear-gradient(130deg, #008697, #00adbb); color: #fff; box-shadow: 0 8px 18px #00869730; }
.card-link { color: var(--teal-dark); font-weight: 800; text-decoration: none; margin-top: 18px; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.giving { background: #e3f8fa; }
.giving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.giving-grid > div > p:not(.eyebrow) { font-size: 17px; }
.donation-box { background: #fff; border-radius: 28px; padding: 38px; box-shadow: 0 18px 50px #037e8818; }
.donation-box h3 { font-size: 26px; margin: 0 0 26px; }
.donation-box p { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.donation-box strong { font-size: 17px; overflow-wrap: anywhere; }
.copy-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.copy-button { border: 0; border-radius: 50px; padding: 10px 14px; background: #d8f5f8; color: #007a88; cursor: pointer; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.copy-button:hover { background: #c4eff3; }
.donation-box .tiny { margin-top: 28px; font-size: 12px; }

/* ---- Kontakt ------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { max-width: 550px; font-size: 18px; color: var(--muted); }
.contact-details { background: #f3fafb; padding: 32px 36px; border-radius: 28px; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.contact-details h3 { margin: 0 0 6px; grid-column: 1 / -1; }
.contact-details p { font-size: 15px; margin: 8px 0; }
.contact-details a { color: var(--teal-dark); }
.insta-link { display: inline-flex; align-items: center; gap: 8px; }
.insta-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.contact-form { background: #fff; border-radius: 28px; padding: 38px; box-shadow: 0 18px 50px #037e8818; display: grid; gap: 16px; }
.contact-form h3 { font-size: 26px; margin: 0 0 4px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--teal-dark); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1.5px solid #cfe6ea; border-radius: 14px; padding: 13px 15px; background: #fbfeff; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--ink); transition: border-color .2s; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); outline: none; }
.contact-form .check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; font-size: 13px; line-height: 1.5; }
.contact-form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.contact-form .check a { color: var(--teal-dark); }
.contact-form .button { justify-self: start; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.form-status.ok { background: #e2f7ee; color: #0b5e3c; }
.form-status.fehler { background: #fdecea; color: #8a1f17; }

/* ---- Footer -------------------------------------------- */
.footer { background: var(--ink); color: #fff; padding: 45px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; }
.footer-brand img { width: auto; height: 44px; }
.footer-brand small { display: block; font-size: 10px; letter-spacing: .3em; font-weight: 600; }
.footer-content p { font-size: 29px; margin: 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-content a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-content > small { width: 100%; color: #bed8df; }

/* ---- Rechtliche Unterseiten ---------------------------- */
.legal-page .site-header { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px #00405512; }
.legal { padding: 150px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -.05em; line-height: 1.1; margin: 0 0 30px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal a { color: var(--teal-dark); }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--teal-dark); text-decoration: none; }

/* ---- KI-Kennzeichnung ---------------------------------- */
.ki-badge { position: absolute; right: 22px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.7); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1; opacity: .85; cursor: help; transition: opacity .2s; }
.ki-badge:hover { opacity: 1; }
.ki-badge svg { width: 13px; height: 13px; fill: var(--teal); }
.visual-panel { position: relative; }

/* ---- Karte (erst nach Einwilligung) -------------------- */
.map-block { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: #fff; border-radius: var(--radius); border: 1px solid #e6dac6; box-shadow: 0 2px 4px #5a462814, 0 16px 40px #5a46281f; overflow: hidden; }
.map-info { padding: 38px; display: flex; flex-direction: column; }
.map-info .eyebrow { margin-bottom: 14px; }
.map-info h3 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 10px; }
.map-info p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.map-info .card-link { margin-top: auto; }
.map-frame { position: relative; min-height: 380px; background: linear-gradient(135deg, #e3f6f8, #cdeef2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame.geladen .map-placeholder { display: none; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; background-image: radial-gradient(#079eae22 1px, transparent 1px); background-size: 18px 18px; }
.map-placeholder p { max-width: 420px; margin: 0; font-size: 14px; color: var(--muted); }
.map-placeholder p b { color: var(--ink); font-size: 16px; }
.map-placeholder a { color: var(--teal-dark); }
.map-pin { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: 0 10px 24px #079eae44; }
.map-pin svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.button-small { min-height: 44px; padding: 10px 20px; font-size: 13px; gap: 10px; }

/* ---- Cookie-Banner ------------------------------------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 20px 20px; pointer-events: none; }
.consent-inner { pointer-events: auto; max-width: 980px; margin: 0 auto; padding: 26px 30px; border-radius: 26px; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 24px 60px #00405533, inset 0 1px 0 #ffffffcc; transform: translateY(30px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.consent.sichtbar .consent-inner { transform: none; opacity: 1; }
.consent-inner:focus { outline: none; }
.consent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent-head img { width: auto; height: 34px; }
.consent h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; line-height: 1.2; }
.consent p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.consent p a { color: var(--teal-dark); font-weight: 600; }
.consent-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid #d5ecef; cursor: pointer; position: relative; }
.consent-option b { display: block; font-size: 14px; }
.consent-option small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.consent-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { flex-shrink: 0; width: 44px; height: 26px; border-radius: 99px; background: #c4d8dd; position: relative; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #00000033; transition: transform .2s; }
.consent-option input:checked + .switch { background: var(--teal); }
.consent-option input:checked + .switch::after { transform: translateX(18px); }
.consent-option input:disabled + .switch { opacity: .55; }
.consent-option input:focus-visible + .switch { outline: 3px solid #ffae43; outline-offset: 2px; }
.consent-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent-btn { border: 0; border-radius: 99px; padding: 12px 22px; font-size: 13px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.consent-btn:hover { transform: translateY(-2px); }
.consent-btn.primary { background: linear-gradient(130deg, #008697, #00adbb); color: #fff; box-shadow: 0 8px 18px #00869733; }
.consent-btn.outline { background: rgba(255,255,255,.6); border: 1.5px solid #007c93; color: var(--ink); }
.consent-btn.ghost { background: none; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; margin-right: auto; padding-left: 4px; }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 1150px) {
  :root { --header-h: 86px; }
  .brand img { height: 62px; }
  .brand-name strong { font-size: 18px; }
  .brand-name small { font-size: 10px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 12px; }
  .hero { min-height: 840px; }
  .contact-details { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  :root { --header-h: 76px; }
  .scrolled .nav-wrap { min-height: 66px; }
  .menu-toggle { display: grid; gap: 5px; padding: 12px; border: 0; background: #ffffffc9; border-radius: 10px; cursor: pointer; }
  .menu-toggle span { width: 25px; border-top: 2px solid var(--ink); transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: absolute; top: calc(100% + 6px); left: 5vw; right: 5vw; background: #fff; box-shadow: 0 12px 28px #003b5333; border-radius: 14px; padding: 16px; display: none; flex-direction: column; align-items: stretch; gap: 3px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; padding: 10px; }
  .hero { min-height: auto; padding: 130px 0 90px; background-image: url('assets/kueste-1100.webp'); background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(237,249,252,.95), rgba(236,250,252,.7)); }
  .hero-script { white-space: normal; }
  .hero-facts { flex-direction: column; gap: 22px; }
  .intro-grid, .split-layout, .giving-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .highlight-row { grid-template-columns: repeat(2, 1fr); margin-top: 50px; gap: 16px; }
  .three { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .visual-panel { height: 420px; }
  .section { padding: 75px 0; }
  .hero h1 { font-size: clamp(64px, 12vw, 105px); }
  .hero-intro { font-size: 19px; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .legal { padding: 120px 0 70px; }
  .map-block { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }
  .consent-options { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .brand img { height: 50px; }
  .brand { gap: 8px; }
  .brand-name strong { font-size: 15px; letter-spacing: .12em; }
  .brand-name small { font-size: 8px; gap: 5px; }
  .brand-name i { width: 15px; }
  .hero { padding-top: 115px; padding-bottom: 60px; }
  .hero h1 { font-size: 62px; }
  .hero-script { font-size: 45px; margin-top: 8px; }
  .hero-intro { font-size: 17px; }
  .hero-fact { font-size: 15px; }
  .hero-quote { font-size: 44px; }
  .hero-actions { gap: 12px; }
  .button { width: auto; font-size: 13px; padding: 13px 24px; gap: 16px; min-height: 48px; }
  .highlight-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .highlight { min-height: 210px; padding: 16px 14px 18px; border-radius: 18px; }
  .highlight-icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .highlight-icon svg { width: 22px; height: 22px; }
  .hl-text { padding-right: 0; }
  .hl-text b { font-size: 17px; }
  .hl-text span { font-size: 12.5px; }
  .arrow { width: 34px; height: 34px; top: 14px; left: 14px; right: auto; bottom: auto; display: none; }
  .hl-ki { top: 10px; right: 10px; }
  .intro-grid > p { font-size: 17px; }
  .info-card, .donation-box, .contact-form { padding: 26px; }
  .ev-top { padding: 22px 22px 0; gap: 14px; }
  .ev-body { padding: 16px 22px 0; }
  .ev-meta { margin-left: 22px; margin-right: 22px; }
  .ev-foot { padding: 20px 22px 24px; }
  .ev-top h3 { font-size: 20px; }
  .ev-date { width: 80px; }
  .ev-date .w { font-size: 9.5px; letter-spacing: .03em; }
  .ev-date .d { font-size: 32px; }
  .contact-details { grid-template-columns: 1fr; padding: 26px; }
  .visual-panel > span:not(.hl-ki) { font-size: 52px; }
  .copy-row { align-items: flex-start; flex-direction: column; }
  .footer-content { align-items: flex-start; flex-direction: column; }
  .map-info { padding: 26px; }
  .ki-badge { right: 12px; bottom: 12px; font-size: 10px; padding: 5px 10px 5px 8px; }
  .consent { padding: 0 10px 10px; }
  .consent-inner { padding: 20px; border-radius: 22px; max-height: calc(100vh - 20px); overflow-y: auto; }
  .consent h2 { font-size: 19px; }
  .consent p { font-size: 13px; }
  .consent-actions { gap: 8px; margin-top: 16px; }
  .consent-btn { flex: 1 1 40%; padding: 11px 12px; font-size: 12.5px; }
  .consent-btn.primary { order: 2; }
  .consent-btn.outline { order: 1; }
  .consent-btn[data-consent-save] { flex-basis: 100%; order: 3; }
  .consent-btn.ghost { flex-basis: 100%; order: 4; margin: 0; padding: 4px; text-align: center; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

h2:has(.brush) { margin-bottom: 42px; }

.visual-panel .hl-ki { top: 18px; right: 18px; }
.hero > .hl-ki { top: auto; bottom: 20px; right: 22px; z-index: 2; }

/* ---- Ausfälle & besondere Termine (aus Terminverwaltung) ---- */
.ev-meta .ev-ausfall { color: #9a3412; font-weight: 600; }
.ev-meta .ev-ausfall .ev-ico { stroke: #c2410c; }
.sonder-block { margin-top: 22px; background: #fff; border-radius: 26px; border: 1px solid #e6dac6; box-shadow: 0 2px 4px #5a462814, 0 16px 40px #5a46281f; padding: 28px 30px; }
.sonder-head h3 { font-size: 24px; letter-spacing: -.03em; margin: 4px 0 18px; }
.sonder-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sonder-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #f6fbfc; border: 1px solid #e3f0f2; }
.sonder-date { width: 64px; }
.sonder-date .d { font-size: 26px; padding: 7px 0 2px; }
.sonder-date .m { font-size: 10px; }
.sonder-date .w { font-size: 9.5px; padding-bottom: 6px; }
.sonder-item .event-tag { font-size: 10.5px; }
.sonder-item h4 { font-size: 18px; letter-spacing: -.02em; margin: 3px 0 4px; line-height: 1.25; }
.sonder-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.sonder-item .sonder-hinweis { margin-top: 6px; font-size: 13.5px; color: var(--ink); }
@media (max-width: 520px) {
  .sonder-block { padding: 22px; }
  .sonder-liste { grid-template-columns: 1fr; }
}

/* ---- WhatsApp-Kontakt ---------------------------------- */
.wa-box { display: flex; gap: 28px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 28px 30px; border-radius: 28px; background: #fff; border: 1px solid #d5ecef; box-shadow: 0 18px 50px #037e8814; }
.wa-text { min-width: 0; }
.wa-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #17803f; }
.wa-label svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-number { display: block; margin: 6px 0 8px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wa-number:hover { color: #17803f; }
.wa-text p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.wa-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button-wa { background: #17803f; color: #fff; }
.button-wa:hover { background: #136b35; box-shadow: 0 12px 20px #17803f33; }
.wa-qr { margin: 0; flex-shrink: 0; text-align: center; }
.wa-qr img { display: block; width: 132px; height: 132px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid #e3f0f2; }
.wa-qr figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.contact-details .vcf-link { font-size: 13px; font-weight: 700; }
@media (max-width: 1150px) { .wa-qr { display: none; } }
@media (max-width: 520px) {
  .wa-box { padding: 24px 22px; }
  .wa-number { font-size: 22px; }
  .wa-actions .button { flex: 1 1 100%; }
}
