/*!
 * RingTaxi WC Cards – Consolidated CSS
 * Version: 1.3.0
 * Kopiert aus beautiful-pro/overrides.css für unabhängige Plugin-Nutzung
 */

/* ==============================================
   1) Karten-Komponente (rtc-*)
   ============================================== */

/* Karten-Variablen + Grundlayout */
.rtc-card{
  --rtc-brand: #d40000;
  --rtc-muted: #6b7280;
  --rtc-title-size: clamp(1rem, 1.4vw, 1.25rem);
  --rtc-sub-size:   clamp(.95rem,  1.1vw, 1.02rem);
  --rtc-text-size:  1rem;

  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  font-variant-numeric: tabular-nums;
  font-feature-settings:"tnum" 1;
}

/* Hover */
.rtc-card:hover{
  transform: translateY(-4px);
  box-shadow:0 8px 22px rgba(0,0,0,.16);
}

/* Bild */
.rtc-thumb{
  aspect-ratio:16/9;
  overflow:hidden;
  display:block;
  position:relative;
}
.rtc-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Inhalt */
.rtc-body{
  display:flex;
  flex-direction:column;
  gap:.6rem;
  padding:16px;
}

/* Titel + Subheadline */
.rtc-title{
  margin:0;
  font-size:var(--rtc-title-size);
  line-height:1.2;
  letter-spacing:.2px;
}
.rtc-sub{
  margin:.25rem 0 .15rem;
  font-size:var(--rtc-sub-size);
  line-height:1.25;
  color:var(--rtc-brand);
}

/* Spezifikationen */
.rtc-specs{
  display:grid;
  gap:.28rem;
  margin:.25rem 0 .35rem;
  font-size:var(--rtc-text-size);
}
.rtc-row{
  display:grid;
  grid-template-columns:max-content 1fr;
  column-gap:.55rem;
  align-items:baseline;
}
.rtc-specs dt{ font-weight:700; white-space:nowrap }
.rtc-specs dd{ margin:0 }
.nowrap{ white-space:nowrap }

/* Hinweistext (optional) */
.rtc-note{
  margin-top:.15rem;
  color:var(--rtc-muted);
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* CTA-Buttons */
.rtc-cta{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
}
.rtc-btn{
  flex:1 1 0;
  text-align:center;
  line-height:1;
  font-weight:700;
  padding:.68rem 1rem;
  border-radius:12px;
  text-decoration:none;
  transition: transform .05s ease, opacity .15s ease, box-shadow .15s ease;
}
.rtc-btn,
.rtc-btn:visited{
  color:#fff !important;
}
.rtc-btn:hover{ opacity:.92 }
.rtc-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.18);
}

.rtc-btn-detail{ background:#111; color:#fff }
.rtc-btn-detail:hover{
  background:#333;
  color:#fff !important;
}
.rtc-btn-detail:active{ transform: translateY(1px) }

.rtc-btn-shop{ background:var(--rtc-brand); color:#fff }
.rtc-btn-shop:hover{
  background:#b60000;
  color:#fff !important;
}
.rtc-btn-shop:active{ transform: translateY(1px) }
.rtc-btn-shop:focus-visible{
  box-shadow: 0 0 0 3px rgba(212,0,0,.35);
}

/* Preis-Badge im Bild */
.rtc-price-badge{
  position:absolute; bottom:10px; right:10px;
  background:var(--rtc-brand); color:#fff;
  font-weight:800; font-size:clamp(.9rem,1.8vw,1.05rem);
  padding:.35rem .65rem; border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,.2); line-height:1.1;
}

/* Feature-Badges (Chips) */
.rtc-feats{
  display:flex;
  flex-wrap:wrap;
  gap:.38rem .45rem;
  margin:.28rem 0 .4rem;
}
.rtc-chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.28rem .58rem;
  border:1px solid #e5e7eb;
  background:#fafafa;
  color:#111;
  border-radius:999px;
  line-height:1.1;
  font-size:.95rem;
  white-space:nowrap;
}
.rtc-chip-label{ color:var(--rtc-muted) }
.rtc-chip-val{ font-weight:700 }

/* Desktop vs Mobile Labels */
.rtc-chip-label--short{ display:none }
@media (max-width:560px){
  .rtc-chip-label--long{ display:none }
  .rtc-chip-label--short{ display:inline }
}

/* ==============================================
   2) Produktdetailseite Single
   ============================================== */

/* ==============================================
   Genesis Theme Overrides für RingTaxi Produktseiten
   ============================================== */

/* Content-Bereich volle Breite für Produktseiten */
.single-product .content {
  width: 100% !important;
  max-width: 100%;
  float: none;
  padding: 0;
}

/* Site-Inner anpassen */
.single-product .site-inner {
  padding-top: 20px;
}

/* Content-Sidebar-Wrap volle Breite */
.single-product .content-sidebar-wrap {
  max-width: 100%;
}

/* Container-Overrides für RingTaxi Produktseiten */
.rtc-co-pilot-product {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem); /* Responsive seitliches Padding */
}

/* Breadcrumb Spacing */
.single-product .breadcrumb {
  max-width: 900px;
  margin: 0 auto 1rem;
  padding: 0;
}

/* ==============================================
   RELATED PRODUCTS - Verwendet rtwc-card Design
   ============================================== */

/* Related Products Section */
.rtwc-related-section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  clear: both;
}

.rtwc-related-section > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1f;
  text-align: center;
  margin: 0 0 1.5rem;
  padding: 0;
  letter-spacing: -0.02em;
}

/* Tablet */
@media (min-width: 640px) {
  .rtwc-related-section {
    padding: 2.5rem 1.5rem;
  }
  
  .rtwc-related-section > h2 {
    font-size: 1.625rem;
    margin-bottom: 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .rtwc-related-section {
    padding: 3rem 2rem;
    margin: 3rem auto;
  }
  
  .rtwc-related-section > h2 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }
}

.rtc-card-single {
  max-width: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.rtc-card-single:hover {
  transform: none;
  box-shadow: none;
}

.rtc-card-single .rtc-thumb {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-height: 500px;
}

.rtc-card-single .rtc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rtc-card-single .rtc-body {
  padding: 1.5rem clamp(1rem, 4vw, 2rem); /* Seitliches Padding wie Container */
}

.rtc-card-single .rtc-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.rtc-product-description {
  margin: 1.5rem 0;
  line-height: 1.7;
  color: #374151;
  font-size: 1rem;
}

/* Intro-Text (h2) - nicht so groß */
.rtc-product-description h2 {
  font-size: 1.15rem !important;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: #111;
  border: none;
  padding: 0;
}

/* Abschnitts-Überschriften (h3) */
.rtc-product-description h3 {
  font-size: 1.05rem !important;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: #111;
  border: none;
  padding: 0;
}

.rtc-product-description h3:first-of-type {
  margin-top: 1rem;
}

/* Beschreibungs-Absätze */
.rtc-product-description p {
  margin: 0 0 1rem;
  font-style: normal !important;
  font-size: 1rem !important;
}

/* Listen-Styling */
.rtc-product-description ul,
.rtc-product-description ol {
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  list-style: none;
}

.rtc-product-description li {
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
  position: relative;
}

/* Checkmark vor Listen-Items */
.rtc-product-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d40000;
  font-weight: 700;
}

