/* TeamProfi.Schule – mobile first
   Farben aus Logo / aktueller Startseite */

@import url("fonts.css");

:root {
  --navy: #1a2332;
  --navy-deep: #121a26;
  --text: #1a2332;
  --text-muted: #4a5568;
  --bg: #f1f2f2;
  --surface: #ffffff;
  --yellow: #f5d37a;
  --yellow-deep: #e8bc3a;
  --orange: #c45f12;
  --gold: #d4a24d;
  --red: #d9534f;
  --teal: #0d7a66;
  --purple: #6d5b97;
  --earth: #6b4f3a;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 0.5rem 1.5rem rgba(26, 35, 50, 0.08);
  --shadow-card: 0 0.45rem 1.35rem rgba(26, 35, 50, 0.1);
  --border-card: 1px solid rgba(26, 35, 50, 0.12);
  --accent-realitaet: #5b8c5a;
  /* Seiten-Identität (Style Guide) */
  --page-k3: var(--gold);
  --page-k4: var(--purple);
  --page-k5: var(--accent-realitaet);
  --page-k6: var(--red);
  --page-wandertag: var(--earth);
  --page-sachlich: var(--navy);
  --font: "Roboto Flex", "Roboto", system-ui, sans-serif;
  --font-heading: "Roboto", system-ui, sans-serif;
  --max: 68rem;
  --header-h: 3.75rem;
  --space: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.site-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.contact-card:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: #f1f2f2;
  /* Mobil: kleines, unregelmäßiges Punktmuster (nicht in Reihen) */
  background-image:
    radial-gradient(circle at 12px 9px, #e6c881 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 41px 18px, #e7a7a7 0 1.6px, transparent 2.1px),
    radial-gradient(circle at 78px 7px, #a8c6ae 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 23px 38px, #93bde8 0 1.5px, transparent 2px),
    radial-gradient(circle at 67px 44px, #8e989f 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 95px 31px, #e6c881 0 1.7px, transparent 2.2px),
    radial-gradient(circle at 8px 58px, #a8c6ae 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 52px 62px, #e7a7a7 0 1.5px, transparent 2px),
    radial-gradient(circle at 88px 55px, #93bde8 0 1.3px, transparent 1.8px);
  background-size: 110px 74px;
  background-repeat: repeat;
  background-attachment: scroll;
}

h1,
h2,
h3,
h4,
.btn,
.eyebrow,
.section-label,
.nav-cta,
.site-nav a {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy);
}

/* Inhalts-Weiterführung (keine Pillen – Purple laut Style Guide) */
.link-weiter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.link-weiter::after {
  content: "→";
  transition: transform 0.15s ease;
}

.link-weiter:hover {
  color: var(--purple);
  border-bottom-color: rgba(109, 91, 151, 0.45);
}

.link-weiter:hover::after {
  transform: translateX(3px);
}

.card-footer-link {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
}

.hero-panel .card-footer-link {
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-panel .card-footer-link {
    justify-content: flex-end;
  }
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
}

h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  color: #fff;
  min-height: var(--header-h);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2.5rem;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--navy);
  padding: 0.75rem var(--space) 1.25rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--yellow);
}

.site-nav .nav-cta {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--orange);
  color: #fff !important;
  border: none !important;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1rem !important;
}

.site-nav .nav-cta:hover {
  background: #d35400;
  color: #fff !important;
}

.nav-group-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.85rem 0.35rem 0.25rem;
}

/* Hub-Untermenüs (Grundschule / Erprobungsstufe) */
.site-nav .has-submenu {
  position: relative;
}

.site-nav .nav-item-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav .nav-item-row > a {
  flex: 1;
  border-bottom: none;
}

.site-nav .submenu-toggle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1;
}

.site-nav .submenu-toggle:hover,
.site-nav .submenu-toggle[aria-expanded="true"] {
  color: var(--yellow);
}

.site-nav .submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem 0.85rem;
  display: none;
}

.site-nav .has-submenu.is-open > .submenu {
  display: block;
}

