/*
Theme Name: Tiny Escape Neu
Theme URI: https://tinyescape.de
Author: Sophie Müller
Author URI: https://muellersophie.com
Description: Überarbeitete Startseiten-Struktur für Tiny Escape (Hero-Galerie, Nebensaison-Special, USP-Dreiklang, Entdecken-Tabs, neuer Footer) — auf Basis des bestehenden Tiny-Escape-Theme-Designsystems (Farben, Schriften, Bausteine). Das ursprüngliche Theme "Tiny Escape" bleibt parallel erhalten.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tinyescape
License: GNU General Public License v2 or later
License URI: LICENSE
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root{
  --tesc-anthracite: #2D2D2D;
  --tesc-anthracite-2: #3A3A38;
  --tesc-orange: #EC9712;
  --tesc-light: #FDFAFA;
  --tesc-white: #FFFFFF;
  --tesc-black: #1A1A1A;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  /* Fließtext ebenfalls in Barlow Condensed: eine Schrift für die ganze Seite */
  --font-body: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --container-max: 1260px;
  --gutter: 64px;
  --gutter-mobile: 20px;

  --radius: 0px;

  /* Einheitliche Überschriften- und Fließtext-Größen für die ganze Seite
     (Startseite, HI, howtotinyescape, Buchen, Datenschutz/AGB/Impressum/
     About) — überall dieselben Tokens statt einzelner, abweichender Werte. */
  --h1-size: clamp(26px, 4.2vw, 44px);
  /* Größere Variante der H1-Skala nur für die .tesc-h1-Klasse (Entdecken,
     Reviews, FAQs, "Was packen?") — der normale <h1>-Tag (Textseiten,
     Buchen-Seite, Editor-Überschriften) bleibt bei --h1-size. */
  --section-h1-size: clamp(36px, 6.2vw, 66px); /* .tesc-h1 darf wieder deutlich größer sein */
  --h2-size: clamp(21px, 2.8vw, 30px);
  --h3-size: clamp(18px, 2.1vw, 23px);
  --eyebrow-size: clamp(14px, 1.4vw, 17px);

  /* Schrift-Stärken, jeweils eine Stufe dünner als der WordPress-Standard
     (700→600→500→300) — für Überschriften/Buttons/Labels bzw. Fließtext. */
  --weight-bold: 600;
  --weight-semibold: 500;
  --weight-regular: 300;
  /* "Fließtext in Karten/Absätzen" — der von Sophie bestätigte Referenzwert
     (Kartentext auf der Startseite), auf den jeder andere Fließtext-Ort
     (Reviews, Lead-Text, Ausstattungsliste, FAQ, USP-Kacheln, Nebensaison,
     Feature-Listen auf HI/howtotinyescape) angeglichen wird. */
  --copy-size: 20px;

  /* Einheitliche Schriftgröße für Menüpunkte UND Buttons (z. B. "Jetzt
     buchen") — beide nutzen denselben Wert, damit sie immer auf derselben
     Schriftlinie stehen. */
  --tesc-nav-size: 16px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--tesc-anthracite);
  color: var(--tesc-light);
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
/* Größen-Fallback direkt auf den Tags, damit auch eine Überschrift OHNE
   .tesc-h1/h2/h3-Klasse (z. B. aus dem WordPress-Editor auf HI/
   howtotinyescape) automatisch dieselbe Größe wie überall sonst bekommt. */
h1{ font-size: var(--h1-size); }
h2{ font-size: var(--h2-size); }
h3, h4{ font-size: var(--h3-size); }
p{ margin: 0 0 1em; }
.tesc-container{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}
@media (min-width: 900px){
  .tesc-container{ padding-inline: 40px; }
}
@media (min-width: 1340px){
  /* Erst wenn wirklich genug Platz ist, randlos auf volle Container-Breite.
     (Vorher fix 1260px ab 900px Fensterbreite: dadurch liefen Bilder auf
     Tablets/kleinen Laptops über den Rand hinaus.) */
  .tesc-container{ padding-inline: 0; width: var(--container-max); }
}

/* ==========================================================================
   3. TYPOGRAPHY SCALE
   ========================================================================== */
.tesc-h1{ font-size: var(--section-h1-size); letter-spacing: 0.02em; }
.tesc-h2{ font-size: var(--h2-size); }
.tesc-h3{ font-size: var(--h3-size); }
.tesc-eyebrow{
  color: var(--tesc-orange);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  font-size: var(--eyebrow-size);
  letter-spacing: -0.02em;
  text-align: center;
}
.tesc-lead{
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--copy-size);
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
/* Schrift hier bewusst 1:1 identisch mit den Menüpunkten (siehe
   .tesc-heronav__links a / .tesc-nav__link weiter unten, --tesc-nav-size)
   - Menü und "Jetzt buchen" sollen immer in derselben Schrift und auf
   derselben Schriftlinie stehen. Der Strich liegt per position:absolute
   UNTER der eigentlichen Textbox (statt sie zu vergrößern), damit die Box
   genau eine Zeile hoch bleibt und mit dem Menütext exakt fluchtet. */
.tesc-btn, .tesc-btn-ghost{
  display: inline-block;
  position: relative;
  background: transparent;
  color: var(--tesc-light);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-regular);
  font-size: var(--tesc-nav-size, 16px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s ease;
}
.tesc-btn::after, .tesc-btn-ghost::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: currentColor;
}
.tesc-btn:hover, .tesc-btn-ghost:hover{ opacity: .7; }
.tesc-section--white .tesc-btn, .tesc-section--white .tesc-btn-ghost{ color: var(--tesc-black); }

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */
/* Textseiten ohne Hero-Foto (Datenschutz/AGB/Impressum/About/HI/
   howtotinyescape) bekommen exakt dasselbe Nav-Bauteil wie der Rest der
   Seite (.tesc-heronav, per tesc_overlay_nav() — siehe header.php), nur in
   diesem einfachen anthrazitfarbenen Streifen statt auf einem Foto. Die
   Mindesthöhe entspricht der tatsächlichen Höhe von .tesc-heronav (Logo +
   Padding), damit die absolut positionierte Nav hier genug Platz hat und
   der folgende Seiteninhalt nicht überlappt wird. */
.tesc-plainheader{
  position: relative;
  background: var(--tesc-anthracite);
  min-height: 104px; /* 20px Padding + 64px Logo + 20px Padding, siehe .tesc-heronav */
}
@media (min-width: 700px){
  .tesc-plainheader{ min-height: 124px; } /* 20px + 84px Logo + 20px, siehe .tesc-heronav */
}
.tesc-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter-mobile);
  text-align: center;
}
.tesc-header img.custom-logo{ max-width: 320px; height: auto; }
.tesc-header .tesc-wordmark{ margin-top: 16px; }

/* ==========================================================================
   6. SECTIONS
   ========================================================================== */
.tesc-section{ padding: 44px var(--gutter-mobile); }
.tesc-section--white{ background: var(--tesc-white); color: var(--tesc-black); }
.tesc-section--white .tesc-h2{ color: var(--tesc-black); }
.tesc-section-head{
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
}

