/* ============================================================
   YogaLiebe21 – Anke Schabbach | Rebuild yogaliebe21.de
   Alle Werte aus den unqualifizierten CSS-Regeln des Originals
   (template.css, Quix page-CSS) bzw. per getComputedStyle gemessen.
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --gold: #BAA782;            /* rgb(186,167,130) – Rahmen, Headings, Buttons */
  --gold-dark: #A3916E;       /* rgb(163,145,110) – Karten-Titel, Footer-Overlay */
  --pink: #E463AB;            /* rgb(228,99,171) – Footer, Preise, Senden-Button */
  --text: #666666;            /* Fließtext (Original: rgb(102,102,102)) */
  --script-gray: #8C8C8C;     /* h3 Yellowtail */
  --dark: #333333;            /* Menü, Buttons */
  --link-blue: rgba(18, 53, 143, 1); /* Linkfarbe Original */
  --border-input: #ced4da;

  /* Fluid-Typo: Maximalwert (= Originalwert) wird bei 1024px erreicht.
     Formel: calc(a + b*vw) mit a + b*10.24 = Zielwert */
  --fs-body: clamp(17px, calc(13.5px + 0.635vw), 20px);     /* 20px ab 1024 */
  --fs-h2: clamp(30px, calc(-34.3px + 9.7vw), 65px);        /* 65px ab 1024 */
  --fs-h3: clamp(26px, calc(-1.7px + 4.072vw), 40px);       /* 40px ab 1024 */
  --fs-quote: clamp(21px, calc(7.9px + 1.963vw), 28px);     /* 28px ab 1024 */
  --fs-card-title: clamp(18px, calc(13.2px + 0.664vw), 20px);
  --fs-card-price: clamp(20px, calc(12.9px + 0.987vw), 23px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* Das hidden-Attribut darf von keiner display-Regel überstimmt werden */
[hidden] { display: none !important; }

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

p, ul, ol, dl, figure { margin: 0 0 0 0; }
p + p { margin-top: 1em; }

a { color: var(--link-blue); text-decoration: underline; }
a:hover { color: var(--link-blue); }

h1, h2 {
  font-family: 'Lora', serif;
  font-size: var(--fs-h2);
  color: var(--gold);
  font-weight: 300;
  line-height: 1em; /* Original: Quix-Headings mit line-height 1em (Box = 65px) */
  margin: 0;
  text-transform: none;
}

h3 {
  font-family: 'Yellowtail', cursive;
  color: var(--script-gray);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

h4 { margin: 0; }

/* Schrift-Sonderfall des Originals: Die Karten-Titel/-Preise sind dort mit
   font-family "Muli" ausgezeichnet, die Schrift wird aber nicht geladen –
   der Browser fällt auf die System-Serifenschrift (Times) zurück.
   Dieses gerenderte Erscheinungsbild wird hier bewusst nachgebildet. */
.t-sysserif { font-family: 'Times New Roman', Times, serif; }

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

/* ---------- Layout-Helfer ---------- */
.mt-20 { margin-top: 20px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Inhaltsbereiche mit 100px Randabstand (Original: Row/Col-Padding) */
.pad-section { padding: 100px; }

@media (max-width: 1024px) { .pad-section { padding: 50px; } }
@media (max-width: 767px)  { .pad-section { padding: 25px 20px; } }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: relative;
  z-index: 900;
  min-height: 225px;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.site-logo {
  display: inline-block;
  margin: 25px 0 0 25px;
  flex: 0 0 auto;
}

.site-logo img {
  /* Original: fluid, 17,93% der Viewportbreite (= 344px bei 1920px) */
  width: 17.93vw;
  max-width: 60vw;
  height: auto;
  display: block;
}

.main-nav {
  padding: 80px 35px 0 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav li { margin: 0; }

.main-nav a {
  display: block;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border 0.3s ease-in;
}

.main-nav li:hover a,
.main-nav li.active a {
  border-bottom: 1px solid var(--pink);
}

/* Burger – solange die volle Navigation nicht bequem passt (ab 1024px abwärts) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--pink);
  font-size: 25px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
}

.nav-toggle .bars {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.nav-toggle .bars span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px 0;
  background: var(--pink);
}

.nav-toggle .nav-toggle-label {
  font-size: 20px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .site-header { min-height: 0; padding-bottom: 10px; }
  /* Wie im Original: unterhalb 1024px kein Überlagern des Heros durch den Header.
     body.home für höhere Spezifität als die absolute-Regel weiter unten. */
  body.home .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: center; }
  .site-logo { margin: 20px auto 0; }
  .site-logo img { width: 300px; max-width: 79%; margin: 0 auto; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-block; margin: 8px auto 0; }
}

/* ---------- Offcanvas (mobiles Menü) ---------- */
/* Overlay und Panel liegen beide direkt im <body>; das Panel bekommt den
   höheren z-index, damit kein Overlay die Klicks blockiert. */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.offcanvas-overlay.is-open { opacity: 1; visibility: visible; }

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 1600;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
}

.offcanvas.is-open { transform: translateX(0); }

.offcanvas-close {
  /* Position wie im Original: oben rechts im Panel, nur bei offenem Menü sichtbar */
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 6px;
}

.offcanvas ul {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
}

.offcanvas li { border-bottom: 1px solid #eee; }

.offcanvas a {
  display: block;
  padding: 14px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  min-height: 44px;
}

.offcanvas li.active a,
.offcanvas a:hover { color: var(--pink); }

body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  background-color: transparent;
  border: 1px solid var(--gold);
  border-radius: 1px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border 0.3s ease-in, box-shadow 0.3s ease-in, background 0.3s, opacity 0.3s ease-in, color 0.3s;
}

.btn:hover {
  color: #fff;
  background-color: var(--gold);
  border-color: transparent;
}

/* Karten-Button (Original: Lora 15px, Rahmen goldbraun, weicher Schatten) */
.btn-card {
  font-family: 'Lora', serif;
  font-size: 15px;
  padding: 14px 36px;
  border-color: var(--gold-dark);
  box-shadow: 0 0 10px 0 #ddd;
}

/* ---------- Hero (Startseite) ---------- */
.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero {
  position: relative;
  padding: 40vh 0;
  background-image: url('../images/yogaliebe-startbild.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 8px solid var(--gold);
}

/* Original-Overlay: rgba(255,255,255,0) bei opacity .64 – ohne sichtbare
   Wirkung, daher hier bewusst weggelassen. */

.hero-row {
  display: flex;
  padding: 10vh;
}

.hero-spacer {
  flex: 0 0 65%;
  max-width: 65%;
  /* Das Original enthält in dieser Spalte leere Alt-Elemente (H2 + 2 Textblöcke
     mit 20px-Abständen), die die Sektion um ~142px strecken – nachgebildet: */
  min-height: 242px;
}

.hero-quote {
  flex: 0 0 35%;
  max-width: 35%;
  padding: 0 15px; /* Quix-Spalten-Innenabstand des Originals */
}

.hero-quote h3 {
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-quote);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.5);
  text-shadow: 4px 3px 9px rgba(143, 143, 143, 1);
}

