/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Christian Gschoesser
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
body {
  background-color: var(--tz-bg-base);
  color: var(--tz-text-primary);
  font-family: var(--tz-font-body);
  font-size: var(--tz-text-base);
  line-height: var(--tz-lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  overflow-x: hidden;
}

section {
  padding-inline: var(--tz-gutter);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tz-font-display);
  font-weight: var(--tz-fw-regular);
  color: var(--tz-text-primary);
  text-transform: uppercase;
  line-height: var(--tz-lh-display);
  margin: 0 0 var(--tz-space-5);
}

h1 {
  font-size: var(--tz-text-display-1);
}
.klein h1 {
  font-size: var(--tz-text-display-3);
}
h2 {
  font-size: var(--tz-text-display-2);
  line-height: var(--tz-lh-display-tight);
}
.suche h2 {
  font-family: var(--tz-font-body);
  font-size: var(--tz-text-display-4);
}
h3 {
  font-size: var(--tz-text-display-3);
}
.bricks-background-video-wrapper {
  left: -1px;
  right: -1px;
  width: auto;
}
.woocommerce-checkout h3 {
  font-size: 25px;
  text-transform: none;
  font-family: var(--tz-font-body);
}
.woocommerce-form-coupon-toggle {
  display: none;
}
.header_links .brxe-text-link .icon,
.header_links .brxe-icon {
  height: 25px;
  width: 25px;
}
.brxe-search svg {
  height: 20px;
  width: 20px;
}
.header-main {
  line-height: 1;
}
a {
  color: var(--tz-link);
  text-decoration: none;
  transition: color var(--tz-dur-fast) var(--tz-ease);
}
a:hover {
  color: var(--tz-link-hover);
}

/* =========================================================
   4) UTILITY-KLASSEN
   In Bricks unter "CSS Classes" eintragen und anwenden.
   ========================================================= */

/* ---------------------------------------------------------
   SEKTIONEN
   --------------------------------------------------------- */

/* Dunkle Sektion (Navy-Hintergrund) — Hero, Erlebnis/Bühne, AQUA/SPA */
.tz-section--dark {
  background-color: var(--tz-bg-dark);
  color: var(--tz-text-inverse);
}
.tz-section--dark h1,
.tz-section--dark h2,
.tz-section--dark h3,
.tz-section--dark h4,
.tz-section--dark h5,
.tz-section--dark h6 {
  color: var(--tz-text-inverse);
}
body .woo-vou-preview-template-img-wrap {
  max-height: 100%;
}
body.woocommerce .button,
.woocommerce-cart .button {
  background-color: #004082;
  color: white;
  font-family: "Covik Sans";
  letter-spacing: var(--tz-ls-button);
  text-transform: uppercase;
  font-weight: 700;
  font-style: normal;
  border-radius: var(--tz-radius-pill);
  padding-top: var(--tz-space-4);
  padding-right: var(--tz-space-4);
  padding-bottom: var(--tz-space-4);
  padding-left: var(--tz-space-4);
}
.brxe-woocommerce-cart-items .woo-vou-variation-pdf-template-img {
  width: 50px !important;
  height: 50px;
  cursor: pointer;
}
body form.cart .quantity,
body form.woocommerce-cart-form .quantity {
  width: fit-content;
}
.woocommerce-cart-form {
  text-align: left;
}
.woocommerce-notices-wrapper:not(:empty) {
  margin-top: 110px;
}
.variations tr,
.variations th {
  display: block;
}
[name="update_cart"] {
  display: none !important;
}
body
  .woo-vou-preview-template-img-wrap
  .woo-vou-image-wrap
  .woo-vou-preview-template-img {
  width: 100% !important;
  height: auto !important;
  object-fit: initial;
}
.pswp__img {
}
body .woo-vou-preview-template-img-wrap .woo-vou-image-wrap {
  width: 25%;
}

/* Helle Cream-Sektion — alternative zu reinem Weiß */
.tz-section--cream {
  background-color: var(--tz-color-cream);
}

