/* Studio Ritmo – Stylesheet
   Farben, Schriften und Abstände nach Designer-Briefing (Okt. 2026) */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-latin-v23-normal-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-v23-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-v23-normal-700.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-v11-italic-400.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-v11-normal-400.woff2") format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
  --accent: #EA5B25;
  --accent-dark: #C94A1A;
  --text: #4D4D4D;
  --heading: #1F1F1F;
  --nav: #6B6B6B;          /* #7D7D7D aus dem Briefing, leicht abgedunkelt für AA-Kontrast */
  --muted: #BCBCBC;
  --bg: #FFFFFF;
  --section: #E5E5E5;
  --box: #EDEBEB;
  --footer-bg: #656565;
  --footer-text: #F0F0F0;

  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;

  --container: 1333px;
  --text-col: 720px;
  --gutter: 16px;
  --s1: 8px; --s2: 16px; --s3: 32px; --s4: 64px; --s5: 80px;
  --section-gap: 40px;
  --radius: 3px;
  --header-h: 76px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-gap: 64px; } }
@media (min-width: 1024px) { :root { --header-h: 96px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; border-radius: 2px; }
strong { color: var(--heading); font-weight: 700; }
button, input, select, textarea { font-family: inherit; }

h1, h2 { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--heading); line-height: 1.12; margin: 0 0 var(--s2); letter-spacing: -0.005em; }
h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
h1 { font-size: clamp(34px, 6vw, 66px); }
h2 { font-size: clamp(30px, 3.6vw, 41px); }
h3 { font-family: var(--font-body); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--heading); margin: 0 0 var(--s2); }
h4, .eyebrow { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; line-height: 1.4; color: var(--accent-dark); margin: 0 0 var(--s1); }
/* Überschriften in Boxen, Karten und Listen: überall dieselbe Größe */
.facts h3, .aside-box h3, .card h3, .ref-group h3, .ball-list h3, .legal h3 { font-size: 20px; letter-spacing: 0.05em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }
li + li { margin-top: 0.35em; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--heading); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.text-col { max-width: var(--text-col); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section { padding: var(--section-gap) 0; }
.section--grey { background: var(--section); }
.section--box { background: var(--box); }
.section--flush-top { padding-top: 0; }
.mt-l { margin-top: 40px; }
.lead { font-size: 1.15em; line-height: 1.6; color: var(--heading); font-weight: 300; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius);
  font: 700 16px/1.2 var(--font-body); letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--primary:hover { background: #A93D14; border-color: #A93D14; color: #fff; }
.btn--secondary { background: transparent; border-color: var(--muted); color: var(--heading); }
.btn--secondary:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--light:hover { background: #fff; color: var(--heading); border-color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--accent-dark); }
.btn--white:hover { background: var(--heading); border-color: var(--heading); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--spaced { margin-top: 28px; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-compact { box-shadow: 0 2px 18px rgba(0,0,0,.08); border-color: #eee; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .25s; }
.site-header.is-compact .site-header__inner { height: 64px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 44px; width: auto; transition: height .25s; }
@media (min-width: 1024px) { .logo img { height: 56px; } .site-header.is-compact .logo img { height: 42px; } }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li + li { margin-top: 0; }
@media (min-width: 1100px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li { position: relative; }
  .main-nav a, .main-nav .nav-toggle {
    display: block; padding: 10px 12px; font: 700 14px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--nav); text-decoration: none; background: none; border: 0; cursor: pointer;
  }
  .main-nav a:hover, .main-nav a[aria-current="page"], .main-nav li.is-active > a { color: var(--accent-dark); }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .sub {
    position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px 0 !important; background: #fff;
    border-top: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { padding: 12px 20px; text-transform: none; letter-spacing: 0.02em; font-size: 15px; }
  .sub a:hover { background: var(--box); }
  .main-nav .btn { margin-left: 12px; color: #fff; background: var(--accent-dark); border: 2px solid var(--accent-dark); padding: 12px 18px; font-size: 14px; text-transform: none; letter-spacing: 0.04em; }
  .main-nav .btn:hover { color: #fff; background: #A93D14; border-color: #A93D14; }
  .burger { display: none !important; }
}

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px;
  padding: 12px; background: none; border: 0; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiles Vollbild-Menü */
.mobile-nav {
  position: fixed; inset: 0; z-index: 49; background: #fff; padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { margin-top: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid #ececec; }
.mobile-nav a { display: block; padding: 14px 0; font: 700 18px/1.3 var(--font-body); letter-spacing: 0.04em; color: var(--heading); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--accent-dark); }
.mobile-nav .sub-m a { padding: 10px 0 10px 18px; font-weight: 400; font-size: 17px; color: var(--text); }
.mobile-nav .btn { margin-top: 28px; width: 100%; color: #fff; }
.mobile-nav__contact { margin-top: 28px; font-size: 16px; }
.mobile-nav__contact a { display: inline; padding: 0; font: inherit; color: var(--accent-dark); }
@media (min-width: 1100px) { .mobile-nav { display: none; } }

/* ---------- Hero Startseite ---------- */
.hero { position: relative; min-height: min(88vh, 860px); min-height: min(88svh, 860px); display: grid; place-items: center; color: #fff; overflow: hidden; background: #1c1814; }
@media (max-width: 767px) { .hero { min-height: 78vh; min-height: 78svh; } }
.hero__media, .hero__slide, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; object-position: 60% 40%; }
.hero__slide + .hero__slide img { object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,12,.55) 0%, rgba(20,15,12,.45) 45%, rgba(20,15,12,.75) 100%);
}
.hero__content { position: relative; z-index: 1; text-align: center; padding: 96px var(--gutter) 120px; max-width: 1100px; }
.hero__small { display: block; font: 700 clamp(21px, 2.6vw, 32px)/1.2 var(--font-body); letter-spacing: 0.02em; margin-bottom: 4px; min-height: 1.2em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__big { display: block; font: italic 400 clamp(56px, 9vw, 112px)/1 var(--font-display); color: var(--accent); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__rest { display: block; font: 700 clamp(19px, 2.4vw, 30px)/1.3 var(--font-body); margin-top: 12px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero__claim { margin: 32px auto 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); }
.hero .btn-row { justify-content: center; margin-top: 28px; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1; width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.7); border-radius: 16px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll::after { animation: none; } }

/* ---------- Seitenheader ---------- */
.page-header { position: relative; height: 220px; overflow: hidden; background: #2a2420; }
@media (min-width: 768px) { .page-header { height: 340px; } }
@media (min-width: 1333px) { .page-header { height: 400px; } }
.page-header picture { position: absolute; inset: -10% 0; display: block; }
.page-header img { width: 100%; height: 100%; object-fit: cover; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.18) 100%); }
.page-title { padding: var(--s3) 0 0; }
@media (min-width: 768px) { .page-title { padding-top: 48px; } }
.page-title h1 { margin-bottom: 8px; }
.breadcrumb { font-size: 14px; color: var(--nav); margin-bottom: 12px; }
.breadcrumb a { color: var(--nav); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.page-title .lead { max-width: var(--text-col); }

/* ---------- Willkommen / Startseite ---------- */
.welcome { display: grid; gap: var(--s3); }
@media (min-width: 1024px) { .welcome { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s4); align-items: start; } }
.welcome__text { max-width: var(--text-col); }
.welcome__kringel { width: 88px; margin-bottom: 8px; opacity: .9; }
.facts { background: var(--box); border-radius: var(--radius); padding: var(--s3); }
.facts h3 { margin-bottom: 12px; }
.facts ul { list-style: none; padding: 0; margin: 0 0 20px; }
.facts li { padding: 10px 0; border-bottom: 1px solid #dcd9d9; margin: 0; }
.facts li:last-child { border-bottom: 0; }
.facts li a { text-decoration: none; color: var(--heading); font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.facts li a::after { content: "→"; color: var(--accent-dark); }
.facts li a:hover { color: var(--accent-dark); }
.facts .small { font-size: 15px; margin: 0; }

/* Zitat über Parallax-Foto */
.quote-band { position: relative; padding: 96px 0; background-color: #2a2420; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .quote-band { padding: 140px 0; } }
.quote-band__media { position: absolute; inset: -15% 0; z-index: -1; }
.quote-band__media picture, .quote-band__media img { width: 100%; height: 100%; }
.quote-band__media img { object-fit: cover; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,15,12,.35); z-index: -1; }
.quote-box { position: relative; background: #fff; max-width: 760px; margin: 0 auto; padding: 40px 32px; border-radius: var(--radius); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@media (min-width: 768px) { .quote-box { padding: 56px 64px; } }
.quote-box blockquote { margin: 0; }
.quote-box blockquote p { font: italic 400 clamp(24px, 2.8vw, 32px)/1.3 var(--font-display); color: var(--heading); }
.quote-box figcaption { font-size: 15px; color: var(--text); }

/* CTA-Leiste */
.cta-bar { background: var(--accent); color: #fff; padding: 40px 0; }
.cta-bar__inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .cta-bar__inner { flex-direction: row; align-items: center; } }
.cta-bar p { margin: 0; font: 700 clamp(22px, 2.4vw, 28px)/1.3 var(--font-body); color: #fff; }
.cta-bar p a { color: #fff; white-space: nowrap; text-decoration: none; }

/* ---------- Kacheln ---------- */
.tiles { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: var(--s3); }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: #ccc; aspect-ratio: 4 / 3; }
.tile picture, .tile img { width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform .6s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: rgba(255,255,255,.9); }
.tile__label strong { display: inline-block; font: 300 20px/1.25 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--heading); padding-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .25s; }
.tile:hover .tile__label strong, .tile:focus-visible .tile__label strong { border-color: var(--accent); }
.tile__label span { display: block; font-size: 15px; color: var(--text); margin-top: 2px; }

/* ---------- Kursseite ---------- */
.course-layout { display: grid; gap: var(--s3); }
@media (min-width: 1024px) { .course-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s4); align-items: start; } }
.level-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; }
.level-nav a { flex-shrink: 0; padding: 10px 16px; border: 2px solid var(--muted); border-radius: var(--radius); font-weight: 700; font-size: 15px; color: var(--heading); text-decoration: none; background: #fff; }
.level-nav a:hover, .level-nav a.is-current { border-color: var(--accent-dark); color: var(--accent-dark); }
@media (min-width: 1024px) {
  .level-nav { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; gap: 0; margin: 0; padding: 0; overflow: visible; border-left: 2px solid var(--section); }
  .level-nav a { border: 0; border-left: 2px solid transparent; margin-left: -2px; border-radius: 0; padding: 12px 18px; background: none; font-size: 15px; letter-spacing: 0.02em; }
  .level-nav a:hover, .level-nav a.is-current { border-left-color: var(--accent); }
}
.level { padding: var(--s3) 0; border-top: 1px solid #e2e2e2; max-width: 820px; }
.level:first-child { border-top: 0; padding-top: 0; }
.level__num { font: italic 400 18px/1 var(--font-display); color: var(--accent-dark); margin-bottom: 6px; display: block; }

.booking { margin-top: 24px; background: var(--box); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 768px) { .booking { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; } }
.booking h4 { margin-bottom: 4px; }
.booking p { margin: 0; font-size: 15px; }
.booking__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px !important; }
.booking__contact a { color: var(--heading); font-weight: 700; text-decoration: none; }
.booking__contact a:hover { color: var(--accent-dark); }

/* ---------- Inhaltsseiten ---------- */
.content-grid { display: grid; gap: var(--s4); }
@media (min-width: 1024px) { .content-grid { grid-template-columns: minmax(0, var(--text-col)) minmax(0, 1fr); align-items: start; } }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.figure { margin: 0; }
.figure picture { display: block; overflow: hidden; border-radius: var(--radius); }
.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: 14px; color: var(--nav); margin-top: 8px; }
.aside-box { background: var(--box); border-radius: var(--radius); padding: var(--s3); }
.aside-box p:last-child { margin-bottom: 0; }

.cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin: var(--s3) 0; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid #e0e0e0; border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }

.ref-groups { display: grid; gap: 20px; margin: var(--s3) 0; }
@media (min-width: 900px) { .ref-groups { grid-template-columns: repeat(3, 1fr); } }
.ref-group { background: var(--box); border-radius: var(--radius); padding: 24px; }
.ref-group h3 { margin-bottom: 12px; }
.ref-group ul { margin: 0; padding-left: 1.1em; font-size: 15px; }
.ref-group li + li { margin-top: 4px; }

.ball-list { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: 16px; }
.ball-list li { margin: 0; display: grid; gap: 4px 24px; padding: 20px 24px; background: #fff; border: 1px solid #e0e0e0; border-left: 0; border-radius: var(--radius); box-shadow: inset 3px 0 0 var(--accent); }
@media (min-width: 768px) { .ball-list li { grid-template-columns: 200px 1fr; } }
.ball-list .ball-date { font-weight: 700; color: var(--accent-dark); }
.ball-list h3 { margin: 0 0 4px; }
.ball-list p { margin: 0; font-size: 15px; }

.info-pair { display: grid; gap: 20px; margin-top: var(--s3); }
.info-pair--flush, .tiles--flush { margin-top: 0; }
.aside-box--white { background: #fff; }
@media (min-width: 768px) { .info-pair { grid-template-columns: 1fr 1fr; } }

.portrait { max-width: 420px; }
.book { display: grid; gap: 24px; align-items: center; margin-top: var(--s4); padding: var(--s3); background: var(--box); border-radius: var(--radius); }
@media (min-width: 640px) { .book { grid-template-columns: 160px 1fr; } }
.book img { width: 160px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
@media (max-width: 639px) { .book img { width: 140px; } }

.pull-quote { margin: var(--s3) 0; padding: 0 0 0 0; }
.pull-quote p { font: italic 400 clamp(26px, 3vw, 34px)/1.25 var(--font-display); color: var(--accent-dark); margin: 0; }

/* Preistabelle */
.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
@media (min-width: 561px) { .price-table { table-layout: fixed; } .price-table th { width: 46%; } .price-table td:nth-child(2) { width: 24%; } }
.price-table th, .price-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid #e2e2e2; vertical-align: top; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 1px solid #e2e2e2; }
.price-table th { font-weight: 700; color: var(--heading); }
.price-table th span { font-weight: 400; color: var(--text); }
.price-table td:nth-child(2) { font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
.price-table td:last-child { color: var(--nav); font-size: 15px; padding-right: 0; }
@media (max-width: 560px) {
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid #e2e2e2; }
  .price-table tr:first-child { border-top: 1px solid #e2e2e2; }
  .price-table th, .price-table td, .price-table tr:first-child th, .price-table tr:first-child td { border: 0; padding: 2px 0; }
  .price-table td:last-child { grid-column: 1 / -1; }
}

/* ---------- Formular ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; color: var(--heading); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--nav); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid #c8c8c8; border-radius: var(--radius);
  font: 16px/1.4 var(--font-body); color: var(--heading); background: #fff;
}
.field textarea { min-height: 160px; resize: vertical; }
.field textarea.textarea--short { min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(201,74,26,.18); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent-dark); flex-shrink: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gutschein-fields { display: grid; gap: 20px; padding: 20px; background: var(--box); border-radius: var(--radius); }
.gutschein-fields[hidden] { display: none; }
.form-note { font-size: 14px; color: var(--nav); margin: 0; }
.notice { padding: 20px 24px; border-radius: var(--radius); background: var(--box); border-left: 4px solid var(--accent); margin-bottom: 24px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { margin: 0 0 6px; }
.contact-list a { color: var(--heading); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--accent-dark); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0 0 24px; }
.hours dt { font-weight: 700; color: var(--heading); }
.hours dd { margin: 0; }

/* Rechtstexte */
.legal h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 1.6em; }
.legal h3 { margin-top: 1.6em; }
.legal .container > h2:first-child { margin-top: 0; }
.legal ul li { margin-top: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 24px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFD3C2; }
.footer-claim { font: italic 400 clamp(24px, 2.8vw, 32px)/1.3 var(--font-display); color: #fff; text-align: center; max-width: 820px; margin: 0 auto 48px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-grid h2 { font: 700 13px/1.3 var(--font-body); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.footer-grid p, .footer-grid ul { margin: 0; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin: 0 0 6px; }
.footer-logo { width: 170px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }
.social a:hover { background: #fff; color: var(--footer-bg); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom li { margin: 0; }

/* ---------- Übergänge der Fotos ---------- */
/* Seitenwechsel: sanftes Überblenden (Chrome, Edge, Safari 18+; andere Browser wechseln wie gewohnt) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .45s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Blöcke und Fotos beim Scrollen einblenden, in Rastern leicht versetzt */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1); }
.js .fade.is-visible { opacity: 1; transform: none; }
.js :is(.tiles, .cards, .ref-groups, .info-pair) > .fade:nth-child(2) { transition-delay: .12s; }
.js :is(.tiles, .cards, .ref-groups, .info-pair) > .fade:nth-child(3) { transition-delay: .24s; }
.js :is(.tiles, .cards, .ref-groups, .info-pair) > .fade:nth-child(4) { transition-delay: .36s; }
/* Fotos in Kacheln und Abbildungen zoomen beim Einblenden leicht zurück */
.js .tile.fade img, .js .figure.fade img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.65,.3,1); }
.js .tile.fade.is-visible img, .js .figure.fade.is-visible img { transform: none; }
.js .tile.fade.is-visible:hover img, .js .tile.fade.is-visible:focus-visible img { transform: scale(1.05); transition-duration: .6s; }

/* Startseite: Bildfolge mit Überblendung und langsamem Zoom (Ken Burns) */
.hero__slide { opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { transform: scale(1.12); transition: transform 9s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide:nth-child(even) img { transform-origin: 30% 40%; }
.js .hero__slide:first-child img { opacity: 0; transition: opacity 1.4s ease, transform 9s linear; }
.js .hero__slide:first-child img.is-loaded { opacity: 1; }
.js .hero__content > * { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .hero.is-ready .hero__content > * { opacity: 1; transform: none; }
.js .hero.is-ready .hero__content > *:nth-child(2) { transition-delay: .15s; }
.js .hero.is-ready .hero__content > *:nth-child(3) { transition-delay: .3s; }
.hero__quote.is-changing { opacity: 0 !important; transition-duration: .6s !important; transition-delay: 0s !important; }

/* Seitenheader: einblenden mit sanftem Zoom, danach leichter Parallax beim Scrollen (per JS) */
.js .page-header img { opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 2.2s cubic-bezier(.2,.65,.3,1); }
.js .page-header img.is-loaded { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .fade, .js .fade img, .hero__slide img, .js .hero__slide:first-child img, .js .hero__content > *, .js .page-header img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__slide { transition: none; }
  [data-parallax] { transform: none !important; }
}

/* Druck */
@media print {
  .site-header, .mobile-nav, .hero__scroll, .cta-bar, .level-nav, .site-footer .social { display: none !important; }
  .js .fade, .js .fade img, .js .page-header img { opacity: 1 !important; transform: none !important; }
  .hero__slide:not(:first-child) { display: none; }
  body { font-size: 12pt; }
}