/* Teaser grid (masonry-ish 3 col) */
.tesc-teaser-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tesc-teaser-grid > *{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.tesc-teaser-grid img{ width:100%; height:100%; object-fit: cover; }
.tesc-teaser-grid .tesc-teaser-text{
  display:flex; align-items:center; justify-content:center;
  height:100%; text-align:center; padding: 16px;
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform:uppercase;
  font-size: clamp(18px, 2.6vw, 28px); letter-spacing:-0.02em;
}
.tesc-teaser-grid a.tesc-teaser-text{ text-decoration:none; cursor:pointer; background: var(--tesc-anthracite-2); }
@media (max-width: 780px){
  .tesc-teaser-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .tesc-teaser-grid{ grid-template-columns: 1fr; }
}

/* Hero image + feature block ("Kein Konzern") */
.tesc-hero-image{ width:100%; aspect-ratio: 16/7; object-fit:cover; }
.tesc-feature-split{
  display:grid; grid-template-columns: 1fr; gap: 32px;
  align-items:center; padding: 32px 0;
}
@media (min-width: 900px){
  .tesc-feature-split{ grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px 0; }
  .tesc-feature-split.is-reverse .tesc-feature-split__media{ order: -1; }
}
/* Organische Bubble-Form wie bei den Fotos auf Ausstattung/Für wen/
   Ausflugstipps — abwechselnd 3 leicht unterschiedliche Blob-Formen per
   nth-of-type, damit es trotz identischem Markup (Inhalt kommt aus dem
   WordPress-Editor) organisch und nicht repetitiv wirkt. */
.tesc-feature-split__media img{
  width:100%; aspect-ratio: 1/1; object-fit: cover; box-sizing: border-box;
  border: 2px solid var(--tesc-light);
  border-radius: 0;
}
.tesc-feature-split:nth-of-type(even) .tesc-feature-split__media img{
  border-radius: 0;
}
.tesc-feature-split:nth-of-type(3n) .tesc-feature-split__media img{
  border-radius: 0;
}
.tesc-feature-split__body{ display:flex; flex-direction:column; gap:24px; }
/* Fließtext-Absätze UND Aufzählungen im Feature-Split (HI/howtotinyescape)
   bekommen explizit dieselbe Schrift/Größe wie überall sonst — vorher hatte
   nur die Liste eine feste Schrift, ein normaler Absatz direkt daneben fiel
   auf die Basis-Schrift (Inter) zurück, daher der Schriftwechsel mitten auf
   der Seite. */
.tesc-feature-split__body p,
.tesc-feature-split__body ul{
  font-family: var(--font-display);
  font-size: var(--copy-size);
  line-height: 1.3;
}
.tesc-feature-split__body ul{ display:flex; flex-direction:column; gap:8px; }
.tesc-feature-split__body ul li{ padding-left: 22px; position: relative; }
.tesc-feature-split__body ul li::before{ content:"•"; color: var(--tesc-orange); position:absolute; left:0; }

/* Card grid (3 across) used across many sections */
.tesc-card-grid{
  display:grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 700px){
  .tesc-card-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px){
  .tesc-card-grid{ grid-template-columns: repeat(3, 1fr); }
}
.tesc-card__media{ aspect-ratio: 1/1; overflow:hidden; border-radius: var(--radius); margin-bottom: 20px; }
.tesc-card__media img{ width:100%; height:100%; object-fit:cover; }
.tesc-card__title{ font-size: var(--h3-size); margin-bottom: 8px; }
.tesc-card__text{ font-family: var(--font-display); font-size: var(--copy-size); line-height:1.3; }
.tesc-card__text a{ text-decoration: underline; }
.tesc-card--step .tesc-card__title{ display:flex; gap:10px; align-items:baseline; }

/* Logos strip — klein und in einer Reihe (bei Bedarf horizontal scrollbar
   auf sehr schmalen Bildschirmen, statt umzubrechen). */
.tesc-logos{
  display:flex; flex-wrap:nowrap; align-items:center; justify-content:center;
  gap: 28px 48px; overflow-x:auto; padding-bottom:4px;
}
.tesc-logos img{ max-height: 56px; width:auto; object-fit:contain; flex:0 0 auto; }
/* Handy: alle Logos sichtbar, deutlich kleiner, auf zwei Zeilen */
@media (max-width: 699px){
  .tesc-logos{ flex-wrap: wrap; overflow: visible; gap: 20px 22px; justify-content: center; }
  .tesc-logos img{ flex: 0 0 calc((100% - 44px) / 3); width: calc((100% - 44px) / 3); max-width: none; height: 40px; max-height: 40px; object-fit: contain; }
}
@media (min-width: 700px){
  .tesc-logos{ justify-content: space-evenly; gap: 32px 64px; }
}

/* Reviews */
.tesc-review-grid{ display:grid; grid-template-columns: 1fr; gap: 32px; text-align:center; }
@media (min-width: 800px){ .tesc-review-grid{ grid-template-columns: repeat(3,1fr); } }
.tesc-review{ font-family: var(--font-display); font-size: var(--copy-size); font-style: italic; }

/* FAQ */
.tesc-faq-grid{ display:grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 800px){ .tesc-faq-grid{ grid-template-columns: repeat(3,1fr); } }
.tesc-faq-item h3{ font-size: 24px; margin-bottom: 12px; }
.tesc-faq-item p{ font-size: 18px; opacity: .9; }

/* Gallery */
.tesc-gallery{ column-count: 1; column-gap: 32px; }
@media (min-width: 700px){ .tesc-gallery{ column-count: 3; } }
.tesc-gallery img{ width:100%; margin-bottom: 32px; border-radius: 0; break-inside: avoid; }

/* Map / booking box */
.tesc-map-embed{
  width:100%; aspect-ratio: 1/1; border-radius:0; overflow:hidden; border:0;
  background: var(--tesc-anthracite-2);
}
@media (min-width:900px){ .tesc-map-embed{ aspect-ratio: unset; height: 100%; min-height:400px; } }

/* Footer — bewusst farblich invertiert gegenüber dem Rest der (dunklen)
   Seite: heller Hintergrund, anthrazitfarbene Schrift/Icons. */
.tesc-footer{
  padding: 48px var(--gutter-mobile);
  display:flex; flex-wrap:wrap; gap: 32px 40px; justify-content: space-between; align-items:flex-start;
  background: var(--tesc-light);
  color: var(--tesc-anthracite);
}
.tesc-footer__nav{
  display:flex; flex-wrap:wrap; align-content:flex-start; align-items:center; gap: 12px 32px;
  padding-top: 34px; /* lines up with the badge rows below the uppercase labels */
}
.tesc-footer__nav a{ font-family: var(--font-display); font-weight: var(--weight-semibold); text-decoration:none; font-size:16px; color: var(--tesc-anthracite); padding: 10px 0; }
.tesc-footer__nav a:hover{ color: var(--tesc-orange); }

.tesc-footer__group{ display:flex; flex-direction:column; gap:12px; }
.tesc-footer__label{
  margin:0; font-family: var(--font-display); font-weight: var(--weight-semibold); text-transform:uppercase;
  letter-spacing:0.06em; font-size:14px; color: var(--tesc-anthracite); opacity:.7;
}
.tesc-footer__badges{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tesc-footer__badge{
  display:inline-flex; align-items:center; justify-content:center;
  box-sizing:border-box;
  border: none; text-decoration:none; line-height:0;
}
.tesc-footer__badge svg{ display:block; }
.tesc-footer__badge--insta{ color: var(--tesc-anthracite); width:auto; }
.tesc-footer__badge--insta:hover{ color: var(--tesc-orange); }

/* Placeholder image note badge (shown in admin preview only if desired) */
.tesc-placeholder-note{ font-size:12px; opacity:.6; text-align:center; margin-top:4px; }

/* Basic page template (About/Datenschutz/Impressum/AGB). 820px ist nur noch
   der Fallback, FALLS mal eine .tesc-page-content ohne --wide-Modifier zum
   Einsatz kommt — page.php setzt seit der Breiten-Angleichung an die
   restlichen Seiten immer zusätzlich .tesc-page-content--wide (siehe unten),
   wodurch About/Datenschutz/Impressum/AGB auf dieselbe Breite wie z. B.
   Buchen/HI/howtotinyescape kommen (var(--container-max), 1260px). */
.tesc-page-content{
  max-width: 820px; margin: 0 auto; padding: 120px var(--gutter-mobile) 80px;
  font-family: var(--font-body); font-size: 20px; line-height:1.55;
}
/* Diese "geschrumpfte" Titel-Optik gilt weiterhin bewusst NUR für die
   schlichten Textseiten (Datenschutz/AGB/Impressum/About) — auch jetzt, wo
   sie dieselbe Spaltenbreite wie die restlichen Seiten haben, sollen H1/H2
   aus dem WordPress-Editor dort kompakter bleiben als die große
   .tesc-h1/.tesc-h2-Optik auf den breiteren Content-Seiten (Buchen/HI/
   howtotinyescape) — deshalb hier explizit ausgeschlossen (vorher haben
   diese Regeln versehentlich auch dort gegriffen und z. B. auf "HI" und
   "howtotinyescape" alle Überschriften deutlich kleiner gemacht als auf der
   Startseite). */
.tesc-page-content:not(.tesc-page-content--hi):not(.tesc-page-content--howto):not(.tesc-page-content--buchen) h1{
  margin-bottom: 32px; font-size: var(--h1-size);
}
.tesc-page-content:not(.tesc-page-content--hi):not(.tesc-page-content--howto):not(.tesc-page-content--buchen) h2{
  margin: 40px 0 16px; font-size: var(--h2-size); text-transform:none;
}
.tesc-page-content a{ text-decoration: underline; word-break: break-word; }
.tesc-page-content p{ margin: 0 0 20px; }
.tesc-page-content ul{ margin: 0 0 20px; padding-left: 24px; list-style: disc; }
.tesc-page-content li{ margin-bottom: 8px; }
/* Feature-split lists (used on the HI and howtotinyescape pages) keep
   their own custom orange-dot bullet style instead of the plain page's
   disc bullets — otherwise both would render at once. */
.tesc-page-content .tesc-feature-split__body ul{ list-style: none; padding-left: 0; margin: 0; }
.tesc-page-content .tesc-feature-split__body li{ margin-bottom: 0; }

/* Wide variant for content-heavy widgets (e.g. the Buchen/booking page) that
   shouldn't be squeezed into the narrow 820px reading column used for
   Datenschutz/AGB/Impressum/About. */
.tesc-page-content--wide{ max-width: var(--container-max); }
@media (min-width: 900px){
  .tesc-page-content--wide{ padding-inline: 0; }
}

/* Buchen page: title + booking widget only, no reading-column constraints.
   Der Titel sitzt seit dem Hero-Foto-Header nicht mehr hier, sondern im
   .tesc-subhero__title-Block (siehe page-buchen.php) — genau wie auf den
   3 Wild-Unterseiten. */
.tesc-page-content--buchen{
  padding-top: 56px;
  padding-bottom: 96px;
}

/* Guide-Seite "HI" (Willkommensguide für eingecheckte Gäste): braucht die
   gewohnte fette Barlow-Condensed-Optik der Feature-Split-Sektionen statt
   der schlichten Lesespalte der reinen Textseiten (Datenschutz/AGB/...),
   deshalb hier die generischen .tesc-page-content-Regeln gezielt wieder
   auf den Rest der Seite zurückgesetzt. */
.tesc-page-content--hi{
  padding-top: 56px;
  padding-bottom: 96px;
}
/* Jeder Absatz/jede Liste auf dieser Seite bekommt dieselbe Schrift/Größe —
   unabhängig davon, ob er in einem Feature-Split-Block sitzt oder als
   einzelner Absatz im Editor steht. Das behebt den Schriftwechsel
   mitten im Text, der vorher je nach Block-Typ auftrat. */
.tesc-page-content--hi p,
.tesc-page-content--hi li{
  font-family: var(--font-display);
  font-size: var(--copy-size);
  line-height: 1.3;
}
.tesc-page-content--hi h2{
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.tesc-page-content--hi .tesc-feature-split{
  align-items: start;
}
.tesc-page-content--hi .tesc-feature-split__body p a,
.tesc-page-content--hi .tesc-feature-split__body ul li a{
  text-decoration: underline;
}

/* Seite "howtotinyescape" (Wegbeschreibung + Packen): kombiniert Anfahrt/Schlüssel-Infos und
   den (von der Startseite hierher verschobenen) "Was packen?"-Abschnitt.
   Braucht dieselbe Feature-Split-Optik wie die HI-Seite statt der
   schlichten Lesespalte der reinen Textseiten. */
.tesc-page-content--howto{
  padding-top: 56px;
  padding-bottom: 96px;
}
/* Wie bei --hi: jeder Absatz/jede Liste einheitlich, unabhängig vom
   Block-Typ im Editor. */
.tesc-page-content--howto p,
.tesc-page-content--howto li{
  font-family: var(--font-display);
  font-size: var(--copy-size);
  line-height: 1.3;
}
.tesc-page-content--howto h2{
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.tesc-page-content--howto .tesc-feature-split{
  align-items: start;
}
.tesc-page-content--howto .tesc-feature-split__body p a{
  text-decoration: underline;
}
.tesc-page-content--howto .tesc-section-head:not(:first-child){
  margin-top: 24px;
}
/* Der Zwischentitel "Was packen?" nutzt dieselbe volle .tesc-h1-Skala wie
   jede andere Abschnitts-Überschrift auf der Startseite (z. B. "Der
   Prozess?", "Für wen?") — genau dieselbe Optik, kein eigenes Sonderformat. */
.tesc-page-content--howto .tesc-section-head h2.tesc-h1{
  margin: 0;
}

/* ==========================================================================
   8. BOOKING WIDGET CARD (full HBook form, /buchen/ page only)
   ========================================================================== */
.tesc-booking-widget{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 40px var(--gutter-mobile);
  width: 100%;
}
@media (min-width: 700px){
  .tesc-booking-widget{ padding: 48px 40px; }
}
@media (min-width: 1100px){
  .tesc-booking-widget{ padding: 56px 64px; }
}
.tesc-booking-widget .hbook-wrapper{
  font-family: var(--font-body);
  color: var(--tesc-light);
  max-width: 100%;
}
/* Let HBook's own form/results use the full card width instead of a fixed
   px width that doesn't respond to the viewport. */
.tesc-booking-widget .hbook-wrapper,
.tesc-booking-widget .hb-booking-form-wrapper,
.tesc-booking-widget .hb-search-form-wrapper,
.tesc-booking-widget .hb-accom-listing-shortcode-wrapper{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
/* Buchen: alles (Eckdaten, Formular, Kalender, Folgeschritte) in EINER Breite */
.tesc-booking-widget .hbook-wrapper{ max-width: 900px !important; margin-left: auto !important; margin-right: auto !important; }

/* Search form: centered title, roomier fields, laid out so the search row
   uses the available card width instead of hugging the left edge. */
.tesc-booking-widget .hb-title-search-form{
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 32px;
}
.tesc-booking-widget .hb-search-fields{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}
.tesc-booking-widget .hb-search-fields > p{
  float: none !important;
  margin: 0 !important;
  flex: 1 1 180px;
  max-width: 240px;
}
.tesc-booking-widget .hb-search-submit-wrapper{
  flex: 0 0 auto;
  max-width: none;
}
.tesc-booking-widget .hb-search-fields input[type="text"],
.tesc-booking-widget .hb-search-fields select{
  width: 100%;
}
.tesc-booking-widget input[type="submit"]{
  min-width: 220px;
}
/* Results (accommodation cards after a search) get room to breathe and stay
   centered like the rest of the widget. */
.tesc-booking-widget .hb-accom-list{
  max-width: 640px;
  margin: 40px auto 0;
}
@media (max-width: 700px){
  .tesc-booking-widget .hb-search-fields > p{
    flex: 1 1 45%;
    max-width: none;
  }
  .tesc-booking-widget .hb-search-submit-wrapper{
    flex: 1 1 100%;
  }
  .tesc-booking-widget input[type="submit"]{
    width: 100%;
  }
}


/* ==========================================================================
   9. WILD-REDESIGN: Startseite + 3 neue Unterseiten (Ausstattung/Für wen/
      Ausflugstipps), 1:1 nach dem Design-Prototyp "Experimentell v3".
      Nutzt ausschließlich die bestehenden Design-Tokens (Farben, Radius) und
      die zwei bestehenden Schriftvariablen.
   ========================================================================== */

/* Eyebrow-Variante linksbündig (Standard .tesc-eyebrow ist zentriert) */
.tesc-eyebrow--left{ text-align: left; }

/* --- Transparente Hero-Nav (Startseite + 3 Unterseiten) --- */
.tesc-heronav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 20px; box-sizing: border-box;
}
.tesc-heronav__brand{ justify-self: start; display: inline-flex; align-items: center; }
.tesc-heronav__logo{ height: 64px; width: auto; display: block; }
.tesc-heronav__links{ justify-self: center; display: flex; align-items: center; gap: 28px; }
/* Absicherung: falls unter Design → Menüs ein echtes WP-Menü zugewiesen ist,
   liefert wp_nav_menu() <li class="menu-item"><a>…</a></li> statt bloßer
   <a class="tesc-nav__link">-Tags — ohne diese Regeln blieben solche Links
   unformatiert (Standard-Linkfarbe) und damit auf dem Foto quasi unsichtbar. */
.tesc-heronav__links li{ list-style: none; margin: 0; }
.tesc-heronav__links a{
  font-family: var(--font-display); font-weight: var(--weight-regular); font-style: italic;
  text-transform: none; font-size: var(--tesc-nav-size); letter-spacing: 0; line-height: 1;
  color: var(--tesc-light); opacity: .78; text-decoration: none;
}
.tesc-heronav__links a:hover{ opacity: 1; }
.tesc-heronav__links a[aria-current="page"]{
  opacity: 1; text-decoration: underline; text-underline-offset: 6px;
}
.tesc-heronav__cta{ justify-self: end; white-space: nowrap; }
.tesc-heronav__toggle-input{ position: absolute; opacity: 0; pointer-events: none; }
.tesc-heronav__toggle{
  display: none; justify-self: end; cursor: pointer; order: 2;
  width: 30px; height: 22px; position: relative; z-index: 21;
}
.tesc-heronav__toggle span{
  display: block; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--tesc-light); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.tesc-heronav__toggle span:nth-child(1){ top: 0; }
.tesc-heronav__toggle span:nth-child(2){ top: 10px; }
.tesc-heronav__toggle span:nth-child(3){ top: 20px; }
@media (min-width: 700px){
  .tesc-heronav{ padding: 24px 40px; }
  .tesc-heronav__logo{ height: 84px; }
}
@media (max-width: 900px){
  .tesc-heronav{ grid-template-columns: 1fr auto auto; }
  .tesc-heronav__toggle{ display: block; }
  /* Mehr Abstand zwischen "Jetzt buchen" und dem Burger-Menü */
  .tesc-heronav__cta{ margin-right: 14px; }
  /* "Jetzt buchen" etwas höher: Unterstrich auf Höhe des unteren Burger-Strichs */
  .tesc-heronav__cta{ transform: translateY(-6px); }
  /* Aufgeklapptes Menü: halbtransparente Box rechts, fährt von rechts herein */
  .tesc-heronav__links{
    justify-self: unset; flex-direction: column; align-items: flex-end; gap: 0;
    position: absolute; top: 100%; right: 20px; left: auto; min-width: 200px;
    background: rgba(20,20,18,.62);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    padding: 6px 0;
    opacity: 0; visibility: hidden; transform: translateX(calc(100% + 24px));
    transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s;
  }
  .tesc-heronav__links a{ display: block; padding: 13px 22px; width: 100%; text-align: right; box-sizing: border-box; }
  .tesc-heronav__toggle-input:checked ~ .tesc-heronav__links{
    opacity: 1; visibility: visible; transform: none;
    transition: transform .3s ease, opacity .25s ease, visibility 0s;
  }
  .tesc-heronav__toggle-input:checked ~ .tesc-heronav__toggle span:nth-child(1){ transform: translateY(10px) rotate(45deg); }
  .tesc-heronav__toggle-input:checked ~ .tesc-heronav__toggle span:nth-child(2){ opacity: 0; }
  .tesc-heronav__toggle-input:checked ~ .tesc-heronav__toggle span:nth-child(3){ transform: translateY(-10px) rotate(-45deg); }
}
@media (min-width: 700px) and (max-width: 900px){
  .tesc-heronav__links{ right: 40px; }
}
/* Das Menü startet außerhalb des Bildschirms: nie seitliches Scrollen erzeugen */
html, body{ overflow-x: clip; }

/* --- Nav-Link-Grundstil, von tesc_fallback_primary_links() (functions.php)
   auf jeden gerenderten Menüpunkt gesetzt — unabhängig davon, ob er gerade
   in .tesc-heronav__links (Hero-Seiten) oder .tesc-plainheader (Textseiten)
   liegt, siehe header.php. --- */
.tesc-nav__link{
  font-family: var(--font-display); font-weight: var(--weight-regular); font-style: italic;
  text-transform: none; font-size: var(--tesc-nav-size); letter-spacing: 0; line-height: 1;
  color: var(--tesc-light); opacity: .78; text-decoration: none;
}
.tesc-nav__link:hover{ opacity: 1; }
.tesc-nav__link[aria-current="page"]{
  opacity: 1; text-decoration: underline; text-underline-offset: 6px;
}

/* Einheitlicher Button-Stil (weißer Outline + weißer Text) jetzt oben bei
   Abschnitt 4 zusammengefasst — .tesc-btn und .tesc-btn-ghost sehen jetzt
   überall identisch aus, siehe dort. */

/* --- Homepage-Hero (großes Vollbild-Foto, keine eigene Nav -- die kommt
   sitesweit aus header.php) --- */
.tesc-wildhero{ position: relative; width: 100%; height: 66vw; max-height: 908px; min-height: 420px; overflow: hidden; }
.tesc-wildhero__img{ width: 100%; height: 100%; object-fit: cover; }
.tesc-wildhero__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,18,.5), rgba(20,20,18,0) 45%);
}
.tesc-wildhero__mark{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 66%; width: auto; max-width: 80%; object-fit: contain;
  opacity: .5; z-index: 5; pointer-events: none;
}
/* Hero-Text sitzt in derselben Raster-Spalte wie .tesc-container weiter
   unten (gleiches max-width + margin-inline:auto + Gutter/Breakpoint) —
   so fluchtet "OFEN AN, ALLTAG AUS." immer exakt mit "DEINE BASE IM
   NORDEN" darunter, bei jeder Bildschirmbreite. */
.tesc-wildhero__content{
  position: absolute; inset: 0; z-index: 10;
  max-width: var(--container-max); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter-mobile) 48px; box-sizing: border-box; pointer-events: none;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.tesc-wildhero__headline{
  font-family: var(--font-display); text-transform: uppercase; font-weight: var(--weight-bold);
  font-size: clamp(34px, 6vw, 62px); line-height: 1.12; color: var(--tesc-light); margin: 0 0 14px; max-width: 680px;
}
.tesc-wildhero__lead{
  font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--copy-size);
  line-height: 1.4; color: rgba(253,250,250,.92); margin: 0; max-width: 480px;
}
@media (min-width: 900px){
  .tesc-wildhero__content{ width: var(--container-max); padding-inline: 0; padding-bottom: 80px; }
}