/* ---------------------------------------------------------
   TYPOGRAFIE
   --------------------------------------------------------- */

/* Eyebrow-Label ("MEHR ALS EINE THERME", Section-Labels) */
.tz-eyebrow {
  font-family: var(--tz-font-sans);
  font-weight: var(--tz-fw-bold);
  font-size: var(--tz-text-eyebrow);
  letter-spacing: var(--tz-ls-eyebrow);
  text-transform: uppercase;
  line-height: 1;
}

/* Lead-Paragraph — großer, kursiver Intro-Text im Hero */
.tz-lead {
  font-family: var(--tz-font-sans);
  font-style: italic;
  font-size: var(--tz-text-lead);
  line-height: var(--tz-lh-lead);
  letter-spacing: var(--tz-ls-lead);
}

/* Outline-Headline mit zentralem Glow ("HELL", "NATÜRLICH") */
.tz-headline--glow {
  font-family: var(--tz-font-display);
  font-size: var(--tz-text-display-2);
  text-transform: uppercase;
  color: var(--tz-color-navy);
  text-shadow: var(--tz-text-glow);
}

/* Outline-Headline mit seitlichem Glow ("MODERN", "IM GENUSS") */
.tz-headline--glow-side {
  font-family: var(--tz-font-display);
  font-size: var(--tz-text-display-2);
  text-transform: uppercase;
  color: var(--tz-color-navy);
  text-shadow: var(--tz-text-glow-side);
}

/* Feature-Liste — Pipe-getrennte Aufzählung (AQUA/SPA-Bereich) */
.tz-feature-list {
  font-family: var(--tz-font-sans);
  font-size: var(--tz-text-feature);
  color: var(--tz-text-accent);
  line-height: 1.4;
}
.tz-feature-list .is-highlight {
  font-weight: var(--tz-fw-bold);
  font-style: italic;
}

/* Small Body — kompakte Beschreibungsblöcke neben Bildern */
.tz-small-body {
  font-family: var(--tz-font-sans);
  font-style: italic;
  font-weight: var(--tz-fw-medium);
  font-size: var(--tz-text-sm);
  line-height: var(--tz-lh-small);
}

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

/* Primary Button */
.tz-btn {
  display: inline-block;
  font-family: var(--tz-font-sans);
  font-weight: var(--tz-fw-bold);
  font-size: var(--tz-text-base);
  letter-spacing: var(--tz-ls-button);
  text-transform: uppercase;
  padding: var(--tz-space-4) var(--tz-space-6);
  border-radius: var(--tz-radius-pill);
  background-color: var(--tz-color-navy);
  color: var(--tz-color-white);
  border: 1px solid var(--tz-color-navy);
  cursor: pointer;
  transition:
    background-color var(--tz-dur-base) var(--tz-ease),
    color var(--tz-dur-base) var(--tz-ease);
}
.tz-btn:hover {
  background-color: var(--tz-color-blue);
  border-color: var(--tz-color-blue);
  color: var(--tz-color-white);
}

/* Secondary Button (Outline) */
.tz-btn--outline {
  background-color: transparent;
  color: var(--tz-color-navy);
  border: 1px solid var(--tz-color-navy);
}
.tz-btn--outline:hover {
  background-color: var(--tz-color-navy);
  color: var(--tz-color-white);
}

/* Helle Button-Variante für dunkle Sektionen */
.tz-btn--light {
  background-color: var(--tz-color-white);
  color: var(--tz-color-navy);
  border-color: var(--tz-color-white);
}
.tz-btn--light:hover {
  background-color: var(--tz-color-cream);
  border-color: var(--tz-color-cream);
  color: var(--tz-color-navy);
}

/* ---------------------------------------------------------
   BILDER / MEDIEN
   --------------------------------------------------------- */

.tz-img--rounded-md {
  border-radius: var(--tz-radius-md);
}
.tz-img--rounded-lg {
  border-radius: var(--tz-radius-lg);
}
.tz-img--shadow {
  box-shadow: var(--tz-shadow-lg);
}