.site-nav .submenu a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.35rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Layout */
main {
  /* Mobil: hauchdünner Punkt-Rahmen – Inhalt fast randfüllend, Hintergrund kaum sichtbar */
  padding: 1rem 0.25rem 3rem;
  padding-left: max(0.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.25rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(3rem, env(safe-area-inset-bottom, 0px));
}

main:has(.hero-card) {
  padding-top: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: var(--border-card);
  /* Mobil: linker Außenrand kräftiger (Klammer / Seitenfarbe) */
  border-left-width: 4px;
  box-shadow: none;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

/* Hero: kein oberer Rand (am Header); L/R/unten; links kräftiger */
.hero-card {
  background: var(--surface);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-style: solid;
  border-color: rgb(21, 41, 65);
  border-width: 0 2px 2px 4px;
  overflow: hidden;
  margin: 0 0 1.25rem;
  box-shadow: none;
}

.hero-card.hero-accent-gold {
  border-color: var(--page-k3);
}
.hero-card.hero-accent-purple {
  border-color: var(--page-k4);
}
.hero-card.hero-accent-realitaet,
.hero-card.hero-accent-green {
  border-color: var(--page-k5);
}
.hero-card.hero-accent-red {
  border-color: var(--page-k6);
}
.hero-card.hero-accent-earth {
  border-color: var(--page-wandertag);
}
.hero-card.hero-accent-navy {
  border-color: var(--page-sachlich);
}

/* Sektionskarten: farbiger Orientierungsrand (links, wie Sofort-Check) */
.card-accent-orange {
  border: 1px solid rgba(230, 126, 34, 0.35);
  border-left: 4px solid var(--orange);
}

.card-accent-realitaet {
  border: 1px solid rgba(91, 140, 90, 0.35);
  border-left: 4px solid var(--accent-realitaet);
}

.card-accent-purple {
  border: 1px solid rgba(109, 91, 151, 0.35);
  border-left: 4px solid var(--purple);
}

.card-accent-teal {
  border: 1px solid rgba(22, 160, 133, 0.35);
  border-left: 4px solid var(--teal);
}

.card-accent-navy {
  border: 1px solid rgba(26, 35, 50, 0.2);
  border-left: 4px solid var(--navy);
}

.card-accent-gold {
  border: 1px solid rgba(212, 162, 77, 0.4);
  border-left: 4px solid var(--gold);
}

.card-accent-red {
  border: 1px solid rgba(217, 83, 79, 0.35);
  border-left: 4px solid var(--red);
}

.card-accent-earth {
  border: 1px solid rgba(107, 79, 58, 0.4);
  border-left: 4px solid var(--earth);
}

.card-pad {
  padding: 1.25rem 1.15rem 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* Sektionslabel wie Sofort-Check: Text + Linien, keine Pill */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: none;
  padding: 0;
  border-radius: 0;
}

.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.section-label-realitaet {
  color: var(--accent-realitaet);
}

.section-label-purple {
  color: var(--purple);
}

.section-label-teal {
  color: var(--teal);
}

.section-label-navy {
  color: var(--navy);
}

.section-label-gold {
  color: var(--gold);
}

.section-label-red {
  color: var(--red);
}

.section-label-earth {
  color: var(--earth);
}

.section-label-green {
  color: var(--accent-realitaet);
}

/* Hero */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--navy);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-media .brand-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  background: none;
  color: #fff;
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(18, 26, 38, 0.35);
}

.hero-media .brand-team {
  font-weight: 600;
}

.hero-media .brand-profi {
  font-weight: 200;
}

.hero-media .brand-dot,
.hero-media .brand-schule {
  font-weight: 200;
  font-style: italic;
  font-size: 0.5em;
  letter-spacing: 0.04em;
}

.hero-media .brand-dot {
  margin: 0 0.02em;
}

.brand-name {
  font-weight: 500;
}

.brand-name strong {
  font-weight: 800;
}

.hero-panel {
  background: var(--yellow);
  padding: 1.35rem 1.15rem 1.6rem;
  text-align: center;
}

/* Hero: gelbes Panel überlappt Bild bewusst als Modul (Start + Unterseiten) */
.hero-card .hero-media {
  z-index: 1;
  border-radius: 0;
}

