/* Die Kinderclowns: Design nach dem aktuellen Flyer (Orange-Gelb-Verlauf, weißer Klecks mit Tusche-Kontur,
   Logo-Rot/-Blau/-Gelb, Latzhosen-Patchwork). Keine externen Ressourcen. */

@font-face { font-family: "Baloo 2"; src: url("fonts/baloo2.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  /* Markenfarben aus Flyer + Logo */
  --orange: #f0993f;
  --orange-2: #f6c33a;
  --sun: #f5c518;
  --red: #c4302b;
  --blue: #1f5597;
  --blue-deep: #163f73;
  --green: #3e9b3a;
  --ink: #1b1c22;

  /* ein Farbton für alle: warmer Sandton statt grellem Weiß */
  --paper: #f3e5cc;
  --paper-2: #ead6b4;
  --card: #fffaf0;
  --text: #1b1c22;
  --muted: #4a4e5a;
  --line: #1b1c22;
  --shadow: #1b1c22;
  --focus: #1f5597;

  --r-card: 22px;
  --r-input: 14px;
  --sticker: 3px solid var(--line);
  --lift: 5px 5px 0 var(--shadow);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  color-scheme: only light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, .h3.h3, h4 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 , .h3.h3{ font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 62ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 , .prose .h3.h3{ margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--blue); font-weight: 700; }
/* ---------- Vorschau-Hinweis (vor Livegang entfernen) ---------- */
.preview-bar {
  background: var(--ink); color: #fff; font-size: .8125rem; text-align: center;
  padding: 6px 16px; line-height: 1.4;
}
.preview-bar a { color: var(--sun); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 3px solid transparent; transition: border-color .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
/* Klecks-Logo als Aufkleber, ragt aus dem Kopf heraus; beim Scrollen kompakt */
.brand { display: block; flex: 0 0 auto; align-self: flex-start; margin-top: 8px; position: relative; z-index: 2; }
.brand img { width: 238px; height: auto; filter: drop-shadow(3px 4px 0 rgb(27 28 34 / .22)); transition: width .35s var(--ease), transform .35s var(--ease); transform-origin: top left; }
.brand:hover img { transform: rotate(-2deg) scale(1.03); }
.site-header.is-stuck .brand img { width: 116px; }
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .brand img { width: 150px; }
  .site-header.is-stuck .brand img { width: 92px; }
}
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; text-decoration: none; font: 700 1.05rem/1 "Baloo 2", sans-serif;
  padding: 12px 13px 10px; border-radius: 999px; transition: background .2s; white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--sun); color: var(--ink); }
.header-cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; }

@media (max-width: 1180px) {
  .header-in .nav, .header-in .header-cta { display: none; }
  .header-in .burger { display: inline-flex; }
}
.burger {
  width: 48px; height: 48px; align-items: center; justify-content: center;
  border: var(--sticker); border-radius: 14px; background: var(--card); color: var(--text); cursor: pointer;
  box-shadow: 3px 3px 0 var(--shadow);
}
.burger svg { width: 24px; height: 24px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--orange);
  background: linear-gradient(180deg, var(--orange), var(--orange-2));
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; color: var(--ink);
  overflow-y: auto;
}
.mobile-nav .top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav .top img { width: 150px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.mobile-nav ul a {
  display: block; text-decoration: none; font: 800 1.6rem/1.1 "Baloo 2", sans-serif;
  background: #fff; border: var(--sticker); border-radius: var(--r-card); padding: 14px 20px; box-shadow: var(--lift); color: var(--ink);
}
.mobile-nav ul a[aria-current="page"] { background: var(--sun); }
.mobile-nav .contact-quick { display: grid; gap: 10px; margin-top: auto; }
body.nav-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; white-space: nowrap;
  font: 800 1.08rem/1 "Baloo 2", sans-serif; text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--fg); border: var(--sticker); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-sun { --bg: var(--sun); --fg: var(--ink); }
