/* ========== Grund-Setup ========== */

:root {
  --amd-bg: #f5f5f7;
  --amd-card-bg: #ffffff;

  /* HIER die Hauptfarbe ergänzen */
  --amd-primary: #c1272d;        /* AMD-Rot */

  /* Edler Libanon-Look: Bordeaux + Zedern-Grün */
  --amd-primary-soft: #fbe6e9;   /* sehr helles Rot für Hintergründe */
  --amd-accent: #1b6f5a;         /* ruhiges Zedern-Grün */

  --amd-text: #111827;
  --amd-text-muted: #6b7280;
  --amd-border: #e5e7eb;
  --amd-heading: #111827;

  --amd-radius-lg: 18px;
  --amd-radius-md: 12px;
  --amd-radius-sm: 8px;
  --amd-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --amd-shadow-card: 0 14px 30px rgba(15, 23, 42, 0.06);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--amd-text);
  background: var(--amd-bg);
  line-height: 1.5;
}
/* Für Screenreader – nicht sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Links und Buttons */

a {
  color: inherit;
  text-decoration: none;
  /* iOS Safari: Link-/Auto-Link-Farbe nicht blau, sondern wie der normale Text */
  -webkit-text-fill-color: inherit;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

/* Utility-Container */

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* ===================================================== */
/* ===============   HEADER – EINHEITLICH   ============ */
/* ===================================================== */

/* Desktop-Basis */

.amd-header {
  background: linear-gradient(to bottom, #ffffff, #f5f5f7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.amd-header-inner {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  gap: 1rem;
}

/* Logo links */

.amd-logo img {
  height: 42px;
  width: auto;
  display: block;
}
/* Sprachbuttons rechts – runde Flaggen im Header */

.amd-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.3rem;
  border-radius: 999px;
  background: #f9fafb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--amd-text-muted);
  line-height: 1;
  font-family: inherit;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.1s ease,
    color 0.12s ease;
}

.lang-btn .lang-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

/* aktive Sprache */
.lang-btn.is-active {
  border-color: var(--amd-primary);
  background: var(--amd-primary-soft);
  color: var(--amd-primary);
}

/* WhatsApp-Icon komplett ausblenden */
.amd-whatsapp-icon {
  display: none !important;
}

/* Flaggen-Icons – jetzt rund */

.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.7);
  background-color: #f9fafb;
}

.lang-flag-de { background-image: url("../img/flag-de.svg"); }
.lang-flag-ar { background-image: url("../img/flag-lb.svg"); } /* Libanon */
.lang-flag-en { background-image: url("../img/flag-us.svg"); } /* USA */

/* Mobile: max 600px */

@media (max-width: 600px) {
  .amd-header-inner {
    padding: 0.25rem 0.6rem;
    gap: 0.4rem;
  }

  .amd-logo img {
    height: 40px;
  }

  .amd-lang-switch {
    gap: 0.25rem;
    padding: 0.12rem 0.25rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  }

  .lang-btn {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
  }

  .lang-flag {
    width: 20px;
    height: 20px;
  }
}

/* Tablet-Zwischenstufe */

@media (min-width: 601px) and (max-width: 900px) {
  .amd-header-inner {
    padding: 0.45rem 0.75rem;
    gap: 0.4rem;
  }
}

.promo-banner {
  width: 100%;
  padding: 0.3rem 0;
  background: #ffdede;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  animation: promoPulse 12s ease-in-out infinite;
}

.promo-banner strong {
  font-weight: 700;
}

@media (max-width: 600px) {
  .promo-banner {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    padding-left: 0.6rem;
  }
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 320px;
  color: #ffffff;
  overflow: hidden;
  border-radius: 0 0 var(--amd-radius-lg) var(--amd-radius-lg);
  padding-bottom: 4.5rem; /* extra Platz unten */
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center; /* Person rechts im Bild bleibt sichtbar */
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #001537 0%,
    #002654 40%,
    #003366 55%,
    rgba(0, 51, 102, 0.0) 85%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  max-width: 640px;
}

.hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.hero-back-link::before {
  content: "←";
  font-size: 1rem;
}

.hero-back-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  font-size: 1rem;
  font-weight: 500;
}
/* Service-Zeile unter dem Hero */

/* Standard = Handy / Tablet: PILL MITTIG */
.hero-service-note {
  position: relative;
  left: 50%;                   /* Mitte des Viewports */
  transform: translateX(-50%); /* von der Mitte aus zurück */
  margin-top: -0.9rem;         /* nur nach oben ziehen */
  margin-left: 0;
  margin-right: 0;

  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  background: #002654;
  color: #fff;
  border-radius: 999px;
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
}

/* ganz kleine Screens: etwas kompakter */
@media (min-width: 992px) {
  .hero-service-note {
    left: auto;
    transform: none;
    margin-left: clamp(1.75rem, 7vw, 5rem);
    margin-right: 0;
  }
}


.hero-service-note a {
  color: #fef9c3;
  font-weight: 600;
  text-decoration: none;
}

.hero-service-note a:hover {
  text-decoration: underline;
}

.hero-service-phone {
  direction: ltr;
  unicode-bidi: bidi-override;
  font-weight: 600;
  color: #fef9c3;
  text-decoration: none;
}

.hero-service-phone:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amd-primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: var(--amd-primary);
  border: 1px solid var(--amd-border);
}

.btn-secondary:hover {
  background: var(--amd-primary-soft);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--amd-border);
  color: var(--amd-text);
}

.btn-outline:hover {
  background: #ffffff;
}

/* ========== Generische Sections ========== */

.section {
  padding: 3.5rem 0;
}

.section-intro {
  background: #f9fafb;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: var(--amd-heading);
}

.section-subtitle {
  margin: 0;
  color: var(--amd-text-muted);
}

.section-title {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amd-heading);
}

/* ========== Intro-Grid ========== */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

.intro-text h3,
.intro-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.bullet-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

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

