/* Schriften lokal eingebunden (keine Verbindung zu Google) */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/lora-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2');
}

/* ==========================================================================
   Ferienhaus Schwarzatalblick — Fragebogen-Seite
   Theme: Natur / Dunkelgrün (Cards + Grün)
   Fonts: Open Sans via Google Fonts (loaded in <head>)
   ========================================================================== */

/* ── Reset / Base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #444444;
  background-color: #f4f0e6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(45%2C90%2C39%2C0.07)'/%3E%3C/svg%3E");
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Headings ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: #1a3d1a;
  font-weight: 500;
  line-height: 1.2em;
  padding-bottom: 10px;
  margin: 0;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
  margin: 0;
  padding-bottom: 1em;
}
p:last-of-type {
  padding-bottom: 0;
}

a {
  color: #2d5a27;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

blockquote {
  margin: 10px 0 20px;
  border-left: 4px solid #2d5a27;
  padding-left: 20px;
}
blockquote p {
  padding-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid #ddd8cc;
  margin: 20px 0;
}

/* ── Site Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.30) 100%),
    url('../img/header.jpg');
  background-size: cover;
  background-position: center 55%;
  text-align: center;
  overflow: hidden;
}

.site-header__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 44px;
  position: relative;
  z-index: 1;
}

.site-header__subtitle {
  margin: 0 0 10px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* Dekorativer Trennstrich unter dem Untertitel */
.site-header__subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 10px auto 0;
}

.site-header__name {
  font-family: 'Lora', Georgia, serif;
  color: #ffffff;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  padding-bottom: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Foto-Header: minimal schmaler Übergang, Haus bleibt sichtbar */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #f4f0e6);
  pointer-events: none;
  z-index: 0;
}


/* ── Page layout ─────────────────────────────────────────────────────────── */
.page-section {
  background-color: #f4f0e6;
  padding: 0 20px 64px;
}

.form-container {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(26, 61, 26, 0.12);
  width: 90%;
  max-width: 1080px;
  margin: -60px auto 0;
  padding: 48px 52px;
  position: relative;
  z-index: 1;
}

/* ── Intro block ─────────────────────────────────────────────────────────── */
.intro-block {
  margin-bottom: 32px;
}
.intro-block h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  margin-bottom: 14px;
  font-size: 24px;
  color: #1a3d1a;
}
.intro-block hr {
  border-top: 1px solid #ddd8cc;
  margin-top: 28px;
}

.pflichtfeld-hinweis {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  padding-bottom: 0;
}

/* ── Person cards (fieldsets) ────────────────────────────────────────────── */
fieldset {
  border: none;
  border-top: 3px solid #2d5a27;
  padding: 24px 28px 28px;
  margin: 0 0 20px 0;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(26, 61, 26, 0.08);
}

fieldset legend {
  /* float statt display:block — sonst rendert der Browser die legend
     auf dem Fieldset-Rahmen, außerhalb der Karte */
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
}

fieldset .field-grid {
  clear: both;
}

fieldset legend h2,
fieldset legend h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  color: #1a3d1a;
  margin-bottom: 0;
}

/* „Hauptansprechperson" als Bernstein-Badge */
fieldset legend blockquote {
  border: none;
  padding: 0;
  margin: 8px 0 0;
  display: inline-block;
}

fieldset legend blockquote p {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #7a4f10;
  background: #fdf3e0;
  border: 1px solid #d4a84b;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  padding-bottom: 3px;
}

hr.person-separator {
  display: none;
}

/* ── Form field grid ─────────────────────────────────────────────────────── */
.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}

/* Logisches Adress-Layout: breite Felder spannen 2 Spalten */
.field-grid .form-group:has([name^="e_mail"]),
.field-grid .form-group:has([name^="strasse"]),
.field-grid .form-group:has([name^="stadt"]) {
  grid-column: span 2;
}

