/* =========================================================================
   stadtfuehrerin.info — style.css  V2 (2026-05-29)
   Design: frisch-tourismusnah, DYNAMISCH/ORGANISCH (Wellen, Blobs, Asymmetrie)
   WCAG 2.2 AA (Kontraste geprüft, Tokens unverändert zu V1)
   ========================================================================= */

:root {
  /* Farbkonzept "Sportstadt Erfurt" – Spektrum auf Blau, weiße Schrift.
     Helle Spektrumtöne = nur Flächen/Akzente; Text/Buttons = AA-Varianten. */
  --color-text: #2A2D30;           /* Schiefer-Anthrazit */
  --color-muted: #585A5C;          /* Hematite (Creme 6,0:1) */
  --color-cream: #F1EFE7;          /* Cloud Dancer (BG) */
  --color-white: #FFFFFF;
  --color-primary: #3C566B;        /* Blue Fusion, weiß 7,7:1 */
  --color-primary-dark: #2E4253;   /* weiß 10,4:1 */
  --color-accent: #6A5380;         /* Quiet Violet (dunkel), weiß 6,6:1 */
  --color-sun: #D9C97C;            /* Golden Mist, NUR mit dunkler Schrift (8,3:1) */
  --color-footer-bg: #2B3D4D;      /* Blue-Fusion-dunkel */
  --color-border: #E0DCD0;
  /* Deko-Palette (Pantone, Flächen/Akzente – kein Kleintext) */
  --c-sage: #C9DBC4; --c-baltic: #5E9BC9; --c-gold: #D9C97C;
  --c-violet: #A28FB0; --c-cloud: #9A938B; --c-hema: #565759; --c-bf: #3C566B;
  --spectrum: linear-gradient(90deg, var(--c-sage) 0 14.28%, var(--c-baltic) 14.28% 28.56%, var(--c-gold) 28.56% 42.84%, var(--c-violet) 42.84% 57.12%, var(--c-cloud) 57.12% 71.4%, var(--c-hema) 71.4% 85.68%, var(--c-bf) 85.68% 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(18, 58, 51, 0.14);
  --shadow-sm: 0 8px 22px rgba(18, 58, 51, 0.10);
  --maxw: 1160px;
  --gap: clamp(1rem, 3vw, 2.2rem);

  /* organische Blob-Radien */
  --blob-a: 58% 42% 55% 45% / 56% 50% 50% 44%;
  --blob-b: 42% 58% 38% 62% / 48% 44% 56% 52%;
  --blob-c: 50% 50% 46% 54% / 60% 56% 44% 40%;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); position: relative; z-index: 1; }
.narrow { max-width: 820px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--color-text); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); margin: 0 0 1rem; }
h2.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 .6rem; }
h3 { font-size: 1.32rem; margin: 0 0 .4rem; }

.eyebrow { display:inline-block; text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 800; color: var(--color-accent); margin: 0 0 .6rem; }
.eyebrow.center { display:block; text-align: center; }
.lead { font-size: 1.22rem; color: var(--color-muted); }
.section-intro { color: var(--color-muted); max-width: 66ch; margin: 0 auto 2.4rem; text-align: center; }
.note { font-size: .9rem; color: var(--color-muted); }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--color-primary-dark); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 44px; padding: .75rem 1.5rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-.5deg); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #57426B; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-primary-dark); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-wa { background: #075E54; color: #fff; }           /* WhatsApp-dunkelgrün, weiß = 7,4:1 (AAA) */
.btn-wa:hover { background: #053f39; }
.btn-wa::before { content: ""; width: 18px; height: 18px; margin-right: .5rem; background: currentColor;
  -webkit-mask: var(--wa-icon) center/contain no-repeat; mask: var(--wa-icon) center/contain no-repeat; }
:root { --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.82 11.82 0 018.413 3.488 11.82 11.82 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.523 5.26l-.999 3.648 3.965-1.607zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E"); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241, 239, 231, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
/* Spektrum-Leiste à la Sportstadt-Plakat */
.site-header::before { content: ""; display: block; height: 6px; background: var(--spectrum); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--color-text); }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 52% 48% 55% 45% / 50% 52% 48% 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-family: var(--font-head); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--color-muted); font-size: .8rem; }