.intro-highlight {
  background: #ffffff;
  border-radius: var(--amd-radius-lg);
  padding: 1.75rem 1.8rem;
  box-shadow: var(--amd-shadow-card);
  border: 1px solid #f3f4f6;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Tour-Karten (Übersicht) ========== */

.section-tours {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.tour-grid {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}


/* Karte selbst */

.tour-card {
  background: var(--amd-card-bg);
  border-radius: var(--amd-radius-lg);
  box-shadow: var(--amd-shadow-card);

  /* bisheriger Rahmen */
  border: 1px solid #f3f4f6;

  /* NEU: grüner Akzent links */
  border-left: 4px solid var(--amd-accent); /* oder #1b6f5a */

  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}



/* Bild oben – bekommt die URL aus JS über style="background-image:..." */
.tour-card-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Textbereich */

.tour-card-body {
  padding: 1.2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.tour-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.tour-origin,
.tour-card .tour-meta {
  font-size: 0.9rem;
  color: var(--amd-text-muted);
}
.tour-season {
  font-size: 0.85rem;
  color: var(--amd-text-muted);
  margin-top: -0.1rem;  /* rückt etwas näher an "Von Tyre/Sour" */
}

/* auf sehr kleinen Screens minimal kleiner */
@media (max-width: 480px) {
  .tour-season {
    font-size: 0.8rem;
  }
}

.tour-card .tour-price {
  font-weight: 600;
}
.tour-price-main {
  display: block;
  margin-bottom: 0.15rem;
}

.tour-price-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--amd-text-muted);
  line-height: 1.3;
}

.tour-price-note--group {
  margin-top: 0.15rem;
  display: block;
}

.tour-card .tour-location {
  margin-top: 0.3rem;
}

/* Footer mit Button – IMMER unten */

.tour-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Falls der Button direkt im Body liegt (ohne Footer-Wrapper) */
.tour-card-body > .tour-card-button,
.tour-card-body > .btn {
  margin-top: auto;
  align-self: center;
}

.tour-card-button,
.tour-card .btn {
  font-size: 0.88rem;
}

/* ========== Individuelle Anfrage-Karte ========== */
.tour-card--individual{
  text-align: center;
  /* NICHT mehr ganze Zeile erzwingen */
  grid-column: auto;
  justify-self: stretch;
  max-width: none;
}

/* Bild der Individual-Karte */
.tour-card-image--individual{
  background-position: center;
}



/* Höhe des Bildes bleibt wie bei anderen Karten */
.tour-card--individual .tour-card-image{
  height: 220px;
}

.tour-card--individual .tour-card-body{
  text-align: center;
}

.tour-card--individual .tour-card-button{
  align-self: center;
}

/* Wenn die Individual-Karte allein in der letzten Zeile ist -> optisch mittig */
.tour-card--individual{
  text-align: center;
  grid-column: auto;      /* NICHT mehr ganze Zeile blockieren */
  justify-self: stretch;  /* gleiche Breite wie andere Karten */
  max-width: none;
}

/* ========== Buchungsformular (Tab 3) ========== */

.section-booking {
  background: radial-gradient(circle at top, #fdf2f2 0, #f5f5f7 45%, #f5f5f7 100%);
  border-top: 1px solid var(--amd-border);
  border-bottom: 1px solid var(--amd-border);
  display: none;
}

.section-booking.is-visible {
  display: block;
}

body.booking-open .section-tours {
  display: none;
}

body.booking-open .section-hero,
body.booking-open .section-intro {
  display: none;
}

.booking-form {
  background: var(--amd-card-bg);
  border-radius: 1.5rem;
  padding: 2.2rem 2.4rem;
  box-shadow: var(--amd-shadow-card);
  border: 1px solid #e5e7eb;
  max-width: 1200px;
  margin: 0 auto;
}

.booking-grid {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 27, 45, 0.12);
  padding: 2.4rem 2.6rem;
  display: grid;
  gap: 2rem;

  /* Standard: Handy – alles untereinander */
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "summary"
    "actions";
}
.booking-main {
  grid-area: main;
}

.booking-summary {
  grid-area: summary;
}

.booking-actions-row {
  grid-area: actions;
}


.booking-header {
  margin-bottom: 1.4rem;
}

.booking-title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.booking-lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--amd-text-muted);
  max-width: 36rem;
}

.booking-main {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.booking-step {
  border: 1px solid #e5e7eb;
  border-radius: 1.1rem;
    padding: 1.6rem 1.3rem 1.4rem;
  margin: 0;
  background: #f9fafb;
  position: relative;
}

.booking-step + .booking-step {
  margin-top: 1rem;
}

.booking-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 999px;
  background: var(--amd-accent);
}



.booking-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem 1.4rem;
  margin-left: 0.6rem;
}

.booking-step-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.booking-step-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
}

.field span {
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  border-radius: var(--amd-radius-sm);
  border: 1px solid var(--amd-border);
  padding: 0.55rem 0.6rem;
  font-size: 0.93rem;
  font-family: inherit;
  background: #ffffff;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(23, 111, 75, 0.25);
  border-color: var(--amd-accent);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--amd-text-muted);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 0.2rem;
}

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

.booking-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.booking-summary {
  background: linear-gradient(135deg, #ffffff, #f7f7fb);
  color: var(--amd-text);
  border-radius: 1.4rem;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--amd-shadow-card);
  border: 1px solid var(--amd-border);
}

.booking-summary-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.summary-list {
  margin: 0 0 1.4rem;
  padding: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row dt {
  margin: 0;
  color: var(--amd-text-muted);
  font-weight: 500;
}

.summary-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--amd-text);
}

.summary-price h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.summary-price p {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--amd-text-muted);
}

.summary-notes h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.summary-notes ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--amd-text-muted);
}

.summary-notes li + li {
  margin-top: 0.25rem;
}



/* ========== Partner-Sektion (AMD Finanz) ========== */

.section-partner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.partner-container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-text h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.partner-text p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: var(--amd-text-muted);
  max-width: 32rem;
}

/* Klickfläche und Hover für AMD-Finanz-Banner */

.partner-logo {
  display: inline-block;
  position: relative;
  z-index: 5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo a {
  display: block; /* ganze Fläche klickbar */
}

.partner-logo img {
  display: block;
  max-width: 100%;
  border-radius: var(--amd-radius-md);
  box-shadow: var(--amd-shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo:hover img {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

@media (max-width: 900px) {
  .partner-container {
    grid-template-columns: 1fr;
  }
}

/* ========== Footer ========== */

.amd-footer {
  margin-top: 2rem;
  padding: 1.6rem 0 1.3rem;
  background: #0b1120;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  column-gap: 2.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-column--center {
  text-align: center;
}

.footer-follow {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-social {
  display: inline-flex;
  gap: 0.75rem;
}

.footer-social img {
  width: 26px;
  height: 26px;
}

@media (min-width: 901px) {
  .footer-column {
    font-size: 0.9rem;
  }

  .footer-column:first-child {
    text-align: left;
  }

  .footer-column--center {
    text-align: center;
  }

  .footer-column:last-child {
    text-align: right;
  }
}

/* Mobile: alles mittig */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .footer-column {
    justify-self: center;
    text-align: center;
  }
}

/* ===================================================== */
/* ==========   DETAILSEITE: TOUR-ANSICHT   ============ */
/* ===================================================== */

#tour-detail-root {
  padding-top: 1.6rem;
  padding-bottom: 3.2rem;
  background: var(--amd-bg);
}

.tour-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
  width: min(1120px, 100% - 2rem);
  margin: 0 auto 2.4rem;
}

@media (max-width: 900px) {
  .tour-detail-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Container des Detail-Hero-Bildes muss relativ sein */
.tour-detail-hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  width: 100%;
  /* gibt dem Bild eine schöne, konstante Proportion wie vorher */
  aspect-ratio: 4 / 3;
  max-height: 480px;           /* optional, damit es nicht riesig wird */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* auf kleineren Screens etwas kompakter */
@media (max-width: 768px) {
  .tour-detail-hero-image {
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
}



.tour-detail-hero-text {
  max-width: 42rem;
}

.tour-detail-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amd-text-muted);
  margin-bottom: 0.4rem;
}

.tour-detail-title {
  font-size: clamp(2.2rem, 2.8vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--amd-heading);
}

.tour-detail-hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.detail-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.tour-detail-hero-text .btn {
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.tour-detail-hero-text .btn-primary {
  background: var(--amd-primary);
  color: #fff;
  border: none;
  box-shadow: 0 12px 30px rgba(193, 39, 45, 0.45);
}

.tour-detail-hero-text .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(193, 39, 45, 0.6);
}

.tour-detail-hero-text .btn-secondary {
  background: #ffffff;
  color: var(--amd-text);
  border: 1px solid #e0e4ee;
}

@media (max-width: 600px) {
  .tour-detail-hero-text .btn-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-flex;
  }
}

.tour-detail-main {
  margin-top: 1rem;
}

.tour-detail-layout {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
  gap: 2rem;
}

@media (max-width: 1000px) {
  .tour-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.detail-section {
  margin-bottom: 2.5rem;
}

.detail-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--amd-heading);
}

.tour-detail-sidebar .sidebar-card {
  position: sticky;
  top: 5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--amd-shadow-card);
  border: 1px solid #f3f4f6;
}

.tour-detail-sidebar .sidebar-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.tour-detail-sidebar .sidebar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.detail-tab {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #eef1f7;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.detail-tab.is-active {
  background: var(--amd-primary);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(193, 39, 45, 0.4);
}