.btn-wa { --bg: #1f8f4e; --fg: #fff; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
/* ---------- Flyer-Fläche (Orange-Gelb) + Klecks-Kante ---------- */
.flyer-bg { background: linear-gradient(170deg, var(--orange) 0%, #f3ad3c 55%, var(--orange-2) 100%); color: var(--ink); }
.splash-edge { display: block; width: 100%; height: clamp(46px, 7vw, 96px); }
.flyer-bg { position: relative; }
.splash-edge.in-flyer { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; pointer-events: none; }
.splash-edge .fill { fill: var(--paper); }
.splash-edge .line { stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.splash-edge .line { fill: none; }

/* Latzhosen-Streifen (Kostüm des rechten Clowns) */
.stripes {
  height: 14px; border-block: 3px solid var(--ink);
  background: repeating-linear-gradient(90deg,
    var(--red) 0 46px, var(--ink) 46px 49px, var(--sun) 49px 95px, var(--ink) 95px 98px,
    var(--blue) 98px 144px, var(--ink) 144px 147px, var(--green) 147px 193px, var(--ink) 193px 196px);
}

/* ---------- Hero Startseite ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(84px, 9vw, 110px); padding-bottom: clamp(40px, 6vw, 80px);
  min-height: min(820px, calc(100dvh - var(--header-h)));
}
.hero-copy { position: relative; z-index: 4; }
.motto { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.motto span {
  font: 800 clamp(1.15rem, 1.8vw, 1.5rem)/1 "Baloo 2", sans-serif; padding: 10px 16px 7px; border: var(--sticker); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--shadow);
}
.motto .m1 { background: var(--red); color: #fff; transform: rotate(-4deg); }
.motto .m2 { background: var(--blue); color: #fff; transform: rotate(2deg) translateY(4px); }
.motto .m3 { background: var(--sun); color: var(--ink); transform: rotate(-2deg); }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 19ch; }
.hero .lead { color: #2a2620; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art { position: relative; z-index: 4; align-self: end; justify-self: center; width: min(560px, 100%); margin-bottom: clamp(-70px, -4vw, -30px); }
/* Spotlight hinter den Clowns */
.hero-art .sun {
  position: absolute; inset: 4% -14% 6% -14%; z-index: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / .7), rgb(255 246 220 / .35) 55%, rgb(255 255 255 / 0));
}
.hero-art img { width: 88%; margin-inline: auto; position: relative; z-index: 2; filter: drop-shadow(6px 10px 0 rgb(27 28 34 / .18)); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-grid { padding-top: 64px; padding-bottom: 50px; }
  .hero-art { width: min(400px, 92%); margin-bottom: -40px; }
  .hero-art .sun { inset: 6% -6% 8% -6%; }
}

/* Unterseiten-Kopf */
.page-head { padding: clamp(84px, 8vw, 104px) 0 clamp(70px, 8vw, 110px); position: relative; z-index: 4; }
.page-head .crumbs { font-size: .9rem; margin-bottom: 10px; }
.page-head .crumbs a { font-weight: 700; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { color: #2a2620; }
.page-head-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.page-head-art { width: clamp(150px, 17vw, 240px); margin-bottom: clamp(-110px, -8vw, -70px); position: relative; z-index: 4; filter: drop-shadow(5px 8px 0 rgb(27 28 34 / .18)); }
@media (max-width: 700px) { .page-head-grid { grid-template-columns: 1fr; } .page-head-art { display: none; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--paper-2); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.kicker {
  display: inline-block; font: 800 .95rem/1 "Baloo 2", sans-serif; color: var(--red);
  transform: rotate(-3deg); margin-bottom: 8px;
}
.sticker { background: var(--card); border: var(--sticker); border-radius: var(--r-card); box-shadow: var(--lift); }

/* Programm-Bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.bento .cell { overflow: hidden; display: flex; flex-direction: column; }
.bento .cell .media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--sticker); }
.bento .cell .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bento .cell:hover .media img { transform: scale(1.04); }
.bento .cell .body { padding: 18px 22px 22px; }
.bento .cell .body p { margin: 0; color: var(--muted); }
.bento .big { grid-row: span 2; }
.bento .big .media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.bento .sunny { background: var(--sun); color: var(--ink); }
.bento .sunny .body p { color: #2c2a22; }
.bento .bluey { background: var(--blue); color: #fff; }
.bento .bluey .body p { color: #e3ecf8; }
.bento .ballon { flex-direction: row; align-items: center; grid-column: span 2; }
.bento .ballon img { width: 44%; flex: none; padding: 10px 0 10px 12px; mix-blend-mode: multiply; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big { grid-column: span 2; grid-row: auto; }
  .bento .big .media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento .big, .bento .ballon { grid-column: auto; }
  .bento .ballon img { width: 38%; }
}

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts div { padding: 8px 24px; border-left: 3px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 "Baloo 2", sans-serif; color: var(--blue); }
.facts span { color: var(--muted); font-weight: 700; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Split-Layouts */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .photo { border: var(--sticker); border-radius: var(--r-card); box-shadow: var(--lift); overflow: hidden; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split .photo.tilt { transform: rotate(1.6deg); }
.split .photo.tilt-l { transform: rotate(-1.6deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 18px; list-style: none; }
.chips li {
  font: 700 1rem/1 "Baloo 2", sans-serif; padding: 11px 16px 9px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--card);
}
.chips.small li { font-size: .95rem; padding: 8px 13px 6px; }
.chips.on-orange li { background: #fff; color: var(--ink); }
.note-no { display: flex; gap: 8px; align-items: center; font-weight: 800; color: var(--red); }
.note-no svg { width: 22px; height: 22px; flex: none; }
/* Bewertungen */
.reviews { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.score { padding: 28px; text-align: left; }
.score .big { font: 800 clamp(4rem, 8vw, 6rem)/.9 "Baloo 2", sans-serif; color: var(--ink); }
.stars { display: flex; gap: 4px; color: var(--sun); margin: 8px 0 12px; }
.stars svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 10; paint-order: stroke; }
.score dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 18px 0 20px; font-weight: 700; }
.score dd { margin: 0; font-weight: 800; }
.score small { display: block; color: var(--muted); }
.review-stack { display: grid; gap: 18px; }
.review { padding: 20px 22px; }
.review:nth-child(odd) { transform: rotate(-.8deg); }
.review:nth-child(even) { transform: rotate(.7deg); margin-left: clamp(0px, 3vw, 36px); }
.review blockquote { margin: 0 0 10px; font-size: 1.06rem; }
.review figcaption { font-size: .92rem; color: var(--muted); font-weight: 700; }
.on-sun { background: var(--sun); color: var(--ink); }
.on-sun .score, .on-sun .review { background: #fff; color: var(--ink); }
.on-sun .score small, .on-sun .review figcaption { color: #4a4e5a; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .review:nth-child(even) { margin-left: 0; } }

/* Zwei-Klick-Einbindung */
.consent-box { padding: 22px; display: grid; gap: 12px; justify-items: start; }
.consent-box p { margin: 0; font-size: .95rem; }
.consent-box iframe { border: 0; width: 120px; height: 240px; background: #fff; border-radius: 8px; }

/* ---------- Rechner ---------- */
.calc { padding: clamp(20px, 3vw, 32px); }
.calc h3 , .calc .h3.h3{ margin-bottom: .3em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 800; }
.field .help { font-size: .9rem; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r-input);
}
textarea.input { min-height: 120px; resize: vertical; }
.input::placeholder { color: #6b6f7a; }
.input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.input-row { display: flex; gap: 10px; }
.input-row .input { flex: 1; min-width: 0; }
.input-row .btn { flex: none; }
@media (max-width: 520px) { .input-row { flex-direction: column; } }
.geo-btn { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 800; color: var(--blue); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; justify-self: start; }
.geo-btn svg { width: 20px; height: 20px; }
.result {
  margin-top: 8px; padding: 18px 20px; border-radius: var(--r-card); border: 2px dashed var(--line);
  background: var(--paper-2); min-height: 88px;
}
.result.ok { border-style: solid; background: #e6f3e4; color: var(--ink); }
.result.err { border-style: solid; background: #fde7e5; color: var(--ink); }
.result .amount { font: 800 2.2rem/1 "Baloo 2", sans-serif; display: block; margin: 4px 0 6px; }
.result small { display: block; color: #4a4e5a; }
.result.empty { color: var(--muted); display: flex; align-items: center; }
.result .skeleton { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #0001, #0002, #0001); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; margin: 6px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

.calc-band { background: var(--blue); color: #fff; }
.calc-band .section-head p { color: #dce7f6; }
.calc-band .calc { background: var(--card); color: var(--text); }
.towns h3 , .towns .h3.h3{ color: #fff; }
.towns .chips li { background: transparent; color: #fff; border-color: #fff; }

/* Preise */
.seg { display: inline-flex; border: var(--sticker); border-radius: 999px; overflow: hidden; background: var(--card); box-shadow: 3px 3px 0 var(--shadow); margin-bottom: 24px; flex-wrap: wrap; }
.seg button { font: 800 1rem/1 "Baloo 2", sans-serif; border: 0; background: none; color: var(--text); padding: 14px 20px 12px; cursor: pointer; }
.seg button + button { border-left: 3px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price { padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: start; }
.price h3 , .price .h3.h3{ margin: 0; }
.price .dur { color: var(--muted); font-weight: 700; grid-column: 1; }
.price .val { grid-row: 1 / span 2; grid-column: 2; font: 800 2.2rem/1 "Baloo 2", sans-serif; color: var(--blue); text-align: right; }
.price .val small { display: block; font: 700 .8rem/1.3 "Nunito", sans-serif; color: var(--muted); }
.price.wide { grid-column: span 2; background: var(--paper-2); }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } .price.wide { grid-column: auto; } }
.fineprint { margin-top: 22px; color: var(--muted); font-size: .97rem; max-width: 75ch; }
.fineprint li { margin-bottom: 4px; }

.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.estimator .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .estimator { grid-template-columns: 1fr; } }
.total-lines { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 6px 0 0; font-weight: 700; }
.total-lines dd { margin: 0; text-align: right; }
.total-lines .sum { border-top: 2px solid var(--ink); padding-top: 6px; font-size: 1.25rem; font-weight: 800; }

/* Dauer-Karten */
.durations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.durations .sticker { padding: 22px; }
.durations b { font: 800 2rem/1 "Baloo 2", sans-serif; display: block; margin-bottom: 6px; }
.durations .sticker.hl { background: var(--sun); color: var(--ink); }   /* hervorgehobene Karte (Standarddauer) */
@media (max-width: 860px) { .durations { grid-template-columns: 1fr; } }

/* FAQ: Sticker-Karten mit Sprechblase (? wird zu !) */
:root { interpolate-size: allow-keywords; }
.faq-sec { position: relative; }
.faq-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.faq-head h2 { margin-bottom: .2em; }
.faq-head p { color: var(--muted); font-size: 1.125rem; margin: 0; max-width: 60ch; }
.faq-dice svg { transition: transform .5s var(--ease); }
.faq-dice:hover svg { transform: rotate(180deg); }
.faq-grid { columns: 2 400px; column-gap: 20px; margin-bottom: 18px; }
.faq-item {
  --c: var(--red); --cf: #fff;
  break-inside: avoid; margin: 0 0 18px; background: var(--card); border: var(--sticker); border-radius: var(--r-card);
  box-shadow: 4px 4px 0 var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item:nth-child(4n+2) { --c: var(--blue); }
.faq-item:nth-child(4n+3) { --c: var(--sun); --cf: var(--ink); }
.faq-item:nth-child(4n+4) { --c: var(--green); }
.faq-item:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 6px 6px 0 var(--shadow); }
.faq-item[open] { background: #fff; }
.faq-item summary { display: flex; gap: 14px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; font: 700 1.15rem/1.25 "Baloo 2", sans-serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-bubble {
  flex: none; width: 46px; height: 46px; border-radius: 50% 50% 50% 12%; border: 3px solid var(--ink); display: grid; place-items: center;
  background: var(--c); color: var(--cf); font: 800 1.55rem/1 "Baloo 2", sans-serif; transition: transform .45s var(--ease);
}
.faq-bubble::before { content: "?"; }
.faq-item[open] .faq-bubble { transform: rotate(-12deg) scale(1.08); }
.faq-item[open] .faq-bubble::before { content: "!"; }
.faq-plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 3px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px 78px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--blue); font-weight: 800; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 560px) { .faq-a { padding-left: 20px; } .faq-item summary { font-size: 1.05rem; } }
@media (prefers-reduced-motion: no-preference) {
  .faq-item.wiggle { animation: wiggle .7s var(--ease); }
  @keyframes wiggle { 0%, 100% { rotate: 0deg; } 20% { rotate: -2.5deg; } 45% { rotate: 2deg; } 70% { rotate: -1deg; } }
}

/* Referenzen */
.quotes { columns: 3 300px; column-gap: 22px; }
.quotes figure { break-inside: avoid; margin: 0 0 22px; padding: 22px; }
.quotes blockquote { margin: 0 0 12px; }
.quotes figcaption { font-weight: 800; font-size: .95rem; }
.quotes figcaption span { display: block; font-weight: 600; color: var(--muted); }
.quotes figure:nth-child(4n+1) { background: var(--sun); color: var(--ink); }
.quotes figure:nth-child(4n+1) figcaption span { color: #3d3a30; }
.quotes .q-mark { width: 34px; height: 34px; color: var(--red); margin-bottom: 6px; }
.client-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client-groups h3 , .client-groups .h3.h3{ font-size: 1.2rem; }
.client-groups ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.client-groups li { margin-bottom: 6px; }
@media (max-width: 860px) { .client-groups { grid-template-columns: 1fr; } }

/* Galerie */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 18px; padding: 0; border: var(--sticker); border-radius: 18px; overflow: hidden;
  background: var(--card); cursor: zoom-in; box-shadow: 4px 4px 0 var(--shadow); break-inside: avoid;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery button:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 7px 7px 0 var(--shadow); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: 10px 14px; text-align: left; font-weight: 700; font-size: .95rem; color: var(--text); }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 28vw, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.strip a { scroll-snap-align: start; border: var(--sticker); border-radius: 18px; overflow: hidden; box-shadow: 4px 4px 0 var(--shadow); aspect-ratio: 4 / 3; display: block; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.strip a:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; padding: 6px 0 26px; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgb(15 16 20 / .92); }
.lightbox .lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px 72px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 14px; border: 3px solid #fff; }
.lightbox .lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; padding: 0 20px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 3px 3px 0 #000; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-in { padding: 64px 10px 90px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lightbox .lb-cap { bottom: 80px; } }

/* Kontakt */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-cards a, .contact-cards div.c {
  display: flex; gap: 14px; align-items: center; padding: 18px 20px; text-decoration: none;
  background: var(--card); border: var(--sticker); border-radius: var(--r-card); box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.contact-cards a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.contact-cards .ic { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; flex: none; color: var(--ink); }
.contact-cards .ic svg { width: 26px; height: 26px; }
.contact-cards b { display: block; font: 800 1.15rem/1.2 "Baloo 2", sans-serif; }
.contact-cards span { color: var(--muted); font-size: .95rem; }
.ic.wa { background: #6fd39a; } .ic.ph { background: var(--sun); } .ic.ml { background: #9cc0f0; } .ic.ad { background: #f7a49f; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.error-text { color: #b3261e; font-weight: 700; font-size: .92rem; }
.input[aria-invalid="true"] { border-color: #b3261e; }

/* CTA-Band */
.cta-band { padding: clamp(48px, 7vw, 88px) 0; }
.cta-band .in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: #2a2620; font-size: 1.15rem; }
@media (max-width: 860px) { .cta-band .in { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 3px solid var(--line); padding: 56px 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.2rem; margin-bottom: .6em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; font-weight: 700; }
.footer-grid a:hover { text-decoration: underline; }
.footer-logo { width: 240px; margin-bottom: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 2px solid color-mix(in srgb, var(--line) 25%, transparent); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }

/* Signatur „Eine Website von Tom Hauck“ in Tom-Hauck-Farben (Graphit + Gold) */
.th-credit {
  --gold: #d9a85b; --gold-soft: #e6b973;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px;
  background: #0e0f11; color: #ededeb; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.th-credit img { width: 30px; height: auto; transition: transform .5s var(--ease); }
.th-txt { display: grid; line-height: 1.1; text-align: left; }
.th-txt small { font-size: .72rem; color: #a0a2a7; letter-spacing: .02em; white-space: nowrap; }
.th-txt b { font: 800 1.02rem/1.15 "Baloo 2", sans-serif; letter-spacing: .01em; }
.th-more { display: grid; grid-template-columns: 0fr; transition: grid-template-columns .5s var(--ease); }
.th-more > span { overflow: hidden; white-space: nowrap; min-width: 0; color: var(--gold-soft); font-weight: 700; font-size: .84rem; padding-left: 2px; }
.th-credit svg { width: 18px; height: 18px; color: var(--gold); flex: none; transition: transform .3s var(--ease); }
.th-credit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(217 168 91 / .32) 48%, rgb(255 236 200 / .18) 52%, transparent 70%);
  transform: translateX(-130%);
}
.th-credit:hover, .th-credit:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--shadow); border-color: var(--gold); }
.th-credit:hover .th-more, .th-credit:focus-visible .th-more { grid-template-columns: 1fr; }
.th-credit:hover img, .th-credit:focus-visible img { transform: rotate(-8deg) scale(1.1); }
.th-credit:hover svg, .th-credit:focus-visible svg { transform: translate(2px, -2px); }
.th-credit:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow); }
@media (prefers-reduced-motion: no-preference) {
  .th-credit:hover::before, .th-credit.shine::before { animation: th-sweep 1.1s var(--ease) both; }
  @keyframes th-sweep { to { transform: translateX(130%); } }
}
@media (hover: none) { .th-more { display: none; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Schnellkontakt */
.quickbar { display: none; }
@media (max-width: 700px) {
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .quickbar.show { transform: none; }
  .quickbar .btn { min-height: 50px; padding: 10px 14px; font-size: 1rem; }
  body { padding-bottom: 0; }
}

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .tagline span { display: inline-block; animation: pop .6s var(--ease) both; animation-delay: calc(.25s + var(--i) * .18s); }
  @keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: none; } }
  .hero-art img { animation: rise .9s var(--ease) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .hero-art .sun { animation: glow 1.2s var(--ease) both; }
  @keyframes glow { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
  .motto span { animation: popScale .6s var(--ease) both; }
  @keyframes popScale { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
  .motto .m2 { animation-delay: .15s; } .motto .m3 { animation-delay: .3s; }
  @keyframes splat { from { opacity: 0; transform: scale(.8) rotate(-10deg); } to { opacity: 1; transform: rotate(-4deg); } }
}

/* Druck */
@media print {
  .site-header, .site-footer, .quickbar, .preview-bar, .splash-edge, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
@media (max-width: 520px) {
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg button { padding: 13px 4px 11px; font-size: .92rem; }
}

/* Große Bildschirme: mehr Breite, etwas größere Schrift */
@media (min-width: 1600px) {
  :root { --wrap: 1360px; }
  html { font-size: 106.25%; }
}

/* Kopf ohne Welle: fließender Übergang Orange -> Gelb (Referenzen) */
.flyer-bg.no-edge .page-head { padding-bottom: clamp(36px, 5vw, 56px); }
.flyer-bg.no-edge .page-head-art { margin-bottom: clamp(-90px, -6vw, -56px); }
.flyer-bg.no-edge { background: linear-gradient(180deg, var(--orange) 0%, #f3ad3c 50%, var(--sun) 100%); }
.on-sun.after-flyer { background: var(--sun); padding-top: clamp(56px, 7vw, 96px); }

/* Bewertungen: Plattform-Reiter + Karten */
.score .platform { margin: 0 0 6px; font: 800 1rem/1 "Baloo 2", sans-serif; letter-spacing: .02em; color: var(--blue); }
.score.compact { padding: 22px; }
.score.compact .big { font-size: clamp(3rem, 5vw, 4rem); }
.score-pair { display: grid; gap: 18px; }
.review figcaption .src { display: inline-block; margin-left: 6px; padding: 2px 8px 1px; border: 2px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--paper); color: var(--ink); }
.rev-tabs { display: inline-flex; flex-wrap: wrap; border: var(--sticker); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--shadow); margin-bottom: 28px; }
.rev-tabs button { font: 800 1.05rem/1 "Baloo 2", sans-serif; border: 0; background: none; color: var(--ink); padding: 14px 22px 12px; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; }
.rev-tabs button + button { border-left: 3px solid var(--ink); }
.rev-tabs button span { font: 700 .85rem/1 "Nunito", sans-serif; color: var(--muted); }
.rev-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.rev-tabs button[aria-selected="true"] span { color: var(--sun); }
.rev-panel + .rev-panel { margin-top: 40px; }
.js .rev-panel + .rev-panel { margin-top: 0; }
@media (max-width: 520px) { .rev-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .rev-tabs button { justify-content: center; flex-direction: column; gap: 4px; padding: 12px 8px 10px; } }
@media (prefers-reduced-motion: no-preference) { .rev-panel.enter .review { animation: popScale .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); } }
/* große Clowns im Kopf (Referenzen) */
.page-head-art.big { width: clamp(220px, 27vw, 380px); }
.flyer-bg.no-edge .page-head-art.big { margin-bottom: clamp(-150px, -10vw, -70px); }
.rev-panel > .score { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .rev-panel > .score { position: static; } }
@media (max-width: 700px) {
  .page-head-grid .page-head-art.big { display: block; width: 210px; justify-self: end; margin: -6px -4px -64px 0; }
}

/* Über uns */
.motto-cards { display: grid; grid-template-columns: 1.1fr 1fr 1.05fr; gap: 22px; align-items: start; }
.motto-card { padding: 26px 26px 22px; }
.motto-card h3 , .motto-card .h3.h3{ font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: .25em; }
.motto-card p { margin: 0; }
.motto-card.m1 { background: var(--red); color: #fff; transform: rotate(-1.5deg); }
.motto-card.m2 { background: var(--blue); color: #fff; transform: rotate(1deg); margin-top: 28px; }
.motto-card.m3 { background: var(--sun); color: var(--ink); transform: rotate(-.8deg); margin-top: 10px; }
.motto-card.m1 p, .motto-card.m2 p { color: #f4f1ea; }
@media (max-width: 860px) { .motto-cards { grid-template-columns: 1fr; } .motto-card.m2, .motto-card.m3 { margin-top: 0; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: var(--ink); }
.timeline li { position: relative; padding-top: 70px; }
.timeline .year { position: absolute; top: 0; left: 0; display: inline-grid; place-items: center; min-width: 56px; height: 54px; padding: 0 14px; border: var(--sticker); border-radius: 999px; background: var(--card); box-shadow: 3px 3px 0 var(--shadow); font: 800 1.2rem/1 "Baloo 2", sans-serif; }
.timeline li:nth-child(1) .year { background: var(--red); color: #fff; }
.timeline li:nth-child(2) .year { background: var(--sun); }
.timeline li:nth-child(3) .year { background: var(--blue); color: #fff; }
.timeline li:nth-child(4) .year { background: var(--green); color: #fff; }
.timeline li:nth-child(5) .year { background: var(--ink); color: var(--sun); }
.timeline h3 , .timeline .h3.h3{ margin-bottom: .2em; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .timeline li { padding: 4px 0 0 96px; min-height: 56px; }
  .timeline .year { min-width: 78px; padding: 0 10px; font-size: 1.05rem; left: -11px; }
}
.quote-band { text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.quote-band blockquote { margin: 0 auto 10px; max-width: 22ch; font: 800 clamp(1.8rem, 4vw, 3rem)/1.15 "Baloo 2", sans-serif; color: #fff; }
.quote-band p { color: var(--sun); font-weight: 800; margin: 0; }
.trio { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: center; }
.trio .photo { border: var(--sticker); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--lift); }
.trio .photo:nth-child(1) { transform: rotate(-2deg); } .trio .photo:nth-child(3) { transform: rotate(2deg); }
.trio img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* Referenzen: beide Bewertungskarten wie auf der Startseite, beim Scrollen mitlaufend */
.reviews-all .score-pair { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .reviews-all .score-pair { position: static; } }

/* Galerie mit frei einstellbaren Foto-Größen (Verwaltung: data-kc-gw = Breite in Sechsteln, 1-6).
   Grundzustand ohne Einstellung sieht aus wie das 3-Spalten-Layout oben; app.js schaltet per .gal-grid um,
   berechnet die Höhe aus dem Seitenverhältnis (kein Beschnitt) und lässt die anderen Fotos ausweichen. */
.gallery.gal-grid {
  columns: auto; display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  grid-auto-rows: 6px; grid-auto-flow: row dense; column-gap: 18px; row-gap: 0;
}
.gallery.gal-grid > figure, .gallery.gal-grid > figure[data-kc-w], .gallery.gal-grid > figure[data-kc-h] {
  grid-column: span var(--span, 2) !important; grid-row: span var(--rows, 40) !important; align-self: start; margin: 0 !important; min-width: 0;
}

/* ---------- Lange Startseite (Onepager, 2026-11-13): Kapitel + Menü leuchtet beim Ankommen ---------- */
.chapter { scroll-margin-top: -16px; }  /* bündig unter dem Kopf (html hat scroll-padding) */
.chapter-head.no-art .page-head { padding-bottom: clamp(56px, 6vw, 80px); }
.chapter-head .page-head { padding-top: clamp(56px, 6vw, 84px); }
.chapter-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; max-width: 20ch; }
.nav a.is-active { background: var(--sun); color: var(--ink); }
.mobile-nav ul a.is-active { background: var(--sun); }
@keyframes kc-nav-glow {
  0% { box-shadow: 0 0 0 0 rgb(245 197 24 / 0); scale: 1; }
  35% { box-shadow: 0 0 0 5px rgb(245 197 24 / .5), 0 0 24px 8px rgb(245 197 24 / .6); scale: 1.1; }
  100% { box-shadow: 0 0 0 0 rgb(245 197 24 / 0); scale: 1; }
}
.nav a.glow, .mobile-nav ul a.glow { animation: kc-nav-glow .9s cubic-bezier(.2, .8, .2, 1); }

/* Fuß-Spaltentitel (kein h2 mehr, sieht gleich aus) */
.footer-grid .footer-h { font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 800; font-size: 1.2rem; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .6em; }

/* Preis-Rechner: direkt anfragen (WhatsApp / E-Mail) */
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px; }
.result-actions .btn { white-space: normal; text-align: center; }
.result .ask-note { font-size: .85rem; }
@media (max-width: 560px) { .result-actions .btn { flex: 1 1 100%; } }

/* Orte: Hinweis unter der Liste (vorher frei verschoben) */
.towns .orte-weiter { color: #dce7f6; margin: 6px 0 0; }
/* Handy: im Verwaltungs-Tool frei verschobene Elemente dürfen nicht über den Bildschirmrand ragen
   (sonst wird die Seite breiter als das Handy → man kann rauszoomen und alles verrutscht) */
@media (max-width: 700px) {
  main [style*="translate"] { translate: none !important; }
}

/* Freigestelltes Foto im Kapitelkopf, das hinter der Welle verschwindet (Klasse behind-wave) */
.chapter-head:has(.behind-wave) { overflow: hidden; }
.page-head-grid .page-head-art.behind-wave { width: clamp(200px, 22vw, 320px); z-index: 2; filter: none; align-self: end;
  margin-bottom: calc(-1 * clamp(56px, 6vw, 80px) - 4px); }
.page-head-art.behind-wave img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .page-head-grid .page-head-art.big.behind-wave { display: block; width: 190px; justify-self: end; margin: -10px -4px calc(-56px - 4px) 0; }
}
.chapter-head:has(.behind-wave) .splash-edge.in-flyer { z-index: 20; }
.motto-card .h3.h3 { color: inherit; }
.timeline .h3.h3 { color: var(--ink); }

/* Handy: erster Bildschirm kompakt – Motto in einer Reihe, Knöpfe nebeneinander, Clowns sofort sichtbar */
@media (max-width: 560px) {
  .hero-grid { padding-top: 58px; padding-bottom: 34px; gap: 6px; }
  .motto { flex-wrap: nowrap; gap: 7px; margin: 0 0 16px; justify-content: flex-start; }
  .motto span { font-size: clamp(.86rem, 4.1vw, 1.05rem); padding: 8px 11px 6px; white-space: nowrap; box-shadow: 2px 2px 0 var(--shadow); }
  .hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.15rem); margin-bottom: .35em; }
  .hero .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
  .hero .cta-row { flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .hero .cta-row .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 10px 12px; font-size: clamp(.92rem, 4.2vw, 1.02rem); gap: 6px; box-shadow: 3px 3px 0 var(--shadow); }
  .hero .cta-row .btn svg { width: 16px; height: 16px; flex: none; }
  .hero-art { width: min(330px, 86%); margin-top: 4px; margin-bottom: -34px; }
}
@media (max-width: 360px) {
  .motto span { font-size: .8rem; padding: 7px 9px 5px; }
  .hero .cta-row .btn { font-size: .88rem; padding: 10px 8px; }
}
/* Handy: Motto unter den Logo-Klecks schieben, Knöpfe im ersten Bild weglassen (Leiste unten übernimmt) */
@media (max-width: 560px) {
  .hero-grid { padding-top: 84px; }
  .hero .cta-row { display: none; }
  .hero-art { margin-top: 14px; }
}
@media (max-width: 560px) { .hero-grid { gap: 0; } .hero-art { margin-top: -10px; } }
