/* SensoRelax – Design nach dunklem Mockup: Petrol-Header/Hero, helle Content-Bänder. Mobile-first. */
:root {
  --petrol: #0d3b44;
  --petrol-2: #14505c;
  --petrol-3: #1d6371;
  --petrol-deep: #092c34;
  --ink: #12333b;
  --text: #43626a;
  --aqua-bg: #e8f4f5;
  --aqua-soft: #f2f8f9;
  --aqua-line: #d8e9ec;
  --cream: #f7f3ec;
  --coral: #b83e26;
  --coral-dark: #9e3520;
  --coral-light: #ff9d8a;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 32px rgba(9, 44, 52, .14);
  --shadow-soft: 0 6px 20px rgba(9, 44, 52, .08);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-3); }

h1, h2, h3, .h3 {
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.3rem, 6.5vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); margin-bottom: .55em; }
h3, .h3 { font-size: 1.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }
.section { padding: clamp(2.8rem, 6.5vw, 5rem) 0; }
.bg-aqua { background: var(--aqua-bg); }
.bg-soft { background: var(--aqua-soft); }
.bg-cream { background: var(--cream); }

.eyebrow {
  display: block;
  color: var(--coral);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow { margin-bottom: .35rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--petrol); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--petrol); color: #fff;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1rem var(--font);
  padding: .8rem 1.5rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); box-shadow: 0 8px 22px rgba(184, 62, 38, .3); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--aqua-line); box-shadow: none; }
/* Ablehnen im Cookie-Hinweis: optisch gleichwertig zu "Alle akzeptieren" (gleiche Groesse, gleicher Rahmen, andere Farbe). */
.btn-decline { background: var(--petrol-2); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(13, 59, 68, .3); }
.btn-decline:hover { background: var(--petrol); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--coral); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.text-link:hover { color: var(--coral-dark); text-decoration: underline; }

/* Header – transparent über dem Hero, füllt sich beim Scrollen */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled,
body.nav-open .site-header {
  background: var(--petrol);
  box-shadow: 0 6px 24px rgba(9, 44, 52, .25);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 72px; padding-top: .5rem; padding-bottom: .5rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 56px; width: auto; }
.footer-logo { height: 60px; width: auto; }

.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.header-cta { padding: .62rem 1.2rem; font-size: .93rem; }
.header-cta .cta-full { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2.5px; border-radius: 2px;
  background: #fff; transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-open .main-nav {
  display: block;
  position: absolute; top: calc(100% + 6px); right: 14px;
  min-width: 250px;
  background: var(--petrol-2); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(9, 44, 52, .45);
  padding: .55rem;
  z-index: 60;
}
.nav-open .main-nav ul { list-style: none; }
.nav-open .main-nav li + li { border-top: 1px solid rgba(255,255,255,.09); }
.nav-open .main-nav a {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1rem;
  color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 10px;
}
.nav-open .main-nav a:hover { background: var(--petrol-3); }
.nav-icon { width: 21px; height: 21px; flex: none; opacity: .85; }