/* Strong/Bold in Beschreibung */
.rtc-product-description strong,
.rtc-product-description b {
  font-weight: 600;
  color: #111;
}

.rtc-booking-section {
  margin-top: 1.5rem;
}

/* ==============================================
   3) Responsive & Motion
   ============================================== */

@media (max-width: 900px){
  .rtc-card{
    --rtc-title-size: clamp(1.12rem, 2vw, 1.35rem);
    --rtc-sub-size:   clamp(.9rem,  1.6vw, .98rem);
  }
  .rtc-body{ padding:14px }
  .rtc-cta{ flex-direction:column; align-items:stretch; margin-top:.7rem }
  .rtc-btn{ width:100%; flex:0 0 auto; padding:.72rem 1rem }
}

@media (max-width: 600px){
  .rtc-card{
    --rtc-title-size: clamp(1.06rem, 5vw, 1.25rem);
    --rtc-sub-size:   clamp(.9rem,  3.5vw, 1rem);
  }
  .rtc-cta{ margin-top:.6rem }

  /* Mobile Padding für Produktseite */
  .rtc-co-pilot-product {
    padding: 0 1rem;
  }
  .single-product .breadcrumb {
    padding: 0;
  }
  .single-product .related.products {
    padding: 1.5rem 1rem;
  }
}

/* Nutzer mit reduzierter Bewegung */
@media (prefers-reduced-motion: reduce){
  .rtc-card, .rtc-btn{ transition:none }
}

/* ==============================================
   4) Grid für Karten-Übersicht
   ============================================== */

.rtc-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .rtc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .rtc-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================================
   5) Out-of-Stock Badge
   ============================================== */

.rtc-sold-out-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #333;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  text-transform: uppercase;
}

/* ==============================================
   6) Listenstil-Reset (Genesis-Kompatibilität)
   ============================================== */

.rtc-card .rtc-specs,
.rtc-card .rtc-specs ul,
.rtc-card .rtc-specs li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.rtc-card .rtc-specs li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .6rem;
}

.rtc-card .rtc-specs li strong {
  font-weight: 600;
  white-space: nowrap;
}

.rtc-card .rtc-specs li strong::after {
  content: ":";
  margin-left: .15rem;
}

/* ==============================================
   7) Accordion für Produktbeschreibung
   ============================================== */

/* Intro-Bereich (immer sichtbar) */
.rtc-desc-intro {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.rtc-desc-intro p {
  margin: 0 0 1rem;
}

/* Accordion Container */
.rtc-accordion {
  border-top: 1px solid #e5e7eb;
}

/* Einzelnes Accordion-Item */
.rtc-accordion-item {
  border-bottom: 1px solid #e5e7eb;
}

/* Accordion Header (Button) */
.rtc-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  transition: color 0.15s ease, background 0.15s ease;
}

.rtc-accordion-header:hover {
  color: #333;
  background: #f9f9f9;
  border-radius: 0;
}

.rtc-accordion-header:focus {
  outline: none;
}

.rtc-accordion-header:focus-visible {
  outline: 2px solid #d40000;
  outline-offset: 2px;
}

/* Accordion Titel */
.rtc-accordion-title {
  flex: 1;
}

/* Accordion Icon (Plus/Minus) */
.rtc-accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.rtc-accordion-icon::before,
.rtc-accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.25s ease;
}

/* Horizontale Linie */
.rtc-accordion-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

/* Vertikale Linie (wird bei open rotiert) */
.rtc-accordion-icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

/* Icon wenn offen */
.rtc-accordion-item.is-open .rtc-accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Accordion Panel */
.rtc-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.rtc-accordion-panel-inner {
  padding: 0 0 1.25rem;
  color: #374151;
  line-height: 1.7;
}

/* Listen im Accordion */
.rtc-accordion-panel-inner ul,
.rtc-accordion-panel-inner ol {
  margin: 0.5rem 0;
  padding: 0;
  list-style: none;
}

.rtc-accordion-panel-inner li {
  margin-bottom: 0.4rem;
  padding-left: 1.5rem;
  position: relative;
}

.rtc-accordion-panel-inner li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d40000;
  font-weight: 700;
}

/* Absätze im Accordion */
.rtc-accordion-panel-inner p {
  margin: 0 0 0.75rem;
}

.rtc-accordion-panel-inner p:last-child {
  margin-bottom: 0;
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  .rtc-accordion-panel {
    transition: none;
  }
  .rtc-accordion-icon::before,
  .rtc-accordion-icon::after {
    transition: none;
  }
}

/* ==============================================
   8) V2: GetYourGuide-Style Layout
   ============================================== */

/* Breadcrumbs kompakt */
.rtc-product-v2 .woocommerce-breadcrumb,
.single-product.layout-v2 .woocommerce-breadcrumb {
  font-size: 0.75rem !important;
  color: #888 !important;
  margin-bottom: 0.25rem !important;
  padding: 0 !important;
}

/* Container */
.rtc-product-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ==============================================
   V2 GRID LAYOUT (kein doppelter Code)
   ============================================== */

/*
 * Grid-Areas:
 * Mobile:  header | gallery | sidebar | description
 * Desktop: header header | gallery sidebar | description sidebar
 */

.rtc-v2-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile: Alles untereinander */
@media (max-width: 991px) {
  .rtc-v2-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "gallery"
      "sidebar"
      "description";
  }
}

/* Desktop: 2 Spalten */
@media (min-width: 992px) {
  .rtc-v2-grid {
    grid-template-columns: 1fr 380px;
    grid-template-rows: auto auto 1fr; /* Header auto, Gallery auto, Description nimmt Rest */
    grid-template-areas:
      "header header"
      "gallery sidebar"
      "description sidebar";
    gap: 1.5rem 2rem;
    padding: 0 2rem;
  }
}

.rtc-v2-header { grid-area: header; }
.rtc-v2-gallery { 
  grid-area: gallery; 
  align-self: start; /* Verhindert Dehnung wenn Widget wächst */
}
.rtc-v2-sidebar { 
  grid-area: sidebar;
  align-self: start; /* Sidebar auch oben halten */
}
.rtc-v2-description { 
  grid-area: description;
  align-self: start; /* Description direkt unter Gallery */
}

/* ==============================================
   HEADER (Titel + Specs)
   ============================================== */
.rtc-v2-header {
  padding: 0;
}

.rtc-v2-title {
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  color: #1d1d1f;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rtc-v2-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #86868b;
}