.hero-card .hero-media img {
  border-radius: 0;
}

.hero-media:has(.brand-mark) .brand-mark {
  bottom: 30px;
}

.hero-card .hero-panel {
  margin-top: -15px;
  position: relative;
  z-index: 2;
  border-radius: 20px 20px 0 0;
}

@media (min-width: 640px) {
  .hero-card .hero-panel {
    margin-top: -22px;
  }
}

.hero-panel h1 {
  margin-bottom: 0.55rem;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.375rem, 4.5vw, 2.125rem); /* bis 34px wie alte Seite */
  line-height: 1; /* 34px bei 34px */
  color: rgb(21, 41, 65);
}

.hero-panel .lead {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 3.8vw, 1.5rem); /* bis 24px wie alte Seite */
  line-height: 1.15;
  color: rgb(21, 41, 65);
  margin-bottom: 0.75rem;
}

.hero-panel .intro {
  font-family: "Roboto Flex", "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  line-height: 1.45; /* ~26px */
  color: rgb(84, 89, 95);
  margin-bottom: 1.25rem;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-panel .intro {
    text-align: center;
  }
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: #d35400;
  color: #fff;
}

/* Stufen-/Wandertag-Seiten: Primär-CTA in Seitenfarbe (Header-CTA bleibt orange) */
.page-k3 {
  --faq-toggle: var(--page-k3);
}
.page-k3 .btn-primary {
  background: var(--page-k3);
}
.page-k3 .btn-primary:hover {
  background: #b8862e;
  color: #fff;
}
.page-k3 .btn-ghost {
  border-color: var(--page-k3);
  color: var(--page-k3);
}
.page-k3 .btn-ghost:hover {
  background: rgba(212, 162, 77, 0.12);
  color: var(--page-k3);
}

.page-k4 {
  --faq-toggle: var(--page-k4);
}
.page-k4 .btn-primary {
  background: var(--page-k4);
}
.page-k4 .btn-primary:hover {
  background: #5a4a7e;
  color: #fff;
}
.page-k4 .btn-ghost {
  border-color: var(--page-k4);
  color: var(--page-k4);
}
.page-k4 .btn-ghost:hover {
  background: rgba(109, 91, 151, 0.1);
  color: var(--page-k4);
}

.page-k5 {
  --faq-toggle: var(--page-k5);
}
.page-k5 .btn-primary {
  background: var(--page-k5);
}
.page-k5 .btn-primary:hover {
  background: #4a7349;
  color: #fff;
}
.page-k5 .btn-ghost {
  border-color: var(--page-k5);
  color: var(--page-k5);
}
.page-k5 .btn-ghost:hover {
  background: rgba(91, 140, 90, 0.12);
  color: var(--page-k5);
}

.page-k6 {
  --faq-toggle: var(--page-k6);
}
.page-k6 .btn-primary {
  background: var(--page-k6);
}
.page-k6 .btn-primary:hover {
  background: #c0392b;
  color: #fff;
}
.page-k6 .btn-ghost {
  border-color: var(--page-k6);
  color: var(--page-k6);
}
.page-k6 .btn-ghost:hover {
  background: rgba(217, 83, 79, 0.1);
  color: var(--page-k6);
}

.page-wandertag {
  --faq-toggle: var(--page-wandertag);
}
.page-wandertag .btn-primary {
  background: var(--page-wandertag);
}
.page-wandertag .btn-primary:hover {
  background: #563f2e;
  color: #fff;
}
.page-wandertag .btn-ghost {
  border-color: var(--page-wandertag);
  color: var(--page-wandertag);
}
.page-wandertag .btn-ghost:hover {
  background: rgba(107, 79, 58, 0.1);
  color: var(--page-wandertag);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: #138d75;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: rgba(26, 35, 50, 0.06);
  color: var(--navy);
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Sofort-Check */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef0f3;
}