/* Mobiler Hero (Original-Sektion nur unter 768px sichtbar) */
.hero-mobile {
  display: none;
  background-image: url('../images/hg-blume.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 8px solid var(--gold);
}

.hero-mobile img { width: 100%; display: block; }

.hero-mobile .hero-mobile-text { padding: 20px 20px 40px; }

.hero-mobile h2.line1 {
  font-family: 'Lora', serif;
  font-size: 45px;
  line-height: 1.1;
  color: var(--gold);
}

.hero-mobile h2.line2 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 51px;
  line-height: 1.1;
  color: var(--gold);
}

@media (max-width: 767px) {
  .hero { display: none; }
  .hero-mobile { display: block; }
}

/* background-attachment: fixed wird von iOS nicht unterstützt */
@media (max-width: 1024px) {
  .hero, .bg-mandala, .bg-mandala-contain { background-attachment: scroll; }
}

/* ---------- Mandala-Hintergründe ---------- */
/* Original #qx-section-8126: contain / right / fixed */
.bg-mandala-contain {
  background-image: url('../images/hg-blume.jpg');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---------- Startseite: Willkommen ---------- */
.section-welcome { padding: 0; }

.welcome-row { display: flex; align-items: stretch; }

.welcome-media {
  flex: 0 0 33.33%;
  max-width: 33.33%;
}

.welcome-media img {
  width: 100%;
  display: block;
}

.welcome-text {
  flex: 0 0 66.67%;
  max-width: 66.67%;
  padding: 100px 200px 100px 100px;
}

.script-sub {
  /* Gemessen im Original (1920px): H2-Box 65px, dann 20px Element-Abstand,
     Script-Zeile mit voller Zeilenhöhe 1.2 (48px-Box) */
  margin-top: 20px;
  margin-left: 130px;
  line-height: 1.2;
}

/* Abstand Inhaltsblock unter den Überschriften wie im Original:
   20px Element-Abstand + 50px padding-top des Textmoduls */
.text-block { margin-top: 20px; }

.welcome-text .text-block { padding-top: 50px; }

.welcome-text .btn, .kurse-text .btn { margin-top: 20px; }

@media (min-width: 768px) and (max-width: 1024px) {
  .welcome-media { flex: 0 0 42%; max-width: 42%; }
  .welcome-text { flex: 0 0 58%; max-width: 58%; padding: 50px 100px 50px 50px; }
  .script-sub { margin-left: 0; line-height: 1.6em; }
}

@media (max-width: 767px) {
  .welcome-row { flex-wrap: wrap; }
  .welcome-media, .welcome-text { flex: 0 0 100%; max-width: 100%; }
  .welcome-text { padding: 20px 50px 20px 20px; }
  .script-sub { margin-left: 0; line-height: 1.2em; }
  .welcome-text .text-block { padding-top: 25px; }
}

/* ---------- Startseite: Kurse ---------- */
.section-kurse { padding: 0; }

.kurse-row {
  display: flex;
  align-items: stretch;
  border-top: 2px solid var(--gold);
}

.kurse-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 100px;
}