/* ---------------------------------------------------------
   LAYOUT-HELFER
   --------------------------------------------------------- */

.tz-container--wide {
  max-width: var(--tz-container-wide);
  margin-inline: auto;
}
.tz-container--default {
  max-width: var(--tz-container-default);
  margin-inline: auto;
}
.tz-container--narrow {
  max-width: var(--tz-container-narrow);
  margin-inline: auto;
}
.tz-container--text {
  max-width: var(--tz-container-text);
  margin-inline: auto;
}
.container--centered .tz-eyebrow {
  text-align: center;
}
/* ---------------------------------------------------------
   AQUA — navy → #004082
   --------------------------------------------------------- */
.tz-theme--aqua {
  --tz-color-navy: #004082;
  --tz-bg-dark: #004082;
  --tz-text-primary: #004082;
  --tz-color-navy-90: rgba(0, 64, 130, 0.9);
  --tz-color-navy-70: rgba(0, 64, 130, 0.7);
  --tz-color-navy-50: rgba(0, 64, 130, 0.5);
  --tz-color-navy-20: rgba(0, 64, 130, 0.2);
}

/* ---------------------------------------------------------
   SPA — navy → #44847F
   --------------------------------------------------------- */
.tz-theme--spa {
  --tz-color-navy: #44847f;
  --tz-bg-dark: #44847f;
  --tz-text-primary: #44847f;
  --tz-color-navy-90: rgba(68, 132, 127, 0.9);
  --tz-color-navy-70: rgba(68, 132, 127, 0.7);
  --tz-color-navy-50: rgba(68, 132, 127, 0.5);
  --tz-color-navy-20: rgba(68, 132, 127, 0.2);
}

/* ---------------------------------------------------------
   FOOTER-RESET — immer Original-Navy, unabhängig vom Seiten-Theme
   --------------------------------------------------------- */
.tz-theme--aqua #brx-footer .tz-section--dark,
.tz-theme--spa #brx-footer .tz-section--dark {
  background-color: #05062b;
}

.container--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.text-center {
  text-align: center;
}
.leistungen h2 {
  font-size: var(--tz-text-display-2);
  text-align: center;
}
.bannertext {
  font-size: var(--tz-text-banner);
  text-align: center;
  font-family: var(--tz-font-display);
  color: var(--tz-color-white);
  color: #fff;
  text-shadow: 0 3.533px 32.507px rgba(0, 0, 0, 0.5);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}
.genuss h2 {
  font-size: var(--tz-text-display-2);
  text-align: center;
}
.text-center .brxe-block {
  align-items: center;
}
.leistungen h2.editorial-title,
.editorial-title {
  font-size: var(--tz-text-display-2);
  text-shadow: var(--tz-text-glow);
  line-height: var(--tz-lh-display-tight);
}

.genuss-overlay h3 {
  font-size: var(--tz-text-display-2);
  text-shadow: var(--tz-text-glow);
  line-height: var(--tz-lh-display-tight);
}

.gutschein h3 {
  font-size: var(--tz-text-display-3);
  text-transform: none;
}

.barrierefreiheit h3 {
  font-size: var(--tz-text-display-4);
  text-transform: none;
}

.opening-hours h4 {
  font-size: var(--tz-text-lead);
  font-family: var(--tz-font-sans);
  text-transform: none;
}
.opening-hours p {
  font-size: var(--tz-text-eyebrow);
}
#footer a,
#header a,
#header p {
  color: var(--tz-color-white);
}

.aquaspa .brxe-text-link {
  color: #fff;
  text-align: center;
  font-family: var(--tz-font-display);
  font-size: 32.287px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}
/* Basis-Setup für die Menü-Liste */
#footermenu ul,
#menurecht ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
.footeradresse p {
  color: #fff;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 21px;
}

#footermenu li,
#menurecht li {
  display: inline;
  white-space: nowrap;
}

#footermenu li a {
  display: inline;
  text-decoration: none;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

#menurecht li a {
  color: #fff;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  display: inline-block;
  width: fit-content;
}
.socialicons svg {
  width: 47px;
  height: 47px;
}