.check-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.check-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  flex-shrink: 0;
  background-color: var(--orange);
  -webkit-mask: url("../assets/icons/check-mask.svg") center / contain no-repeat;
  mask: url("../assets/icons/check-mask.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.page-k3 .check-icon {
  background-color: var(--page-k3);
}
.page-k4 .check-icon {
  background-color: var(--page-k4);
}
.page-k5 .check-icon {
  background-color: var(--page-k5);
}
.page-k6 .check-icon {
  background-color: var(--page-k6);
}
.page-wandertag .check-icon {
  background-color: var(--page-wandertag);
}

.check-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

/* Reality cards */
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tile {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  border-left: 4px solid var(--orange);
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  color: inherit;
  filter: brightness(0.98);
}

.tile h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.tile p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tile .ziel {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

a.tile .ziel.link-weiter {
  margin-top: auto;
  align-self: flex-end;
  color: var(--purple);
  font-weight: 600;
}

a.tile:hover .ziel.link-weiter {
  color: var(--purple);
}

a.tile .ziel.link-weiter {
  margin-top: auto;
  align-self: flex-end;
  color: var(--purple);
  font-weight: 600;
}

a.tile:hover .ziel.link-weiter {
  color: var(--purple);
}

/* Realitäts-Check: volle Farben + weiße SVGs (wie Altseite) */
.tile.tile-loud,
.tile.tile-split,
.tile.tile-new {
  color: #fff;
  border-left: none;
}

.tile.tile-loud .tile-icon,
.tile.tile-split .tile-icon,
.tile.tile-new .tile-icon {
  display: block;
  width: 4.5rem;
  height: auto;
  margin: 0 0 0.85rem;
}

.tile.tile-loud h3,
.tile.tile-loud .ziel,
.tile.tile-split h3,
.tile.tile-split .ziel,
.tile.tile-new h3,
.tile.tile-new .ziel {
  color: #fff;
}

.tile.tile-loud p,
.tile.tile-split p,
.tile.tile-new p {
  color: rgba(255, 255, 255, 0.92);
}

.tile.tile-loud {
  background: var(--purple);
}

.tile.tile-split {
  background: var(--accent-realitaet);
}

.tile.tile-new {
  background: #c45c5c;
}

.tile.klasse-3 {
  border-left-color: var(--page-k3);
  background: #fbf6eb;
}
.tile.klasse-4 {
  border-left-color: var(--page-k4);
  background: #f3f0f7;
}
.tile.klasse-5 {
  border-left-color: var(--page-k5);
  background: #eef5ee;
}
.tile.klasse-6 {
  border-left-color: var(--page-k6);
  background: #fdf0ef;
}

.tile.tile-earth {
  border-left: 4px solid var(--page-wandertag);
  background: #f5f0eb;
}

/* Startseite: Hub-Blöcke in der Angebote-Sektion */
.hub-grid {
  display: grid;
  gap: 1.75rem;
  margin: 1.25rem 0 1rem;
}

.hub-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hub-title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
}

.hub-link {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0.35rem;
}

.hub-note {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 860px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    align-items: stretch;
  }

  .hub-block {
    min-height: 0;
  }

  /* Stack füllt die Hub-Höhe → alle vier Klassen-Kacheln gleiche Höhe */
  .hub-block .stack {
    flex: 1 1 auto;
  }

  .hub-block .stack > .tile,
  .hub-block .stack > a.tile {
    height: 100%;
  }
}

/* Process steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 1rem 0 1rem 3.25rem;
  border-bottom: 1px solid #eef0f3;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid #eef0f3;
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: var(--faq-toggle, var(--orange));
}

.faq details[open] summary::after {
  content: "–";
}

/* Geöffnetes FAQ: helle Pastell-Fläche, dunkle Schrift – wie Klassen-Kacheln */
.faq details[open] {
  background: #eef5ee;
  border-radius: 0.5rem;
  border-left: 4px solid var(--accent-realitaet);
  margin: 0.35rem 0 0.5rem;
  padding: 0 0.85rem 0.85rem;
}

.faq details[open] summary {
  padding-top: 0.85rem;
  color: var(--navy);
}

.faq details[open] p {
  color: var(--text-muted);
}

.faq details[open] a {
  color: var(--purple);
  font-weight: 600;
}

.card-accent-realitaet.faq {
  --faq-toggle: var(--accent-realitaet);
}