.kurse-text .text-block { padding-top: 50px; }

.kurse-media {
  flex: 0 0 50%;
  max-width: 50%;
}

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

@media (min-width: 768px) and (max-width: 1024px) {
  .kurse-text { padding: 50px; }
}

@media (max-width: 767px) {
  .kurse-row { flex-wrap: wrap; }
  .kurse-text, .kurse-media { flex: 0 0 100%; max-width: 100%; }
  .kurse-text { padding: 50px 20px 20px; }
}

/* ---------- Startseite: CTA ---------- */
.section-cta {
  padding: 80px 0;
  border-top: 3px solid var(--gold);
  text-align: center;
}

.section-cta .btn { margin-top: 70px; } /* 20px Element-Abstand + 50px padding */

@media (max-width: 1024px) {
  .section-cta { padding: 40px 0; }
  .section-cta .script-sub { margin-left: 50px; }
}

@media (max-width: 767px) {
  .section-cta { padding: 20px 0 40px; }
}

/* ---------- Footer ---------- */
/* Zwei Hintergrund-Lagen wie im Original:
   Fläche #E463AB + Overlay #A3916E mit opacity .19 */
.site-footer {
  position: relative;
  padding: 81px 0;
  background-color: var(--pink);
  border-top: 8px solid var(--gold);
  text-align: center;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--gold-dark);
  opacity: 0.19;
  pointer-events: none;
}

.site-footer .container { position: relative; }