.primary-nav { display: flex; align-items: center; gap: .3rem; }
.primary-nav a { text-decoration: none; color: var(--color-text); font-weight: 600; padding: .55rem .85rem; border-radius: 999px; }
.primary-nav a:hover { background: rgba(60, 86, 107, 0.10); color: var(--color-primary-dark); }
.primary-nav .nav-cta { background: var(--color-accent); color: #fff; }
.primary-nav .nav-cta:hover { background: #57426B; color: #fff; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--color-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; margin-inline: auto; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections + Wellen-Divider ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section-alt { background: var(--color-white); }

/* Wellen-Trenner (SVG inline im HTML) */
.wave { display: block; width: 100%; height: clamp(40px, 7vw, 90px); }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-flip svg { transform: scaleX(-1); }

/* dekorative, weiche Farbkleckse im Hintergrund */
.blob-deco { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 0; pointer-events: none; }
.blob-sun { width: 240px; height: 240px; background: radial-gradient(circle at 30% 30%, rgba(162,143,176,.42), rgba(162,143,176,0)); }
.blob-teal { width: 300px; height: 300px; background: radial-gradient(circle at 30% 30%, rgba(94,155,201,.34), rgba(94,155,201,0)); }

/* ---------- Hero (asymmetrisch) ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1rem,3vw,2rem); position: relative; }
.hero .blob-sun { top: -40px; right: 4%; }
.hero .blob-teal { bottom: -120px; left: -80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.hero-media { position: relative; }
.hero-media .frame { border-radius: var(--blob-a); overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); transition: transform .4s ease; }
.hero-media .frame:hover { transform: rotate(0deg); }
.hero-media .frame .placeholder, .hero-media .frame img { border-radius: 0; }
.hero-media .tag-float {
  position: absolute; bottom: 8%; left: -6%; background: var(--color-white);
  border-radius: 999px; padding: .6rem 1.1rem; box-shadow: var(--shadow-sm);
  font-weight: 700; color: var(--color-primary-dark); font-size: .92rem; z-index: 2;
}
.hero-media .tag-float .dot { color: var(--color-accent); }

/* ---------- Cards (gestaffelt, organisch) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 2.2rem; }
.card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: 20px 20px 20px 64px; overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.card { border-top: 5px solid var(--c-baltic); }
.card:nth-child(2) { border-radius: 20px 64px 20px 20px; border-top-color: var(--c-violet); }
.card:nth-child(3) { border-radius: 64px 20px 20px 20px; border-top-color: var(--c-gold); }
.badge { background: rgba(60,86,107,0.12); color: var(--color-primary-dark); }
.cards .card:nth-child(2) { transform: translateY(18px); }
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.cards .card:nth-child(2):hover { transform: translateY(12px) rotate(.6deg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media .placeholder, .card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card-body { padding: 1.35rem 1.4rem 1.6rem; }
.badge { display: inline-block; background: rgba(60,86,107,0.12); color: var(--color-primary-dark); font-weight: 700; font-size: .85rem; padding: .28rem .75rem; border-radius: 999px; margin: 0 0 .6rem; }

/* ---------- Split-Layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.6rem); align-items: center; }
.split-media { position: relative; }
.split-media .frame { overflow: hidden; box-shadow: var(--shadow); }
.portrait-frame .frame { border-radius: var(--blob-b); transform: rotate(-2.5deg); transition: transform .4s ease; max-width: 420px; margin-inline: auto; }
.portrait-frame .frame:hover { transform: rotate(0deg); }
.portrait-frame .placeholder, .portrait-frame img { border-radius: 0; }

.ferien-logo { display: grid; place-items: center; line-height: 0; transition: transform .2s ease; }
.ferien-logo:hover { transform: rotate(-3deg) scale(1.04); }
.ferien-logo img { width: min(240px, 70%); height: auto; }
.feature-list { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.feature-list li { position: relative; padding-left: 1.7rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--color-sun); }

/* ---------- Forest-Section ---------- */
.section-forest { background: linear-gradient(160deg, #565759 0%, #3C566B 100%); color: #fff; }
.section-forest .eyebrow { color: #FFF4D2; }
.section-forest h2, .section-forest a:not(.btn) { color: #fff; }
.section-forest .note { color: #d9efe9; }
.section-forest .feature-list li::before { color: #FFF4D2; }
.section-forest .split-media .frame { border-radius: var(--blob-c); transform: rotate(2deg); }
.section-forest .stack { display: grid; gap: var(--gap); }
.section-forest .stack .frame:nth-child(2) { transform: rotate(-2deg); border-radius: var(--blob-a); }

/* ---------- Feature-Band (Vollbild, diagonal) ---------- */
.feature-band {
  position: relative; min-height: 360px; display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden;
  background: #3C566B;
}
.feature-band .band-media { position: absolute; inset: 0; }
.feature-band .band-media .placeholder, .feature-band .band-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 0; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60,86,107,.45), rgba(25,33,44,.82)); }
.feature-band .band-inner { position: relative; z-index: 2; max-width: 760px; padding: 3rem 1.5rem; }
.feature-band h2 { color: #fff; }
.feature-band .eyebrow { color: #D9C97C; }
.feature-band p { color: #eef6f3; font-size: 1.1rem; }

/* ---------- Zeitzeugen Media-Card ---------- */
.media-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: center; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 64px 20px 64px 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.media-card .ph-video, .media-card .band-media { border-radius: 0; height: 100%; }
.media-card-body { padding: 1.7rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--color-muted); }

/* ---------- Kontakt ---------- */
.section-contact { background: var(--color-sun); }
.section-contact .eyebrow { color: #3A3D40; }
.section-contact h2 { color: #2A2D30; }
.section-contact .section-intro { color: #3a2700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }
.section-contact .btn-outline { color: #3a2700; border-color: #3a2700; }
.section-contact .btn-outline:hover { background: #3a2700; color: var(--color-sun); }

/* ---------- Platzhalter (Bilder folgen) ---------- */
.placeholder {
  display: grid; place-items: center; width: 100%; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #e9efe9 0 14px, #e2eae3 14px 28px);
  color: var(--color-primary-dark); font-weight: 700; min-height: 100%;
  border: 1px dashed #b9cdc4;
}
.placeholder span { background: rgba(255,255,255,.8); padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; text-align: center; }
/* echte Bilder in Rahmen */
.frame img { width: 100%; height: auto; display: block; }
.card-media img, .band-media img, .media-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-hero { aspect-ratio: 4 / 3; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-video { aspect-ratio: 16 / 9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-footer-bg); color: var(--color-cream); padding: 3rem 0 1.5rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; color: #cfe3dd; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; text-decoration: none; font-size: 1.3rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .media-card { grid-template-columns: 1fr; }
  .media-card { border-radius: 32px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:nth-child(2) { transform: none; }
  .hero-media .frame { transform: none; }
  .portrait-frame .frame { transform: none; }
}
@media (max-width: 760px) {
  .hamburger { display: flex; }
  .primary-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--color-cream); border-bottom: 1px solid var(--color-border); padding: 1rem clamp(1rem, 4vw, 2.5rem); gap: .4rem; transform: translateY(-160%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: .8rem 1rem; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .card, .card:nth-child(2), .card:nth-child(3) { border-radius: 24px; }
}