.card-accent-navy.faq details[open] {
  background: #f8f9fa;
  border-left-color: var(--navy);
}

.card-accent-earth.faq {
  --faq-toggle: var(--earth);
}

.card-accent-earth.faq details[open] {
  background: #f6f1ea;
  border-left-color: var(--earth);
}

.faq details p {
  margin: 0.65rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Person */
.person {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: left;
}

.person > div {
  width: 100%;
  text-align: left;
}

.person img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--yellow);
}

/* Quotes */
.quote {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  box-shadow: none;
  border: none;
}

/* Stimmen-Slider (Startseite) – horizontal wie Wald-X */
.voices-slider {
  margin: 0.5rem 0 0.25rem;
}

.voices-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.2rem 0 0.4rem;
  touch-action: pan-y;
  cursor: grab;
}

.voices-viewport.is-dragging {
  cursor: grabbing;
}

.voices-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.voices-slider.is-dragging .voices-track {
  transition: none;
}

.voices-slide {
  flex: 0 0 auto;
  width: 86%;
  margin: 0;
  min-height: 10.5rem;
  box-sizing: border-box;
  background: #f7f8f8;
  border-radius: calc(var(--radius) + 4px);
  border-left: 5px solid var(--navy);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 0.35rem 1.1rem rgba(26, 35, 50, 0.07);
}

.voices-slide.voices-k3 {
  border-left-color: var(--page-k3);
  background: #fbf6eb;
}

.voices-slide.voices-k3 cite {
  color: var(--page-k3);
}

.voices-slide.voices-k4 {
  border-left-color: var(--page-k4);
  background: #f3f0f7;
}

.voices-slide.voices-k4 cite {
  color: var(--page-k4);
}

.voices-slide.voices-k5 {
  border-left-color: var(--page-k5);
  background: #eef5ee;
}

.voices-slide.voices-k5 cite {
  color: var(--page-k5);
}

.voices-slide.voices-k6 {
  border-left-color: var(--page-k6);
  background: #fdf0ef;
}

.voices-slide.voices-k6 cite {
  color: var(--page-k6);
}

.voices-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.95rem;
}

.voices-hint {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(26, 35, 50, 0.45);
}

.voices-nav {
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  border: none;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0.2rem 0.55rem rgba(230, 126, 34, 0.35);
}

.voices-nav:hover {
  background: var(--navy);
  box-shadow: 0 0.2rem 0.55rem rgba(26, 35, 50, 0.25);
}

.voices-nav:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.voices-nav span {
  display: block;
  margin-top: -0.1em;
}

.voices-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.voices-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 35, 50, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.voices-dot.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

.voices-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .voices-slide {
    width: 78%;
    min-height: 9.5rem;
  }

  .voices-hint {
    letter-spacing: 0.16em;
  }
}