.site-footer p { color: #fff; }

.footer-main {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links, .footer-copy { font-size: 12px; }

.footer-links { padding: 10px 0; }

.site-footer a { color: #fff; }

@media (max-width: 1024px) { .site-footer { padding: 40px 0; } }
@media (max-width: 767px)  { .site-footer { padding: 20px 15px; } }

/* ---------- Unterseiten allgemein ---------- */
/* Original: Unterseiten haben 10px Inhalts-Offset unter dem Header */
body:not(.home) main { padding-top: 10px; }

.page-section { padding: 100px; }

.page-section .script-sub { margin-left: 130px; }

.page-section .text-block { padding-top: 50px; }

@media (max-width: 1024px) {
  .page-section { padding: 50px; }
  .page-section .script-sub { margin-left: 0; line-height: 1.6em; }
}

@media (max-width: 767px) {
  .page-section { padding: 30px 20px; }
  .page-section .script-sub { line-height: 1.2em; }
}

/* Über mich: Text links (50%, Innenabstand 100/200), Bild rechts (50%, 65% breit) */
.about-row { display: flex; }

.about-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 100px 200px 100px 100px;
}

.about-text .text-block { padding-top: 50px; }

.about-media {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 195px 15px 100px 15px;
}

.about-media img { width: 65%; display: block; }

@media (min-width: 768px) and (max-width: 1024px) {
  .about-text { flex: 0 0 55%; max-width: 55%; padding: 50px 60px 50px 50px; }
  .about-media { flex: 0 0 45%; max-width: 45%; padding: 120px 15px 50px 15px; }
  .about-media img { width: 85%; }
}

@media (max-width: 767px) {
  .about-row { flex-wrap: wrap; }
  .about-text, .about-media { flex: 0 0 100%; max-width: 100%; }
  .about-text { padding: 30px 50px 20px 20px; }
  .about-media { padding: 0 20px 30px; }
  .about-media img { width: 100%; }
}

/* ---------- Kurse: Karten ---------- */
.section-cards {
  background: #f3f3f3;
  padding: 80px 0 70px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 30px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  padding: 85px 40px 55px;
  text-align: center;
  min-height: 380px; /* Originalhöhe nur als Mindesthöhe – Inhalt darf wachsen */
}

.pricing-card h4 {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.7;
  color: var(--gold-dark);
}

.pricing-card .price {
  font-size: var(--fs-card-price);
  font-weight: 900;
  color: var(--pink);
  margin: 15px 0 0;
  line-height: 78px; /* Original: h2-Zeilenhöhe bleibt erhalten */
}

.pricing-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 5px 0 25px;
}

.pricing-card li {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 25px;
  color: var(--text);
}

.pricing-card li + li { margin-top: 10px; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 0; padding: 50px 25px 40px; }
  .pricing-card .price { line-height: 1.4; }
}

/* ---------- Kurse: Kursplan ---------- */
.section-kursplan {
  padding: 80px 0;
  text-align: center;
}

.section-kursplan h2 { margin-bottom: 45px; }