.detail-tab-panel {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.detail-tab-panel.is-active {
  display: block;
}

.detail-tab-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.detail-tab-panel p {
  margin: 0;
  line-height: 1.6;
   white-space: pre-line;   /* <- NEU: \n in deinen Texten = Zeilenumbruch */
}

.expect-section {
  padding: 1.6rem 1.8rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.expect-section h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.expect-section p {
  margin-top: 0.15rem;
  margin-bottom: 0.4rem;
}

.stops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.stop-card {
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--amd-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stop-card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}
/* UNESCO-Siegel im Detail-Hero: nur das Original-Icon */

.tour-detail-hero-image .unesco-badge {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;

  width: 64px;
  height: 64px;

  display: block;
  pointer-events: none;
}

.unesco-badge-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.unesco-badge-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;

  /* subtiler Schatten, damit es sich abhebt */
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

/* Mobile etwas kleiner & näher am Rand */
@media (max-width: 768px) {
  .tour-detail-hero-image .unesco-badge {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 48px;
    height: 48px;
  }
}

/* UNESCO-Siegel auf Karten & Stops */
.tour-card-image,
.stop-card-image {
  position: relative; /* nötig für das Overlay */
}

.tour-card-image--unesco::after,
.stop-card-image--unesco::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 32px;
  height: 32px;
  background-image: url("../img/welterbe-logo-clean-360.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(15, 27, 45, 0.25);
  pointer-events: none;
}

@media (max-width: 768px) {
  .tour-card-image--unesco::after,
  .stop-card-image--unesco::after {
    width: 26px;
    height: 26px;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}
.stop-card-body {
  padding: 1.2rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stop-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.stop-card-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.stop-card-body ul {
  padding-left: 1.15rem;
  margin: 0.35rem 0 0.9rem;
  font-size: 0.95rem;
}

.stop-card-body .btn.btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  margin-top: auto;
  align-self: flex-start;
}
  /* Untertitel-Zeile im Stop-Text hervorheben */
.stop-card-body p:first-of-type {
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 8px;
}


.stop-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin: 6px 0 10px;
  color: var(--amd-text);
}

#tour-detail-root .detail-section:last-of-type {
  margin-bottom: 0;
}
/* Arabische Packliste – alles untereinander, rechts bündig */
.packing-list-ar {
  list-style: disc;
  direction: rtl;
  padding-left: 0;
  padding-right: 1.4rem;   /* Einzug für die Bullets rechts */
  margin: 0.5rem 0 0;
}

.packing-list-ar li {
  margin-bottom: 0.3rem;   /* Abstand => schön untereinander */
}
/* Footer nur für About / Datenschutz / FAQ / Impressum */
.legal-footer {
  text-align: left;
  padding-left: 1.5rem; /* wenn du etwas Abstand vom Rand willst */
}

.legal-footer p {
  margin: 0;
}


/* ============ Intro-Bereich (Warum Libanon) ============ */

.section-intro {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(
    180deg,
    #f5f5f7 0%,
    #ffffff 36%,
    #ffffff 100%
  );
}

.section-intro .section-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

/* Grid: linke Story + rechte Highlight-Karte */
.section-intro .intro-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .section-intro .intro-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

/* Linke Spalte – edler Panel-Look */
.section-intro .intro-text {
  position: relative;
  border-radius: 24px;
  padding: 2.2rem 2.4rem;
  background: radial-gradient(
      circle at top left,
      rgba(193, 39, 45, 0.12),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(27, 111, 90, 0.08),
      transparent 60%
    );
  box-shadow: 0 18px 40px rgba(15, 27, 45, 0.08);
  overflow: hidden;
}

/* dezente helle Fläche im Panel */
.section-intro .intro-text::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  pointer-events: none;
  z-index: 0;
}

.section-intro .intro-text > * {
  position: relative;
  z-index: 1;
}

.section-intro .intro-text h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Bullet-Liste links als kleine Karten */
.section-intro .intro-text .bullet-list {
  list-style: none;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.section-intro .intro-text .bullet-list li {
  position: relative;
  padding: 0.65rem 1rem 0.65rem 1.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(15, 27, 45, 0.06);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-intro .intro-text .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--amd-primary, #c1272d);
}

/* Spenden-Hinweis dezenter */
.section-intro .donation-text {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Rechte Spalte – Karte mit roter Linie links */
.section-intro .intro-highlight {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2rem 2.1rem;
  box-shadow: 0 18px 36px rgba(15, 27, 45, 0.08);
  border-left: 4px solid var(--amd-primary, #c1272d);
}

.section-intro .intro-highlight h3 {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.section-intro .intro-highlight h4 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1rem;
}

/* Bullet-Liste rechts eher klassisch, aber etwas edler */
.section-intro .intro-highlight .bullet-list {
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
}

.section-intro .intro-highlight .bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.section-intro .intro-highlight .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--amd-accent, #1b6f5a);
}
/* RTL-Korrektur für Arabisch: Bullets nach rechts holen */
[dir="rtl"] .section-intro .intro-text .bullet-list li {
  padding: 0.65rem 1.75rem 0.65rem 1rem; /* Spiegelung der Abstände */
  text-align: right;
}

[dir="rtl"] .section-intro .intro-text .bullet-list li::before {
  right: 0.9rem;
  left: auto;
}

[dir="rtl"] .section-intro .intro-highlight .bullet-list li {
  padding-right: 1.4rem;
  padding-left: 0;
  text-align: right;
}

[dir="rtl"] .section-intro .intro-highlight .bullet-list li::before {
  right: 0.25rem;
  left: auto;
}

/* ============ Booking-Section – Premium Look ============ */

.section-booking {
  padding: 4rem 0 4.5rem;
  background: radial-gradient(
      circle at top left,
      rgba(193, 39, 45, 0.10),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(27, 111, 90, 0.10),
      transparent 55%
    ),
    #f5f5f7;
}

/* Formular-Container als elegante Karte */
.booking-form {
  max-width: 1120px;
  margin: 0 auto;
}

.booking-grid {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 27, 45, 0.12);
  padding: 2.4rem 2.6rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 980px) {
  .booking-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-areas:
      "main summary"
      "actions summary";
    align-items: flex-start;
  }
}


/* Kopfbereich über dem Formular */
.booking-header {
  margin-bottom: 1.8rem;
}

.booking-title {
  margin-bottom: 0.4rem;
}

.booking-lead {
  font-size: 0.95rem;
  color: var(--amd-text-muted, #6b7280);
}

/* Linke Spalte – Steps mit farbigem Akzent */
.booking-main {
  position: relative;
}

.booking-step {
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.9rem 1.6rem 1.6rem;
  margin-bottom: 1.3rem;
  background: #f9fafb;
  position: relative;
  overflow: visible;

}


.booking-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amd-accent, #1b6f5a);
}

/* Felder im Formular */
.field span,
.field label span {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  border-radius: 12px;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--amd-text-muted, #6b7280);
}

/* Buttons unten */
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Rechte Spalte – Zusammenfassung mit roter Linie links */
.booking-summary {
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 27, 45, 0.10);
  padding: 1.9rem 1.9rem 2.1rem;
  border-left: 4px solid var(--amd-primary, #c1272d);
}