@media (min-width: 960px) {
  .voices-slide {
    width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voices-track {
    transition: none;
  }
}

.plan-strip {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.plan-strip article {
  background: rgba(26, 35, 50, 0.04);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
}

.plan-strip strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
}

.trust-list li {
  margin-bottom: 0.55rem;
  padding-left: 1.15rem;
  position: relative;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.quote p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.25rem var(--space) 1.75rem;
  margin-top: 1.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  grid-column: 1 / -1;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}

.footer-logo img {
  height: 2.65rem;
  width: auto;
  max-width: 12.5rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-heading {
  color: #fff;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer li a {
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-contact p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 1.75rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* Tablet+: wieder seitlicher Abstand, Karten als Module auf der Fläche */
@media (min-width: 640px) {
  :root {
    --space: 1.5rem;
  }

  /* Ab Tablet: größeres Original-Punktmuster */
  body {
    background-image:
      radial-gradient(circle at 28px 26px, #e6c881 0 3px, transparent 4px),
      radial-gradient(circle at 101px 26px, #e7a7a7 0 3px, transparent 4px),
      radial-gradient(circle at 173px 26px, #a8c6ae 0 3px, transparent 4px),
      radial-gradient(circle at 28px 98px, #93bde8 0 3px, transparent 4px),
      radial-gradient(circle at 101px 98px, #8e989f 0 3px, transparent 4px),
      radial-gradient(circle at 173px 98px, #e6c881 0 3px, transparent 4px);
    background-size: 216px 144px;
    background-repeat: repeat;
    background-attachment: scroll;
  }

  main {
    padding: 1.25rem var(--space) 3rem;
  }

  main:has(.hero-card) {
    padding-top: 0;
  }

  .card {
    margin-bottom: 1.5rem;
    border-left-width: 1px; /* Basis; Akzent-Karten setzen 4px farbig */
  }

  .card[class*="card-accent-"] {
    border-left-width: 4px;
  }

  .hero-card {
    margin-bottom: 1.5rem;
    border-width: 0 2px 2px 2px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-media {
    aspect-ratio: 21 / 9;
  }

  .person {
    flex-direction: row;
    text-align: left;
  }

  .stack.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop layout (Karten) */
@media (min-width: 960px) {
  .card,
  .hero-card {
    box-shadow: var(--shadow-card);
  }

  /* Desktop: Hero wie Karte mit seitlichem Gutter (nicht randlos) */
  main:has(.hero-card) {
    padding-top: 0;
  }

  .hero-card {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

/* Desktop-Hauptnavigation – ab ~1100px (Tablet bleibt Hamburger) */
@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .site-nav > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.85rem;
  }

  .site-nav a {
    border: none;
    padding: 0.35rem 0.2rem;
    font-size: 0.9rem;
  }

  .site-nav .nav-item-row {
    border-bottom: none;
    gap: 0;
  }

  .site-nav .submenu-toggle {
    display: none;
  }

  .site-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 11.5rem;
    padding: 0.4rem 0;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .site-nav .has-submenu:hover > .submenu,
  .site-nav .has-submenu:focus-within > .submenu,
  .site-nav .has-submenu.is-open > .submenu {
    display: block;
  }

  .site-nav .submenu a {
    color: var(--navy);
    border-bottom: none;
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
  }

  .site-nav .submenu a:hover,
  .site-nav .submenu a[aria-current="page"] {
    color: var(--purple);
    background: #f3f0f7;
  }

  .site-nav .nav-group-label {
    display: none;
  }

  .site-nav .nav-cta {
    margin: 0 0 0 0.5rem;
    padding: 0.45rem 0.9rem !important;
    font-size: 0.85rem;
  }

  .card-pad {
    padding: 1.75rem 1.75rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .stack.cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .stack.cols-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  }

  .plan-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .stack.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Preis-Karten */
.price-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.price-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.4rem;
  border: 2px solid transparent;
  position: relative;
}

.price-card.popular {
  border-color: var(--orange);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.price-card h3 {
  margin-bottom: 0.25rem;
}

.price-card .subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.price-amount {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 0.15rem;
}

.price-amount span {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card ul {
  margin: 1rem 0 1.15rem;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.price-card li {
  margin-bottom: 0.35rem;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

blockquote {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent-realitaet);
  background: #eef5ee;
  border-radius: 0 var(--radius) var(--radius) 0;
}

blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.credit-line {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 800px) {
  .price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Kontakt-Kacheln (Wald-X-Stil: schnell, ohne Formular) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0 0.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 0.75rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.75rem rgba(26, 35, 50, 0.12);
  color: var(--navy);
}

.contact-card svg {
  width: 2.35rem;
  height: 2.35rem;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* ——— Teamhelden Beispielablauf ——— */
/*
  Phasenfarben (klar getrennt):
  1. Vorbereitung = Purple
  2. Tag 1        = Earth
  3. Tag 2        = Teal
  4. Transfer     = Navy
*/
.phase-nav-wrap {
  position: sticky;
  top: var(--header-h, 3.75rem);
  z-index: 90;
  margin: 0 0 1.25rem;
  padding-top: 0.35rem;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg) 70%,
    transparent 100%
  );
}

/* Anker-Ziele unter sticky Header + Phase-Nav */
body:has(.phase-nav-wrap) section[id] {
  scroll-margin-top: calc(var(--header-h, 3.75rem) + 4.5rem);
}

/* Legacy-IDs der Beispielseite (falls :has nicht greift) */
#ausgangslage,
#anfrage,
#fragebogen,
#auswertung,
#plan,
#tag-1,
#tag-2,
#transfer {
  scroll-margin-top: calc(var(--header-h, 3.75rem) + 4.5rem);
}

.phase-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 35, 50, 0.12);
  box-shadow: 0 4px 18px rgba(18, 26, 38, 0.08);
}

/* Seitenkontext: kompakte Pill – Klick scrollt nach oben */
.phase-nav a.phase-nav-context {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: var(--navy);
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.phase-nav a.phase-nav-context:hover {
  text-decoration: none;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  filter: brightness(1.08);
  box-shadow: 0 1px 4px rgba(18, 26, 38, 0.18);
}

.phase-nav a.phase-nav-context:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.page-k3 .phase-nav {
  border-left: 3px solid var(--page-k3);
}
.page-k3 .phase-nav a.phase-nav-context,
.page-k3 .phase-nav a.phase-nav-context:hover {
  color: var(--navy);
  background: var(--page-k3);
  border-color: var(--page-k3);
}

.page-k4 .phase-nav {
  border-left: 3px solid var(--page-k4);
}
.page-k4 .phase-nav a.phase-nav-context,
.page-k4 .phase-nav a.phase-nav-context:hover {
  color: #fff;
  background: var(--page-k4);
  border-color: var(--page-k4);
}

.page-k5 .phase-nav {
  border-left: 3px solid var(--page-k5);
}
.page-k5 .phase-nav a.phase-nav-context,
.page-k5 .phase-nav a.phase-nav-context:hover {
  color: #fff;
  background: var(--page-k5);
  border-color: var(--page-k5);
}

.page-k6 .phase-nav {
  border-left: 3px solid var(--page-k6);
}
.page-k6 .phase-nav a.phase-nav-context,
.page-k6 .phase-nav a.phase-nav-context:hover {
  color: #fff;
  background: var(--page-k6);
  border-color: var(--page-k6);
}

.page-wandertag .phase-nav {
  border-left: 3px solid var(--page-wandertag);
}
.page-wandertag .phase-nav a.phase-nav-context,
.page-wandertag .phase-nav a.phase-nav-context:hover {
  color: #fff;
  background: var(--page-wandertag);
  border-color: var(--page-wandertag);
}

.page-k3 .phase-nav a.phase-nav-context:focus-visible {
  outline-color: var(--page-k3);
}
.page-k4 .phase-nav a.phase-nav-context:focus-visible {
  outline-color: var(--page-k4);
}
.page-k5 .phase-nav a.phase-nav-context:focus-visible {
  outline-color: var(--page-k5);
}
.page-k6 .phase-nav a.phase-nav-context:focus-visible {
  outline-color: var(--page-k6);
}
.page-wandertag .phase-nav a.phase-nav-context:focus-visible {
  outline-color: var(--page-wandertag);
}

/* Einheitliche Basis – aktiver Abschnitt: Navy-Umrandung */
.phase-nav a:not(.phase-nav-context) {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  line-height: 1.2;
  color: var(--navy);
  background: rgba(26, 35, 50, 0.04);
  border: 1.5px solid rgba(26, 35, 50, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.phase-nav a:not(.phase-nav-context):hover {
  text-decoration: none;
  background: rgba(26, 35, 50, 0.08);
  border-color: rgba(26, 35, 50, 0.35);
}

.phase-nav a:not(.phase-nav-context).is-active,
.phase-nav a:not(.phase-nav-context)[aria-current="true"] {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  font-weight: 700;
}

/* Mobile: eine horizontal scrollbarbare Zeile, größere Touch-Flächen */
@media (max-width: 1099px) {
  .phase-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
  }

  .phase-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.55rem 0.85rem;
  }
}

.mail-quote {
  margin: 1rem 0 1.25rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #f3f0f8;
  border-radius: var(--radius);
  border-left: 4px solid var(--purple);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--navy);
  text-align: left;
}

.mail-quote .mail-subject {
  display: block;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--purple);
}

.mail-quote p {
  margin: 0 0 0.65rem;
}

.mail-quote p:last-child {
  margin-bottom: 0;
}

.ziel-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

@media (min-width: 640px) {
  .ziel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ziel-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  border-left: 4px solid var(--purple);
  text-align: left;
}

.ziel-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--navy);
}

.ziel-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.day-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin-bottom: 0.85rem;
}

.day-banner .day-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--earth);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.day-banner .day-tag.day-2 {
  background: var(--teal);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(107, 79, 58, 0.28);
  margin-left: 0.55rem;
}

.phase-day2-block .timeline {
  border-left-color: rgba(22, 160, 133, 0.35);
}

.timeline-item {
  position: relative;
  padding: 0 0 1.35rem 1.25rem;
}

.timeline-item:last-child {
  padding-bottom: 0.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--earth);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px rgba(107, 79, 58, 0.25);
}

.phase-day2-block .timeline-item::before {
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(22, 160, 133, 0.3);
}

.timeline-item.is-mission::before {
  background: var(--earth);
  box-shadow: 0 0 0 2px rgba(107, 79, 58, 0.35);
}

.phase-day2-block .timeline-item.is-mission::before {
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(22, 160, 133, 0.35);
}

.timeline-item.is-pause::before {
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 162, 77, 0.35);
}

.time-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--earth);
  margin-bottom: 0.25rem;
}

.phase-day2-block .time-badge {
  color: var(--teal);
}

.timeline-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--navy);
}