/* ── Karten: Hover-Feedback ──────────────────────────────────────────────── */
fieldset,
.weitere-fragen,
.anzahl-group {
  transition: box-shadow 0.2s ease;
}

fieldset:focus-within,
.weitere-fragen:focus-within,
.anzahl-group:focus-within {
  box-shadow: 0 4px 20px rgba(26, 61, 26, 0.14);
}

/* Personen-Karten blenden sanft ein, wenn sie sichtbar werden */
fieldset[data-person] {
  animation: card-in 0.3s ease both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Form groups ─────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--narrow {
  max-width: 180px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2d5a27;
  font-size: 11px;
}

.field-grid .form-group label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group--checkbox {
  margin-top: 28px;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  background: #f7f9f7;
  border: 1px solid #c8dcc4;
  border-radius: 8px;
  padding: 16px 18px;
}

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.55;
  color: #555;
  text-transform: none;
  letter-spacing: normal;
}

.form-group--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #2d5a27;
}

/* ── Inputs, selects ─────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="date"],
select {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #c4bfb0;
  border-radius: 6px;
  padding: 9px 11px;
  color: #333333;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: auto;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus {
  outline: none;
  border-color: #2d5a27;
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.14);
  color: #222;
}

/* ── Required marker ─────────────────────────────────────────────────────── */
.required {
  color: #c0392b;
  font-style: normal;
  margin-left: 2px;
}

/* ── Weitere Fragen section ──────────────────────────────────────────────── */
.weitere-fragen {
  margin-top: 28px;
  padding: 24px 28px 28px;
  background-color: #eef6ea;
  border-radius: 10px;
  border-top: 3px solid #1a3d1a;
  box-shadow: 0 2px 14px rgba(26, 61, 26, 0.08);
}

.weitere-fragen > hr:first-child {
  display: none;
}

.weitere-fragen h4 {
  font-family: 'Lora', Georgia, serif;
  color: #1a3d1a;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}

.weitere-fragen .form-group {
  margin-bottom: 16px;
  max-width: 560px;
}

.weitere-fragen .form-group label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  color: #2d5a27;
}

/* ── PayPal hint ─────────────────────────────────────────────────────────── */
.paypal-hint {
  margin: 12px 0 16px;
}

.paypal-box {
  max-width: 420px;
  padding: 16px 18px;
  border: 1px solid #2d5a27;
  border-radius: 8px;
  background-color: #eef5ec;
  color: #1a3d1a;
  font-size: 14px;
  line-height: 1.6;
}

.paypal-box p {
  padding-bottom: 12px;
}

.paypal-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2d5a27;
  border-radius: 6px;
  padding: 10px 24px;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease;
}

.paypal-btn:hover {
  background-color: #1a3d1a;
  text-decoration: none;
}

.paypal-btn:focus-visible {
  outline: 3px solid rgba(45, 90, 39, 0.35);
  outline-offset: 2px;
}

.paypal-box .paypal-note {
  margin-top: 10px;
  padding-bottom: 0;
  font-size: 12px;
  color: #557a50;
}

/* ── Inline-Validierung ──────────────────────────────────────────────────── */
.form-group.is-invalid input[type="text"],
.form-group.is-invalid input[type="email"],
.form-group.is-invalid input[type="date"],
.form-group.is-invalid select {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.field-error {
  font-size: 11px;
  color: #c0392b;
  margin-top: 4px;
  font-weight: 600;
}

/* ── Sicherheitshinweis ──────────────────────────────────────────────────── */
.security-hint {
  font-size: 12px;
  color: #888;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Form message ────────────────────────────────────────────────────────── */
#form-message {
  margin-top: 16px;
  font-size: 14px;
}

.form-message--error {
  color: #8b1a1a;
  background-color: #fdf0ee;
  border: 1px solid #d9534f;
  border-radius: 6px;
  padding: 12px 16px;
}

/* ── Submit row ──────────────────────────────────────────────────────────── */
.submit-row {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e8e3d8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

button[type="submit"] {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2d5a27;
  border: none;
  border-radius: 6px;
  padding: 14px 48px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(45, 90, 39, 0.3);
}

button[type="submit"]:hover {
  background-color: #1a3d1a;
  box-shadow: 0 5px 16px rgba(45, 90, 39, 0.4);
}

button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.3);
}