.booking-summary-title {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.summary-list {
  border-top: 1px dashed #e5e7eb;
  padding-top: 0.8rem;
  margin-bottom: 1.4rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.summary-row dt {
  color: var(--amd-text-muted, #6b7280);
}

.summary-row dd {
  font-weight: 500;
}

/* Preis- und Hinweisblöcke */
.summary-price,
.summary-notes {
  font-size: 0.88rem;
}

.summary-price h4,
.summary-notes h4 {
  margin-bottom: 0.4rem;
}

.summary-notes ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0;
}

.summary-notes li {
  margin-bottom: 0.25rem;
}
/* Rechte Sidebar-Karte – Premium-Kachel wie auf der Website */
.tour-detail-sidebar .sidebar-card {
  position: sticky;
  top: 5rem;
  padding: 2rem 1.9rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(193, 39, 45, 0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(27, 111, 90, 0.08), transparent 60%),
    #ffffff;
  box-shadow: 0 26px 60px rgba(15, 27, 45, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Headline mit kleinem „Signalpunkt“ links */
.tour-detail-sidebar .sidebar-card h2 {
  font-size: 1.35rem;
  margin: 0 0 0.9rem;
  position: relative;
  padding-left: 1.4rem;
}

.tour-detail-sidebar .sidebar-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amd-primary, #c1272d);
  box-shadow: 0 0 0 6px rgba(193, 39, 45, 0.18);
}

/* Text etwas ruhiger, damit der Button mehr leuchtet */
.tour-detail-sidebar .sidebar-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--amd-text-muted, #6b7280);
}


.header-back-link {
  margin-right: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(15, 27, 45, 0.12);
  background: #ffffff;
  color: #0f1b2d;
  box-shadow: 0 8px 18px rgba(15, 27, 45, 0.06);
  white-space: nowrap;
}

.header-back-link:hover {
  border-color: var(--amd-primary, #c1272d);
  color: var(--amd-primary, #c1272d);
}
html {
  scroll-behavior: smooth;
}
/* ===== Feinschliff nur für Handy (Buchungsseite) ===== */
@media (max-width: 768px) {
  .section-booking {
    padding: 2.5rem 0 3rem;
  }

  /* links etwas weniger, rechts etwas mehr */
  .booking-form {
    max-width: 100%;
    padding: 1.6rem 1.4rem 1.8rem 0.8rem;   /* top right bottom left */
  }

  .booking-grid {
    padding: 1.8rem 1.4rem 1.8rem 0.8rem;   /* top right bottom left */
    border-radius: 22px;
    gap: 1.6rem;
  }

  .booking-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.tour-video {
  padding: 3rem 0;
  display: none; /* wird nur bei Nightlife-Beirut per JS an gemacht */
}


.tour-video .container {
  max-width: 960px;
  margin: 0 auto;
}

.tour-video-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* WICHTIG: Größe begrenzen, nicht mehr „mitwachsen“ lassen */
.tour-video-player {
  width: 100%;
  max-width: 960px;
  max-height: 520px;      /* hier kannst du bei Bedarf spielen: 480–600px */
  border-radius: 16px;
  display: block;
  object-fit: cover;      /* füllt den Rahmen, ohne schwarze Balken */
}

/* Auf Handy etwas kleiner halten */
@media (max-width: 768px) {
  .tour-video {
    padding: 2rem 0;
  }

  .tour-video-player {
    max-height: 420px;
  }
}
/* Grüner Akzent-Streifen links an ausgewählten Karten */
.card--accent-left {
  border: 1px solid transparent;          /* sonst kein Rahmen */
  border-left: 4px solid #1b6f5a;         /* Tannenbaum-Grün */
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

/* Optional: leichtes Hover-Verhalten */
.card--accent-left:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15,27,45,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
/* Bulletpoints in Detailkarten & Buchungsbereich grün einfärben */
.tour-detail-root ul li::marker,
.section-booking ul li::marker {
  color: var(--amd-accent); /* dein Zedern-Grün, z.B. #1b6f5a */
}
#tab-start-end p:not(:first-child) {
  font-weight: 400 !important;
}
/* Start/Ende-Block: Label & Text nicht fett */
.detail-tab-panel p,
.detail-tab-panel strong {
  font-weight: 400;
}

/* ================================
   Detailseite: alter Zurück-Button im Hero AUS
   ================================ */

/* =========================================
   Detailseite: doppelte Buttons bereinigen
   ========================================= */

/* 1) Hero-Buttons weg (oben), weil Sidebar schon CTA hat */
#detail-book-btn,
#detail-back-btn{
  display: none !important;
}

/* Optional: wenn der leere Bereich stört */
.detail-hero-actions{
  display: none !important;
}

/* 2) Back-System: Desktop nur Sticky-Bar, Mobile nur FAB */
.detail-back-fab{
  display: none !important;   /* DESKTOP: FAB aus */
}

@media (max-width: 600px){
/* =========================================
   Detailseite: "Zurück zu allen Touren" Premium-Style
   ========================================= */

/* Sticky-Bar Hintergrund (Desktop/Tablet) */
.detail-topbar{
  position: sticky;
  top: 54px; /* falls überlappt -> 60px */
  z-index: 45;
  background: rgba(245,245,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,0.9);
  padding: 0.55rem 1rem;
}

/* Link selbst als Premium-Pill */
.detail-back-link{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.55rem 0.95rem;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: 0 8px 18px rgba(15,23,42,0.10);

  font-weight: 800;
  font-size: 0.95rem;
  color: var(--amd-text);
  text-decoration: none;

  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.detail-back-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15,23,42,0.14);
  border-color: rgba(193,39,45,0.35); /* AMD-Rot subtil */
  text-decoration: none;
}

.detail-back-link:active{
  transform: translateY(0px);
}

/* Floating Back Button (Mobile) */
.detail-back-fab{
  display: none; /* Desktop aus */
}

/* Mobile: FAB an, Sticky-Bar aus */

  .detail-topbar{
    display: none !important;
  }

  .detail-back-fab{
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;

    position: fixed;
    left: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 60;

    padding: 0.7rem 1rem;
    border-radius: 999px;

    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(229,231,235,0.95);
    box-shadow: 0 18px 36px rgba(15,23,42,0.18);

    font-weight: 900;
    font-size: 0.95rem;
    color: var(--amd-text);
    text-decoration: none;

    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  .detail-back-fab:hover{
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(15,23,42,0.22);
    text-decoration: none;
  }
}

/* RTL: auf Mobile rechts unten */
html[dir="rtl"] .detail-back-fab{
  left: auto;
  right: 1rem;
}
/* =========================================
   Detailseite – Glassy Back Pill (erzwingen)
   ========================================= */

/* Sticky-Bar bleibt wie gehabt */
.detail-topbar{
  position: sticky;
  top: 54px;
  z-index: 45;
  padding: 0.55rem 1rem;
  background: transparent !important; /* damit nur die Pill sichtbar ist */
  border-bottom: none !important;
}

/* GLASSY PILL – sehr spezifisch + !important */
.detail-topbar a.detail-back-link{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;

  padding: 0.62rem 1rem !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,0.35) !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(12px) !important;

  box-shadow: 0 16px 34px rgba(15,23,42,0.16) !important;

  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: #111827 !important;
  text-decoration: none !important;
}

/* Hover */
.detail-topbar a.detail-back-link:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 22px 44px rgba(15,23,42,0.20) !important;
  text-decoration: none !important;
}

/* Mobile-FAB bleibt – aber auch “glassy” */
@media (max-width: 600px){
  .detail-topbar{ display:none !important; }

  a.detail-back-fab{
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;

    position: fixed !important;
    left: 1rem !important;
    bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    z-index: 60 !important;

    padding: 0.7rem 1rem !important;
    border-radius: 999px !important;

    background: rgba(255,255,255,0.35) !important;
    border: 1px solid rgba(255,255,255,0.55) !important;
    backdrop-filter: blur(12px) !important;

    box-shadow: 0 18px 40px rgba(15,23,42,0.18) !important;

    font-weight: 900 !important;
    font-size: 0.95rem !important;
    color: #111827 !important;
    text-decoration: none !important;
  }
}

/* RTL: Mobile-FAB rechts */
html[dir="rtl"] a.detail-back-fab{
  left: auto !important;
  right: 1rem !important;
}

/* =========================================
   Global: Glassy Pill – EIN Look für alle Back-Links
   ========================================= */

/* Basis (gilt für Tours-Hero + Car-Rental + überall) */
.hero-back-link,
.detail-topbar a.detail-back-link,
a.detail-back-fab{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;

  padding: 0.52rem 0.9rem !important;     /* harmonisiert */
  border-radius: 999px !important;

  font-weight: 800 !important;
  font-size: 0.86rem !important;          /* kleiner = wie Car-Rental */
  line-height: 1 !important;

  /* 🔴 ab hier rot statt weißes Glas */
  background: #c1272d !important;
  border: 1px solid rgba(193,39,45,0.95) !important;
  backdrop-filter: blur(12px) !important;

  box-shadow: 0 16px 34px rgba(193,39,45,0.45) !important;

  color: #ffffff !important;
  text-decoration: none !important;
}

/* Hover */
.hero-back-link:hover,
.detail-topbar a.detail-back-link:hover,
a.detail-back-fab:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 22px 44px rgba(193,39,45,0.55) !important;
  text-decoration: none !important;
}


/* Textfarbe – überall weiß, weil der Button jetzt rot ist */
.hero-back-link,
.detail-topbar a.detail-back-link,
a.detail-back-fab{
  color: #ffffff !important;
}


/* Mobile-FAB Position bleibt */
@media (max-width: 600px){
  a.detail-back-fab{
    position: fixed !important;
    left: 1rem !important;
    bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    z-index: 60 !important;
  }
  html[dir="rtl"] a.detail-back-fab{
    left: auto !important;
    right: 1rem !important;
  }
}
.hero.hero--plain{
  background: linear-gradient(180deg, #0b2a4a 0%, #06223d 100%);
  border-radius: 0 0 22px 22px;
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero.hero--plain .hero-content{
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}
/* ===============================
   Datenschutz / Legal Hero – links
   =============================== */

.hero--plain {
  background: linear-gradient(135deg, #001537, #002654);
}

.hero-content--left {
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  max-width: 640px;
  text-align: left;
}

.hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
}

.hero-back-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-back-arrow {
  font-size: 1rem;
  line-height: 1;
}
/* Datenschutz/Legal Hero: Zurück-Pill + Titel links ausrichten */
.hero.hero--plain .hero-content.hero-content--left{
  max-width: min(1120px, 100% - 2rem); /* normaler Content-Block */
  margin: 0 auto;                      /* Block bleibt schön im Layout, aber… */
  align-items: flex-start;             /* …Inhalt startet links */
  text-align: left;                    /* Überschrift links */
}
.hero.hero--plain .hero-title{
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}
/* ================================
   Legal/Datenschutz Hero – Position wie DE
   ================================ */

/* Container im Hero auf “Seitenbreite” wie Content setzen */
.hero.hero--plain .hero-inner{
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

/* Inhalt links, aber mit dem gleichen “Gutter” wie DE */
.hero.hero--plain .hero-content.hero-content--left{
  max-width: 640px;
  margin: 0;
  text-align: left;

  padding-left: clamp(2.2rem, 5vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* EN-Titel nicht künstlich umbrechen */
.hero.hero--plain .hero-title{
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}
/* RTL: Legal/Datenschutz Hero spiegeln (AR) */
html[dir="rtl"] .hero.hero--plain .hero-content.hero-content--left{
  text-align: right;
  padding-right: clamp(2.2rem, 5vw, 5rem);
  padding-left: clamp(1.5rem, 4vw, 4rem);
}

html[dir="rtl"] .hero.hero--plain .hero-back-link{
  margin-right: 0;
  margin-left: auto; /* Pill nach rechts */
}

html[dir="rtl"] .hero.hero--plain .hero-back-link::before{
  content: "→"; /* Pfeil zeigt Richtung “zurück” im RTL */
}
/* ================================
   WhatsApp Button (grün + Icon)
   ================================ */
.btn.has-icon{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.btn-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;

  /* macht das Icon weiß (damit es auf grün sichtbar ist) */
  filter: brightness(0) invert(1);
}
.btn-whatsapp{
  background: #1b6f5a;              /* Autovermietung-Grün */
  color: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(27, 111, 90, .25);
}

.btn-whatsapp:hover{
  filter: brightness(.96);
  transform: translateY(-1px);
}

.btn-whatsapp:active{
  transform: translateY(0);
}


/* WhatsApp Icon – sauber ohne weißen Hintergrund */
.wa-icon{
  width: 18px;
  height: 18px;
  background-color: #fff;

  -webkit-mask: url("../img/icon-whatsapp.svg") no-repeat center / contain;
          mask: url("../img/icon-whatsapp.svg") no-repeat center / contain;
}

/* Button Layout absichern */
.btn.has-icon{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp .btn-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  display: inline-block;
}
/* ================================
   WhatsApp Button – wie Autovermietung
   ================================ */
.section-booking .btn.btn-whatsapp{
  background: #1b6f5a !important;   /* Cedar-Grün */
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 10px 24px rgba(27,111,90,.25) !important;
}

.section-booking .btn.btn-whatsapp:hover{
  filter: brightness(.96);
  transform: translateY(-1px);
}

.section-booking .btn.btn-whatsapp:active{
  transform: translateY(0);
}

/* WICHTIG: kein Invert/Weiß-Filter auf dem WhatsApp-Icon */
.section-booking .btn.btn-whatsapp .btn-icon{
  filter: none !important;
}

/* =========================================
   Global Back Links: AMD-Rot Pill (Hero + Detail)
   ganz ans ENDE der styles.css
   ========================================= */

/* alle Back-Link-Varianten vereinheitlichen */
.hero-back-link,
.amd-subnav .amd-backlink,
.about-back-link a,
.detail-topbar a.detail-back-link,
a.detail-back-fab{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;

  padding: 0.52rem 0.9rem !important;
  border-radius: 999px !important;

  font-weight: 700 !important;
  font-size: 0.86rem !important;
  line-height: 1 !important;

  /* 🔴 ab hier AMD-Rot */
  background: #c1272d !important;
  border: 1px solid rgba(193,39,45,0.95) !important;

  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;

  box-shadow: 0 16px 34px rgba(193,39,45,0.45) !important;

  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

/* Hover */
.hero-back-link:hover,
.amd-subnav .amd-backlink:hover,
.about-back-link a:hover,
.detail-topbar a.detail-back-link:hover,
a.detail-back-fab:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 22px 44px rgba(193,39,45,0.55) !important;
  text-decoration: none !important;
}

/* Fallback falls Blur nicht unterstützt wird */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
  .hero-back-link,
  .amd-subnav .amd-backlink,
  .about-back-link a,
  .detail-topbar a.detail-back-link,
  a.detail-back-fab{
    background: #c1272d !important;
    border-color: rgba(193,39,45,0.95) !important;
    color: #ffffff !important;
  }
}

/* =========================================
   Tours-App: Back-Buttons rot (Hero + Detail)
   ========================================= */

.hero .hero-back-link,
.detail-topbar .detail-back-link,
#detail-back-btn,
a.detail-back-fab {
  background: #c1272d !important;             /* AMD-Rot */
  border-color: rgba(193, 39, 45, 0.95) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(193, 39, 45, 0.40) !important;
}

/* Hover-Zustand */
.hero .hero-back-link:hover,
.detail-topbar .detail-back-link:hover,
#detail-back-btn:hover,
a.detail-back-fab:hover {
  background: #a91f24 !important;
}

/* Active-Zustand (Klick) */
.hero .hero-back-link:active,
.detail-topbar .detail-back-link:active,
#detail-back-btn:active,
a.detail-back-fab:active {
  background: #8f1a1f !important;
  transform: translateY(1px) !important;
}

/* RTL: Pfeil drehen (falls du das willst) */
html[dir="rtl"] .amd-subnav .amd-backlink::before,
html[dir="rtl"] .hero-back-link::before{
  content: "→" !important;
}
/* iPhone: kein horizontales “Wackeln” durch 100vw/overflow */
html, body{
  overflow-x: hidden;
}

/* Medien/Buttons nie breiter als Container */
img, video, iframe{
  max-width: 100%;
}
img, video, iframe{
  max-width: 100%;
  height: auto;
  display: block;
}
/* =========================================================
   TOUR-DETAIL: Zurück-Button IMMER mitlaufen (Desktop + Mobile)
   Ziel: Desktop = sticky/topbar sichtbar, Mobile = FAB sichtbar
   iPhone-safe
   ========================================================= */

/* Desktop/Tablet: Topbar bleibt sticky und sichtbar */
.detail-topbar{
  display: block !important;
  position: sticky !important;
  top: 54px !important;
  z-index: 9990 !important;
}

/* Mobile: Topbar NICHT ausblenden (sonst "verschwindet" es) */
@media (max-width: 600px){
  .detail-topbar{
    display: block !important;
    top: calc(54px + env(safe-area-inset-top)) !important;
  }
}

/* FAB: immer vorhanden (wir zeigen ihn überall – optional) */
a.detail-back-fab{
  display: inline-flex !important;
  position: fixed !important;
  left: 1rem !important;
  bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
  z-index: 10000 !important;
}

/* RTL: FAB rechts */
html[dir="rtl"] a.detail-back-fab{
  left: auto !important;
  right: 1rem !important;
}

/* iOS Blur-Support erzwingen */
.detail-topbar a.detail-back-link,
a.detail-back-fab{
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
}
/* =========================================================
   TOUR-DETAIL: "Zurück zu allen Touren" soll IMMER mitlaufen
   (sticky -> fixed)
   ========================================================= */

/* Topbar komplett aus sticky lösen */
.detail-topbar{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 96px !important;          /* Desktop unter Header */
  z-index: 10000 !important;
  pointer-events: none !important; /* nur Link klickbar */
}

/* Inner: Layout wie vorher */
.detail-topbar .detail-topbar__inner{
  pointer-events: none !important;
}

/* Der Link selbst klickbar + Pill */
.detail-topbar a.detail-back-link{
  pointer-events: auto !important;
  display: inline-flex !important;
}

/* Mobile/iPhone: safe-area + etwas näher nach oben */
@media (max-width: 720px){
  .detail-topbar{
    top: calc(72px + env(safe-area-inset-top)) !important;
  }
}

/* RTL: Link rechts (optional, wenn du willst) */
html[dir="rtl"] .detail-topbar{
  left: 0 !important;
  right: 0 !important;
}
/* HERO Service: roter Hörer vor der Nummer */
.hero-service-phone{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero-service-phone::before{
  content: "📞"; /* Hörer */
  color: var(--amd-primary, #c1272d);
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-.5px);
}
/* ==========================================
   GLOBAL: rotes Telefon-Icon für alle tel:-Links
   (iPhone/Android/Desktop zuverlässig)
   ========================================== */

/* tel:-Links immer rot */
a[href^="tel:"]{
  color: var(--amd-primary, #c1272d) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* Icon vor jeder Telefonnummer */
a[href^="tel:"]::before{
  content: "" !important;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;

  background-color: var(--amd-primary, #c1272d);

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.7 3.2 3.4 4.9 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.9.5.1.8.5.8 1v3.4c0 .5-.4 1-1 1C10.4 21.3 2.7 13.6 2.7 4.9c0-.6.4-1 1-1H7c.5 0 .9.3 1 .8.2 1.1.5 2.2.9 3.2.1.4 0 .9-.3 1.2L6.6 10.8z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.7 3.2 3.4 4.9 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.9.5.1.8.5.8 1v3.4c0 .5-.4 1-1 1C10.4 21.3 2.7 13.6 2.7 4.9c0-.6.4-1 1-1H7c.5 0 .9.3 1 .8.2 1.1.5 2.2.9 3.2.1.4 0 .9-.3 1.2L6.6 10.8z'/%3E%3C/svg%3E") no-repeat center / contain;

  transform: translateY(-.5px);
}

/* Falls irgendwo (wie im Hero) noch ein Emoji-Icon gesetzt ist:
   Dieses Override sorgt dafür, dass auch dort NICHT das Emoji gewinnt */
.hero-service-phone::before{
  content: "" !important;
}
/* HERO Service: IMMER eine Zeile (Text darf "..." machen, Nummer bleibt) */
.hero-service-note{
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  white-space: nowrap !important;   /* verhindert Umbruch */
  overflow: hidden !important;      /* nötig für Ellipsis */
}

/* Text links: darf schrumpfen + "..." */
.hero-service-note > span{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Nummer rechts: niemals umbrechen */
.hero-service-phone{
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
/* AR (RTL): Zurück-Button immer auf die dunkle linke Hero-Seite */
html[dir="rtl"] .hero{
  position: relative; /* sicher, falls noch nicht */
}

html[dir="rtl"] .hero .hero-back-link{
  position: absolute !important;
  top: clamp(1rem, 2.5vw, 1.4rem) !important;
  left: clamp(1.5rem, 4vw, 4rem) !important;  /* dunkle Seite links */
  right: auto !important;

  z-index: 5 !important;

  /* optional: etwas kräftiger, damit es sicher lesbar bleibt */
  background: rgba(0,0,0,0.28) !important;
  border-color: rgba(255,255,255,0.55) !important;
  color: #fff !important;
}

/* AR: Pfeil Richtung passt */
html[dir="rtl"] .hero .hero-back-link::before{
  content: "→" !important;
}
/* ==========================================
   Back-Buttons: NIE sticky/fixed – nie mitlaufen
   (globaler Kill-Switch)
   ========================================== */

/* häufige Back-Link Klassen */
.hero-back-link,
.header-back-link,
.detail-back-link,
.back-glass,
.hero-back,
.hero-back-pill{
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: auto !important;
}

/* falls der Container sticky ist */
.detail-topbar,
.hero .legal-subrow,
.legal-subrow{
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}

.summary-partner[hidden]{ display:none !important; }

.summary-partner{
  margin: .65rem 0 .9rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  padding-top: .55rem;
  border-top: 1px dashed rgba(17,24,39,0.12);
}

.summary-partner-label{
  font-size:.72rem;
  color: var(--amd-text-muted);
  letter-spacing:.04em;
  line-height: 1.2;
}

.summary-partner img{
  height: 20px;
  width:auto;
  max-width: 110px;
  object-fit: contain;
  display:block;
}

html[dir="rtl"] .summary-partner{
  flex-direction: row-reverse;
}
/* ================================
   Booking – Google Maps Kartenblock
   ================================ */

.booking-map-card {
  margin-top: 1.5rem;
}

.booking-map {
  width: 100%;
  min-height: 260px;      /* WICHTIG: Ohne diese Höhe bleibt sie unsichtbar */
  border-radius: 18px;
  overflow: hidden;
  background: #e5e7eb;   /* hellgrau, damit beim Laden etwas sichtbar ist */
}

@media (max-width: 768px) {
  .booking-map {
    min-height: 220px;
  }
}
/* --- Teilnehmer-Stepper --- */

.stepper {
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--amd-radius-sm);
  border: 1px solid var(--amd-border);
  overflow: hidden;
  max-width: 200px;
}

.stepper input[type="number"] {
  border: none;
  text-align: center;
  width: 3.2rem;
  padding: 0.55rem 0.4rem;
  font-size: 0.93rem;
}

/* Native Pfeile ausblenden (Desktop/Mobile) */
.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input[type="number"] {
  -moz-appearance: textfield;
}

.stepper-btn {
  border: none;
  background: #f3f4f6;
  padding: 0.55rem 0.75rem;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.stepper-btn:focus-visible {
  outline: 2px solid rgba(23, 111, 75, 0.45);
  outline-offset: 0;
}
/* ===== Teilnehmer-Stepper – Premium-Style ===== */

.field .stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: 220px;

  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65); /* dezenter Rahmen */
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); /* leichter Glow */
  overflow: hidden;
}

/* Zahl in der Mitte */
.field .stepper input[type="number"] {
  flex: 1 0 auto;
  border: none;
  border-left: 1px solid rgba(229, 231, 235, 0.9);
  border-right: 1px solid rgba(229, 231, 235, 0.9);
  padding: 0.55rem 0.35rem;
  font-size: 0.95rem;
  text-align: center;
  background: transparent;
}

/* Pfeile (Browser) komplett ausblenden */
.field .stepper input[type="number"]::-webkit-outer-spin-button,
.field .stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.field .stepper input[type="number"] {
  -moz-appearance: textfield;
}

/* Plus / Minus-Buttons als kleine Pills */
.stepper-btn {
  width: 2.6rem;
  min-width: 2.6rem;
  height: 2.4rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  background: linear-gradient(180deg, #f9fafb, #e5e7eb);
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

/* Hover / Active – leicht, nicht hysterisch */
.stepper-btn:hover {
  background: linear-gradient(180deg, #ffffff, #e5e7eb);
}

.stepper-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.18);
}

/* Fokus sichtbar für Tastatur / Screenreader */
.stepper-btn:focus-visible {
  outline: 2px solid rgba(27, 111, 90, 0.55);
  outline-offset: 1px;
}

/* Mobile: volle Breite, aber trotzdem „edel“ */
@media (max-width: 480px) {
  .field .stepper {
    max-width: 100%;
  }

  .stepper-btn {
    height: 2.6rem;
  }
}
/* 24/7-Service-Pill unter dem Hero wie in der Transfer-App */
.hero-service-note {
  position: absolute;
  left: 50%;
  bottom: -1.4rem;              /* leicht unter den Hero schieben */
  transform: translateX(-50%);
  z-index: 5;

  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-service-note > span {
  color: #111827;
}

.hero-service-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #c1272d;              /* rote Nummer wie in der anderen App */
  text-decoration: none;
}

.hero-service-phone:hover {
  text-decoration: underline;
}
/* FINAL: 24/7-Service-Pill direkt unter dem Hero (auch auf Handy) */
.hero-service-note {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  margin: -1.1rem auto 1.6rem !important; /* klebt direkt unter dem Hero */
  max-width: calc(100% - 2rem);
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  z-index: 10;
}

/* Text im Service-Pill – komplett lesbar, Nummer bleibt sauber */
.hero-service-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.hero-service-note > span {
  flex: 1 1 auto;
  min-width: 0;
  /* keine Ellipsis mehr, Text darf vollständig erscheinen */
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}

/* Mobile: Schrift kleiner, KEIN Umbruch – alles in 1 Zeile */
@media (max-width: 600px) {
  .hero-service-note {
    margin-top: 0.6rem !important;
    font-size: 0.72rem;          /* kleiner */
    padding: 0.3rem 0.8rem;      /* etwas kompakter */
    flex-wrap: nowrap;           /* kein Zeilenumbruch */
    white-space: nowrap;         /* Sicherheit */
    gap: 0.35rem;
  }

  .hero-service-note > span {
    white-space: nowrap;         /* Text bleibt in 1 Zeile */
  }

  .hero-service-phone {
    font-size: 0.82rem;          /* Nummer gut lesbar, aber etwas kleiner */
  }
}
/* Checkbox + Partner-ID Block */
.booking-legal-wrap {
  margin-top: 1.4rem;      /* Abstand nach oben */
  margin-bottom: 1.2rem;   /* Abstand zu den Buttons */
  display: flex;
  flex-direction: column;
  gap: 0.6rem;             /* Abstand zwischen Checkbox-Text und Partner-ID-Feld */
}

/* Checkbox-Zeile selbst */
.booking-legal {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.booking-legal input[type="checkbox"] {
  margin-top: 0.2rem;
}
/* =========================================
   AMD PREMIUM BOOKING LOOK – OVERRIDES
   ========================================= */

/* Hintergrund der ganzen Buchungssektion */
.section-booking {
  padding: 4rem 0 4.5rem;
  background:
    radial-gradient(circle at top left, rgba(193, 39, 45, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(27, 111, 90, 0.14), transparent 55%),
    #f5f5f7;
}

/* Hauptkarte zentriert, etwas enger */
.booking-form {
  max-width: 1120px;
  margin: 0 auto;
}

/* Grid: links Formular, rechts Review – mit Luxus-Card-Look */
.booking-grid {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  padding: 2.6rem 2.8rem;
  display: grid;
  gap: 2.2rem;
}

@media (min-width: 980px) {
  .booking-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    grid-template-areas:
      "main summary"
      "actions summary";
    align-items: flex-start;
  }

  .booking-main { grid-area: main; }
  .booking-summary { grid-area: summary; }
  .booking-actions-row { grid-area: actions; }
}

/* Kopfbereich – ruhiger, aber hochwertig */
.booking-header {
  margin-bottom: 1.8rem;
}

.booking-title {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
}

.booking-lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--amd-text-muted);
  max-width: 34rem;
}

/* Linke Spalte – Steps als „Timeline Cards“ */
.booking-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* vertikale Linie links (Timeline) */
.booking-main::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(193,39,45,0.4),
    rgba(27,111,90,0.5)
  );
}

/* einzelne Steps */
.booking-step {
  position: relative;
  margin: 0 0 0.2rem;
  padding: 1.4rem 1.5rem 1.5rem 1.8rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: radial-gradient(circle at top left, #ffffff 0, #f9fafb 55%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* farbiger Balken im Step (links) */
.booking-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    var(--amd-primary),
    var(--amd-accent)
  );
}
/* Sichtbare Überschrift im Step mit Nummern-Badge */
.booking-step-heading {
  padding: 0 0 0.7rem 2.1rem;
  margin: 0 0 0.3rem;
  font-size: 0.97rem;
  font-weight: 700;
  position: relative;
  color: var(--amd-heading);
  -webkit-text-fill-color: var(--amd-heading); /* gegen Blau auf iOS */
}

/* runder Step-Zähler (Kreis) links */
.booking-main .booking-step .booking-step-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--amd-accent);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

/* Zahlen pro Step */
.booking-main .booking-step:nth-of-type(1) .booking-step-heading::after { content: "1"; }
.booking-main .booking-step:nth-of-type(2) .booking-step-heading::after { content: "2"; }
.booking-main .booking-step:nth-of-type(3) .booking-step-heading::after { content: "3"; }
.booking-main .booking-step:nth-of-type(4) .booking-step-heading::after { content: "4"; }

.booking-main .booking-step .booking-step-heading::after {
  position: absolute;
  left: 0.46rem;
  top: 0.22rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amd-accent);
}


/* Inhalt im Step */
.booking-step-grid {
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.4rem;
}

/* Felder – etwas runder */
.field {
  font-size: 0.93rem;
}

.field span {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
}

/* Rechte Spalte – echte Premium-Summary */
.booking-summary {
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(193,39,45,0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(27,111,90,0.09), transparent 60%),
    #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  padding: 2rem 1.9rem 2.3rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
}

/* kleine Flag-Linie oben links */
.booking-summary::before {
  content: "";
  position: absolute;
  left: 1.9rem;
  top: 1.7rem;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--amd-primary),
    var(--amd-accent)
  );
}

.booking-summary-title {
  margin: 0 0 1.3rem 0;
  padding-left: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

/* Liste */
.summary-list {
  border-top: 1px dashed #e5e7eb;
  padding-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.summary-row dt {
  color: var(--amd-text-muted);
  font-weight: 500;
}

.summary-row dd {
  font-weight: 600;
  color: #111827;
}

/* Preis & Hinweise */
.summary-price h4,
.summary-notes h4 {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.summary-price p,
.summary-notes ul {
  font-size: 0.86rem;
}

.summary-notes ul {
  padding-left: 1.2rem;
}

.summary-notes li + li {
  margin-top: 0.25rem;
}

/* Button-Zeile unten */
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.booking-actions .btn-primary {
  min-width: 210px;
  font-size: 0.97rem;
  box-shadow: 0 18px 40px rgba(193, 39, 45, 0.4);
}

.booking-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(193, 39, 45, 0.55);
}

.booking-actions .btn-whatsapp {
  min-width: 210px;
}

/* Datenschutz + Partner-ID Block etwas näher an die Buttons (falls Klasse vorhanden) */
.booking-legal-wrap {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* =========================================
   MOBILE FEINSCHLIFF (bis 768px)
   ========================================= */
@media (max-width: 768px) {
  .section-booking {
    padding: 2.6rem 0 3.2rem;
  }

  .booking-form {
    max-width: 100%;
  }

  .booking-grid {
    padding: 1.9rem 1.4rem 2rem;
    border-radius: 22px;
    box-shadow: 0 20px 46px rgba(15,23,42,0.18);
    grid-template-columns: 1fr;
  }

  .booking-main::before {
    left: 0.2rem;
  }

  .booking-step {
    padding: 1.3rem 1.2rem 1.4rem 1.6rem;
  }

  .booking-summary {
    margin-top: 2.2rem;
    padding: 1.7rem 1.4rem 2rem;
  }

  .booking-summary::before {
    left: 1.4rem;
  }

  .booking-actions {
    flex-direction: column;
  }

  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* Text im Booking-Header etwas von der Timeline-Linie abrücken */
.booking-header {
  padding-left: 0.9rem;
}

/* auch die Steps minimal einrücken, Linie bleibt links */
.booking-main {
  padding-left: 0.9rem;
}
/* Mehr Luft zwischen Kartenrand und Überschrift in den Steps */
.booking-step {
  padding-top: 1.9rem !important;   /* vorher ~1.4rem */
}

/* Linie im Step etwas nach unten schieben, damit sie mittig bleibt */
.booking-step::before {
  top: 1.2rem !important;           /* vorher 0.9rem */
}


/* Auch in der rechten Zusammenfassung Überschrift nicht kleben lassen */
.booking-summary-title {
  margin-top: 0.3rem;
}
input, select, textarea {
  -webkit-text-fill-color: var(--amd-text);
  color: var(--amd-text);
}
/* ===== FIX: Sichtbare Step-Überschrift mit Nummern-Badge ===== */
.booking-step-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-left: 2.4rem;
  position: relative;
  color: var(--amd-heading);
  -webkit-text-fill-color: var(--amd-heading); /* iPhone Fix gegen Blau */
}

/* Kreis links */
.booking-step-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--amd-accent);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Nummern 1–4 */
.booking-step:nth-of-type(1) .booking-step-heading::after { content: "1"; }
.booking-step:nth-of-type(2) .booking-step-heading::after { content: "2"; }
.booking-step:nth-of-type(3) .booking-step-heading::after { content: "3"; }
.booking-step:nth-of-type(4) .booking-step-heading::after { content: "4"; }

.booking-step-heading::after {
  position: absolute;
  left: 0.48rem;
  top: 0.38rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amd-accent);
}
/* ================================
   iPhone-Fix: Booking-Step Überschriften (LEGEND)
   ================================ */

/* Legend im Buchungsbereich wie eine normale Überschrift behandeln */
.section-booking .booking-step > legend {
  display: block;
  margin: 0 0 0.9rem;
  padding-left: 2.2rem;            /* leichte Einrückung zur Timeline */
  font-size: 1rem;
  font-weight: 700;
  color: var(--amd-heading, #111827);
  /* iOS Safari: keine blaue Autofill-/Link-Farbe */
  -webkit-text-fill-color: var(--amd-heading, #111827);
}

/* Falls iOS dem legend irgendwelche komischen Ränder gibt */
.section-booking .booking-step {
  /* wir haben schon Premium-Styles, hier nur sicherstellen, dass nichts verschluckt wird */
  overflow: visible;
}

/* Falls wir irgendwann .booking-step-heading im HTML NICHT mehr nutzen:
   sicherstellen, dass Legend nicht durch alte Heading-Styles überlagert wird */
.section-booking .booking-step-heading {
  /* optional: komplett neutralisieren, wenn du GAR KEINE extra Heading brauchst */
  /* font-size: inherit;
  font-weight: inherit;
  padding-left: 0;
  margin-bottom: 0.4rem; */
}
/* =========================================
   Booking-Steps: Legend als Titel + Nummern
   ========================================= */

.section-booking .booking-step > legend {
  position: relative;
  display: block;
  margin: 0 0 1rem;               /* Luft nach unten */
  padding: 0 0 0.7rem 2.1rem;     /* Platz links für Kreis */
  font-size: 1rem;
  font-weight: 700;
  color: var(--amd-heading);
  -webkit-text-fill-color: var(--amd-heading); /* iPhone: kein Blau */
}

/* runder Step-Zähler (Kreis) links vom Titel */
.section-booking .booking-step > legend::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--amd-accent);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

/* Zahlen je Step (1–4) */
.section-booking .booking-step:nth-of-type(1) > legend::after { content: "1"; }
.section-booking .booking-step:nth-of-type(2) > legend::after { content: "2"; }
.section-booking .booking-step:nth-of-type(3) > legend::after { content: "3"; }
.section-booking .booking-step:nth-of-type(4) > legend::after { content: "4"; }

/* Position der Zahl im Kreis */
.section-booking .booking-step > legend::after {
  position: absolute;
  left: 0.46rem;
  top: 0.22rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amd-accent);
}
/* ULTIMATIVER OVERRIDE: alle "Zurück"-Buttons rot (Hero + Detail-Topbar) */
.hero .hero-back-link,
.detail-topbar .detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;

  background-color: var(--amd-primary, #c1272d) !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 14px 32px rgba(193, 39, 45, 0.32) !important;
  text-decoration: none !important;
}

.hero .hero-back-link:hover,
.detail-topbar .detail-back-link:hover {
  background-color: #a91f24 !important;
  box-shadow: 0 18px 38px rgba(193, 39, 45, 0.42) !important;
}

.hero .hero-back-link:active,
.detail-topbar .detail-back-link:active {
  background-color: #8f1a1f !important;
  transform: translateY(1px);
  box-shadow: 0 10px 24px rgba(193, 39, 45, 0.35) !important;
}
/* AMD Logo im Buchungsbereich für iPhone perfekt mittig */
.partner-logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* FIX: Service-Pill zentrieren auf Mobile */
@media (max-width: 768px){
  .hero-service-note{
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

     margin-top: 0.6rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    max-width: 90% !important;
    justify-content: center !important;
  }
}

/* Desktop bleibt links */
@media (min-width: 769px){
  .hero-service-note{
    left: 0 !important;
    transform: none !important;
    margin-left: clamp(1.75rem, 7vw, 5rem) !important;
  }
}