/* ==========================================
   MOBILE: Flex-Wrapping je nach Screen-Breite
   ========================================== */

#footermenu li:not(:last-child)::after {
  content: "⁄";
  color: #b49880;
  font-size: 18px;
  font-weight: 400;
  margin-left: 15px;
  margin-right: 15px;
}

#menurecht li:not(:last-child)::after {
  content: "⁄";
  color: #b49880;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px;
  margin-left: 10px; /* Gewünschter Abstand vor dem Schrägstrich */
  margin-right: 10px;
}
.bricks-button.bannerbutton {
  background-color: white !important;
  border-radius: 37.457px;
  width: 175.886px;
  height: 57px;
  color: #004082;
  text-align: center;
  font-family: var(--tz-font-display);
  font-size: 38px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}
.bricks-button.gutscheinbutton {
  width: 228px;
  background: var(--tz-color-white) !important;
  height: 55px;
  border-radius: 37.457px;
  color: var(--tz-color-navy);
}
.gutscheintext {
  color: #fff;
  font-size: 20px;
  font-family: var(--tz-font-body);
  font-style: italic;
  font-weight: 500;
  line-height: 28px; /* 120% */
}
.bricks-button.bannerbutton.spa {
  color: #44847f;
}
.schweben h2 strong {
  padding-left: 50px;
}
.seele strong {
  padding-left: 50px;
}

.spass h3 {
  font-size: var(--tz-text-display-4);
  text-transform: none;
}
.menulinks li a {
  color: #fff;
  font-family: var(--tz-font-display);
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}
.menulinks li {
  margin-left: 0px;
  padding-left: 0px;
}
.menurechts li {
  text-align: right;
}
.menurechts li a {
  color: #fff;
  text-align: right;
  font-family: var(--tz-font-body);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 142.857% */
}
.dreierzeile .brxe-text {
  max-width: 320px;
}
/* ==========================================
   DESKTOP: Exakter 3er-Split wie im Design
   ========================================== */
header .brxe-text-link span.text {
  display: none;
}
.aquatext {
  color: var(--tz-color-navy);
  text-align: center;
  font-family: var(--tz-font-body);
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 85.714% */
  text-transform: uppercase;
}

.titel h1 {
  line-height: var(--tz-lh-display-tight);
}
.accordion-container h3 {
  font-family: var(--tz-font-body);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: normal;
  max-width: 80%;
}
.accordion-container h2 {
  font-size: var(--tz-text-display-2);
  line-height: var(--tz-lh-display-tight);
}

.aquabig {
  color: var(--tz-color-navy);
  text-align: center;
  font-family: var(--tz-font-display);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  font-size: clamp(100px, 15.6vw, 300px);
  text-shadow: 0.04em -0.13em 0.35em #000;
  white-space: nowrap;
  bottom: -0.33em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 3;
}
.tz-theme--spa .aquabig {
  text-shadow: 0 4px 0.35em #fff;
}

.brxe-tabs-nested {
  justify-content: center;
  align-items: center;
}
.hl-tabs {
  color: var(--tz-color-navy);
  font-family: var(--tz-font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px;
  max-width: 868px;
}
.tab-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--tz-color-navy);
  line-height: 30px;
  font-size: 18px;
}
.tab-title.brx-open {
  color: var(--tz-color-navy);
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  line-height: 30px;
}
ul {
  padding-inline-start: 0; /* Killt die 40px */
  list-style-position: inside; /* Holt den Punkt nach innen auf die Textkante */
}
.tab-title:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; /* Setzt den Strich exakt an den rechten Rand des Padding-Bereichs */
  top: 50%;
  transform: translateY(-50%);
  /* Abmessungen des Strichs */
  width: 1px;
  /* 1.2em orientiert sich elastisch an deiner Schriftgröße (ca. Höhe der Großbuchstaben) */
  height: 30px;
  background-color: var(--tz-color-navy);
}