.timeline-item > p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}

.ablauf-faq {
  margin-top: 0.5rem;
}

.ablauf-faq details {
  border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.ablauf-faq summary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--earth);
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 1.5rem 0.55rem 0;
  position: relative;
}

.phase-day2-block .ablauf-faq summary {
  color: var(--teal);
}

.ablauf-faq summary::-webkit-details-marker {
  display: none;
}

.ablauf-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.45rem;
  font-size: 1.15rem;
  color: currentColor;
}

.ablauf-faq details[open] summary::after {
  content: "–";
}

.ablauf-faq details[open] {
  background: #f6f1ea;
  border-radius: 0.5rem;
  border-left: 4px solid var(--earth);
  margin: 0.25rem 0 0.35rem;
  padding: 0 0.85rem 0.75rem;
}

.phase-day2-block .ablauf-faq details[open] {
  background: #f0f7f5;
  border-left-color: var(--teal);
}

.ablauf-faq details[open] summary {
  padding-top: 0.75rem;
  color: var(--navy);
}

.ablauf-faq .meta-block {
  margin: 0.55rem 0 0;
  text-align: left;
}

.ablauf-faq .meta-block strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 0.2rem;
}

.phase-day2-block .ablauf-faq .meta-block strong {
  color: var(--teal);
}

