/* ================================================
   Strong Lipstick – Live-Website (stronglipstick.de)
   Gold/Gelb ausschliesslich als kleiner Markenakzent.
   Keine extern eingebundenen Schriftarten (siehe Datenschutzerklärung).
   ================================================ */

:root {
  --lipstick: #8A2D28;
  --lipstick-deep: #6E211D;
  --lipstick-dark: #241313;
  --gold: #C9A227;
  --gold-soft: #F6ECCB;
  --cream: #FBF5EB;
  --cream-deep: #F4EADA;
  --white: #FFFFFF;
  --ink: #1E1715;
  --muted: #5E534C;
  --line: #E7DACA;
  --shadow-soft: 0 14px 44px rgba(46, 26, 22, 0.10);
  --shadow-lift: 0 26px 70px rgba(46, 26, 22, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max-width: 1120px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --header-offset: 140px; /* Fallback, wird per JavaScript auf die tatsächliche Headerhöhe gesetzt */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; }
html.is-ready { scroll-behavior: smooth; }

[id] {
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
/* Zusaetzliche Absicherung: "clip" verhindert seitliches Wischen zuverlaessiger
   als "hidden" (u. a. auf iOS Safari) und erzeugt dabei keinen Scroll-Container,
   sodass der sticky Header unveraendert funktioniert. Aeltere Browser ignorieren
   die Regel und behalten das "hidden" von oben. */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}
/* Sehr lange Woerter duerfen notfalls umbrechen, statt die Seite zu verbreitern. */
h1, h2, h3, p, .brand-name, .brand-sub {
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin-bottom: 0.8rem; }

/* ---------- Sanfte Einblendungen ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Vorschau-Banner ---------- */
/* ---------- Layout-Helfer ---------- */
.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}
.narrow { max-width: 800px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 235, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(36, 19, 19, 0.10);
  box-shadow: 0 10px 34px rgba(46, 26, 22, 0.08);
  background: rgba(251, 245, 235, 0.94);
}
.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.8rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: 124px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--lipstick-dark);
}
.brand-sub { font-size: 0.74rem; color: var(--muted); margin-top: 0.18rem; letter-spacing: 0.04em; }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  list-style: none;
}
.main-nav a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--lipstick-dark);
  background: rgba(138, 45, 40, 0.09);
}

/* ---------- Typografie ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--lipstick-dark);
}
h1 {
  font-size: clamp(2.4rem, 7.2vw, 4.6rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
h1 em {
  font-style: italic;
  color: var(--lipstick);
}
h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.16rem;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  color: var(--lipstick-dark);
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-soft { background: var(--white); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--lipstick);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
}
.section-kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.section-intro {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 780px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lipstick) 0%, var(--lipstick-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(110, 33, 29, 0.32);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(110, 33, 29, 0.4);
  color: #fff;
}
.btn-ghost {
  border-color: rgba(36, 19, 19, 0.2);
  color: var(--lipstick-dark);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lipstick);
  background: #fff;
  box-shadow: 0 12px 28px rgba(46, 26, 22, 0.1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 85% 8%, rgba(201, 162, 39, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 60% at 4% 88%, rgba(138, 45, 40, 0.09), transparent 60%),
    linear-gradient(160deg, #FBF5EB 0%, #F6ECDD 55%, #FDFAF3 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 45, 40, 0.14);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--lipstick-dark);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 18px rgba(46, 26, 22, 0.06);
}
.hero-sub {
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.micro-copy {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.micro-copy::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero-image-card {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
  padding: 0.7rem;
  background: var(--white);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lift);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-image-card:hover { transform: rotate(0deg); }
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 999px 999px calc(var(--radius-lg) - 0.6rem) calc(var(--radius-lg) - 0.6rem);
}
.hero-badge {
  position: absolute;
  left: -1.1rem;
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--lipstick) 0%, var(--lipstick-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 16px 38px rgba(110, 33, 29, 0.4);
  transform: rotate(-7deg);
}
.hero-badge small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ---------- Feature-Liste ---------- */
.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
  list-style: none;
}
.feature-list li {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem 1.05rem 3rem;
  color: var(--ink);
  font-weight: 650;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-list li:hover {
  transform: translateX(6px);
  border-color: rgba(201, 162, 39, 0.6);
  box-shadow: var(--shadow-soft);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--lipstick);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

/* ---------- Kurskarten ---------- */
.course-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.course-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--lipstick), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(138, 45, 40, 0.25);
}
.course-card:hover::before { opacity: 1; }
.course-day {
  display: inline-block;
  background: var(--gold-soft);
  color: #5C470D;
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}
.course-card h3 { font-size: 1.35rem; }
.course-card p { color: var(--muted); margin-bottom: 0; }