.aufguss-header {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

/* Mobile Breakpoint (z.B. ab Tablet oder Mobile Landscape) */
@media (max-width: 767px) {
  .hl-tabs {
    flex-wrap: nowrap; /* Kein Umbruch mehr! */
    overflow-x: auto; /* Erlaubt horizontales Scrollen */
    justify-content: flex-start;
    /* Blendend die hässliche Scrollbar auf Android/iOS aus */
  }
  .hl-tabs {
    overflow-x: auto !important;
    padding-bottom: 8px !important; /* Platz für die Scrollbar */
  }

  /* Aktiviert eine ultradünne Scrollbar für Chrome, Safari & Co */
  .hl-tabs::-webkit-scrollbar {
    display: block !important;
    height: 3px; /* Extrem dünn */
  }

  .hl-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); /* Fast unsichtbare Schiene */
    border-radius: 10px;
  }

  .hl-tabs::-webkit-scrollbar-thumb {
    background: var(
      --tz-color-navy
    ); /* Die edle Figma-Gold/Bronze-Farbe für den Balken */
    border-radius: 10px;
  }

  .hl-tabs::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
  }

  /* Wichtig: Die einzelnen Tab-Links dürfen auf Mobile nicht schrumpfen */
  .hl-tabs > * {
    flex-shrink: 0;
  }
}
.facts {
  color: var(--tz-color-navy);
  text-align: center;
  font-family: var(--tz-font-display);
  font-size: 50px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px; /* 80% */
  text-transform: uppercase;
}
.facts p {
  margin-bottom: 0px;
}
.facts strong {
  color: var(--tz-color-navy);
  text-align: center;
  font-family: var(--tz-font-body);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.untertitel {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 25px; /* 125% */
  text-transform: uppercase;
}

/* ==========================================
   PREMIUM PRICE TABLE RE-DESIGN
   ========================================== */

.price-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-s, 15px);
  margin-bottom: var(--space-s, 15px);
}

.price-table {
  display: grid;
  width: 100%;
  --table-cols: 3fr repeat(3, 1.2fr); /* Verhältnismäßig mehr Platz für den linksbündigen Tariftext */
  min-width: 650px;

  /* PRO-TIPP: Zwingt Zahlen (Preise) dazu, mathematisch perfekt untereinanderzustehen */
  font-variant-numeric: tabular-nums;
}

.price-table--3cols {
  --table-cols: 3fr repeat(2, 1.2fr);
}

/* Gemeinsame Zeilen-Basis für perfekte Symmetrie */
.price-table__header,
.price-table__row {
  display: grid;
  grid-template-columns: var(--table-cols);
  align-items: center;
  /* Mehr vertikales Padding gibt der Tabelle "Luft zum Atmen" */
  padding: 16px 24px;
}

/* ==========================================
   THE HEADLINE ROW (Komplett neu gedacht)
   ========================================== */
.price-table__header {
  background-color: transparent; /* Weg mit dem schweren blauen Block */
  color: #002855; /* Dein tiefes Thermen-Blau */
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em; /* Edles, leicht gesperrtes Schriftbild */
  text-transform: uppercase;

  /* Edle Akzentlinie in der Gold/Bronze-Farbe deines Footers (#B49880) */
  border-bottom: 2px solid #b49880;
  padding-bottom: 12px;
}

/* ==========================================
   DATA ROWS (Preise und Tarife)
   ========================================== */
.price-table__row {
  /* Sehr weiche Trennlinie statt hartem Grau */
  border-bottom: 1px solid rgba(0, 40, 85, 0.08);
  color: #2b2b2b;
  font-size: 15px;
  transition: background-color 0.2s ease;
}

/* Subtiler Hover-Effekt auf Desktop für bessere Interaktivität */
@media (min-width: 1024px) {
  .price-table__row:hover {
    background-color: rgba(0, 40, 85, 0.02);
  }
}

/* Elegantes Zebra-Pattern mit einer ultra-leichten Tönung 
   deiner Bronze-Farbe (#B49880 auf 4% Deckkraft) */
.price-table__row:nth-child(even) {
  background-color: rgba(180, 152, 128, 0.04);
}