button[type="submit"]:focus-visible {
  outline: 3px solid rgba(45, 90, 39, 0.35);
  outline-offset: 2px;
}

/* Lade-Zustand: Button gesperrt + Spinner statt Doppel-Klick */
button[type="submit"]:disabled {
  cursor: default;
  opacity: 0.75;
}

button[type="submit"].is-loading {
  position: relative;
  color: transparent;
}

button[type="submit"].is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.submit-hint {
  font-size: 12px;
  color: #999;
  padding-bottom: 0;
  margin: 0;
}

/* ── Anzahl: erster Schritt, prominent ───────────────────────────────────── */
.anzahl-group {
  background: #ffffff;
  border-top: 3px solid #2d5a27;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(26, 61, 26, 0.08);
  padding: 20px 28px 24px;
  max-width: 440px;
  margin-bottom: 28px;
}

.anzahl-group__label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a3d1a;
  margin-bottom: 12px;
}

.anzahl-pills {
  display: flex;
  gap: 10px;
}

.anzahl-pill {
  position: relative;
  cursor: pointer;
}

.anzahl-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.anzahl-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 48px;
  border: 1px solid #c4bfb0;
  border-radius: 8px;
  background: #ffffff;
  font-size: 17px;
  font-weight: 600;
  color: #444444;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.anzahl-pill:hover span {
  border-color: #2d5a27;
  color: #1a3d1a;
}

.anzahl-pill input:checked + span {
  background: #2d5a27;
  border-color: #2d5a27;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(45, 90, 39, 0.3);
}

.anzahl-pill input:focus-visible + span {
  outline: 3px solid rgba(45, 90, 39, 0.35);
  outline-offset: 2px;
}

.anzahl-hint {
  margin-top: 10px;
  padding-bottom: 0;
  font-size: 12px;
  color: #888;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-grid .form-group:has([name^="e_mail"]),
  .field-grid .form-group:has([name^="strasse"]),
  .field-grid .form-group:has([name^="stadt"]) {
    grid-column: span 2;
  }
}

/* ── Danke-Seite ─────────────────────────────────────────────────────────── */
.danke-card {
  text-align: center;
  padding: 24px 0 8px;
}

.danke-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eef5ec;
  border: 2px solid #2d5a27;
  color: #2d5a27;
}

.danke-card h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 8px;
}

.danke-card p {
  max-width: 560px;
  margin: 0 auto;
}

.danke-card .btn-back,
.legal .btn-back {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2d5a27;
  border-radius: 6px;
  padding: 12px 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.danke-card .btn-back:hover,
.legal .btn-back:hover {
  background-color: #1a3d1a;
  text-decoration: none;
}

/* ── Reduzierte Bewegung ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  fieldset[data-person] {
    animation: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  button[type="submit"].is-loading::after {
    animation-duration: 0.7s !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 280px;
  }

  .site-header__name {
    font-size: 26px;
  }

  .form-container {
    width: 100%;
    border-radius: 8px;
    padding: 24px 16px;
  }

  fieldset {
    padding: 18px 16px;
  }

  .weitere-fragen {
    padding: 18px 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-grid .form-group:has([name^="e_mail"]),
  .field-grid .form-group:has([name^="strasse"]),
  .field-grid .form-group:has([name^="stadt"]) {
    grid-column: auto;
  }

  .form-group--narrow {
    max-width: 100%;
  }

  .weitere-fragen .form-group {
    max-width: 100%;
  }

  button[type="submit"] {
    width: 100%;
    font-size: 14px;
  }

  /* 16px verhindert den automatischen Zoom von iOS beim Fokussieren */
  input[type="text"],
  input[type="email"],
  input[type="date"],
  select {
    font-size: 16px;
  }

  .anzahl-group {
    max-width: 100%;
    padding: 18px 16px 20px;
  }

  .anzahl-pills {
    gap: 8px;
  }

  .anzahl-pill {
    flex: 1;
  }

  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 15px; }
}