.section-kursplan img {
  width: 100%;
  max-width: 1170px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section-kursplan .btn { margin-top: 40px; }

/* ---------- Preise: Tabelle ---------- */
.table-wrap { width: 100%; overflow-x: auto; margin-top: 60px; }

table.price-table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.price-table tbody { border: 1px solid #f1f1f1; background-color: #fefefe; }

.price-table td {
  padding: 0.5rem 0.625rem 0.625rem;
  color: var(--text);
}

.price-table tbody tr:nth-child(even) {
  border-bottom: 0;
  background-color: #efe5d2ab;
}

.price-table td.price-col { width: 220px; white-space: nowrap; }

@media (max-width: 600px) {
  .price-table td.price-col { width: auto; white-space: normal; }
}

/* ---------- Formulare ---------- */
.form-field { margin-bottom: 16px; }

input[type='text'], input[type='email'], input[type='tel'],
select, textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #495057;
  background: #fff;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  padding: 6px 12px;
  height: 38px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

textarea { height: auto; min-height: 146px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(228, 99, 171, 0.2);
}

/* Honeypot-Feld unsichtbar für Menschen */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Kontakt-Formular (Maße wie Original: Formular beginnt 15px unter dem Header,
   Eingabefelder 778px breit ab x=973 bei 1920px) */
.contact-row {
  display: flex;
  /* Originalhöhe der Zeile (dort stand zusätzlich die Mathe-Sicherheitsabfrage,
     die laut Vorgabe durch Honeypot/Zeitprüfung ersetzt wurde) */
  min-height: 530px;
}

.contact-intro { flex: 0 0 50%; max-width: 50%; padding-right: 100px; }

.contact-form-col {
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: -85px;
  padding: 0 67px 0 13px;
}

.btn-send {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--pink);
  border: 1px solid rgba(228, 99, 171, 0.68);
  border-radius: 1px;
  padding: 15px;
  min-width: 110px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-send:hover { color: #fff; background: #d44f99; }

/* Anfahrt (Original: Karte 853x400 ab x=50, Text ab x=968) */
.map-row { display: flex; align-items: flex-start; margin-top: 60px; }

.map-col {
  flex: 0 0 853px;
  max-width: 853px;
  margin-left: -50px;
  margin-top: 60px; /* Karte sitzt im Original 60px tiefer als die Anfahrt-Überschrift */
}

.map-col iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.anfahrt-col {
  flex: 1 1 auto;
  max-width: 788px;
  margin-left: 65px;
}

.anfahrt-col .text-block { padding-top: 50px; }

/* Zwischen 1025 und 1200px passen Karte (853px) und Textspalte nicht mehr
   nebeneinander – früh genug einspaltig umbrechen, ohne Overflow */
@media (max-width: 1200px) and (min-width: 1025px) {
  .map-row { flex-wrap: wrap; }
  .map-col { flex: 0 0 100%; max-width: 100%; margin-left: 0; margin-top: 40px; }
  .anfahrt-col { flex: 0 0 100%; max-width: 100%; margin-left: 0; margin-top: 40px; }
}

@media (max-width: 1024px) {
  .contact-row, .map-row { flex-wrap: wrap; }
  .contact-intro, .contact-form-col, .map-col, .anfahrt-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0;
  }
  .contact-row { min-height: 0; }
  .contact-form-col { margin-top: 40px; }
  .anfahrt-col { margin-top: 40px; }
  .map-col { margin-top: 0; }
  .map-row { margin-top: 50px; }
}

/* Formular-Rückmeldungen */
.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 16px;
}

.form-feedback.success { background: #eaf6ec; color: #1e6b30; border: 1px solid #bfe3c7; }
.form-feedback.error   { background: #fdecef; color: #a12341; border: 1px solid #f5c2ce; }

.field-error {
  display: block;
  color: #a12341;
  font-size: 14px;
  margin-top: 4px;
}

input.has-error, textarea.has-error, select.has-error { border-color: #a12341; }

/* Kursanmeldung */
.signup-banner {
  height: 300px;
  background-image: url('../images/teaserbox_2488454191.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (max-width: 767px) { .signup-banner { height: 180px; } }

.signup-form { max-width: 1160px; margin: 0 auto; }

.signup-form label {
  display: block;
  font-family: 'Lora', serif;
  font-size: 20px;
  color: var(--text);
  margin: 22px 0 6px;
}

.signup-form .radio-group label {
  display: inline-flex;
  align-items: center;
  font-family: 'Lato', sans-serif;
  font-size: var(--fs-body);
  margin: 0 24px 0 0;
  cursor: pointer;
}

.signup-form .radio-group input { width: auto; height: auto; margin-right: 8px; }

.pflichtfeld-note { font-size: 14px; margin-top: 8px; }

.btn-signup {
  display: block;
  width: 100%;
  font-family: 'Lora', serif;
  font-size: 18px;
  color: #fff;
  background: var(--gold);
  border: 0;
  border-radius: 1px;
  padding: 15px;
  margin-top: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-signup:hover { background: var(--gold-dark); }

/* ---------- Rechtstexte ---------- */
/* Schriftgrößen wie im Original: Impressum 16px, Datenschutz 20px */
.legal-imprint p, .legal-imprint li { font-size: 16px; }

.legal h4 {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 12px;
}

.legal p { margin-bottom: 1em; }

.legal ul { margin: 0 0 1em 1.2em; padding: 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 100px 20px 120px; }

.error-page .code {
  font-family: 'Lora', serif;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.error-page h1 { margin: 20px 0 0; }

.error-page p { max-width: 640px; margin: 30px auto 0; }

.error-page .btn { margin-top: 40px; }

/* ---------- Lightbox (wie Original: dunkles Overlay, Bild zentriert,
   Schließen oben rechts, Caption unten) ---------- */
.lightbox-link { display: inline-block; cursor: zoom-in; text-decoration: none; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 44px;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: calc(100vh - 110px);
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 14px;
  color: #ccc;
  font-size: 16px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #ccc;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.lightbox-close:hover { color: #fff; }

body.lightbox-open { overflow: hidden; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 18px 20px;
}

.cookie-banner .cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 15px; flex: 1 1 320px; margin: 0; }

.cookie-banner .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cookie-banner .btn { font-size: 14px; padding: 8px 18px; }

/* Solange der Banner sichtbar ist, unten Platz reservieren,
   damit die Footer-Links (Datenschutz/Impressum) nicht verdeckt werden */
body.cookie-visible { padding-bottom: 130px; }

@media (max-width: 600px) {
  body.cookie-visible { padding-bottom: 210px; }
}

/* ---------- Druck / Kleinkram ---------- */
::selection { background: var(--pink); color: #fff; }