/* Hero – dunkles Wasser, weiße Headline (Mockup) */
.hero {
  position: relative;
  background: var(--petrol);
  min-height: min(78svh, 640px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media picture {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(97deg, rgba(9, 44, 52, .88) 0%, rgba(9, 44, 52, .62) 34%, rgba(9, 44, 52, .18) 62%, rgba(9, 44, 52, .05) 100%);
}
.hero-content {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) 20px;
  padding-top: clamp(8rem, 16vw, 10rem);
}
.hero h1 { max-width: 13ch; color: #fff; text-shadow: 0 2px 20px rgba(9, 44, 52, .4); }
.hero-sub {
  color: #dceef1; font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 38ch; margin: 1rem 0 1.7rem;
  text-shadow: 0 1px 12px rgba(9, 44, 52, .45);
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px; padding: .32rem .9rem;
  font-size: .8rem; font-weight: 700; margin-bottom: 1.1rem;
}

/* Benefit-Leiste – helles Band, nur Titel (Mockup) */
.benefits { background: var(--aqua-bg); }
.benefits-inner {
  display: grid; gap: 1rem;
  padding: 1.3rem 0;
}
.benefit { display: flex; align-items: center; gap: .8rem; justify-content: flex-start; }
.benefit-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--petrol);
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-title { display: block; color: var(--ink); font-size: 1.04rem; line-height: 1.3; font-weight: 700; }
.benefit-sub { display: none; }

/* Intro-Text nach dem Hero: zweispaltig, Blocksatz */
.intro-section { background: var(--white); }
.intro-section h2 { max-width: 24ch; }
.intro-cols {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.intro-cols p { margin-bottom: 1rem; }
@media (min-width: 700px) {
  .intro-cols { column-count: 2; column-gap: clamp(2rem, 5vw, 4rem); }
  .intro-cols p { break-inside: avoid-column; }
}

/* Kurs-Karten – vollflächiges Bild, Text unten im Overlay (Mockup) */
.course-grid { display: grid; gap: 1.3rem; }
.course-card {
  position: relative;
  background: var(--petrol);
  border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  aspect-ratio: 3 / 4;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(9, 44, 52, .25); }
.course-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.course-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease;
}
.course-card:hover img { transform: scale(1.04); }
.course-card-body {
  position: absolute; inset: auto 0 0 0;
  padding: 3.2rem 1.3rem 1.25rem;
  background: linear-gradient(180deg, rgba(9,44,52,0) 0%, rgba(9,44,52,.62) 40%, rgba(9,44,52,.92) 100%);
}
.course-card-body h3, .course-card-body h2 { color: #fff; font-size: 1.32rem; margin-bottom: .25rem; }
.course-card-body p { font-size: .9rem; color: #d3e6ea; margin-bottom: .7rem; }
.course-card .text-link { color: var(--coral-light); font-size: .95rem; }
.course-card:hover .text-link { text-decoration: underline; }

/* Split-Sektionen (Mockup): Konzept auf Creme, Foto rechts randlos mit Wellenkante;
   Über-uns weiß, Foto links randlos */
.split-section { position: relative; overflow: hidden; }
.split-section.bg-cream { background: var(--cream); }
.split-inner { display: grid; align-items: stretch; }
.split-text {
  align-self: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 20px;
}
.split-text p { margin-bottom: 1.2rem; max-width: 44ch; }
.split-text .check-list { margin: 1.1rem 0 1.3rem; }
.squiggle { display: block; width: 38px; height: 10px; margin-bottom: .8rem; }
.squiggle path { stroke: var(--coral); }
.split-media { position: relative; min-height: 260px; }
.split-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.split-media .wave-edge {
  position: absolute; top: -1px; bottom: -1px; width: 90px; height: calc(100% + 2px);
  color: var(--cream);
}
.split-media .wave-edge.left { left: -1px; }
.split-media .wave-edge.right { right: -1px; transform: scaleX(-1); color: var(--white); }

.check-list { list-style: none; }
.check-list li { padding-left: 2.1rem; position: relative; margin-bottom: .6rem; color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .12rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--petrol); color: #fff; font-size: .8rem;
  display: grid; place-items: center;
}

/* Standort-Karten */
.location-grid { display: grid; gap: 1.3rem; }
.location-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; box-shadow: var(--shadow-soft); background: var(--petrol);
}
.location-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s ease; opacity: .94; }
.location-card:hover img { transform: scale(1.04); }
.location-card-body {
  position: absolute; inset: auto 0 0 0; padding: 1.05rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(9,44,52,.92) 60%);
  padding-top: 3rem;
}
.location-card-body h2, .location-card-body h3 { color: #fff; margin-bottom: .2rem; }
.location-card-body p { color: #d7e9ec; font-size: .92rem; margin-bottom: .35rem; }
.location-card-body .text-link { color: var(--coral-light); }

/* Unterseiten-Kopf – dunkel passend zum Header, optional vollbreites Bild */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--petrol-deep) 0%, var(--petrol) 55%, var(--petrol-2) 100%);
  padding-top: 84px;
  overflow: hidden;
}
.page-hero.has-image { min-height: min(56svh, 520px); display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(97deg, rgba(9,44,52,.88) 0%, rgba(9,44,52,.55) 40%, rgba(9,44,52,.22) 75%),
              linear-gradient(180deg, rgba(9,44,52,.25) 0%, rgba(9,44,52,0) 35%, rgba(9,44,52,.55) 100%);
}
.page-hero-content {
  position: relative; z-index: 1; width: 100%;
  padding-top: 1.5rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-hero-content h1 { text-shadow: 0 2px 18px rgba(9,44,52,.45); }
.page-hero-content .lede { text-shadow: 0 1px 12px rgba(9,44,52,.4); }
.page-hero-inner {
  display: grid; gap: 1.8rem; align-items: center;
  padding-top: clamp(2.2rem, 5vw, 3.8rem); padding-bottom: clamp(2.2rem, 5vw, 3.8rem);
}
.page-hero-inner.single { grid-template-columns: 1fr; max-width: 900px; }
.page-hero h1 { color: #fff; }
.page-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; }
.page-hero-text .btn { margin-top: 1.2rem; }
.page-hero .lede { color: #cfe5e8; }
.page-hero p { color: #b9d4d8; }
.lede { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--petrol-2); margin: .7rem 0 1rem; max-width: 56ch; }

.breadcrumbs { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: #8fb3b9; }
.breadcrumbs a { color: #a7cad0; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }
.breadcrumbs [aria-current] { color: #d7e9ec; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: .3rem; }
.crumb-home { width: 15px; height: 15px; }

.fact-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 .4rem; }
.fact {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 600; color: #fff;
}

/* Fließtext */
.course-body h2 { margin-top: 1.8em; }
.course-body p { margin-bottom: 1.1rem; }
.course-body .check-list { margin: 1rem 0 1.6rem; }
.course-body .check-list li { font-weight: 500; }
.course-locations-note { border-top: 1px solid var(--aqua-line); padding-top: 1.2rem; font-size: .95rem; }
.legal-body h2 { font-size: 1.25rem; }

.related-links ul { list-style: none; columns: 1; }
.related-links li { margin-bottom: .5rem; }
.related-links a { color: var(--petrol-3); font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* FAQ */
.faq-section { padding: clamp(2.8rem, 6.5vw, 5rem) 0; background: var(--aqua-soft); }
.faq {
  border: 1px solid var(--aqua-line); border-radius: var(--radius);
  margin-bottom: .8rem; background: var(--white);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink);
  padding: 1rem 1.2rem; list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--coral); font-weight: 400;
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 1.2rem 1.1rem; }

/* CTA-Block auf Kursseiten */
.course-cta { background: var(--cream); }
.course-cta-inner { text-align: center; }
.course-cta-inner p { margin: 0 auto 1.4rem; max-width: 60ch; }

/* CTA-Band – vollbreit, helles Türkis-Wasser mit Lichtstrahlen (Mockup) */
.cta-band {
  position: relative;
  background: url(/static/img/cta-water.webp) center/cover;
  padding: clamp(3.2rem, 8vw, 5.5rem) 0;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 44, 52, .18) 0%, rgba(9, 44, 52, .38) 100%);
}
.cta-band-card h2 { text-shadow: 0 2px 14px rgba(9, 44, 52, .45); }
.cta-band-card p { text-shadow: 0 1px 10px rgba(9, 44, 52, .4); }
.cta-band-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.cta-band-card h2 { color: #fff; }
.cta-band-card p { color: #cfe5e8; margin-bottom: 1.3rem; }

/* Ratgeber-Artikel */
.article-grid { display: grid; gap: 1.4rem; }
.article-card {
  background: var(--white); border: 1px solid var(--aqua-line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.article-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.article-card-body { padding: 1.1rem 1.3rem 1.3rem; }
.article-card-body h2, .article-card-body h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.article-card-body p { font-size: .94rem; margin-bottom: .7rem; }
@media (min-width: 700px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }

/* Karte komplett klickbar, Anchor-Text bleibt kurz */
.article-card { position: relative; }
.article-card a.stretched { text-decoration: none; color: inherit; }
.article-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.article-card:hover a.stretched { color: var(--petrol-3); }

/* Instagram / Aktuelles-Slider */
.insta-section { background: var(--white); }
.insta-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.4rem; justify-content: space-between; margin-bottom: 1.3rem; }
.insta-head h2 { margin-bottom: 0; }
.insta-slider {
  display: flex; gap: 1.1rem; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .2rem .2rem .8rem;
  scrollbar-width: thin; scrollbar-color: var(--aqua-line) transparent;
}
.insta-card {
  flex: 0 0 min(78%, 300px); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--aqua-line);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.insta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.insta-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.insta-card-body { padding: 1rem 1.1rem 1.15rem; }
.insta-card-body h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.insta-card-body p { font-size: .9rem; margin-bottom: .7rem; }
.insta-hint {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--coral); font-weight: 700; font-size: .85rem;
}
.insta-hint svg { width: 17px; height: 17px; }

/* Footer – dunkle Leiste (Mockup) */
.site-footer { background: var(--petrol-deep); color: #b9d4d8; font-size: .95rem; }
.footer-cols {
  display: grid; gap: 1.8rem;
  padding-top: 2.6rem; padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h2 {
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { font-size: .92rem; }
.footer-links-grid { columns: 1; }
@media (min-width: 700px) {
  .footer-cols { grid-template-columns: 1fr 1.1fr 1.6fr; gap: 2.5rem; }
  .footer-links-grid { columns: 2; column-gap: 1.6rem; }
}
@media (min-width: 1000px) {
  .footer-links-grid { columns: 3; }
}
.footer-main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2.2rem;
  padding-top: 1.6rem; padding-bottom: 1.6rem;
}
.footer-brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.footer-item { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.footer-item svg { width: 19px; height: 19px; flex: none; opacity: .8; }
.site-footer a { color: #cfe5e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.1rem; padding-bottom: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
  font-size: .86rem; color: #8fb3b9;
  align-items: center;
}
.footer-links .spacer { flex: 1; }

/* Kontakt */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-form .field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .3rem; }
.contact-form label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: .75rem .9rem;
  border: 1.5px solid var(--aqua-line); border-radius: 12px;
  background: var(--white); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--petrol-3); outline-offset: 1px; border-color: var(--petrol-3);
}
.field-row { display: grid; gap: 0 1rem; }
.field-hint { font-size: .85rem; color: var(--text); margin-bottom: 1.1rem; }
.hp-field { position: absolute; left: -9999px; }
.notice.success {
  background: #e8f7ee; border: 1px solid #b5e2c8; color: #1c5c38;
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem;
}
.contact-aside {
  background: var(--aqua-bg); border-radius: var(--radius-lg); padding: 1.6rem;
  align-self: start;
}
.contact-list { list-style: none; margin: .9rem 0 1.1rem; }
.contact-list li { display: flex; gap: .6rem; margin-bottom: .55rem; align-items: center; }
.contact-list a { color: var(--petrol-2); font-weight: 700; text-decoration: none; }
.contact-icon { width: 19px; height: 19px; flex: none; color: var(--petrol-3); }

/* Preistabelle */
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; }
.price-table th, .price-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--aqua-line); }
.price-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--petrol-2); }
.price-table td strong { color: var(--ink); }