/* ── Lebendiger: Header-Zoom, Tagline, Fortschritt, Dankeseite ───────────── */
.site-header {
  background-image: none;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.30) 100%),
    url('../img/header.jpg');
  background-size: cover;
  background-position: center 55%;
  animation: header-zoom 24s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes header-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.site-header__inner > * {
  animation: fade-up 0.8s ease both;
}
.site-header__name    { animation-delay: 0.15s; }
.site-header__tagline { animation-delay: 0.35s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.site-header__tagline {
  margin: 14px 0 0;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.progress {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 -8px 24px;
  padding: 12px 8px 10px;
  background: rgba(244, 240, 230, 0.94);
  backdrop-filter: blur(4px);
  border-radius: 0 0 8px 8px;
}
.progress__steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8a8a7a;
}
.progress__steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}
.progress__steps li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: background-color 0.3s ease;
}
.progress__steps li.is-active { color: #2d5a27; font-weight: 600; }
.progress__steps li.is-done   { color: #2d5a27; }
.progress__steps li.is-done::before { background-color: #2d5a27; }
.progress__bar {
  height: 4px;
  background: #e2ddcf;
  border-radius: 2px;
  overflow: hidden;
}
.progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2d5a27, #6b9a4a);
  transition: width 0.4s ease;
}

.paypal-hint {
  animation: card-in 0.3s ease both;
}

.danke-infos {
  list-style: none;
  max-width: 460px;
  margin: 24px auto 0;
  padding: 0;
  text-align: left;
}
.danke-infos li {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(26, 61, 26, 0.07);
  animation: fade-up 0.5s ease both;
}
.danke-infos li:nth-child(2) { animation-delay: 0.1s; }
.danke-infos li:nth-child(3) { animation-delay: 0.2s; }
.danke-mappe {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin: 16px auto 0;
  padding: 12px 14px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: #eef5ec;
  border-left: 4px solid #2d5a27;
  border-radius: 0 8px 8px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.danke-mappe:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 61, 26, 0.14);
}
.danke-mappe img {
  width: 64px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.danke-card__icon {
  animation: pop-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .site-header__tagline { font-size: 16px; }
  .progress__steps { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header__inner > *,
  .danke-infos li,
  .danke-card__icon,
  .paypal-hint,
  fieldset[data-person] {
    animation: none;
  }
}

.field-hint {
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  color: #6b6b5e;
}

.kosten-box {
  margin: 4px 0 20px;
  padding: 14px 18px;
  background: #fdf5e4;
  border: 1px solid #d4a542;
  border-left: 4px solid #b07d2a;
  border-radius: 0 8px 8px 0;
  animation: card-in 0.3s ease both;
}
.kosten-box__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d5a15;
}
.kosten-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kosten-box__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 15px;
  color: #4a2f08;
}
.kosten-box__sum {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid #e6cf9c;
  font-size: 16px;
  color: #4a2f08;
}
.kosten-box__sum strong { font-size: 18px; }

/* ── Reisezeitraum ───────────────────────────────────────────────────────── */
.reise-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin: 0 0 20px;
  padding: 18px 20px 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(26, 61, 26, 0.08);
}
.reise-group input[type="date"] {
  width: 100%;
  font-size: 16px;
}
.reise-group__naechte {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 600;
  color: #2d5a27;
}
.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #8a8a7a;
}
.kosten-box__hinweis {
  margin: 8px 0 0;
  padding: 0;
  font-size: 13px;
  color: #7d5a15;
}
@media (max-width: 600px) {
  .reise-group { grid-template-columns: 1fr; padding: 16px; }
}