/* Erste Spalte (Der Tarif-Name) */
.price-table__row > *:first-child {
  font-weight: 500;
  color: #002855; /* Macht den Namen wertiger als den reinen Preis */
  padding-right: 20px;
  line-height: 1.4;
}

/* Die Preis-Spalten (Kinder, Jugend, Erwachsene) */
.price-table__header > *:not(:first-child),
.price-table__row > *:not(:first-child) {
  text-align: right;
  font-weight: 600; /* Preise springen sofort ins Auge */
}

/* ==========================================
   HINWEISTEXT UNTEN
   ========================================== */
.price-table__note {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin-top: 16px;
  padding: 0 24px; /* Exakt bündig mit dem Inhalt der Tabelle */
}

body .wpml-ls-legacy-list-horizontal {
  padding: 0px;
}
body .wpml-ls-legacy-list-horizontal a {
  padding: 0px;
}
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  overflow: visible;
}
.collage > * {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0px;
  border: 5px solid white;
  object-fit: cover;
}

/* ==========================================
   OPTIMIERTES MOBILE-SETUP (Smartphone)
   ========================================== */
@media (max-width: 767px) {
  .price-table-wrapper {
    /* Weniger Außenabstand auf Mobile, um den Bildschirm voll auszunutzen */
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
  }

  .price-table {
    /* Erste Spalte wird schmal (1.3), die 3 Preishits bekommen gleichmäßig viel Platz (1) */
    --table-cols: 1.25fr repeat(3, 1fr) !important;

    /* Wir reduzieren die Mindestbreite drastisch. Dadurch muss der Browser 
       die Tabelle nicht mehr künstlich in die Länge ziehen */
    min-width: 380px !important;

    /* Grundschriftgröße für die Preise auf Mobile leicht reduzieren */
    font-size: 13px !important;
  }

  /* Für die 3-spaltige Sauna-Tabelle */
  .price-table--3cols {
    --table-cols: 1.3fr repeat(2, 1fr) !important;
  }
  .price-table--2cols {
    --table-cols: 1.3fr 1fr !important;
  }

  /* Paddings stark reduzieren, um wertvollen horizontalen Platz zu sparen */
  .price-table__header,
  .price-table__row {
    padding: 10px 8px !important;
  }

  /* SPEZIAL-STYLING FÜR DIE ERSTE SPALTE (TARIFNAME) */
  .price-table__header > *:first-child,
  .price-table__row > *:first-child {
    /* Zwingt den Text, bei Platzmangel in die nächste Zeile zu springen */
    white-space: normal !important;
    line-height: 1.2 !important;

    /* Macht die Tarif-Schrift noch ein Stück kleiner, damit sie kompakt umbricht */
    font-size: 12px !important;
    font-weight: 500 !important;
    padding-right: 5px !important;

    /* Aktiviert automatische Silbentrennung bei ultralangen Wörtern (z.B. "Vormittagskarte") */
    hyphens: auto;
    word-break: break-word;
  }

  /* Die Preiszellen bekommen auf Mobile etwas mehr visuellen Fokus */
  .price-table__row > *:not(:first-child) {
    font-size: 13px !important;
  }

  /* Den Hinweistext unten ebenfalls an das engere Mobile-Layout angleichen */
  .price-table__note {
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}
@media (min-width: 768px) {
  #footermenu ul,
  #menurecht ul {
    text-align: right;
  }
  .header_links .brxe-text-link .icon,
  .header_links .brxe-icon {
    height: 40px;
    width: 40px;
  }
  .brxe-search svg {
    height: 30px;
    width: 30px;
  }
  body :where(.brxe-search) button {
    width: 40px;
  }
  #footermenu li:not(:last-child)::after {
    content: "⁄";
    color: #b49880;
    font-size: 22px;
    font-weight: 400;
    margin-left: 20px; /* Gewünschter Abstand vor dem Schrägstrich */
    margin-right: 20px;
  }
  .aquatext {
    font-size: 35px;
  }
  .aquabig {
    text-shadow: 0.087em -0.27em 0.712em #000;
  }
  .tz-theme--spa .aquabig {
    text-shadow: 0 4px 0.712em #fff;
  }
  #menurecht li:not(:last-child)::after {
    content: "⁄";
    color: #b49880;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    margin-left: 20px; /* Gewünschter Abstand vor dem Schrägstrich */
    margin-right: 20px;
  }
  #footermenu li a {
    display: inline;
    text-decoration: none;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
  }
  #menurecht li a {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    display: inline-block;
    width: fit-content;
  }
  #footermenu li:nth-child(3)::after,
  #menurecht li:nth-child(3)::after {
    /* \A ist das CSS-Zeichen für einen Zeilenumbruch (Enter) */
    content: "\A" !important;
    white-space: pre; /* Zwingt den Browser, das Umbruch-Zeichen auch auszuführen */
    margin-right: 0;
    margin-left: 0px; /* Löscht den rechten Abstand am Zeilenende */
  }
  .schweben h2 strong {
    padding-left: 100px;
  }
}