.rtc-v2-spec {
  display: inline-flex;
  align-items: center;
}

.rtc-v2-specs .rtc-v2-spec:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: #c7c7cc;
}

/* Desktop: Specs als Pills */
@media (min-width: 992px) {
  .rtc-v2-specs {
    gap: 0.375rem;
  }
  
  .rtc-v2-spec {
    padding: 0.25rem 0.625rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1d1d1f;
  }
  
  .rtc-v2-specs .rtc-v2-spec:not(:last-child)::after {
    display: none;
  }
}

/* Parent-Container für Sticky - alle müssen overflow:visible haben */
.rtc-product-v2,
.rtc-product-v2 .rtc-v2-grid,
.single-product .site-inner,
.single-product .content-sidebar-wrap,
.single-product .content {
  overflow: visible !important;
}

/* Gallery */
.rtc-v2-gallery {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  line-height: 0;
  font-size: 0;
  background: transparent !important;
}

.rtc-v2-main-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  line-height: 1; /* Reset für Bild */
}

.rtc-v2-gallery:hover .rtc-v2-main-img {
  transform: scale(1.02);
}

.rtc-v2-subheadline {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* Rechte Spalte: Sticky Sidebar */
.rtc-v2-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 180px; /* Platz für Header + Navigation */
  align-self: start;
  height: fit-content;
}

.rtc-v2-booking-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Preis-Block - KOMPAKT */
.rtc-v2-price-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.rtc-v2-price-label {
  display: inline;
  font-size: 0.9rem;
  color: #666;
}

.rtc-v2-price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-left: 0.25rem;
}

.rtc-v2-price-suffix {
  font-size: 0.85rem;
  color: #666;
  margin-left: 0.15rem;
}

/* Booking Form - KOMPAKT */
.rtc-v2-booking-form {
  margin-bottom: 1rem;
}

/* Zurücksetzen-Link verstecken */
.rtc-v2-booking-form .reset_variations,
.rtc-v2-booking-form .reset_variations_alert {
  display: none !important;
}

.rtc-v2-booking-form .variations {
  margin-bottom: 0.75rem;
}

.rtc-v2-booking-form .variations tr {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.rtc-v2-booking-form .variations .label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
  min-width: 50px;
  margin: 0;
}

.rtc-v2-booking-form .variations .label label {
  font-weight: 600;
}

.rtc-v2-booking-form .variations td.value {
  flex: 1;
}

.rtc-v2-booking-form .variations select,
.rtc-v2-booking-form .quantity input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  cursor: pointer;
}

.rtc-v2-booking-form .variations select:focus,
.rtc-v2-booking-form .quantity input:focus {
  outline: none;
  border-color: var(--rtc-brand, #d40000);
  box-shadow: 0 0 0 2px rgba(212,0,0,0.1);
}

.rtc-v2-booking-form .quantity {
  margin-bottom: 0.75rem;
}

/* Quantity inline mit Label */
.rtc-v2-booking-form .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.rtc-v2-booking-form .quantity {
  width: 70px;
  margin: 0;
}

/* Preis im Formular verstecken (zeigen wir oben schon) */
.rtc-v2-booking-form .woocommerce-variation-price {
  display: none;
}

/* Variations-Tabelle kompakter */
.rtc-v2-booking-form table.variations {
  width: 100%;
  border-collapse: collapse;
}

.rtc-v2-booking-form table.variations tbody {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==============================================
   APPLE-STYLE BOOKING UI (Glassmorphism)
   ============================================== */

/* Booking Box Container */
.rtc-v2-booking-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ==============================================
   3-STEP BOOKING WIDGET
   ============================================== */

/* Widget Container */
.rtc-widget {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  scroll-margin-top: 200px; /* Offset für sticky Header beim scrollIntoView */
}

/* Header nur Preis - kompakt */
.rtc-widget-header {
  background: linear-gradient(135deg, #c41e1e 0%, #a01010 100%);
  color: #fff;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.rtc-widget-price {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.rtc-widget-price-suffix {
  font-size: 0.8125rem;
  opacity: 0.9;
  opacity: 0.9;
}

/* Progress Bar - im weißen Bereich, unauffällig */
.rtc-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1rem 1.25rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.rtc-progress-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.rtc-progress-step.is-active {
  background: #c41e1e;
  color: #fff;
}

.rtc-progress-step.is-completed {
  background: #22c55e;
  color: #fff;
}

.rtc-progress-step.is-completed span {
  display: none;
}

.rtc-progress-step.is-completed::after {
  content: '✓';
  font-size: 0.75rem;
}

.rtc-progress-line {
  width: 32px;
  height: 2px;
  background: #e0e0e0;
  transition: background 0.2s ease;
}

.rtc-progress-line.is-completed {
  background: #22c55e;
}

/* ==============================================
   Streckenauswahl (Step 1 für Rental)
   ============================================== */

.rtc-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 1rem 0;
  text-align: center;
}

.rtc-track-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.rtc-track-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.rtc-track-btn:hover {
  border-color: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  background-color: #fff !important;
  color: inherit !important;
}

.rtc-track-btn.active {
  border-color: #1d1d1f;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

img.rtc-track-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  object-fit: contain;
  background: #f8f9fa;
  padding: 8px;
  box-sizing: border-box;
}

.rtc-track-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rtc-track-btn .rtc-track-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
  text-transform: uppercase;
}

.rtc-track-btn .rtc-track-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d1d1f;
  display: block;
}

.rtc-track-btn .rtc-track-length {
  font-size: 0.8125rem;
  color: #888;
  margin-top: 0.25rem;
}

/* Mobile: Strecken-Buttons untereinander, kompakteres Layout */
@media (max-width: 480px) {
  .rtc-track-options {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .rtc-track-btn {
    flex-direction: row;
    text-align: left;
    padding: 0.75rem;
    gap: 0.875rem;
    align-items: center;
  }
  
  img.rtc-track-img {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .rtc-track-info {
    align-items: flex-start;
    text-align: left;
    flex: 1;
  }
  
  .rtc-track-btn .rtc-track-name {
    font-size: 0.875rem;
  }
  
  .rtc-track-btn .rtc-track-subtitle {
    font-size: 0.75rem;
  }
  
  .rtc-track-btn .rtc-track-length {
    font-size: 0.6875rem;
    margin-top: 0.125rem;
  }
}

/* Steps */
.rtc-step {
  border-bottom: 1px solid #f0f0f0;
}

.rtc-step:last-child {
  border-bottom: none;
}

/* Step Header Bar (für Accordion-Style) */
.rtc-step-header-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #f9f9f9;
  cursor: default;
  transition: background 0.2s;
}

.rtc-step.is-completed .rtc-step-header-bar {
  cursor: pointer;
}

.rtc-step.is-completed .rtc-step-header-bar:hover {
  background: #f0f0f0;
}

.rtc-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.rtc-step.is-active .rtc-step-icon {
  background: #c41e1e;
  color: #fff;
}

.rtc-step.is-completed .rtc-step-icon {
  background: #22c55e;
  color: #fff;
}

.rtc-step.is-completed .rtc-step-icon::before {
  content: '✓';
}

.rtc-step.is-completed .rtc-step-icon span {
  display: none;
}

.rtc-step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1d1d1f;
  flex: 1;
}