/* ProvenExpert-Badge */
.pe-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--aqua-line);
  border-radius: 12px; padding: .45rem .8rem;
  text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-soft);
  font-size: .78rem; line-height: 1.3;
}
.pe-badge:hover { box-shadow: var(--shadow); }
.pe-stars { display: inline-flex; gap: 1px; color: #f5a623; }
.pe-stars svg { width: 14px; height: 14px; }
.pe-score { color: var(--ink); font-weight: 700; }
.pe-brand { font-weight: 700; letter-spacing: .02em; color: #067bc2; }
.pe-badge.pe-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #cfe5e8; box-shadow: none; }
.pe-badge.pe-dark .pe-score { color: #fff; }
.pe-badge.pe-dark .pe-brand { color: #8fd0f5; }
.hero-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem; }

/* Consent – bewusst dezent */
.consent {
  position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 10px;
  background: var(--white); border: 1px solid var(--aqua-line);
  border-radius: 12px; box-shadow: 0 8px 28px rgba(9, 44, 52, .18);
  padding: .75rem .9rem; font-size: .82rem; line-height: 1.45;
  display: flex; flex-direction: column; gap: .5rem;
  color: var(--text);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.consent .btn { padding: .35rem .75rem; font-size: .8rem; box-shadow: none; }
.consent-check { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--ink); }
.consent-check input { width: 15px; height: 15px; accent-color: var(--coral); }
@media (min-width: 700px) {
  .consent { left: auto; right: 16px; bottom: 16px; max-width: 340px; }
}

/* Cookie-Einstellungen */
.cookie-cat { border: 1px solid var(--aqua-line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-cat-head h2 { margin: 0; font-size: 1.1rem; }
.cookie-cat p { margin: .6rem 0 0; font-size: .95rem; }
.cookie-switch {
  flex: none; width: 52px; height: 30px; border-radius: 999px;
  background: #cdd9dc; border: 0; cursor: pointer; position: relative;
  transition: background .2s ease;
}
.cookie-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.cookie-switch.on { background: var(--coral); }
.cookie-switch.on::after { transform: translateX(22px); }
.cookie-switch.locked { background: var(--petrol); cursor: not-allowed; opacity: .55; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--aqua-line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
/* Solange der Cookie-Hinweis offen ist, bleibt der Sticky-CTA unten ausgefahren –
   sonst verdeckt der Banner (z-index 90) den CTA (z-index 40) auf schmalen Screens.
   .consent und .sticky-cta sind Geschwister direkt unter <body>; der CTA folgt dem Banner. */
.consent:not([hidden]) ~ .sticky-cta,
.consent:not([hidden]) ~ .sticky-cta.visible { transform: translateY(110%); }
.sticky-cta .btn { width: 100%; justify-content: center; }

/* Karussell-Punkte (mobil) */
.carousel-dots { display: flex; justify-content: center; gap: .15rem; margin-top: .6rem; }
.carousel-dots button {
  width: 28px; height: 28px; border: 0; padding: 0;
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--aqua-line);
}
.carousel-dots button.active::before { background: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Klein (Telefon) ---------- */
@media (max-width: 699px) {
  .course-grid.carousel {
    display: flex; overflow-x: auto; gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: .2rem .2rem .6rem;
    scrollbar-width: none;
  }
  .course-grid.carousel::-webkit-scrollbar { display: none; }
  .course-grid.carousel .course-card { flex: 0 0 78%; scroll-snap-align: center; }
  .hero { min-height: 72svh; align-items: flex-end; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(9,44,52,.30) 0%, rgba(9,44,52,.55) 55%, rgba(9,44,52,.88) 100%);
  }
  .benefits-inner { grid-template-columns: 1fr; gap: .8rem; }
  .benefit-icon { width: 44px; height: 44px; }
  .benefit-icon svg { width: 22px; height: 22px; }
  .wave-edge { display: none; }
  .course-grid.carousel .course-card { aspect-ratio: 3 / 4; }
}

@media (max-width: 479px) {
  .header-inner { gap: .5rem; }
  .header-actions { gap: .5rem; }
  .brand-logo { height: 44px; }
  .header-cta { padding: .5rem .9rem; font-size: .85rem; }
  .nav-toggle { width: 40px; padding: 8px; }
  .footer-item { white-space: normal; }
}

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .benefits-inner { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .benefit { justify-content: center; }
  .benefit + .benefit { border-left: 1px solid rgba(13, 59, 68, .12); padding-left: 1.4rem; }
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .split-inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .split-inner.media-left .split-media { order: -1; }
  .split-inner .split-text {
    padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
    padding-right: clamp(2rem, 5vw, 4.5rem);
  }
  .split-inner.media-left .split-text {
    padding-left: clamp(2rem, 5vw, 4.5rem);
    padding-right: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  }
  .split-media { min-height: 420px; }
  .page-hero-inner { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1.5fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .related-links ul { columns: 2; column-gap: 2.5rem; }
  /* Instagram-Karten: volle Rasterbreite wie die übrigen Grids */
  .insta-slider { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: .2rem 0; }
  .insta-card { flex: none; width: auto; }
  .sticky-cta, .carousel-dots { display: none; }
  .header-cta .cta-full { display: inline; }
  .header-cta .cta-short { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1150px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; margin-left: auto; }
  .main-nav ul { list-style: none; display: flex; gap: .3rem; }
  .main-nav a {
    display: block; padding: .55rem .85rem; border-radius: 10px;
    color: #eaf5f6; text-decoration: none; font-weight: 600; font-size: .97rem;
  }
  .main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .main-nav .nav-icon { display: none; }
  /* Startseite im Desktop-Menü nur als Haus-Symbol */
  .main-nav .nav-home { display: block; width: 20px; height: 20px; }
  .main-nav .nav-home-link { display: flex; align-items: center; padding: .55rem .7rem; }
  .main-nav .nav-home-link .nav-label {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .header-actions { margin-left: 0; }
  .hero h1 { max-width: 13ch; }
}

/* Dezenter Transparenzhinweis auf KI-generierten Bildern */
.ai-note {
  position: absolute; right: .6rem; bottom: .5rem; z-index: 3;
  font-size: .55rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); text-shadow: 0 1px 4px rgba(9, 44, 52, .55);
  pointer-events: none; white-space: nowrap;
}
.article-card { position: relative; }
.ai-host { position: relative; display: block; }
/* Kachel-Overlays: rechte untere Ecke fuer den KI-Hinweis freihalten */
.course-card-body, .location-card-body { padding-right: 4rem; }