@media (min-width: 993px) {
  .dreierzeile .brxe-text {
    max-width: 100%;
  }
  .collage {
    position: relative;
    width: 100%;
    max-width: 1164px;
    aspect-ratio: 1164 / 659;
    margin-inline: auto;
    overflow: hidden;
    display: block;
  }
  .collage > * {
    position: absolute;
    object-fit: cover;
    object-position: center; /* pro Bild anpassen, s.u. */
  }

  /* Bild 1 – Grotte */
  .collage > *:nth-child(1) {
    left: 0;
    top: 0;
    width: 59.45%;
    height: 60.55%;
    z-index: 1;
  }
  /* Bild 2 – Wasserfall-Nahaufnahme (liegt über Grotte) */
  .collage > *:nth-child(2) {
    left: 14.43%;
    top: 40.06%;
    width: 22.77%;
    height: 51.14%;
    z-index: 3;
  }
  /* Bild 3 – Kind/Pilz */
  .collage > *:nth-child(3) {
    right: 8.85%;
    top: 5.01%;
    width: 23.88%;
    height: 42.19%;
    z-index: 2;
  }
  /* Bild 4 – Rutsche */
  .collage > *:nth-child(4) {
    right: 0;
    bottom: 0;
    width: 53.95%;
    height: 63.43%;
    z-index: 1;
  }

  .hl-tabs {
    font-size: 24px;
    line-height: 24px;
  }
  .tab-title {
    font-size: 24px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 30px;
  }
  .tab-title.brx-open {
    font-size: 24px;
    line-height: 30px;
  }
  header .brxe-text-link span.text {
    display: flex;
  }
  .schweben h2 strong {
    padding-left: 150px;
  }
  .gutscheintext {
    font-size: 27px;
    line-height: 32px; /* 120% */
  }
  .footeradresse p {
    font-size: 20px;
    line-height: 22px;
  }
  .menulinks li a {
    font-size: 66.08px;
  }
  .menulinks li {
    margin-left: 0px;
    padding-left: 0px;
  }
  .menurechts li {
    text-align: right;
  }
  .menurechts li a {
    text-align: right;
    font-size: 35px;
    line-height: 50px; /* 142.857% */
  }
  .tab-pane h2,
  .lage h2 {
    font-size: var(--tz-text-display-3);
  }
  .leistungen h2 {
    font-size: var(--tz-text-display-3);
    text-align: center;
  }
  .genuss h2 {
    font-size: var(--tz-text-display-4);
    text-align: center;
  }
  .accordion-container h3 {
    font-size: 30px;
  }
  .accordion-container h2 {
    font-size: var(--tz-text-display-3);
  }
}