.rtc-step-summary {
  font-size: 0.8125rem;
  color: #666;
  display: none;
}

.rtc-step.is-completed .rtc-step-summary {
  display: block;
}

.rtc-step-edit {
  font-size: 0.875rem;
  color: #c41e1e;
  opacity: 0;
  transition: opacity 0.2s;
}

.rtc-step.is-completed:hover .rtc-step-edit {
  opacity: 1;
}

/* Step Content */
.rtc-step-content {
  display: none;
  padding: 1.25rem 1.5rem 1.5rem;
}

.rtc-step.is-active .rtc-step-content {
  display: block;
}

.rtc-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Field */
.rtc-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.rtc-field:last-of-type {
  border-bottom: none;
}

.rtc-field-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1d1d1f;
}

.rtc-field-desc {
  display: block;
  font-size: 0.8125rem;
  color: #888;
  margin-top: 0.125rem;
}

/* Toggle Field */
.rtc-field-toggle {
  align-items: flex-start;
}

.rtc-toggle-info {
  flex: 1;
}

.rtc-toggle-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rtc-toggle-price {
  font-size: 0.875rem;
  color: #666;
}

/* Stepper */
.rtc-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.rtc-stepper-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f9f9f9;
  color: #1d1d1f;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.15s;
}

.rtc-stepper-btn:hover:not(:disabled) {
  background: #eee;
}

.rtc-stepper-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.rtc-stepper-value {
  width: 48px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
}

/* Switch/Toggle */
.rtc-switch {
  position: relative;
  width: 44px;
  height: 26px;
  cursor: pointer;
}

.rtc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.rtc-switch-slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 26px;
  transition: background 0.2s;
}

.rtc-switch-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.rtc-switch input:checked + .rtc-switch-slider {
  background: #c41e1e;
}

.rtc-switch input:checked + .rtc-switch-slider::before {
  transform: translateX(18px);
}

/* Form Fields */
.rtc-form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Formularfelder: Immer untereinander (auch Desktop) */
.rtc-form-row,
.rtc-form-row-2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rtc-form-row .rtc-form-field,
.rtc-form-row-2 .rtc-form-field {
  width: 100%;
}

.rtc-form-field {
  margin-bottom: 1rem;
}

.rtc-form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.375rem;
}

.rtc-form-field input,
.rtc-form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9375rem;
  background: #f9f9f9;
  transition: border-color 0.15s, background 0.15s;
}

/* Select Dropdown - Safari Fix */
.rtc-form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.rtc-form-field input:focus,
.rtc-form-field select:focus {
  outline: none;
  border-color: #c41e1e;
  background: #fff;
}

.rtc-form-field input.rtc-error {
  border-color: #c41e1e;
  background: #fff5f5;
}

/* Payment Options */
.rtc-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rtc-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.rtc-payment-option.is-selected {
  border-color: #1d1d1f;
}

.rtc-payment-option input {
  position: absolute;
  opacity: 0;
}

.rtc-payment-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.rtc-payment-option.is-selected .rtc-payment-radio {
  border-color: #1d1d1f;
}

.rtc-payment-option.is-selected .rtc-payment-radio::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #1d1d1f;
  border-radius: 50%;
}

.rtc-payment-info strong,
.rtc-payment-content strong {
  display: block;
  font-size: 0.9375rem;
  color: #1d1d1f;
}

.rtc-payment-info span,
.rtc-payment-content span {
  font-size: 0.8125rem;
  color: #888;
}

.rtc-payment-content {
  flex: 1;
}

/* Order Summary */
.rtc-order-summary {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.rtc-order-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.rtc-order-tax-note {
  font-size: 0.75rem;
  color: #888;
  text-align: right;
  margin-top: 0.25rem;
}

/* PayPal Buttons im Widget */
.rtc-paypal-buttons {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 10px;
}

.rtc-paypal-loading {
  text-align: center;
  padding: 1rem;
  color: #666;
  font-size: 0.875rem;
}

#rtc-ppcp-button-container {
  min-height: 45px;
}

.rtc-btn-paypal {
  background: #ffc439 !important;
  color: #111 !important;
  border: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.rtc-btn-paypal:hover {
  background: #f0b90b !important;
}

.rtc-order-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: #888;
}

.rtc-order-row:first-child {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.rtc-order-item {
  color: #1d1d1f;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.rtc-order-item .rtc-order-product {
  flex: 1;
  min-width: 0;
}

.rtc-order-item-price {
  white-space: nowrap;
  flex-shrink: 0;
}

.rtc-order-subtotal {
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.rtc-order-net,
.rtc-order-vat {
  font-size: 0.8125rem;
  color: #666;
  padding: 0.25rem 0;
}

.rtc-order-total {
  font-weight: 700;
  font-size: 1rem;
  color: #1d1d1f;
  border-top: 1px solid #eee;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.rtc-order-total-wrap {
  text-align: right;
}

.rtc-order-total-value {
  display: block;
  font-size: 1.125rem;
  white-space: nowrap;
}

.rtc-order-tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: #888;
}

/* Legal Checkboxes */
.rtc-legal {
  margin-bottom: 1.5rem;
}

.rtc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.4;
}

.rtc-checkbox-label input {
  position: absolute;
  opacity: 0;
}

.rtc-checkbox-label .rtc-checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}

.rtc-checkbox-label input:checked + .rtc-checkbox-box {
  background: #1d1d1f;
  border-color: #1d1d1f;
}

.rtc-checkbox-label input:checked + .rtc-checkbox-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rtc-checkbox-label a {
  color: #c41e1e;
  text-decoration: underline;
}

/* Buttons */
/* Alle Buttons: Full-width, optimierte Höhe */
.rtc-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  min-height: 52px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rtc-btn-next,
.rtc-btn-submit {
  width: 100%;
  background: #c41e1e;
  color: #fff;
  margin-top: 1rem;
  min-height: 52px;
}

.rtc-btn-full {
  width: 100%;
}

.rtc-btn-link {
  background: transparent;
  color: #666;
  font-size: 0.875rem;
  padding: 0.75rem;
  text-align: center;
  display: block;
  margin-top: 0.5rem;
  min-height: auto;
}

.rtc-btn-next:hover,
.rtc-btn-submit:hover {
  background: #a01818;
}

.rtc-btn-back,
.rtc-btn.rtc-btn-back,
button.rtc-btn-back {
  width: 100% !important;
  background: #ffffff !important;
  color: #1d1d1f !important;
  min-height: 48px !important;
  border: 2px solid #1d1d1f !important;
  font-weight: 600 !important;
}