/* --- Saison-Teaser (frühere helle Sektion auf der Startseite, jetzt in den
   Hero verschoben — Regeln bleiben falls anderswo noch gebraucht) --- */
.tesc-offseason-teaser{
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.tesc-offseason-teaser__text{ max-width: 640px; }

/* --- Beats (organische "Blob"-Foto-Sektionen, Startseite + 3 Unterseiten) --- */
.tesc-beat{ padding: 48px 0; }
/* Erste Sektion direkt unter dem Headerbild: deutlich mehr Luft */
.tesc-beat.tesc-beat--first{ padding-top: 96px; }
.tesc-beat--tight{ padding-top: 20px; padding-bottom: 20px; }
/* Abschluss-Satz vor "Jetzt buchen" am Seitenende: mehr Luft nach oben */
.tesc-beat.tesc-beat--closing, section.tesc-beat--closing{ padding-top: 104px; }
@media (max-width: 700px){ .tesc-beat.tesc-beat--closing, section.tesc-beat--closing{ padding-top: 64px; } }
.tesc-beat__photo--map{ display: block; }
.tesc-beat--center{ text-align: center; }
/* Text vertikal mittig zum Bild. Bild knapp halbe Breite. */
.tesc-beat__row{ display: flex; flex-wrap: nowrap; gap: 64px; align-items: center; }
.tesc-beat__row--reverse{ flex-direction: row-reverse; }
.tesc-beat__row--duo{ gap: 36px; align-items: flex-end; }
.tesc-beat__col{ flex: 1 1 0; min-width: 0; }
.tesc-beat__col > :first-child{ margin-top: 0; }
.tesc-beat__photo{
  flex: 0 0 50%; max-width: 640px; aspect-ratio: 16/10; overflow: hidden;
  box-sizing: border-box;
}
.tesc-beat__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.tesc-beat__photo--tall{ flex: 1.5 1 0; aspect-ratio: 4/5; max-height: 552px; }
.tesc-beat__photo--square{ flex: 1.2 1 0; aspect-ratio: 1/1; max-height: 384px; margin-bottom: 56px; }
.tesc-beat__photo--map img{ object-fit: contain; }
.tesc-beat__photo--solo{ max-width: 1200px; margin: 0 auto; aspect-ratio: 3/1; }
/* Unter 1000px: untereinander, Bild und Text exakt links bündig */
@media (max-width: 999px){
  .tesc-beat__row, .tesc-beat__row--duo{ flex-direction: column !important; align-items: stretch; gap: 28px; }
  .tesc-beat__photo{ flex: none; width: 100%; max-width: none; aspect-ratio: 3/2; }
  .tesc-beat__col .tesc-lead{ max-width: none !important; }
}
@media (max-width: 700px){
  .tesc-beat{ padding: 32px 0; }
  .tesc-beat.tesc-beat--first{ padding-top: 60px; }
  .tesc-beat__photo--tall, .tesc-beat__photo--square{ max-height: none; margin-bottom: 0; }
  /* Im Handy-Layout (Spalte) würde flex-basis sonst als HÖHE wirken und das
     Bild über aspect-ratio breiter als den Bildschirm machen → seitliches
     Scrollen. Darum hier volle Breite, Höhe aus dem Seitenverhältnis. */
  .tesc-beat__photo{ flex: none; width: 100%; max-width: none; }
}
.tesc-beat__statement{
  font-family: var(--font-display); text-transform: uppercase; font-size: 38px;
  line-height: 1.3; font-weight: var(--weight-bold); letter-spacing: -0.01em; margin: 0;
}
.tesc-beat__sub{
  font-family: var(--font-body); font-weight: var(--weight-regular); font-size: var(--copy-size);
  color: rgba(253,250,250,.85); margin: 10px 0 0; max-width: 420px;
}
.tesc-beat__caption{
  font-family: var(--font-body); font-weight: var(--weight-regular); font-size: 17px;
  color: rgba(253,250,250,.6); margin: 18px 0 0;
}
.tesc-beat__caption--end{ text-align: right; }

/* --- Eider-Fluss-Linie (nur Unterseite Ausflugstipps) ---
   Die Linie liegt im Hintergrund (z-index:0) und berührt dabei die
   Foto-Bubbles, weil deren Umgebung (.tesc-beat) darüber liegt (z-index:1). */
.tesc-river-wrap{ position: relative; }
.tesc-river-wrap > .tesc-beat{ position: relative; z-index: 1; }
.tesc-river{
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; overflow: visible; pointer-events: none;
}
.tesc-river__path{
  fill: none;
  stroke: var(--tesc-orange);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .9;
}
@media (max-width: 700px){
  .tesc-river__path{ stroke-width: 7; }
}
@media (prefers-reduced-motion: reduce){
  .tesc-river__path{ opacity: .55; }
}

/* --- Subpage-Hero (Vollbild-Foto mit Titel, alle 3 neuen Unterseiten) --- */
.tesc-subhero{ position: relative; width: 100%; height: 560px; overflow: hidden; }
.tesc-subhero__img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px){
  /* Am Handy rund ein Drittel niedriger, auf allen Unterseiten gleich hoch (auch Buchen) */
  .tesc-subhero, .tesc-subhero--compact{ height: clamp(220px, 38vh, 300px); }
  /* Titel unterhalb von Logo/Menü mittig, damit nichts überlappt */
  .tesc-subhero__title{ padding-top: 24px !important; }
  /* Sektions-Überschriften so groß wie die Überschrift im Titelbild */
  .tesc-beat__statement{ font-size: var(--section-h1-size) !important; line-height: 1.1; }
}
.tesc-subhero__scrim-top{
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,18,.62), rgba(20,20,18,0) 45%);
}
.tesc-subhero__scrim-bottom{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,18,.72), rgba(20,20,18,0) 55%);
}
.tesc-subhero__title{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px; box-sizing: border-box;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
@media (min-width: 900px){
  .tesc-subhero__title{ padding: 0 64px; }
}

/* --- Punktliste (Buchen: Gut zu wissen + Ausstattung) ---
   Raster statt Spaltenfluss: alle Spalten stehen in denselben Zeilen. */
.tesc-dotlist{
  display: grid; grid-template-columns: 1fr; gap: 14px 28px;
  margin: 22px 0 0; padding: 0; list-style: none;
}
@media (min-width: 560px){ .tesc-dotlist{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px){ .tesc-dotlist{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tesc-dotlist li{ display: flex; align-items: flex-start; gap: 10px; margin: 0; }
/* Mittig zur ERSTEN Textzeile (nicht zum ganzen, ggf. zweizeiligen Block):
   Versatz = halbe Zeilenhöhe (copy-size * line-height) minus halber Punkt,
   plus etwas zusätzlicher Versatz nach unten (siehe Feedback). */
.tesc-dotlist .tesc-dot{
  width: 8px; height: 8px; border-radius: 50%; background: var(--tesc-orange); flex: 0 0 auto;
  margin-top: calc((var(--copy-size) * 1.55 - 8px) / 2);
}
.tesc-dotlist span:last-child{ font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--copy-size); line-height: 1.55; color: var(--tesc-light); opacity: .85; }

/* --- Nachhaltig(er)-Trio (3 Karten, Unterseite Ausstattung) --- */
.tesc-trio{ display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; }
.tesc-trio__item{ flex: 1 1 0; text-align: center; min-width: 220px; }
.tesc-trio__photo{
  width: 100%; max-width: 480px; aspect-ratio: 3/2; margin: 0 auto 20px; overflow: hidden;
  box-sizing: border-box;
}
.tesc-trio__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.tesc-trio__item h3{ font-size: 18px; font-weight: var(--weight-bold); margin: 0 0 6px; text-transform: none; }
.tesc-trio__item p{ max-width: 260px; margin: 0 auto; font-family: var(--font-body); font-weight: var(--weight-regular); font-size: 19px; line-height: 1.45; opacity: .85; }

/* --- Reviews (Startseite) --- */
.tesc-review-card{ display: flex; flex-direction: column; gap: 10px; }
.tesc-review__author{
  font-family: var(--font-body); font-weight: var(--weight-regular); font-size: 17px;
  color: rgba(26,26,26,.6); margin: 0;
}

/* --- FAQ-Akkordeon --- */
.tesc-faq-accordion{ display: flex; flex-direction: column; }
.tesc-faq-accordion__item{ border-top: 2px solid rgba(253,250,250,.18); }
.tesc-faq-accordion__item:last-child{ border-bottom: 2px solid rgba(253,250,250,.18); }
.tesc-faq-accordion__q{
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: var(--h3-size);
  color: var(--tesc-light);
}
.tesc-faq-accordion__icon{ font-size: 22px; color: var(--tesc-orange); font-family: var(--font-display); }
.tesc-faq-accordion__a{ padding: 0 0 20px; max-width: 680px; }
.tesc-faq-accordion__a p{ font-family: var(--font-display); font-size: var(--copy-size); line-height:1.3; opacity: .9; margin: 0; }


/* ==========================================================================
   VERFÜGBARKEIT: Datumsleiste (Startseite, ganz oben), Handy-Button, Kalender
   ========================================================================== */
.tesc-datebar{ background: var(--tesc-anthracite); border-bottom: 1px solid rgba(253,250,250,.1); position: relative; z-index: 30; }
.tesc-datebar__inner{
  max-width: var(--container-max); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px 28px; flex-wrap: wrap;
}
.tesc-datebar__title{
  margin: 0; font-family: var(--font-display); font-weight: var(--weight-bold);
  text-transform: uppercase; font-size: 22px; letter-spacing: -0.01em; color: var(--tesc-light); white-space: nowrap;
}
.tesc-datebar__form{ flex: 0 1 720px; min-width: 0; }
/* HBook-Formular in der Leiste kompakt halten */
.tesc-datebar .hbook-wrapper{ margin: 0 !important; padding: 0 !important; }
.tesc-datebar .hb-booking-search-form{ margin: 0 !important; }
.tesc-datebar .hb-search-form-title, .tesc-datebar h3{ display: none !important; }
.tesc-datebar .hbook-wrapper p{ margin-bottom: 0 !important; }
.tesc-datebar .hbook-wrapper input[type="submit"]{
  background: transparent !important; color: var(--tesc-light) !important; border-color: var(--tesc-light) !important;
}
.tesc-datebar .hbook-wrapper input[type="submit"]:hover,
.tesc-booking-widget .hbook-wrapper input[type="submit"]:hover{
  opacity: .8 !important; text-decoration: none !important;
}
/* Button-Text etwas kleiner, damit er nicht bis an den Rand geht */
.tesc-datebar .hbook-wrapper input[type="submit"]{ font-size: 16px !important; padding: 0 16px !important; letter-spacing: .01em !important; }
/* Desktop: "Wann wollt ihr kommen?" mittig zu den Eingabefeldern (nicht zu Label + Feld) */
@media (min-width: 701px){
  .tesc-datebar__title{ padding-top: 26px; }
}
@media (max-width: 700px){
  .tesc-datebar__inner{ padding: 14px 16px 18px; display: block; }
  .tesc-datebar__title{ display: none; }
  .tesc-datebar .hb-search-submit-wrapper, .tesc-datebar .hb-search-button-wrapper{ margin-top: 18px !important; }
}

@keyframes tesc-pulse{ 0%,100%{ opacity: .45; } 50%{ opacity: 1; } }

.tesc-availability{ padding: 56px 0 24px; }
.tesc-availability__lead{ font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--copy-size); margin: 10px 0 24px; max-width: 640px; }
.tesc-availability__cal{ background: transparent; color: var(--tesc-light); padding: 8px 0; }
.tesc-availability__cal .hb-avail-caption-wrapper{ margin: 16px 0 0; font-size: 17px; }

/* ==========================================================================
   BILDER ZUM DURCHBLÄTTERN (Slider an Ort und Stelle, z. B. auf "Das Haus")
   ========================================================================== */
.tesc-slider{ position: relative; width: 100%; height: 100%; }
.tesc-slider__track{
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.tesc-slider__track::-webkit-scrollbar{ display: none; }
.tesc-slider__track:focus-visible{ outline: 2px solid var(--tesc-orange); outline-offset: -2px; }
.tesc-slider__slide{ flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.tesc-slider__slide img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.tesc-slider__btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 0; padding: 0; cursor: pointer;
  background: rgba(45,45,45,.62); color: var(--tesc-light);
  transition: opacity .2s, background .2s;
}
.tesc-slider__btn svg{ width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tesc-slider__btn--prev{ left: 10px; }
.tesc-slider__btn--next{ right: 10px; }
.tesc-slider__btn:hover{ background: rgba(45,45,45,.85); }
.tesc-slider__btn:disabled{ opacity: 0; pointer-events: none; }
/* Am Handy wischt man, da reichen die Striche unten als Hinweis */
@media (hover: none){ .tesc-slider__btn{ display: none; } }

.tesc-slider__meta{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none;
  background: linear-gradient(to top, rgba(20,20,18,.55), rgba(20,20,18,0));
}
.tesc-slider__count{
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 15px;
  letter-spacing: .06em; color: var(--tesc-light);
}
.tesc-slider__dots{ display: flex; gap: 6px; }
.tesc-slider__dot{ width: 18px; height: 3px; background: rgba(253,250,250,.45); transition: background .2s, width .2s; }
.tesc-slider__dot.is-active{ width: 28px; background: var(--tesc-orange); }


/* ==========================================================================
   EINE SCHRIFT ÜBERALL: Formulare und das Buchungs-Plugin (HBook) erben
   sonst eigene Schriften (Browser-Standard bzw. Inter aus den
   HBook-Einstellungen). Hier zentral auf Barlow Condensed gesetzt.
   ========================================================================== */
button, input, select, textarea{ font-family: inherit; }
.hbook-wrapper, .hbook-wrapper *,
.hb-datepick-popup-wrapper, .hb-datepick-popup-wrapper *,
.hb-datepick-wrapper, .hb-datepick-wrapper *,
.hb-availability-calendar, .hb-availability-calendar *,
.hb-avail-caption-wrapper, .hb-avail-caption-wrapper *,
.hb-people-popup-wrapper, .hb-people-popup-wrapper *{
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif !important;
}
.hbook-wrapper{ font-size: 19px; }
.hbook-wrapper input[type="text"], .hbook-wrapper input[type="email"], .hbook-wrapper input[type="tel"],
.hbook-wrapper input[type="number"], .hbook-wrapper select, .hbook-wrapper textarea{ font-size: 19px !important; }

/* Grundriss-Zeichnung nie beschneiden */
.tesc-beat__photo img[src*="grundriss"], .tesc-slider__slide img[src*="grundriss"], .tesc-slider__slide img[data-src*="grundriss"]{
  object-fit: contain; background: var(--tesc-light);
}
.tesc-availability--inline{ padding: 64px 0 24px; }
.tesc-availability--inline .tesc-container{ width: auto; padding-inline: 0; }

/* ---------- Buchen: Eckdaten + Ausstattung oben, klickbarer Kalender ---------- */
.tesc-buchen-wrap{ max-width: 900px; margin: 0 auto; padding: 0 var(--gutter-mobile); box-sizing: content-box; }
.tesc-buchen-info{ padding: 48px 0 0; }
@media (max-width: 700px){ .tesc-buchen-info{ padding-top: 32px; } }
.tesc-buchen-info__title{
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: 22px; letter-spacing: .02em; color: var(--tesc-orange); margin: 0 0 12px;
}
.tesc-facts{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tesc-facts li{
  font-family: var(--font-display); font-weight: var(--weight-regular); font-size: 18px; line-height: 1.3;
  padding: 8px 14px; border: 1px solid rgba(253,250,250,.22);
}
.tesc-facts a{ color: inherit; text-underline-offset: 3px; }
.tesc-specs{ margin: 0; border-top: 1px solid rgba(253,250,250,.12); border-bottom: 1px solid rgba(253,250,250,.12); }
.tesc-specs + .tesc-specs{ border-top: 0; }
.tesc-specs summary{
  cursor: pointer; list-style: none; padding: 16px 0;
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase; font-size: 22px; letter-spacing: .02em;
  display: flex; justify-content: space-between; align-items: center;
}
.tesc-specs summary::-webkit-details-marker{ display: none; }
.tesc-specs summary::after{ content: "+"; font-size: 28px; font-weight: 300; color: var(--tesc-orange); }
.tesc-specs[open] summary::after{ content: "−"; }
.tesc-specs .tesc-dotlist{ margin: 4px 0 22px; }
.tesc-specs .tesc-dotlist a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Die Lage: Karte + Google-Maps-Link mittig */
.tesc-lage{ display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 6px 0 28px; text-align: center; }
.tesc-lage__map{ display: block; width: 100%; max-width: 560px; }
.tesc-lage__map img{ width: 100%; height: auto; display: block; }
/* Kalender als aufklappbare Sektion im Buchungsbereich */
details.tesc-availability{ padding: 0; margin-top: 0; }
details.tesc-availability .tesc-availability__lead{ margin-top: 0; }
details.tesc-availability .tesc-availability__cal{ padding-top: 0; }
.tesc-availability__cal .hb-avail-caption-wrapper{ display: none !important; }
.tesc-legend{ list-style: none !important; margin: 18px 0 26px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.tesc-legend li{ display: flex; align-items: center; gap: 10px; margin: 0 !important;
  font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--tesc-light); }
.tesc-legend__sw{ width: 30px; height: 24px; flex: 0 0 auto; border: 1px solid rgba(253,250,250,.25); background: #3a3a38; }
.tesc-legend__sw--taken{ background: linear-gradient(rgba(236,151,18,.4), rgba(236,151,18,.4)), #3a3a38; }
/* Buchung beginnt an dem Tag: Ecke unten rechts belegt, abreisen geht noch */
.tesc-legend__sw--out{ background: linear-gradient(135deg, transparent 50%, rgba(236,151,18,.4) 50%), #3a3a38; }
/* Buchung endet an dem Tag: Ecke oben links belegt, anreisen geht wieder */
.tesc-legend__sw--in{ background: linear-gradient(135deg, rgba(236,151,18,.4) 50%, transparent 50%), #3a3a38; }
/* Halb belegte Tage (An-/Abreisetag einer Buchung): dunkle Grundfarbe wie
   freie Tage, nur die belegte Hälfte orange (sonst weiß hinterlegt) */
.hb-day-taken-start, .hb-day-taken-end{ background: #3a3a38 !important; color: var(--tesc-light); }
/* Vergangene und gesperrte Tage nie als belegt einfärben */
.hb-dp-day-past.hb-day-fully-taken, .hb-dp-day-closed.hb-day-fully-taken,
.hb-dp-day-past.hb-day-taken-start, .hb-dp-day-past.hb-day-taken-end,
.hb-dp-day-closed.hb-day-taken-start, .hb-dp-day-closed.hb-day-taken-end{ background: rgb(38,38,38) !important; }
.hb-dp-day-past.hb-day-taken-start::before, .hb-dp-day-past.hb-day-taken-end::before,
.hb-dp-day-closed.hb-day-taken-start::before, .hb-dp-day-closed.hb-day-taken-end::before{ background: transparent !important; content: none !important; }
.tesc-page-content--buchen{ padding-top: 24px; }
@media (min-width: 900px){ .tesc-buchen-wrap{ padding: 0 64px; } }

#kalender .hb-day-available, #kalender .hb-day-taken-end, #kalender .hb-day-taken-start{ cursor: pointer; }
#kalender .hb-day-available:hover, #kalender .hb-day-taken-end:hover{ outline: 2px solid var(--tesc-orange); outline-offset: -2px; }
#kalender .tesc-pick{ background: var(--tesc-orange) !important; color: var(--tesc-anthracite) !important; }

/* Einheitlicher Abstand zum Footer am Seitenende (wie über dem Abschluss-Satz) */
.tesc-page-end{ padding-bottom: 104px !important; }
@media (max-width: 700px){ .tesc-page-end{ padding-bottom: 64px !important; } }

/* Buchen: Ladehinweis direkt unter dem Kalender, Ergebnisse erst zeigen wenn fertig */
.tesc-checking-note{ display: none; text-align: center; padding: 40px 0;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 24px; text-transform: uppercase;
  color: var(--tesc-light); animation: tesc-pulse 1.2s ease-in-out infinite; }
.tesc-booking-widget.tesc-loading .tesc-checking-note{ display: block; }
.tesc-booking-widget.tesc-loading .hb-accom-list,
.tesc-booking-widget.tesc-loading .hb-booking-details-form,
.tesc-booking-widget.tesc-loading .hb-search-error,
.tesc-booking-widget.tesc-loading .hb-search-no-result,
.tesc-booking-widget.tesc-loading .hb-booking-searching{ display: none !important; }
.tesc-cal-msg{ color: var(--tesc-orange); }

/* About/FAQ-Seite */
.tesc-about-facts{ list-style: none; padding: 0; margin: 0 0 1em; }
.tesc-about-facts li{ padding: 8px 0; border-bottom: 1px solid rgba(253,250,250,.12); }
.tesc-page-content--about .tesc-faq-accordion{ margin-top: 12px; }
@media (max-width: 700px){ .tesc-page-content:not(.tesc-page-content--buchen):not(.tesc-page-content--hi):not(.tesc-page-content--howto){ padding-top: 72px; } }
/* Buchen: Formular, Kalender und die Aufklapp-Sektionen exakt auf derselben
   linken Kante (gleiche Seitenränder wie .tesc-buchen-wrap) */
.tesc-page-content--buchen{ padding-left: 0 !important; padding-right: 0 !important; }
.tesc-page-content--buchen .tesc-booking-widget{ padding-left: var(--gutter-mobile); padding-right: var(--gutter-mobile); }
@media (min-width: 900px){ .tesc-page-content--buchen .tesc-booking-widget{ padding-left: 64px; padding-right: 64px; } }

/* Handy: Fließtexte einen Tick kleiner */
@media (max-width: 700px){
  :root{ --copy-size: 18px; }
  .tesc-page-content{ font-size: 18px; }
}

/* Eingabefelder (HBook): eckig, Linie so dünn wie der Unterstrich bei "Jetzt buchen" */
.hbook-wrapper input[type="text"], .hbook-wrapper input[type="email"], .hbook-wrapper input[type="tel"],
.hbook-wrapper input[type="number"], .hbook-wrapper select, .hbook-wrapper textarea,
.hbook-wrapper .selectize-input{
  border: 1px solid rgba(253,250,250,.85) !important; border-radius: 0 !important; box-shadow: none !important;
}
.hbook-wrapper input[type="submit"], .hbook-wrapper button{ border-radius: 0 !important; border-width: 1px !important; }

/* Die Gegend: Lage-Block wie auf Buchen (Karte groß, Link mittig darunter) */
.tesc-beat__lage{ flex: 0 0 50%; max-width: 640px; min-width: 0; }
.tesc-beat__lage .tesc-lage{ padding: 0; }
.tesc-beat__lage .tesc-lage__map{ max-width: none; }
@media (max-width: 999px){ .tesc-beat__lage{ flex: none; width: 100%; max-width: none; } }
/* Buchen: "Wann ist noch frei?" eingeklappt (Kalender bleibt in voller Breite aufgebaut) */
.tesc-specs.tesc-closed .tesc-collapse{ height: 0; overflow: hidden; visibility: hidden; }
.tesc-specs.tesc-closed summary::after{ content: "+"; }

/* Buchungsformular: mehr Luft über "Gebt eure Daten ein" und rund um die Reservierungsübersicht */
.tesc-booking-widget .hb-details-fields > h3.hb-title{ margin-top: 64px !important; }
.tesc-booking-widget .hb-resa-summary-title{ margin-bottom: 20px !important; }
.tesc-booking-widget .hb-resa-summary{ margin-bottom: 56px !important; }

/* ---------- Menü scrollt immer mit (alle Seiten) ---------- */
.tesc-heronav{ transition: background-color .25s ease, padding .25s ease, backdrop-filter .25s ease; }
.tesc-heronav__logo{ transition: height .25s ease; }
.admin-bar .tesc-heronav{ top: 32px; }
@media (max-width: 782px){ .admin-bar .tesc-heronav{ top: 46px; } }
.tesc-heronav.is-scrolled{
  background: rgba(20,20,18,.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding-top: 10px; padding-bottom: 10px;
}
.tesc-heronav.is-scrolled .tesc-heronav__logo{ height: 48px; }
@media (min-width: 700px){ .tesc-heronav.is-scrolled .tesc-heronav__logo{ height: 56px; } }

/* ---------- Buchen ---------- */
/* Headerbild am Desktop niedriger */
@media (min-width: 701px){ .tesc-subhero--compact{ height: 380px; } }
.tesc-page-content--buchen{ padding-top: 32px !important; }
/* "Gut zu wissen" als Bento-Kacheln */
.tesc-buchen-facts{ padding: 24px 0 104px; }
@media (max-width: 700px){ .tesc-buchen-facts{ padding-bottom: 64px; } }
.tesc-bento{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
@media (min-width: 760px){ .tesc-bento{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.tesc-bento__tile{
  margin: 0; padding: 20px 20px 18px; background: #3a3a38;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 120px;
}
.tesc-bento__tile--wide{ grid-column: span 2; }
.tesc-bento__big{
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: 34px; line-height: 1; letter-spacing: -0.01em; color: var(--tesc-light);
}
.tesc-bento__tile:first-child .tesc-bento__big{ color: var(--tesc-orange); }
.tesc-bento__text{
  font-family: var(--font-display); font-weight: var(--weight-regular); font-size: 18px; line-height: 1.3;
  color: var(--tesc-light); opacity: .85;
}
.tesc-bento__text a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 420px){ .tesc-bento__big{ font-size: 28px; } .tesc-bento__tile{ padding: 16px; min-height: 104px; } }

/* "Verfügbarkeit wird geprüft": deutlich, mit Ladesymbol */
.tesc-booking-widget.tesc-loading .tesc-checking-note{ display: flex; }
.tesc-checking-note{
  align-items: center; justify-content: center; gap: 16px; margin: 24px 0 0; padding: 36px 20px;
  background: #3a3a38; border: 1px solid rgba(236,151,18,.6);
  animation: none; font-size: 26px; letter-spacing: .01em;
}
.tesc-checking-note > span:last-child{ animation: tesc-pulse 1.4s ease-in-out infinite; }
.tesc-spinner{
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%;
  border: 3px solid rgba(253,250,250,.2); border-top-color: var(--tesc-orange);
  animation: tesc-spin .8s linear infinite;
}
@keyframes tesc-spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .tesc-spinner{ animation-duration: 2s; } }
@media (max-width: 700px){ .tesc-checking-note{ font-size: 21px; padding: 28px 16px; } }

/* Länderauswahl im Buchungsformular (HBook nutzt "selectize"): gewähltes Land gut lesbar,
   Feld einzeilig wie die anderen, Liste dunkel im Seitenstil */
.hbook-wrapper .selectize-control.single .selectize-input{
  display: flex !important; align-items: center; flex-wrap: nowrap; min-height: 46px; height: 46px;
  background: #3a3a38 !important; color: var(--tesc-light) !important; font-size: 19px !important; line-height: 1.2 !important;
  padding: 0 34px 0 14px !important; cursor: text;
}
.hbook-wrapper .selectize-input > .item{ color: var(--tesc-light) !important; font-size: 19px !important; line-height: 1.2 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbook-wrapper .selectize-input > input{ color: var(--tesc-light) !important; font-size: 19px !important; }
.hbook-wrapper .selectize-control.single .selectize-input::after{ border-top-color: var(--tesc-light) !important; right: 14px !important; }
.selectize-dropdown{ background: #3a3a38 !important; color: var(--tesc-light) !important; border: 1px solid rgba(253,250,250,.85) !important; border-top: 0 !important; border-radius: 0 !important; }
.selectize-dropdown .option{ font-size: 18px !important; padding: 8px 14px !important; color: var(--tesc-light) !important; }
.selectize-dropdown .active{ background: rgba(236,151,18,.35) !important; color: var(--tesc-light) !important; }
.selectize-dropdown .highlight{ background: transparent !important; color: var(--tesc-orange) !important; }
.selectize-dropdown-content{ max-height: 280px; }

/* Buchungsbestätigung und Zahlungsschritt im Seitenrahmen halten (lange Texte/IDs umbrechen) */
.tesc-booking-widget{ box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.tesc-booking-widget img, .tesc-booking-widget iframe{ max-width: 100%; }
.tesc-booking-widget table{ width: 100%; table-layout: fixed; }
.tesc-booking-widget .hb-resa-done-msg, .tesc-booking-widget .hb-resa-payment-msg,
.tesc-booking-widget .hb-confirm-area, .tesc-booking-widget .hb-payment-info{ max-width: 900px; margin-left: auto; margin-right: auto; }

/* Zwischenschritt: Endreinigung + Gesamtpreis in der Preisübersicht */
.tesc-fee-total .hb-price-breakdown-title{ font-weight: var(--weight-bold); }

/* ---------- Buchen: Zwischenschritt (Preis) ---------- */
/* Preisübersicht immer offen, ohne Datumszeile und ohne Ein-/Ausblenden-Link */
.tesc-booking-widget .hb-price-breakdown{ display: block !important; margin: 16px 0 0 !important; }
.tesc-booking-widget .hb-price-breakdown-section,
.tesc-booking-widget .hb-view-price-breakdown,
.tesc-booking-widget .hb-accom-price-caption-dash,
.tesc-booking-widget .hb-accom-price-caption br{ display: none !important; }
.tesc-booking-widget .hb-price-breakdown-accom{ display: block; padding: 3px 0; }
.tesc-booking-widget .hb-accom-price-caption{ font-size: 21px !important; line-height: 1.3; }
.tesc-booking-widget .hb-price-breakdown-title{ font-weight: var(--weight-regular) !important; }
.tesc-booking-widget .tesc-fee-total .hb-price-breakdown-title{ font-weight: var(--weight-bold) !important; }

/* ---------- Buchen: Reservierungsübersicht (Reihenfolge + Gliederung) ---------- */
.tesc-booking-widget .hb-resa-summary-content{ display: flex; flex-direction: column; }
.tesc-booking-widget .hb-resa-summary-content > br,
.tesc-booking-widget .hb-summary-accom-wrapper > br{ display: none; }
.tesc-booking-widget .hb-resa-summary-details{ order: 1; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(253,250,250,.15); }
.tesc-booking-widget .hb-resa-summary-details > div{ padding: 3px 0; }
.tesc-booking-widget .hb-summary-accom-wrapper{ order: 2; }
.tesc-booking-widget .hb-final-fees-wrapper{ order: 3; }
.tesc-booking-widget .hb-summary-accom-price,
.tesc-booking-widget .hb-summary-fee{ padding: 3px 0; }
.tesc-booking-widget .hb-summary-total-price{ order: 4; padding: 10px 0 3px; margin-top: 10px; border-top: 1px solid rgba(253,250,250,.15); font-weight: var(--weight-bold); }
.tesc-booking-widget .hb-summary-deposit{
  order: 5; margin-top: 16px; font-size: 28px; line-height: 1.2; font-weight: var(--weight-bold); color: var(--tesc-orange);
}
.tesc-booking-widget .hb-payment-data-summary,
.tesc-booking-widget .hb-summary-bottom-text{ order: 6; }

/* Handy: "Suche" so breit wie die Felder darüber */
@media (max-width: 700px){
  .tesc-booking-widget .hb-search-fields > .hb-search-submit-wrapper,
  .tesc-booking-widget .hb-search-fields > .hb-search-button-wrapper{
    flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin: 0 !important;
  }
  .tesc-booking-widget .hb-button-wrapper input{ width: 100% !important; }
}

/* Zwischenschritt: ohne Kasten/Hintergrund, gleiche Breite wie das Formular im nächsten Schritt */
.tesc-booking-widget .hb-accom-list{ max-width: none !important; margin: 40px 0 0 !important; }
.tesc-booking-widget .hb-accom-list .hb-accom,
.tesc-booking-widget .hb-accom-step-wrapper,
.tesc-booking-widget .hb-accom-list .hb-accom-price-total{
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.tesc-booking-widget .hb-accom-list .hb-accom{ padding: 0 !important; margin: 0 0 24px !important; }

/* ---------- Buchen: alles auf voller Layoutbreite (wie Bento & Kalender) ---------- */
.tesc-booking-widget .hb-booking-details-form,
.tesc-booking-widget .hb-booking-details-form > div,
.tesc-booking-widget .hb-confirm-area,
.tesc-booking-widget .hb-resa-summary{ max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
/* Check-in/Check-out-Leiste: Felder nutzen die ganze Breite, Button daneben */
@media (min-width: 701px){
  .tesc-booking-widget .hb-search-fields{ justify-content: flex-start; flex-wrap: nowrap; }
  .tesc-booking-widget .hb-search-fields > p{ flex: 1 1 0 !important; max-width: none !important; }
  .tesc-booking-widget .hb-search-fields > .hb-search-submit-wrapper,
  .tesc-booking-widget .hb-search-fields > .hb-search-button-wrapper{ flex: 0 0 auto !important; }
}
/* Reservierungsübersicht: ohne Hintergrund, weißer eckiger Rahmen */
.tesc-booking-widget .hb-resa-summary-content{
  background: transparent !important; border: 1px solid rgba(253,250,250,.85) !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 24px 28px !important;
}
@media (max-width: 700px){
  .tesc-booking-widget .hb-resa-summary-content{ padding: 18px 16px !important; }
  .tesc-booking-widget .hb-summary-deposit{ font-size: 24px; }
}
/* HBooks Clearfix-Pseudoelemente zählen in Flex-Zeilen sonst als eigenes Element (+ Lücke) */
.tesc-booking-widget .hb-search-fields::before,
.tesc-booking-widget .hb-search-fields::after{ display: none !important; content: none !important; }
/* Kreditkartenbereich (Stripe): ohne Füllung, weißer eckiger Rahmen wie die
   Reservierungsübersicht. Das Kartenfeld selbst bekommt per JS dunkle Farben
   (siehe page-buchen.php), damit die Beschriftungen lesbar bleiben. */
.tesc-booking-widget .hb-payment-form{
  background: transparent !important; border: 1px solid rgba(253,250,250,.85) !important; border-radius: 0 !important;
  color: var(--tesc-light) !important; padding: 24px 28px !important;
}
/* "Sichere Zahlungen - SSL verschlüsselt" mit Schloss: mehr Luft nach oben */
.tesc-booking-widget .hb-stripe-payment-form-txt-bottom{ margin-top: 32px !important; }
@media (max-width: 700px){ .tesc-booking-widget .hb-payment-form{ padding: 18px 16px !important; } }
/* Checkboxen (AGB/Datenschutz) bündig zur ersten Textzeile */
.tesc-booking-widget .hb-policies-area input[type="checkbox"]{ margin: 0 8px 0 0; vertical-align: -2px; }
/* Hinweis "Wir bitten euch um eure Kreditkartennummer, aber es wird jetzt keine Gebühr erhoben." ausblenden */
.tesc-booking-widget .hb-payment-type-explanation-store_credit_card{ display: none !important; }

/* ---------- Zahlungslink-Seite (Restzahlung) ---------- */
.tesc-page-content--payment{ padding-top: 48px !important; padding-bottom: 104px !important; }
.tesc-payment-page__title{
  font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase;
  font-size: var(--section-h1-size); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px;
}
.tesc-payment-page__lead{ font-family: var(--font-display); font-size: var(--copy-size); line-height: 1.4; margin: 0 0 32px; opacity: .9; }
.tesc-payment-page .hbook-wrapper,
.tesc-payment-page form{ max-width: none !important; width: 100% !important; }
.tesc-payment-page ul{ list-style: none; padding-left: 0; }
.tesc-payment-page li:empty, .tesc-payment-page p:empty{ display: none; }
/* Zahlungslink-Seite: HBook-Überschrift doppelt (wir haben schon eine), Auswahlpunkte ohne Funktion ausblenden */
.tesc-payment-page .hb-payment-link-form-title{ display: none; }
.tesc-payment-page .hb-payment-link-form input[type="radio"],
.tesc-payment-page .hb-payment-method-hidden,
.tesc-payment-page #hb-payment-form-select-for-selectize-styles{ display: none !important; }
.tesc-payment-page .hb-processing-later-payment{ display: none; }
.tesc-payment-page .hb-payment-link-explanation{ font-family: var(--font-display); font-size: var(--copy-size); line-height: 1.4; margin: 0 0 28px; }
.tesc-payment-page .hb-payment-link-amount-text{
  display: inline-block; margin-top: 8px; font-size: 28px; line-height: 1.2; font-weight: var(--weight-bold); color: var(--tesc-orange);
}
.tesc-payment-page .hb-later-payment-txt-before-confirm-button{ margin: 24px 0 16px; opacity: .85; }
.tesc-payment-page .hb-confirm-button input[type="submit"]{ min-width: 220px; }
@media (max-width: 700px){ .tesc-payment-page .hb-confirm-button input[type="submit"]{ width: 100%; } .tesc-payment-page .hb-payment-link-amount-text{ font-size: 24px; } }