.map-frame {
  width: 100% !important;
  border: 0 !important;

  /* 1. LAYOUT & HÖHE */
  /* Auf Mobile (Standard-Zustand im CSS) verpassen wir der Karte ein griffiges 4:3 Format */
  aspect-ratio: 4 / 3 !important;

  /* 2. DER SCROLL-PROTECTION TRICK */
  /* Verhindert das Feststecken beim Scrollen auf dem Handy */
  pointer-events: none;

  /* Optionale Design-Anpassung passend zur Therme */
  border-radius: var(--radius-m, 12px);
}
/* Verhindert, dass die Zeilen auf riesigen 4K-Monitoren unendlich hoch werden */

/* ==========================================
   DESKTOP OPTIMIERUNG (ab Tablet/PC)
   ========================================== */
@media (min-width: 768px) {
  .map-frame {
    /* Am Desktop schalten wir das Seitenverhältnis ab und zwingen die Karte auf eine feste, edle Höhe */
    aspect-ratio: auto !important;
    height: 450px !important;
  }
}

/* ==========================================
   INTERAKTIVITÄT BEI KLICK (Optional)
   ========================================== */
/* Wenn der User aktiv auf die Karte oder den umschließenden Block klickt/tippt, 
   wird die Sperre aufgehoben und er kann die Karte ganz normal bedienen (Zoomen/Verschieben) */
.map-frame:active,
.map-frame:focus {
  pointer-events: auto;
}
@media (max-width: 767px) {
  .price-table-wrapper {
    /* Zeigt die Scrollbar auf iOS und Android permanent an */
    scrollbar-width: thin !important;
    scrollbar-color: #b49880 rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 12px !important; /* Platz für die Scrollbar unter der Tabelle */
  }

  /* Webkit-Anpassung (Safari/Chrome) */
  .price-table-wrapper::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
  }
  .price-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #b49880 !important;
    border-radius: 4px;
  }
}
/* ==========================================
   DESKTOP: 2-Spalten für den WooCommerce Shortcode
   ========================================== */
@media (min-width: 992px) {
  /* Das Formular, das der Shortcode generiert, wird zum Grid */
  body .woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
  }

  /* Linke Spalte: Die Kundendaten (Rechnungsadresse) */
  #customer_details {
    width: 100% !important;
    float: none !important;
  }

  /* Rechte Spalte: Die Bestellübersicht & Bezahlung zur Sticky-Box machen */
  #order_review_heading,
  #order_review {
    grid-column: 2; /* Zwingt die Elemente in die rechte Spalte */
  }

  #order_review {
    position: sticky;
    top: 130px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 40, 85, 0.04);
    border: 1px solid rgba(0, 40, 85, 0.05);
  }
}

/* ==========================================
   INPUT FIELDS RE-DESIGN (Für Shortcode-Ausgabe)
   ========================================== */
body .woocommerce-checkout .form-row input.input-text,
body .woocommerce-checkout .form-row textarea,
body .woocommerce-checkout .form-row select {
  width: 100%;
  padding: 14px 18px !important;
  border: 1px solid rgba(0, 40, 85, 0.15) !important;
  background-color: #fafbfc !important;
  border-radius: 6px !important;
  font-size: 15px;
  color: #002855;
  transition: all 0.2s ease;
}

body .woocommerce-checkout .form-row input.input-text:focus,
body .woocommerce-checkout .form-row textarea:focus {
  outline: none !important;
  border-color: #b49880 !important; /* Deine Bronze-Farbe */
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(180, 152, 128, 0.15) !important;
}

/* Radio-Buttons der Zahlungsarten einfärben */
body .woocommerce-checkout .payment_methods input[type="radio"] {
  accent-color: #002855;
}
body .woo-vou-preview-template-img-border {
  border: 1px solid rgba(0, 40, 85, 1);
  box-shadow: 0 0 5px rgba(0, 40, 85, 1);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.showmobil {
  display: none;
}
@media (max-width: 477px) {
  #brxe-kosyel {
    max-width: 100px;
  }
  #header {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bricks-button.bannerbutton {
    width: 150px;
  }
  .hidemobil {
    display: none;
  }
  .showmobil {
    display: block;
  }
}

@media (max-width: 993px) {
  .reverse .hl-pane .brxe-container {
    flex-direction: column-reverse !important;
  }
}