.rtc-btn-back:hover,
.rtc-btn.rtc-btn-back:hover,
button.rtc-btn-back:hover {
  background: #1d1d1f !important;
  border-color: #1d1d1f !important;
  color: #ffffff !important;
}

/* Button Row - immer untereinander, full-width */
.rtc-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.rtc-btn-row .rtc-btn {
  width: 100%;
  margin: 0;
}

.rtc-btn-row .rtc-btn-next,
.rtc-btn-row .rtc-btn-submit {
  order: 1;
}

.rtc-btn-row .rtc-btn-back {
  order: 2;
}


/* CTA Button */
.rtc-v2-booking-form .single_add_to_cart_button {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px !important;
  background: var(--rtc-brand, #d40000) !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer;
  transition: background 0.15s ease !important;
  text-transform: none !important;
}

.rtc-v2-booking-form .single_add_to_cart_button:hover {
  background: #b30000 !important;
}

.rtc-v2-booking-form .single_add_to_cart_button:disabled {
  background: #ccc !important;
  cursor: not-allowed;
}

/* Trust Items unter Widget */
.rtc-v2-trust-list {
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rtc-v2-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.4;
}

.rtc-v2-trust-check {
  color: #c41e1e;
  font-size: 1rem;
  font-weight: 600;
}

/* WooCommerce Elemente verstecken */
.rtc-v2-booking-form .reset_variations,
.rtc-v2-booking-form .woocommerce-variation-price,
.rtc-v2-booking-form .woocommerce-variation-availability,
.rtc-v2-booking-form .woocommerce-variation-description,
.rtc-v2-booking-form table.variations,
.rtc-v2-booking-form .quantity,
.rtc-v2-booking-form .woocommerce-variation,
.rtc-v2-booking-form .product_title {
  display: none !important;
}

/* Nur der Button sichtbar */
.rtc-v2-booking-form .woocommerce-variation-add-to-cart {
  display: block !important;
}

.rtc-v2-booking-form .woocommerce-variation-add-to-cart > *:not(.single_add_to_cart_button):not(.rtc-booking-ui) {
  display: none !important;
}

.rtc-v2-booking-form .single_add_to_cart_button,
.rtc-v2-booking-form button[type="submit"] {
  width: 100%;
  background: var(--rtc-brand, #d40000);
  color: #fff !important;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.rtc-v2-booking-form .single_add_to_cart_button:hover,
.rtc-v2-booking-form button[type="submit"]:hover {
  background: #b00000;
}

.rtc-v2-booking-form .single_add_to_cart_button:active,
.rtc-v2-booking-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* Trust-Liste */
.rtc-v2-trust-list {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.rtc-v2-trust-headline {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.rtc-v2-trust-item small {
  color: #888;
  font-weight: 400;
}

.rtc-v2-trust-item {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rtc-v2-trust-item:last-child {
  margin-bottom: 0;
}

.rtc-v2-trust-icon {
  color: #16a34a;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rtc-v2-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.rtc-v2-trust-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}

.rtc-v2-trust-text span {
  font-size: 0.8rem;
  color: #666;
}

/* Mobile Sticky Footer */
.rtc-v2-mobile-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 0.875rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.rtc-v2-mobile-price-wrap {
  display: flex;
  flex-direction: column;
}

.rtc-v2-mobile-label {
  font-size: 0.75rem;
  color: #666;
}

.rtc-v2-mobile-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.rtc-v2-mobile-cta {
  background: var(--rtc-brand, #d40000);
  color: #fff !important;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1rem;
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 992px) {
  .rtc-v2-grid {
    grid-template-columns: 1fr 320px;
    gap: 1.25rem 1.5rem;
  }
}

/* ==============================================
   TABLET LAYOUT (769px - 991px) - 1-Spalte, kein Sticky
   ============================================== */
@media (max-width: 991px) and (min-width: 769px) {
  .rtc-v2-sidebar {
    position: relative !important;
    top: auto !important;
  }
  
  .rtc-v2-booking-box {
    margin: 1rem 0;
  }
}

/* ==============================================
   MOBILE LAYOUT (max-width: 768px)
   ============================================== */
@media (max-width: 768px) {
  
  /* Theme-Padding komplett entfernen */
  body.single-product .site-inner,
  body.single-product .content-sidebar-wrap,
  body.single-product .content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Container */
  .rtc-product-v2 {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  /* Header: Titel + Specs - Minimaler seitlicher Rand */
  .rtc-v2-header {
    padding: 0.75rem 0.75rem;
    margin-bottom: 0;
    border-bottom: none;
  }
  
  .rtc-v2-title {
    font-size: 1.35rem;
    margin-bottom: 0.375rem;
  }
  
  .rtc-v2-specs {
    gap: 0.25rem 0.5rem;
    flex-wrap: wrap;
  }
  
  .rtc-v2-spec {
    font-size: 0.75rem;
  }
  
  .rtc-v2-spec:not(:last-child)::after {
    margin-left: 0.5rem;
  }
  
  /* Grid: 1 Spalte auf Mobile - KEIN padding-bottom für Sticky Footer! */
  .rtc-v2-grid,
  .rtc-v2-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  /* Galerie: Glassmorphism Karten-Style */
  .rtc-v2-gallery-wrap {
    order: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }
  
  .rtc-v2-gallery {
    border-radius: 16px;
    margin: 0.5rem;
    width: calc(100% - 1rem);
    max-height: 45vh;
    overflow: hidden;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  
  .rtc-v2-main-img {
    width: 100%;
    height: auto;
    max-height: 45vh;
    object-fit: cover;
    border-radius: 16px;
  }
  
  /* Sidebar (Buchungsbox): Exakt gleiche Breite wie Bild */
  .rtc-v2-sidebar {
    order: 2;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
    box-sizing: border-box;
  }
  
  /* Buchungsbox auf Mobile - gleicher Style wie Bild */
  .rtc-v2-booking-box {
    border-radius: 16px;
    margin: 0.5rem;
    width: calc(100% - 1rem) !important;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  }
  
  /* Widget Anpassungen */
  .rtc-widget {
    border-radius: 12px;
  }
  
  .rtc-widget-header {
    padding: 0.5rem 0.875rem;
  }
  
  .rtc-widget-price {
    font-size: 1.25rem;
  }
  
  .rtc-widget-price-suffix {
    font-size: 0.75rem;
  }
  
  /* Progress Bar Mobile */
  .rtc-progress-bar {
    padding: 0.75rem 1rem;
  }
  
  .rtc-progress-step {
    width: 22px;
    height: 22px;
    font-size: 0.625rem;
  }
  
  .rtc-progress-line {
    width: 28px;
  }
  
  /* Step Header Bar */
  .rtc-step-header-bar {
    padding: 0.75rem 1rem;
    gap: 0.625rem;
  }
  
  .rtc-step-icon {
    width: 20px;
    height: 20px;
    font-size: 0.6875rem;
  }
  
  .rtc-step-title {
    font-size: 0.875rem;
  }
  
  .rtc-step-summary {
    font-size: 0.75rem;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Step Content */
  .rtc-step-content {
    padding: 1rem;
  }
  
  .rtc-step-label {
    font-size: 0.6875rem;
    margin-bottom: 0.75rem;
  }
  
  /* Field */
  .rtc-field {
    padding: 0.875rem 0;
  }
  
  .rtc-field-label {
    font-size: 0.875rem;
  }
  
  .rtc-field-desc {
    font-size: 0.75rem;
  }
  
  /* Toggle auf Mobile: Vertikal statt horizontal */
  .rtc-field-toggle {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .rtc-toggle-info {
    flex: none;
  }
  
  .rtc-toggle-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f9f9f9;
    border-radius: 8px;
  }
  
  .rtc-toggle-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
  }
  
  /* Stepper Mobile: Größere Touch-Targets */
  .rtc-stepper {
    min-width: 120px;
  }
  
  .rtc-stepper-btn {
    width: 44px;
    height: 44px;
    font-size: 1.375rem;
  }
  
  .rtc-stepper-value {
    width: 40px;
    font-size: 1.125rem;
  }
  
  /* Formular-Felder: Alle untereinander auf Mobile */
  .rtc-form-row,
  .rtc-form-row-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  .rtc-form-row .rtc-form-field,
  .rtc-form-row-2 .rtc-form-field {
    width: 100% !important;
    flex: none !important;
  }
  
  .rtc-form-field {
    margin-bottom: 0.75rem;
  }
  
  .rtc-form-field label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  
  .rtc-form-field input,
  .rtc-form-field select {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Verhindert iOS Zoom */
    border-radius: 8px;
  }
  
  /* Buttons Mobile */
  .rtc-btn {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .rtc-btn-full,
  .rtc-btn-next,
  .rtc-btn-submit {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    min-height: 52px;
  }
  
  .rtc-btn-link {
    background: transparent !important;
    color: #666 !important;
    font-size: 0.875rem !important;
    padding: 0.75rem !important;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
  }
  
  /* Button Row: Alle Buttons untereinander, full-width */
  .rtc-btn-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .rtc-btn-row .rtc-btn,
  .rtc-btn-row .rtc-btn-next,
  .rtc-btn-row .rtc-btn-submit,
  .rtc-btn-row .rtc-btn-back {
    width: 100% !important;
    min-height: 50px !important;
    padding: 1rem 1.25rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .rtc-btn-row .rtc-btn-back {
    order: 2;
    background: #f5f5f5 !important;
    color: #333 !important;
    font-size: 0.9375rem !important;
    min-height: 46px !important;
  }
  
  .rtc-btn-row .rtc-btn:not(.rtc-btn-back) {
    order: 1;
  }
  
  /* Einzelne Buttons (nicht in Row) */
  .rtc-step-content > .rtc-btn {
    width: 100% !important;
    min-height: 52px !important;
  }
  
  /* Payment Options Mobile */
  .rtc-payment-options {
    gap: 0.625rem;
  }
  
  .rtc-payment-option {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .rtc-payment-content {
    flex: 1;
  }
  
  .rtc-payment-content strong {
    font-size: 0.9375rem;
    display: block;
    margin-bottom: 0.125rem;
  }
  
  .rtc-payment-content span {
    font-size: 0.75rem;
    color: #666;
    display: block;
  }
  
  /* Order Summary Mobile */
  .rtc-order-summary {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
  }
  
  .rtc-order-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
  }
  
  .rtc-order-row {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }
  
  .rtc-order-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .rtc-order-item .rtc-order-product {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  
  .rtc-order-item-price {
    font-weight: 600;
    color: #1d1d1f;
  }
  
  .rtc-order-total {
    font-size: 1rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
  }
  
  .rtc-order-tax-note {
    font-size: 0.6875rem;
    color: #888;
    text-align: right;
    margin-top: 0.25rem;
  }
  
  /* Legal Checkboxes Mobile */
  .rtc-legal {
    gap: 0.75rem;
    margin: 1rem 0;
  }
  
  .rtc-checkbox-label {
    font-size: 0.8125rem;
    line-height: 1.5;
    align-items: flex-start;
  }
  
  .rtc-checkbox-box {
    margin-top: 0.125rem;
    min-width: 20px;
    min-height: 20px;
  }
  
  /* Beschreibung */
  .rtc-v2-description {
    order: 3;
    padding: 1rem;
  }
  
  .rtc-v2-subheadline {
    font-size: 0.9375rem;
  }
  
  /* Trust-Liste */
  .rtc-v2-trust-list {
    padding: 0.75rem 1rem;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
    gap: 0.25rem;
  }
  
  .rtc-v2-trust-item {
    font-size: 0.75rem;
    padding: 0.25rem 0;
    margin-bottom: 0.25rem;
  }
  
  /* STICKY FOOTER VERSTECKEN - Nicht mehr nötig! */
  .rtc-v2-mobile-footer {
    display: none !important;
  }
  
  /* Accordion */
  .rtc-accordion-header {
    padding: 0.875rem 0;
    font-size: 0.875rem;
  }
  
  .rtc-accordion-panel {
    font-size: 0.875rem;
  }
}


/* ==============================================
   Formular-Validierung / Fehler-Styling
   ============================================== */

/* Fehlerhafte Felder */
.rtc-field-error input,
.rtc-field-error select {
  border-color: #d40000 !important;
  background-color: #fff5f5 !important;
  box-shadow: 0 0 0 2px rgba(212, 0, 0, 0.15) !important;
}

.rtc-field-error label {
  color: #d40000 !important;
}

/* Fehler-Animation (Schütteln) */
@keyframes rtc-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.rtc-field-error {
  animation: rtc-shake 0.5s ease;
}

/* Fokus auf fehlerhafte Felder */
.rtc-field-error input:focus,
.rtc-field-error select:focus {
  border-color: #d40000 !important;
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.2) !important;
  outline: none !important;
}

/* Fehlermeldung unter dem Feld */
.rtc-error-message {
  display: block;
  color: #d40000;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.35rem;
  padding-left: 2px;
  animation: rtc-fade-in 0.2s ease;
}

@keyframes rtc-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bei Korrektur Fehler entfernen */
.rtc-form-field input:focus ~ .rtc-error-message,
.rtc-form-field select:focus ~ .rtc-error-message {
  opacity: 0.6;
}



/* ==============================================
   PayPal Smart Buttons Styling
   ============================================== */

/* Container für PayPal Buttons (unter AGB-Checkboxen) */
.rtc-paypal-buttons {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  width: 100%;
}

#rtc-ppcp-button-container {
  min-height: 50px;
  width: 100%;
}

/* PayPal Buttons einheitliche Breite */
#rtc-ppcp-button-container .paypal-buttons {
  width: 100% !important;
  min-width: 100% !important;
}

#rtc-ppcp-button-container .paypal-button {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 8px !important;
}

/* Spacing zwischen PayPal Buttons */
#rtc-ppcp-button-container > div {
  margin-bottom: 0.5rem;
}

#rtc-ppcp-button-container > div:last-child {
  margin-bottom: 0;
}

/* Loading State */
.rtc-paypal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #666;
  font-size: 0.9375rem;
}

.rtc-paypal-loading::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top-color: #003087;
  border-radius: 50%;
  margin-right: 10px;
  animation: rtc-spin 0.8s linear infinite;
}

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

/* Processing State (nach Klick) */
.rtc-paypal-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #003087;
  font-size: 1rem;
  font-weight: 600;
}

.rtc-paypal-processing::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 48, 135, 0.2);
  border-top-color: #003087;
  border-radius: 50%;
  margin-right: 12px;
  animation: rtc-spin 0.8s linear infinite;
}

/* Fallback Button */
.rtc-paypal-fallback {
  text-align: center;
  padding: 0;
}

.rtc-btn-paypal-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  min-height: 48px;
  background: #ffc439;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #003087;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
}

.rtc-btn-paypal-fallback:hover {
  background: #f0b429;
}

.rtc-btn-paypal-fallback:active {
  transform: scale(0.98);
}

/* Alle Buttons im Step 3 einheitliche Breite */
.rtc-step-3 .rtc-btn,
.rtc-step-3 .rtc-btn-submit,
.rtc-step-3 .rtc-btn-back {
  width: 100%;
  box-sizing: border-box;
}

/* PayPal Buttons besser in Widget integrieren */
.rtc-paypal-buttons .paypal-buttons {
  min-height: auto !important;
}

/* Separator vor PayPal */
.rtc-paypal-separator {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 1rem;
  color: #888;
  font-size: 0.8125rem;
}

.rtc-paypal-separator::before,
.rtc-paypal-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.rtc-paypal-separator span {
  padding: 0 1rem;
}

/* Mobile Anpassungen für PayPal */
@media (max-width: 768px) {
  .rtc-paypal-buttons {
    padding: 0.875rem;
    margin-top: 0.75rem;
  }
  
  .rtc-paypal-loading,
  .rtc-paypal-processing {
    padding: 1.5rem;
    font-size: 0.875rem;
  }
}


/* ==============================================
   Rental-spezifische Styles
   ============================================== */

.rtc-rounds-info {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #d40000;
}

.rtc-rounds-info .rtc-field-desc {
  display: block;
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.4;
}

/* ==============================================
   THANK YOU / ORDER RECEIVED PAGE
   RingTaxi Custom Template - Mobile-First
   SAUBERES CSS OHNE !important
   ============================================== */

/* ===== CONTAINER ===== */
.rtc-thankyou-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== FEHLER-KARTE ===== */
.rtc-thankyou-error {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.rtc-thankyou-error-icon {
  width: 60px;
  height: 60px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.rtc-thankyou-error h2 {
  color: #1d1d1f;
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.rtc-thankyou-error p {
  color: #555;
  margin: 0 0 1.5rem;
}

.rtc-thankyou-error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BANKVERBINDUNG (Vorkasse) - PROMINENT ===== */
.rtc-thankyou-bank {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #d40000;
}

.rtc-thankyou-bank-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rtc-thankyou-bank-icon {
  width: 48px;
  height: 48px;
  background: #d40000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rtc-thankyou-bank h1 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
  color: #1d1d1f;
}

.rtc-thankyou-bank-instruction {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: #333;
}

.rtc-thankyou-bank-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid #d40000;
}

.rtc-thankyou-bank-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.rtc-thankyou-bank-row:last-child {
  border-bottom: none;
}

.rtc-thankyou-bank-label {
  font-size: 0.8125rem;
  color: #666;
}

.rtc-thankyou-bank-value {
  font-weight: 600;
  text-align: right;
  color: #1d1d1f;
}

.rtc-thankyou-bank-iban {
  font-family: monospace;
  letter-spacing: 1px;
}

.rtc-thankyou-bank-reference {
  background: #fff3f3;
  margin: 0.5rem -1rem -1rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 12px 12px;
}

.rtc-thankyou-bank-note {
  font-size: 0.875rem;
  margin: 0;
  color: #555;
}

/* ===== ERFOLG (PayPal etc.) ===== */
.rtc-thankyou-success {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  color: #1d1d1f;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-top: 4px solid #d40000;
}

.rtc-thankyou-success-icon {
  width: 60px;
  height: 60px;
  background: #d40000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.rtc-thankyou-success h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #1d1d1f;
}

.rtc-thankyou-success p {
  margin: 0;
  color: #555;
}

/* ===== BESTELL-ÜBERSICHT (1 Karte, 4 Felder) ===== */
.rtc-thankyou-overview {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rtc-thankyou-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.rtc-thankyou-overview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.rtc-thankyou-overview-item:last-child {
  border-bottom: none;
}

.rtc-thankyou-overview-label {
  font-size: 0.8125rem;
  color: #666;
}

.rtc-thankyou-overview-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
}

/* Tablet: 2x2 Grid */
@media (min-width: 500px) {
  .rtc-thankyou-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .rtc-thankyou-overview-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.75rem;
    border-bottom: none;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid #d40000;
  }
}

/* Desktop: 4 Spalten */
@media (min-width: 700px) {
  .rtc-thankyou-overview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== BESTELLDETAILS ===== */
.rtc-thankyou-details {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rtc-thankyou-details h2 {
  font-size: 1.125rem;
  color: #1d1d1f;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

/* Produkt-Karten */
.rtc-thankyou-products {
  margin-bottom: 1rem;
}

.rtc-thankyou-product-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid #d40000;
}

.rtc-thankyou-product-card:last-child {
  margin-bottom: 0;
}

.rtc-thankyou-product-name {
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.rtc-thankyou-product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.rtc-thankyou-product-qty {
  color: #666;
}

.rtc-thankyou-product-price {
  font-weight: 600;
  color: #1d1d1f;
}

/* Summen */
.rtc-thankyou-totals {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.rtc-thankyou-total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #555;
}

.rtc-thankyou-total-row.order_total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d1d1f;
  border-top: 2px solid #eee;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.rtc-thankyou-total-label {
  color: #666;
}

.rtc-thankyou-total-value {
  font-weight: 500;
}

.rtc-thankyou-total-row.order_total .rtc-thankyou-total-label,
.rtc-thankyou-total-row.order_total .rtc-thankyou-total-value {
  color: #1d1d1f;
  font-weight: 700;
}

/* ===== RECHNUNGSADRESSE ===== */
.rtc-thankyou-address {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rtc-thankyou-address h2 {
  font-size: 1.125rem;
  color: #1d1d1f;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.rtc-thankyou-address address {
  font-style: normal;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  border-left: 3px solid #d40000;
  line-height: 1.6;
  color: #333;
}

.rtc-thankyou-address-phone,
.rtc-thankyou-address-email {
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.875rem;
}

/* ===== KEINE BESTELLUNG ===== */
.rtc-thankyou-no-order {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ===== BUTTONS ===== */
.rtc-btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.rtc-btn-primary {
  background: #d40000;
  color: #fff;
}

.rtc-btn-primary:hover {
  background: #b30000;
}

.rtc-btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.rtc-btn-secondary:hover {
  background: #e0e0e0;
}

/* ==============================================
   RTWC-ALIASE für Shortcode-Kompatibilität
   Diese Klassen sind identisch mit den rtc-* Klassen
   und werden vom [ringtaxi_wc_cards] Shortcode verwendet
   ============================================== */

/* Grid Layout */
.rtwc-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}
@media (max-width: 991px) {
  .rtwc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .rtwc-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Karten-Komponente */
.rtwc-card {
  --rtc-brand: #d40000;
  --rtc-muted: #6b7280;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.rtwc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

/* Bild */
.rtwc-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
  position: relative;
}
.rtwc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Inhalt */
.rtwc-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 16px;
  flex: 1;
}

/* Titel */
.rtwc-title {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.2;
  letter-spacing: .2px;
}
.rtwc-title a {
  color: inherit;
  text-decoration: none;
}
.rtwc-title a:hover {
  color: var(--rtc-brand);
}

/* Subheadline */
.rtwc-sub {
  margin: .25rem 0 .15rem;
  font-size: clamp(.85rem, 1vw, .95rem);
  line-height: 1.25;
  color: var(--rtc-brand);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Spezifikationen (Chips) */
.rtwc-feats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .25rem 0 .35rem;
}
.rtwc-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f3f4f6;
  padding: .35rem .6rem;
  border-radius: 6px;
  font-size: .8rem;
}
.rtwc-chip-label {
  color: #6b7280;
  font-weight: 500;
}
.rtwc-chip-label--long {
  display: none;
}
.rtwc-chip-label--short {
  display: inline;
}
@media (min-width: 768px) {
  .rtwc-chip-label--long {
    display: inline;
  }
  .rtwc-chip-label--short {
    display: none;
  }
}
.rtwc-chip-val {
  font-weight: 700;
  color: #111;
}

/* CTA-Buttons */
.rtwc-cta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.rtwc-btn {
  flex: 1 1 0;
  text-align: center;
  line-height: 1;
  font-weight: 700;
  padding: .68rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .05s ease, opacity .15s ease, box-shadow .15s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.rtwc-btn,
.rtwc-btn:visited {
  color: #fff !important;
}
.rtwc-btn:hover {
  opacity: .92;
}

.rtwc-btn-primary {
  background: #d40000;
  color: #fff;
}
.rtwc-btn-primary:hover {
  background: #b30000;
}

.rtwc-btn-secondary {
  background: #f0f0f0;
  color: #333 !important;
}
.rtwc-btn-secondary:hover {
  background: #e0e0e0;
}

/* Preis-Badge */
.rtwc-price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--rtc-brand, #d40000);
  color: #fff;
  font-weight: 700;
  font-size: clamp(.75rem, 1.5vw, .85rem);
  padding: .35rem .6rem;
  border-radius: 6px;
}

/* Ausverkauft-Badge */
.rtwc-sold-out-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .5rem 1rem;
  border-radius: 8px;
  text-transform: uppercase;
}

/* =============================================================================
   PREISLISTE - RingTaxi CI Design
   ============================================================================= */

.rtc-price-table-wrap {
  --rtc-red: #d40000;
  --rtc-red-dark: #b30000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}

.rtc-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: #fff;
  margin-bottom: 0;
}

/* Header: RingTaxi Rot */
.rtc-price-table thead {
  background: var(--rtc-red);
}

.rtc-price-table th {
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1rem;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.rtc-price-table th:not(:first-child) {
  text-align: center;
}

/* Body */
.rtc-price-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.15s ease;
}

.rtc-price-table tbody tr:last-child {
  border-bottom: none;
}

.rtc-price-table tbody tr:hover {
  background: #fafafa;
}

.rtc-price-table td {
  padding: 0.875rem 1rem;
  vertical-align: middle;
}

.rtc-price-table td:not(:first-child) {
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}

/* Letzte Spalte (Extra) hervorheben */
.rtc-price-table td:last-child {
  color: var(--rtc-red);
  font-weight: 600;
}

/* Links */
.rtc-price-table td a {
  color: #1d1d1f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.rtc-price-table td a:hover {
  color: var(--rtc-red);
}

/* Zebra-Striping */
.rtc-price-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.rtc-price-table tbody tr:nth-child(even):hover {
  background: #f5f5f5;
}

/* Fußnote */
.rtc-price-footnote {
  margin: 0;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  color: #888;
  text-align: right;
}

/* =============================================================================
   MOBILE: Stacked Rows Layout (< 768px)
   ============================================================================= */

@media (max-width: 600px) {
  .rtc-price-table-wrap {
    border-radius: 12px;
    overflow: hidden;
  }
  
  /* Header ausblenden */
  .rtc-price-table thead {
    display: none;
  }
  
  .rtc-price-table,
  .rtc-price-table tbody {
    display: block;
    width: 100%;
  }
  
  /* Jede Zeile wird ein Block */
  .rtc-price-table tbody tr {
    display: block;
    padding: 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    position: relative;
  }
  
  .rtc-price-table tbody tr:last-child {
    border-bottom: none;
  }
  
  /* Alle Zellen als inline-block */
  .rtc-price-table td {
    display: inline-block;
    padding: 0;
    text-align: left !important;
    border: none;
    font-size: 0.8125rem;
    color: #666;
  }
  
  /* Erste Zelle (Fahrzeugname) - volle Breite, fett */
  .rtc-price-table td:first-child {
    display: block;
    width: 100%;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.375rem;
  }
  
  .rtc-price-table td:first-child a {
    font-weight: 600;
  }
  
  /* Preis-Zellen mit Label */
  .rtc-price-table td:not(:first-child) {
    font-weight: 500;
    color: #1d1d1f;
  }
  
  .rtc-price-table td:not(:first-child)::before {
    content: attr(data-label);
    color: #888;
    font-weight: 400;
    margin-right: 0.25rem;
  }
  
  .rtc-price-table td:not(:first-child):not(:last-child)::after {
    content: " • ";
    color: #ccc;
    margin: 0 0.25rem;
  }
  
  /* Letzte Spalte (Extra) - Highlight */
  .rtc-price-table td:last-child {
    color: var(--rtc-red);
    font-weight: 600;
  }
  
  /* Zebra-Striping auch auf Mobile */
  .rtc-price-table tbody tr:nth-child(even) {
    background: #f9f9f9;
  }
}