.ablauf-faq .meta-block p,
.ablauf-faq .meta-block ul {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ablauf-faq .meta-block ul {
  padding-left: 1.1rem;
}

.content-figure {
  margin: 1.25rem 0 0;
}

.content-figure img {
  width: 100%;
  border-radius: var(--radius);
}

.media-placeholder {
  margin: 1rem 0 1.35rem;
  text-align: left;
}

.media-placeholder .ph-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(107, 79, 58, 0.08), rgba(22, 160, 133, 0.1)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(26, 35, 50, 0.03) 8px,
      rgba(26, 35, 50, 0.03) 16px
    );
  border: 2px dashed rgba(107, 79, 58, 0.35);
  border-radius: var(--radius);
  color: var(--earth);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem;
  text-align: center;
}

.media-placeholder.ph-portrait .ph-frame {
  aspect-ratio: 4 / 5;
  max-width: 22rem;
  margin: 0 auto;
}

.media-placeholder.ph-wide .ph-frame {
  aspect-ratio: 16 / 10;
}

.media-placeholder figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.media-placeholder figcaption strong {
  color: var(--navy);
}

.hinweis-box {
  margin: 1rem 0 0;
  padding: 0.95rem 1.05rem;
  background: #f3f0f8;
  border-radius: var(--radius);
  border-left: 4px solid var(--purple);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--navy);
  text-align: left;
}

.hinweis-box strong {
  color: var(--purple);
}
