/* Beispielseite der Bausteine (vorlagen/bausteine.json) – ruhig und neutral, damit die Bausteine wirken */
:root { --haupt: #2F5D50; --haupt-dunkel: #1F3F36; --akzent: #E8A33D; --flaeche: #F5F2EC; --text: #1F2421; --leise: #5C655F; --linie: #E2DDD3; --weiss: #fff; --rund: 14px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--text); background: var(--weiss); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--haupt); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; color: var(--haupt-dunkel); }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.rahmen { width: min(1120px, 100% - 32px); margin: 0 auto; }
.klein { font-size: 14px; color: var(--leise); }

.kopf { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--haupt-dunkel); }
.marke-zeichen { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--haupt); color: #fff; }
.beispiel { padding: 2px 8px; border-radius: 999px; background: #222; color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.kopf nav { display: flex; gap: 18px; font-weight: 600; }
.kopf nav a { text-decoration: none; }
@media (max-width: 640px) { .kopf nav { display: none; } .marke { font-size: 15px; } }

.einstieg { padding: 64px 0 40px; background: var(--flaeche); }
.ueber { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--haupt); }
.lead { font-size: 19px; max-width: 720px; color: var(--leise); }
.abschnitt { padding: 56px 0; }
.abschnitt.hell { background: var(--flaeche); padding-bottom: 24px; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.karte { padding: 20px; border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; }
.baustein { padding: 48px 0; border-top: 1px solid var(--linie); scroll-margin-top: 72px; }
.baustein:nth-of-type(even) { background: #FBFAF7; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .zwei { grid-template-columns: 1fr; gap: 16px; } }
.buehne { display: grid; place-items: center; min-height: 140px; padding: 24px; border: 1px dashed var(--linie); border-radius: var(--rund); background: #fff; }
.markiert { box-shadow: inset 4px 0 0 var(--akzent); }

.knopf { display: inline-block; padding: 13px 22px; border: 2px solid var(--haupt); border-radius: 999px; background: var(--haupt); color: #fff; font: 600 16px inherit; text-decoration: none; cursor: pointer; }
.knopf-rahmen { background: transparent; color: var(--haupt); }

/* Pflicht */
.zeiten-liste { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.zeiten-liste li { padding: 3px 8px; border-radius: 6px; }
.zeiten-liste li.is-heute { background: #E6F0EC; font-weight: 700; }
.offen-stand { font-weight: 700; color: var(--haupt); }
.offen-stand.is-offen::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #2E9E5B; }
.handy-leiste-demo { display: flex; justify-content: space-around; padding: 10px; border-radius: 12px; background: var(--haupt-dunkel); color: #fff; font-size: 14px; font-weight: 600; }

/* Wahl */
.bewertung { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--linie); border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; box-shadow: 0 6px 18px -10px rgba(0,0,0,.3); }
.sterne { color: #F2B01E; letter-spacing: 1px; }
.pfeil { color: var(--leise); font-size: 20px; }
.bild-buehne { position: relative; padding: 0; overflow: hidden; border-style: solid; }
.bild-buehne img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.notdienst { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #B3261E; color: #fff; font-weight: 700; text-decoration: none; }
.notdienst .punkt { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: puls 1.8s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .notdienst .punkt { animation: none; } }
.whatsapp { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: #1C8D4A; color: #fff; font-weight: 700; text-decoration: none; }
.whatsapp svg { width: 22px; height: 22px; fill: #fff; }
.dialog { max-width: 420px; padding: 24px; border: 0; border-radius: var(--rund); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.dialog::backdrop { background: rgba(20,24,22,.55); }
.dialog-bild { max-width: min(900px, 92vw); padding: 12px; }
.dialog-bild img { margin-bottom: 12px; border-radius: 10px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0 8px; }
.team figure { margin: 0; padding: 18px; border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; text-align: center; }
.portrait { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, #DCE8E2, #F3E3C9); color: var(--haupt-dunkel); font-size: 28px; font-weight: 700; }
.datum { font-size: 13px; font-weight: 700; color: var(--akzent); text-transform: uppercase; letter-spacing: .06em; }
.video-karte { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kamera { width: 40px; height: 40px; fill: none; stroke: var(--haupt); stroke-width: 1.8; stroke-linejoin: round; }
.formular-demo { display: grid; gap: 10px; width: 100%; max-width: 320px; }
.formular-demo label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.formular-demo input[type=text] { padding: 10px 12px; border: 1px solid var(--linie); border-radius: 8px; font: inherit; }
.formular-demo .haken { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.stelle { max-width: 360px; }
.marke-klein { font-size: 13px; font-weight: 700; color: var(--akzent); text-transform: uppercase; }
.video-band { height: 320px; overflow: hidden; margin-bottom: 28px; }
.video-band img { width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-in-out infinite alternate; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }
@media (prefers-reduced-motion: reduce) { .video-band img { animation: none; } }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.galerie button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: none; }
.galerie img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.galerie button:hover img { transform: scale(1.04); }
.umschalter { display: inline-flex; padding: 4px; border-radius: 999px; background: #EDEAE3; gap: 4px; margin-bottom: 12px; }
.umschalter button { padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font: 600 15px inherit; cursor: pointer; color: var(--text); }
.umschalter button[aria-pressed="true"] { background: var(--haupt); color: #fff; }
.sprache-demo { text-align: center; }
.wartezeit { width: 100%; max-width: 340px; }
.ampel-leiste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 10px; }
.ampel-leiste span { height: 10px; border-radius: 5px; background: #E5E1D8; }
.ampel-leiste span.an { background: var(--akzent); }
.schluss { background: var(--haupt-dunkel); color: #fff; }
.schluss h2, .schluss a { color: #fff; }
.fuss { padding: 24px 0; font-size: 14px; color: var(--leise); }