/* ---------- Tabelle ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--cream);
}
.table-wrapper::-webkit-scrollbar { height: 8px; }
.table-wrapper::-webkit-scrollbar-track { background: var(--cream); }
.table-wrapper::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.schedule-table th,
.schedule-table td { padding: 1rem 1.2rem; text-align: left; }
.schedule-table th {
  background: var(--lipstick-dark);
  color: #F4E8D8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.schedule-table td { border-top: 1px solid var(--line); color: var(--muted); }
.schedule-table tbody tr { transition: background 0.2s ease; }
.schedule-table tbody tr:hover { background: rgba(201, 162, 39, 0.07); }
.schedule-table td:first-child,
.schedule-table td:nth-child(2) { color: var(--ink); font-weight: 750; }
.info-strip {
  margin-top: 1.2rem;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-left: 5px solid var(--gold);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}
.location-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Bezahlung ---------- */
.payment-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}
.payment-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 162, 39, 0.55);
}
.payment-card h3 { margin-bottom: 0.4rem; }
.payment-card p { color: var(--muted); margin-bottom: 0; }
.payment-icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-soft), #EFDFAF);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #4A390C;
  font-weight: 900;
  font-size: 1.1rem;
}

/* ---------- Statement ---------- */
.statement {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 88% 0%, rgba(201, 162, 39, 0.22), transparent 60%),
    linear-gradient(150deg, #77222B 0%, #581822 100%);
  color: #fff;
  text-align: center;
}
.statement h2 {
  color: #fff;
  font-style: italic;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}
.statement h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin: 1.4rem auto 1.6rem;
}
.statement p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
  margin-bottom: 0;
}

/* ---------- Anmeldung ---------- */
.split-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.split-grid .btn { margin-top: 0.6rem; }
.notice-card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
}
.notice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(180deg, var(--gold), var(--lipstick));
}
.notice-card p { color: var(--muted); }
.small-note { font-size: 0.92rem; color: var(--muted); }

/* ---------- Über Emy ---------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  padding: 0.7rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.about-image-wrap::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 45, 40, 0.2);
  z-index: -1;
}
.about-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: calc(var(--radius-lg) - 0.6rem);
  filter: contrast(1.02);
}
.about-text p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(138, 45, 40, 0.3);
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.05rem 3rem 1.05rem 1.2rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--lipstick-dark);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(138, 45, 40, 0.1);
  color: var(--lipstick);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 0.08em;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--lipstick);
  color: #fff;
}
.faq-item summary:hover { color: var(--lipstick); }
.faq-item p {
  color: var(--muted);
  margin: 0;
  padding: 0 1.2rem 1.15rem;
}

/* ---------- Kontakt ---------- */
.contact-section {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(138, 45, 40, 0.07), transparent 65%),
    var(--cream);
}
.contact-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--lipstick), var(--gold), var(--lipstick));
}
.contact-email a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--lipstick);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}
.contact-email a:hover { color: var(--lipstick-deep); }

.contact-form-toggle {
  margin-top: 1.8rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  overflow: hidden;
}
.contact-form-toggle summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 0.9rem 3rem 0.9rem 1.2rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--lipstick-dark);
  transition: color 0.2s ease;
}
.contact-form-toggle summary::-webkit-details-marker { display: none; }
.contact-form-toggle summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(138, 45, 40, 0.1);
  color: var(--lipstick);
  font-size: 1.1rem;
}
.contact-form-toggle[open] summary::after {
  content: "−";
  background: var(--lipstick);
  color: #fff;
}
.contact-form-toggle summary:hover { color: var(--lipstick); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  padding: 0 1.2rem 1.3rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.form-row input,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--lipstick);
  outline-offset: 1px;
}
.contact-form .btn { align-self: center; }

/* ---------- Galerie ---------- */
.gallery-grid {
  columns: 2;
  column-gap: 1rem;
  margin-top: 1.8rem;
}
.gallery-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  break-inside: avoid;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-img:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 760px) {
  .gallery-grid { columns: 3; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #601B24, #48121A);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 1.2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  text-align: center;
}
.legal-box {
  margin-top: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-box summary {
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.legal-box summary::-webkit-details-marker { display: none; }
.legal-box summary::after {
  content: '+';
  float: right;
  color: var(--gold);
  font-size: 1.3rem;
}
.legal-box[open] summary::after { content: '−'; }
.legal-box-content { padding-top: 1rem; }
.legal-box h3 {
  color: var(--gold);
  font-size: 0.98rem;
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
}
.legal-box p { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.legal-box .small-note { color: rgba(255, 255, 255, 0.48); margin-top: 1rem; }
.footer-credit {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer-credit p { color: rgba(255, 255, 255, 0.48); font-size: 0.82rem; }
.footer-credit a { color: rgba(255, 255, 255, 0.7); }
.footer-credit a:hover { color: var(--gold); }

/* ---------- Fokus sichtbar ---------- */
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lipstick);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 760px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand-logo { width: 152px; }
  .main-nav ul { flex-wrap: nowrap; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr); }
  .hero-image-card { justify-self: end; }
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr 0.85fr; }
  .about-grid { grid-template-columns: 0.8fr 1.2fr; }
  .about-image-wrap { max-width: 400px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 1.4rem, var(--max-width)); }
  .brand-logo { width: 110px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.68rem; }
  .main-nav ul { gap: 0.15rem 0.2rem; }
  .main-nav a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .hero-actions .btn { width: 100%; }
  .hero-image-card { transform: none; width: min(100%, 340px); }
  .hero-badge { left: -0.4rem; width: 5.4rem; height: 5.4rem; font-size: 1.3rem; }
  /* Deko-Kreis muss innerhalb des Container-Seitenrands (0.7rem) bleiben,
     sonst verbreitert er die Seite und sie laesst sich seitlich verschieben. */
  .about-image-wrap::after { right: -0.4rem; bottom: -0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