/* ── Gesamtbetrag unten fixiert ──────────────────────────────────────────── */
.summen-leiste {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 42, 28, 0.96);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
  animation: leiste-rein 0.3s ease both;
}
.summen-leiste[hidden] { display: none; }
.summen-leiste__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.summen-leiste__label { font-size: 15px; font-weight: 600; }
.summen-leiste__detail { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.7); }
.summen-leiste__betrag {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  color: #f2c86b;
  white-space: nowrap;
}
body.hat-summen-leiste { padding-bottom: 72px; }
@keyframes leiste-rein {
  from { transform: translateY(100%); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .summen-leiste { animation: none; }
}

/* ── Footer + Rechtstexte ────────────────────────────────────────────────── */
.site-footer {
  padding: 8px 16px 32px;
  text-align: center;
  font-size: 13px;
  color: #8a8a7a;
}
.site-footer a { color: #5f6b55; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-header--klein { min-height: 240px; }
.legal h2 {
  margin: 28px 0 8px;
  font-size: 19px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 12px; line-height: 1.7; }
.legal mark { background: #fff1b8; padding: 0 3px; border-radius: 3px; }
.legal__stand { font-size: 13px; color: #8a8a7a; }
.legal__zurueck { margin-top: 28px; text-align: center; }
.form-group--checkbox a { color: #2d5a27; }

/* ── Bezahlen nach dem Absenden + Entwurf-Hinweis ───────────────────────── */
.danke-paypal {
  max-width: 460px;
  margin: 24px auto 0;
  padding: 18px 20px;
  text-align: left;
  background: #eef4fb;
  border: 1px solid #b9d3ee;
  border-left: 4px solid #0070ba;
  border-radius: 0 8px 8px 0;
  animation: fade-up 0.5s ease both;
}
.danke-paypal[hidden] { display: none; }
.danke-paypal__titel {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b4a7a;
}
.danke-paypal p { margin: 0 0 10px; }
.danke-paypal__btn {
  display: block;
  margin: 14px 0 10px;
  padding: 14px 18px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  background: #0070ba;
  border-radius: 6px;
  text-decoration: none;
}
.danke-paypal__btn:hover { background: #005ea6; }
.danke-paypal__hinweis { font-size: 13px; color: #4a5d6e; }
.entwurf-hinweis {
  margin: 0 0 18px;
  padding: 10px 14px;
  font-size: 14px;
  background: #eef5ec;
  border-left: 4px solid #2d5a27;
  border-radius: 0 6px 6px 0;
}
.entwurf-hinweis button {
  margin-left: 6px;
  padding: 0;
  background: none;
  border: 0;
  color: #2d5a27;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.danke-warnung {
  max-width: 460px;
  margin: 24px auto 0;
  padding: 14px 18px;
  text-align: left;
  background: #fdf0ec;
  border-left: 4px solid #b3452a;
  border-radius: 0 8px 8px 0;
}
.danke-warnung[hidden] { display: none; }
.danke-warnung p { margin: 0; }

.kosten-box__list li span { white-space: nowrap; }
.kosten-box__fehlt { color: #b3452a !important; font-weight: 600; }

/* ── Geburtsdatum: Kalender-Knopf + Kontrolle ────────────────────────────── */
.geb-feld {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.geb-feld input[type="text"] { flex: 1; min-width: 0; }
.geb-kalender {
  position: relative;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #eef5ec;
  border: 1px solid #c9d8c4;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
}
.geb-kalender:hover { background: #e2eedd; }
.geb-kalender input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
}
.geb-check {
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  min-height: 0;
}
.geb-check--ok { color: #2d5a27; }
.geb-check--fehler { color: #b3452a; font-weight: 600; }
