/* =====================================================
   THEME CONFIGURATION (Fallbacks)
   (Diese :root Werte sind nur Fallbacks – site_cms.php
   kann sie per <style> im <head> überschreiben.)
===================================================== */
:root {
  /* === THEME: DARK LUXURY (Fallback) === */
  --color-bg: #0b0b0b;
  --color-surface: #151515;
  --color-header-bg: rgba(11,11,11,0.95);

  --color-text-main: #ffffff;
  --color-text-muted: #a0a0a0;
  --color-text-inverse: #000000;

  --color-accent: #d4af37;
  --color-border: rgba(255,255,255,0.1);

  --shadow-color: rgba(0,0,0,0.5);
  --shadow-accent: rgba(212,175,55,0.15);

  /* Fonts (Fallback) */
--font-body: 'Poppins', sans-serif;
--font-heading: 'Poppins', sans-serif;

/* Legacy alias (damit dein bestehendes CSS weiter funktioniert) */
--font-main: var(--font-body);

  --container-width: 1200px;
  --transition-speed: 0.4s;
  --border-radius: 4px;

  /* CMS injected vars (fallbacks) */
  --btn-bg: transparent;
  --btn-text: var(--color-accent);
  --btn-border: var(--color-accent);
  --btn-hover-bg: var(--color-accent);
  --btn-hover-text: var(--color-text-inverse);

  --header-logo-height: 50px;
  --map-filter: grayscale(100%) invert(90%) contrast(110%);

  /* (fallbacks if CMS not set) */
  --hdr-bg: transparent;
  --hdr-bg-scrolled: #FFFFFFFF;
  --hdr-text: #fff;
  --hdr-text-scrolled: #111;
  --hdr-border-scrolled: rgba(0,0,0,0.10);

  --hm-bg: #3C3732FF;
  --hm-text: #fff;
  --hm-accent: #B89A62;

  --logo-h: 72px;
  --logo-h-scrolled: 44px;

  --hdr-menu-fs: 12px;
  --hdr-menu-ls: .10em;
  --hdr-menu-fs-m: 11px;
  --hdr-act-fs: 13px;
  --hdr-act-ico: 16px;

  --hdr-lang-fs: 13px;
  --hdr-lang-fs-m: 11px;

  --hm-head-fs: 14px;
  --hm-link-fs: 13px;
  --hm-col-min: 180px;
  --hm-gap: 36px;

  --logo-hm: 34px;
  --logo-hm-m: 28px;

  /* Footer vars are set inline on <footer id="contact"> via footer_render() */
}

/* =====================================================
   DYNAMISCHE TEXT-MARKIERUNG (CMS DRIVEN)
===================================================== */
::selection {
    background-color: var(--color-accent);
    color: #ffffff;
}
::-moz-selection {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* =====================================================
   BASE / RESET
===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  scrollbar-gutter: stable;
}
html, body {
  background-color: var(--color-bg);
  height: 100%;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body, var(--font-main));
  color: var(--color-text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

main{
  flex: 1 0 auto;
  display: block;
  padding-top: var(--hdr-offset, 90px);
}

body:has(.hero) main { padding-top: 0; }

footer{ flex-shrink: 0; }

a { text-decoration: none; color: inherit; transition: var(--transition-speed); }
img { width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =========================
   TYPOGRAPHY – better readability
========================= */
:root{
  --fs-body: clamp(1rem, 0.25vw + 0.9375rem, 1.125rem);
  --fs-p: clamp(1rem, 0.15vw + 0.96875rem, 1.125rem);
  --fw-body: 400;
  --fw-copy: 400;
}

body{
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading, var(--font-main));
}

main p,
main td,
main li{
  font-size: var(--fs-p);
  font-weight: var(--fw-copy);
  line-height: 1.75;
}

.cb-desc,
.feature-item p,
.faq-content,
.card-text{
  font-weight: var(--fw-copy);
}

/* =====================================================
   CMS RICHTEXT
===================================================== */
.cms-richtext > *:first-child{ margin-top: 0 !important; }
.cms-richtext > *:last-child{ margin-bottom: 0 !important; }

.cms-richtext p{
  margin: 0 0 14px 0 !important;
}

.cms-richtext h1,
.cms-richtext h2,
.cms-richtext h3,
.cms-richtext h4,
.cms-richtext h5{
  margin: 22px 0 12px 0 !important;
}

.cms-richtext ul,
.cms-richtext ol{
  margin: 0 0 14px 0 !important;
  padding-left: 1.5rem !important;
  list-style-position: outside !important;
}

.cms-richtext ul{
  list-style-type: disc !important;
}

.cms-richtext ol{
  list-style-type: decimal !important;
}

.cms-richtext li{
  display: list-item !important;
  margin: 0 0 8px 0 !important;
}

.cms-richtext ul ul{
  list-style-type: circle !important;
}

.cms-richtext ul ul ul{
  list-style-type: square !important;
}

.cms-richtext ol ol{
  list-style-type: lower-alpha !important;
}

.text-only-section .cms-richtext { 
  text-align: left;
}

/* =====================================================
   UTILITIES
===================================================== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

.section {
  padding-top: var(--sec-pt, 100px) !important;
  padding-bottom: var(--sec-pb, 100px) !important;
  padding-left: 0;
  padding-right: 0;
}

.bg-surface,
.section.bg-surface { background-color: var(--color-surface); }

/* =====================================================
   BUTTONS (theme-aware, CMS-driven)
===================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 32px;
  background-color: var(--btn-bg, transparent);
  border: 1px solid var(--btn-border, var(--color-accent));
  color: var(--btn-text, var(--color-accent));

  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;

  cursor: pointer;
  transition: background-color var(--transition-speed),
              color var(--transition-speed),
              border-color var(--transition-speed),
              transform 0.15s ease;
  margin-top: 20px;
  border-radius: 0;
}

.btn:hover{
  background-color: var(--btn-hover-bg, var(--color-accent));
  color: var(--btn-hover-text, var(--color-text-inverse));
  border-color: var(--btn-hover-bg, var(--color-accent));
  transform: translateY(-1px);
}

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


.btn-solid{
  background-color: var(--btn-bg, var(--color-accent));
  color: var(--btn-text, var(--color-text-inverse));
  border-color: var(--btn-border, var(--color-accent));
}

.btn-solid:hover{
  background-color: var(--btn-hover-bg, var(--color-accent));
  color: var(--btn-hover-text, var(--color-text-inverse));
  border-color: var(--btn-hover-bg, var(--color-accent));
  transform: translateY(-1px);
}

/* =====================================================
   LEGACY HEADER & NAV (nur für #header)
===================================================== */
#header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  padding: 20px 0;
  transition: all 0.4s ease;

  background-color: var(--color-header-bg);
  backdrop-filter: blur(10px);
}

#header.scrolled{
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 5px 20px var(--shadow-color);
}

#header .nav-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .logo img{
  height: var(--header-logo-height, 50px);
  width: auto;
}

#header .nav-links{
  display: flex;
  gap: 35px;
  align-items: center;
}

#header .nav-links a{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.85;
  color: var(--color-text-main);
}

#header .nav-links a:hover,
#header .nav-links a.active{
  opacity: 1;
  color: var(--color-accent);
}

#header .lang-switch{
  display: flex;
  gap: 10px;
  border-left: 1px solid var(--color-border);
  padding-left: 20px;
  margin-left: 10px;
}

#header .lang-btn{
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.85rem;
}
#header .lang-btn.active{
  color: var(--color-accent);
  font-weight: 700;
}

#header .hamburger{
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-main);
}

/* =====================================================
   HERO
===================================================== */
.hero{
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 6s ease;
  transform: scale(1.05);
  z-index: 0;

  background-size: cover;
  background-position: center;
}

.hero-bg.active{
  opacity: 1;
  transform: scale(1);
}

.hero .hero-bg > video.hero-video{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0;
}

.hero .hero-bg > iframe.hero-embed{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: 100vw !important;
  height: 56.25vw !important;
  min-width: 177.78vh !important;
  min-height: 100vh !important;

  border: 0 !important;
  z-index: 0;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.28), rgba(0,0,0,0.72));
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-pre{
  display: block;
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  animation: slideDown 1s ease-out;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.hero h1{
  font-size: clamp(2.2rem, 4vw + 1rem, 4.5rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease-out;
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(0,0,0,0.65);
}

.hero-btn-wrapper{ animation: slideUp 1s ease-out 0.5s backwards; }

/* =====================================================
   CONTENT BLOCKS
   
   ZOOM-FIX: Bilder bekommen max-height um bei Zoom
   nicht überdimensional groß zu werden. Das Layout
   bleibt erhalten weil die Breakpoints auf rem basieren.
===================================================== */
.content-block{
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 80px);
  transition: align-items 0.4s ease;
}
.content-block.reversed{ flex-direction: row-reverse; }

.cb-text{ flex: 1; min-width: 0; }
.cb-image-container{ 
  flex: 1; 
  position: relative; 
  transition: padding-top 0.4s ease;
  min-width: 0;
  /* ZOOM-FIX: Bild-Container begrenzen damit Bilder bei Zoom nicht explodieren */
  max-width: 50%;
}

.cb-slider-wrapper{
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: -20px 20px 0px var(--shadow-accent);
  overflow: hidden;
}
.content-block.reversed .cb-slider-wrapper{
  box-shadow: 20px 20px 0px var(--shadow-accent);
}

.cb-slider{ display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.cb-slide{ min-width: 100%; height: auto; }
.cb-slide img{ 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  /* ZOOM-FIX: Bild nie höher als 70vh um bei Zoom nicht den ganzen Viewport zu füllen */
  max-height: 70vh;
}

.cb-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  border-radius: 50%;
  opacity: 0;
}
.cb-image-container:hover .cb-nav{ opacity: 1; }
.cb-nav:hover{ background: var(--color-accent); color: var(--color-text-inverse); }
.cb-prev{ left: 10px; }
.cb-next{ right: 10px; }

.cb-subtitle{
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
}
.cb-title{
  font-size: clamp(1.6rem, 2vw + 0.5rem, 2.5rem);
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-main);
}
.cb-desc{
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-weight: 300;
}

/* =========================
   Content Block Slider – Pagination + Touch
========================= */
.cb-slider-wrapper{
  touch-action: pan-y;
}

.cb-pagination{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 12;
}

.cb-dot{
  width: 34px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: transform var(--transition-speed), background var(--transition-speed), opacity var(--transition-speed);
  opacity: 0.95;
}

.cb-dot:hover{ transform: scaleX(1.05); }

.cb-dot.is-active{
  background: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
  opacity: 1;
}

.cb-dot:focus-visible{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}

@media (hover: none), (pointer: coarse), (max-width: 56.25rem){
  .cb-image-container .cb-nav{
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .cb-image-container.is-mobile-nav-visible .cb-nav{
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 520px){
  .cb-dot{ width: 24px; height: 4px; }
  .cb-pagination{ bottom: 10px; gap: 7px; padding: 7px 9px; }
}

/* =====================================================
   FEATURES
===================================================== */
.features{
  background-color: var(--color-surface);
  padding: 80px 0;
}

.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}
.feature-item i{
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.feature-item h3{
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-text-main);
}
.feature-item p{
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* =====================================================
   TEXT ONLY
===================================================== */
.text-only-section {
    width: 100%;
    margin: 0;
    display: block;
}

.text-only-section .cms-richtext {
    width: 100%;
    max-width: none; 
    text-align: left;
}

.text-only-section .cms-richtext > * {
    max-width: var(--text-only-maxw, 1120px);
    margin-right: auto;
    margin-left: 0;
    box-sizing: border-box;
}

.text-only-section.is-center .cms-richtext {
    text-align: center !important;
}

.text-only-section.is-center .cms-richtext > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-only-section .cms-richtext .ql-align-center,
.text-only-section .cms-richtext [style*="text-align: center"],
.text-only-section .cms-richtext [style*="text-align:center"],
.text-only-section .cms-richtext center {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-only-section .cms-richtext .ql-align-left,
.text-only-section .cms-richtext [style*="text-align: left"],
.text-only-section .cms-richtext [style*="text-align:left"] {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 100%;
}

.text-only-section .cb-subtitle,
.text-only-section .cb-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: var(--text-only-maxw, 1120px);
}

.text-only-section .cms-richtext hr {
    width: 100%;
    max-width: var(--to-maxw, 1120px);
    margin: 30px auto !important;
    border: 0;
    border-top: 1px solid #ccc;
    display: block;
}

.text-only-section.is-center .cms-richtext hr {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =====================================================
   GALLERY
===================================================== */
.gallery-grid{
  display: grid;
  gap: clamp(16px, 1.8vw, 28px);
  margin: 0 auto 40px;
  width: 100%;
  max-width: min(1560px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item{
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
}

.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-overlay{
  border-radius: inherit;
}

/* =====================================================
   FAQ
===================================================== */
.faq-container{ max-width: 900px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--color-border); margin-bottom: 10px; }
.faq-header{
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.faq-title{ font-size: 1.2rem; font-weight: 600; color: var(--color-text-main); }
.faq-icon{ transition: transform 0.3s; color: var(--color-accent); }
.faq-body{ max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-content{ padding-bottom: 25px; color: var(--color-text-muted); font-weight: 300; }
.faq-item.active .faq-header .faq-title{ color: var(--color-accent); }
.faq-item.active .faq-icon{ transform: rotate(180deg); }

/* =====================================================
   MAP
===================================================== */
.map-section{ padding: 0; }
.map-container{
  width: 100%;
  height: 450px;
  filter: var(--map-filter, grayscale(100%) invert(90%) contrast(110%));
  margin-bottom: -5px;
}

/* =====================================================
   FOOTER
===================================================== */
footer#contact{
  background-color: var(--footer-bg, #050505);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--footer-border, #141414);
  color: var(--footer-text, #ffffff);
}

footer#contact .footer-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

footer#contact .footer-col h4{
  color: var(--footer-text, #ffffff);
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 600;
}

footer#contact .footer-col p,
footer#contact .footer-col a{
  color: var(--footer-muted, #a0a0a0);
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

footer#contact .social-links{
  display:flex;
  gap:15px;
  margin-top:20px;
}

footer#contact .social-links a{
  width: 40px;
  height: 40px;
  border: 1px solid var(--footer-muted, #A0A0A0);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition: 0.3s;
  color: var(--footer-muted, #A0A0A0);
}
footer#contact .social-links a i{ color: var(--footer-muted, #A0A0A0); }
footer#contact .social-links a:hover{
  border-color: var(--footer-accent, #D4AF37);
  color: var(--footer-accent, #D4AF37);
}
footer#contact .social-links a:hover i{ color: var(--footer-accent, #D4AF37); }

footer#contact .footer-col .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 100%;
  padding: 12px 18px;
  margin-top: 14px;
  line-height: 1;
  text-align: center;
}

footer#contact .footer-bottom{
  text-align:center;
  padding-top:30px;
  border-top: 1px solid var(--footer-border, #141414);
  font-size: 0.8rem;
  color: var(--footer-muted, #666666);
}
footer#contact .footer-bottom a{ color: var(--footer-muted, #a0a0a0); }
footer#contact .footer-bottom a:hover{ color: var(--footer-accent, #D4AF37); }

/* =====================================================
   LIGHTBOX
===================================================== */
.lightbox{
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open{ display: flex; opacity: 1; }
.lightbox-content{ max-width: 90%; max-height: 90vh; position: relative; }
#lightbox-img{ max-width: 100%; max-height: 85vh; box-shadow: 0 0 30px rgba(0,0,0,0.8); }
.lightbox-close{ position: absolute; top: 30px; right: 30px; color: #fff; font-size: 2rem; cursor: pointer; transition: 0.3s; }
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
  transition: 0.3s;
  user-select: none;
}
.lightbox-nav:hover{ color: var(--color-accent); }
.lb-prev{ left: 20px; }
.lb-next{ right: 20px; }

/* =====================================================
   COLLAPSIBLE GROUP
===================================================== */
.collapse-group .cg-body{
  overflow:hidden;
  max-height:0;
  transition:max-height .35s ease;
}
.collapse-group .cg-item{ padding:70px 0; }

.cg-toggle{
  margin:18px auto 0;
  width:54px; height:54px;
  display:flex; align-items:center; justify-content:center;
  border-radius:14px;

  border:1px solid var(--color-accent);
  background: var(--shadow-accent);
  color: var(--color-accent);

  cursor:pointer;
  transition: background .2s ease, transform .15s ease, border-color .2s ease, color .2s ease;
}
.cg-toggle:hover{
  background: var(--shadow-accent);
  transform: translateY(-1px);
}
.collapse-group.open .cg-toggle i{ transform: rotate(180deg); }

/* =====================================================
   CARDS (Grid + Carousel) – THEME-AWARE
   
   ZOOM-FIX: Cards bleiben immer lesbar durch
   minmax() statt feste Spaltenanzahl bei großem Zoom.
===================================================== */
.cards-grid{
  display: grid;
  gap: 24px;
  padding: 10px 10px 14px;
  /* ZOOM-FIX: auto-fill statt fixe Spalten, damit bei Zoom automatisch
     weniger Spalten angezeigt werden wenn der Platz nicht reicht */
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  width: 100%;
}
.cards-grid > *{ min-width: 0; }

/* Wenn CMS explizit --cols setzt, nutze das als Maximum */
.cards-grid[style*="--cols"]{
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.card-item{
  position: relative;
  display: flex;
  flex-direction: column;

  background: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);

  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 18px 45px var(--shadow-color);

  transform: translateZ(0);
  will-change: transform;

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

.card-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00) 0%,
    rgba(0,0,0,0.08) 45%,
    rgba(0,0,0,0.12) 100%
  );
  pointer-events:none;
  opacity: 0.22;
}

.card-media, .card-body{ position:relative; z-index:1; }

.card-item:hover{
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow:
    0 22px 55px var(--shadow-color),
    0 0 0 1px var(--color-accent),
    0 0 0 6px var(--shadow-accent);
}

.card-media img{
  width:100%;
  height:190px;
  object-fit:cover;
  display:block;
}

.card-body{
  padding:18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  min-height:0;
}

.card-body h3{ color: var(--color-text-main); }

.card-text{
  color: var(--color-text-muted);
  font-size:.95rem;
  line-height:1.6;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.card-cta{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--color-accent);
  font-weight:700;
  font-size:.95rem;
  text-decoration: none;
}
.card-cta:hover{ text-decoration: underline; }

/* Carousel */
.cards-carousel{
  --visible: 3;
  --cardw: 340px;
  --gap: 24px;
  --pad: 70px;
  --cardh: 520px;
  --arrowSize: 52px;

  position:relative;
  width:100%;
  max-width: calc((var(--visible) * var(--cardw)) + ((var(--visible) - 1) * var(--gap)) + (2 * var(--pad)));
  margin: 0 auto;
  padding: 0 var(--pad);
  display:flex;
  align-items:center;
  justify-content:center;
}

.cc-arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: var(--arrowSize);
  height: var(--arrowSize);
  border-radius:14px;

  border:1px solid var(--color-accent);
  background: rgba(0,0,0,0.45);
  color: var(--color-accent);

  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;

  box-shadow: 0 12px 28px var(--shadow-color);
  transition: background .2s ease, transform .15s ease, opacity .2s ease;
}
.cc-arrow.prev{ left:12px; }
.cc-arrow.next{ right:12px; }

.cc-arrow:hover{
  background: rgba(0,0,0,0.60);
  transform: translateY(-50%) translateY(-1px);
}
.cards-carousel.cc-no-scroll .cc-arrow{ opacity:.35; pointer-events:none; }

.cc-viewport{
  width: calc((var(--visible) * var(--cardw)) + ((var(--visible) - 1) * var(--gap)));
  overflow:hidden;
  border-radius:18px;
}

.cc-track{
  display:flex;
  gap: var(--gap);
  padding: 6px 0 12px;
}

.cards-carousel .card-item{
  flex: 0 0 var(--cardw);
  width: var(--cardw);
  height: var(--cardh);
}
.cards-carousel .card-media img{ height:190px; }
.cards-carousel .card-body{ flex:1; min-height:0; }

/* =====================================================
   RESPONSIVE – ZOOM-SAFE BREAKPOINTS
   
   KERNFIX: Alle Breakpoints sind jetzt in rem statt px.
   Bei 200% Zoom bleibt ein 1920px Monitor bei ~60rem 
   EFFEKTIV, aber da rem MIT zoomt, triggert der 
   Breakpoint @media(max-width: 60rem) NICHT.
   
   px-Breakpoints: 960px / 16 = 60rem → triggert bei Zoom
   rem-Breakpoints: 60rem bleibt 60rem egal welcher Zoom
   
   Dadurch bleibt das Desktop-Layout bei Zoom erhalten
   und nur der Content wird proportional größer.
===================================================== */

/* 
   TABLET BREAKPOINT: 60.5rem ≈ 968px bei 100% Zoom
   Bei 200% Zoom: Der Viewport ist zwar 960px physisch,
   aber 60rem in rem-Einheiten — triggert also NICHT.
*/
@media (max-width: 60.5rem){
  .content-block { flex-direction: column; gap: 40px; }
  .content-block.reversed { flex-direction: column; }
  
  /* ZOOM-FIX: Im gestapelten Modus darf das Bild die volle Breite nutzen */
  .cb-image-container {
    max-width: 100%;
  }

  /* LEGACY mobile nav (nur #header) */
  #header .nav-links{
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 40px;
    transform: translateY(-150%);
    transition: 0.4s;
    border-bottom: 1px solid var(--color-border);
  }
  #header .nav-links.active{ transform: translateY(0); }
  #header .hamburger{ display: block; }

  #header .lang-switch{
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Gallery: Tablet */
@media (max-width: 68.75rem){
  .gallery-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

/* Gallery: Mobile */
@media (max-width: 42.5rem){
  .gallery-grid{
    grid-template-columns: 1fr;
  }
  .gallery-item{
    aspect-ratio: 16 / 10;
  }
}

/* SMALL MOBILE: 30rem ≈ 480px bei 100% */
@media (max-width: 30rem){
  .cb-title { font-size: 2rem; }

  .section {
    padding-top: var(--sec-pt, 60px) !important;
    padding-bottom: var(--sec-pb, 60px) !important;
  }
}

/* Collapse Group mobile */
@media (max-width: 48rem){
  .collapse-group .cg-item{ padding:45px 0; }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.fade-in-section{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   SAFETY: SP widget etc.
===================================================== */
#sp-notification-wrapper { pointer-events: none !important; }
footer#contact { position: relative; z-index: 50; }
footer#contact a { pointer-events: auto; }

/* =====================================================
   HEADER – FIXED (CMS-driven)
   
   ZOOM-FIX: Logo und Menü-Elemente nutzen max() und 
   clamp() um bei Zoom nicht zu überlappen.
===================================================== */
.hdr{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1200;
  background: var(--hdr-bg);
  color: var(--hdr-text);
  transition: background .25s ease, color .25s ease, border-color .25s ease, opacity .12s ease;
}

.hdr.scrolled{
  background: var(--hdr-bg-scrolled);
  color: var(--hdr-text-scrolled);
  border-bottom: 1px solid var(--hdr-border-scrolled);
  backdrop-filter: blur(12px);
}

.hdr-row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding: 12px 0;
  min-height: calc(var(--logo-h) + 28px);
}

.hdr.scrolled .hdr-row{
  padding: 10px 0;
  min-height: calc(var(--logo-h-scrolled) + 24px);
}

.hdr-menu-btn{
  justify-self:start;
  background:transparent;
  border:0;
  color:inherit;
  cursor:pointer;
  font-weight:700;
  font-size: var(--hdr-menu-fs, 12px);
  letter-spacing: var(--hdr-menu-ls, .10em);
  text-transform:uppercase;
  opacity:.95;
  white-space: nowrap;
}

.hdr-logo{ justify-self:center; }
.hdr-logo img{
  height: var(--logo-h);
  width:auto;
  display:block;
  /* ZOOM-FIX: Logo darf nie größer als der verfügbare Platz */
  max-height: 15vh;
}
.hdr.scrolled .hdr-logo img{ 
  height: var(--logo-h-scrolled);
  max-height: 10vh;
}

.hdr-right{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:14px;
}

.hdr-actions{ display:flex; gap:14px; align-items:center; }

.hdr-act{
  color:inherit;
  text-decoration:none;
  font-weight:700;
  font-size: var(--hdr-act-fs, 13px);
  letter-spacing: var(--hdr-menu-ls, .10em);
  opacity:.95;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.hdr-act i{ font-size: var(--hdr-act-ico, 16px); }
.hdr-act.is-icon-only span{ display:none; }

.hdr-lang{ display:flex; gap:10px; align-items:center; }
.hdr-lang a{
  color:inherit;
  text-decoration:none;
  font-weight:800;
  font-size: var(--hdr-lang-fs, 13px);
  opacity:.8;
  white-space: nowrap;
}
.hdr-lang a.is-active{ opacity:1; text-decoration:underline; }

/* =====================================================
   HEADER LAYOUT SWITCH (classic|modern)
===================================================== */
.hdr.hdr--modern .hdr-row{
  display:flex;
  align-items:center;
  gap:14px;
}

.hdr.hdr--modern .hdr-logo{
  order:1;
  justify-self: unset;
  margin-right:auto;
}

.hdr.hdr--modern .hdr-right{
  order:2;
  justify-self: unset;
}

.hdr.hdr--modern .hdr-menu-btn{
  order:3;
  justify-self: unset;
}


/* =======================
   Overlay Menu
   
   ZOOM-FIX: Menüpunkte immer vertikal zentriert,
   mit flexibler Schriftgröße und ausreichend Abstand.
======================= */
.hm{
  position:fixed;
  inset:0;
  background: var(--hm-bg, #3C3732FF);
  color: var(--hm-text, #FFFFFFFF);
  z-index:2000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;

  overflow-y: auto;
}

.hm.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open #siteHeader{
  opacity: 0;
  pointer-events: none;
}

/* ZOOM-FIX: Topbar zentriert Logo und Close-Button sauber */
.hm-top{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding: 18px 0 10px;
}

.hm-left{ justify-self:start; }
.hm-center{ justify-self:center; display:flex; justify-content:center; align-items:center; }
.hm-right{ justify-self:end; display:flex; gap:14px; align-items:center; }

.hm-close{
  background:transparent;
  border:0;
  color: var(--hm-text);
  font-weight:800;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.06em;
  opacity:.92;
  white-space: nowrap;
  padding: 10px 0;
}
.hm-close:hover{ opacity: 1; text-decoration: underline; }

.hm-logo{
  height: var(--logo-hm, 34px);
  width:auto;
  display:block;
  opacity:.95;
  max-width: min(520px, 78vw);
  /* ZOOM-FIX: Logo im Overlay darf nie zu groß werden */
  max-height: 10vh;
}

/* Content */
.hm-body{
  padding: 16px 0 60px;
  min-height: calc(100vh - 90px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

/* Desktop: Menü vertikal zentriert */
@media (min-width: 56.3125rem){
  .hm-body{
    align-items: center;
    padding: 10px 0 60px;
  }
  .hm-grid{
    transform: translateY(-40px);
  }
}

/* ZOOM-FIX: Grid immer zentriert, egal bei welchem Zoom */
.hm-grid{
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  gap: 18px;
  width: min(560px, 92vw);
  /* ZOOM-FIX: Padding damit bei Zoom nichts am Rand klebt */
  padding: 0 20px;
}

.hm-col{ width: 100%; max-width: 92vw; }

/* Headings / Links */
.hm-head{
  display:block;
  color: var(--hm-accent, #B89A62FF);
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.06em;
  font-size: var(--hm-head-fs, 18px);
  text-decoration:none;
  opacity:.96;
}
.hm-head:hover{ text-decoration: underline; opacity: 1; }

.hm-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}

.hm-link{
  color: var(--hm-text);
  text-decoration:none;
  font-weight:700;
  opacity:.92;
  font-size: var(--hm-link-fs, 13px);
}
.hm-link:hover{ text-decoration:underline; opacity: 1; }

.hm-link.is-active,
.hm-head.is-active{ text-decoration:underline; }

/* Desktop: mehr Abstand zwischen Haupt-Menüpunkten */
@media (min-width: 56.3125rem){
  .hm-head{
    padding: 10px 0;
    margin-bottom: 6px;
  }
}

/* =======================
   Mobile (Header + Overlay)
   
   ZOOM-FIX: Breakpoint bei 56.25rem (= 900px bei 100%).
   Bei 200% Zoom auf 1920px: effektiv 960px physisch,
   aber rem-Breakpoint triggert NICHT → Desktop bleibt.
======================= */
@media (max-width: 56.25rem){

  /* ---- HEADER: mobile sizes from CMS ---- */
  .hdr-menu-btn{
    font-size: var(--hdr-menu-fs-m, var(--hdr-menu-fs, 12px));
  }
  .hdr-lang a{
    font-size: var(--hdr-lang-fs-m, var(--hdr-lang-fs, 13px));
  }

  /* ---- HEADER: mobile logo caps ---- */
  .hdr-logo img{
    height: min(var(--logo-h), 60px);
    max-height: 12vh;
  }
  .hdr.scrolled .hdr-logo img{
    height: min(var(--logo-h-scrolled), 60px);
    max-height: 8vh;
  }

  .hdr-actions{ display:none; }

  /* ---- OVERLAY: stacked, centered ---- */
  .hm-top{
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 14px 0 8px;
    text-align: left;
  }

  .hm-left{ justify-self: start; }

  .hm-close{
    font-size: 12px;
    letter-spacing: .04em;
    padding: 8px 0;
  }

  .hm-center{ justify-self: center; }
  .hm-right{ display:none; }

  .hm-logo{
    height: var(--logo-hm-m, var(--logo-hm, 34px));
    max-width: min(360px, 86vw);
    margin-bottom: 14px;
  }

  .hm-head{ font-size: var(--hm-head-fs-m, var(--hm-head-fs, 16px)); }
  .hm-link{ font-size: var(--hm-link-fs-m, var(--hm-link-fs, 13px)); }

  .hm-body{
    padding: 10px 0 40px;
    min-height: auto;
  }

  .hm-grid{ transform: none; }
}

/* Carousel mobile */
@media (max-width: 56.25rem){
  .cards-carousel{
    --pad: 12px;
    --arrowSize: 44px;
    max-width: 100%;
    padding: 0 var(--pad);
  }

  .cc-arrow{
    top: 105px;
    transform: translateY(0);
    background: rgba(0,0,0,0.55);
  }

  .cc-viewport{
    width: 100%;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad);
    scroll-padding-right: var(--pad);
  }

  .cc-track{
    gap: 14px;
    padding: 6px 0 14px;
  }

  .cards-carousel .card-item{
    flex: 0 0 calc(100% - 2px);
    width: calc(100% - 2px);
    height: var(--cardh);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce){
  .cc-viewport{ scroll-behavior:auto; }
}

/* ==========================
   CMS FORM
========================== */
.cms-form{
  width: 100%;
  max-width: 900px;
  margin: 34px auto 0;
  padding: 26px;

  border-radius: 22px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);

  text-align: left;
  font-family: var(--font-main);
}

.cms-form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 56.25rem){
  .cms-form-grid{
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }

  @supports selector(:has(*)) {
    .cms-form-grid .form-field:has(textarea){
      grid-column: 1 / -1;
    }
  }
}

.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label{
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: .01em;
  color: #0f172a;
  font-family: var(--font-main);
}

.cms-form input[type="text"],
.cms-form input[type="email"],
.cms-form input[type="tel"],
.cms-form input[type="date"],
.cms-form select,
.cms-form textarea{
  width: 100%;
  padding: 12px 14px;

  font-family: var(--font-main) !important;
  font-size: 1rem;
  line-height: 1.25;

  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.16);
  background: #ffffff;

  color: #0f172a;
  outline: none;

  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.cms-form input::placeholder,
.cms-form textarea::placeholder{
  font-family: var(--font-main) !important;
  color: rgba(15,23,42,0.45);
  opacity: 1;
}

.cms-form textarea{
  min-height: 170px;
  resize: vertical;
}

.cms-form input:focus,
.cms-form select:focus,
.cms-form textarea:focus{
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.22);
}

.cms-form select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,23,42,0.55) 50%),
    linear-gradient(135deg, rgba(15,23,42,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.cms-form input[type="date"]{
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  padding-right: 44px;
}

.cms-form input[type="date"]::-webkit-datetime-edit{
  font-family: var(--font-main) !important;
  color: #0f172a;
}

.cms-form input[type="date"]::-webkit-datetime-edit-text{
  color: rgba(15,23,42,0.55);
  padding: 0 2px;
}

.cms-form input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: .75;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: background .15s ease, opacity .15s ease;
}

.cms-form input[type="date"]::-webkit-calendar-picker-indicator:hover{
  opacity: 1;
  background: rgba(15,23,42,0.06);
}

.cms-form input[type="date"]::-moz-focus-inner{
  border: 0;
}

.cms-form-privacy{
  display: flex;
  gap: 12px;
  align-items: flex-start;

  margin: 14px 0 18px;
  padding: 12px 14px;

  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.03);

  color: rgba(15,23,42,0.78);
  font-family: var(--font-main);
}

.cms-form-privacy input[type="checkbox"]{
  margin-top: 3px;
  transform: scale(1.05);
}

.cms-form-privacy a{
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cms-form .btn{
  margin-top: 0;
  width: 100%;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
  font-family: var(--font-main);
}

@media (min-width: 56.25rem){
  .cms-form .btn{
    width: auto;
    min-width: 240px;
  }
  .cms-form .btn:hover{
    transform: translateY(-1px);
  }
}

/* =========================
   MODERN HEADER (desktop nav)
   ========================= */
.hdr-scope.is-layout-modern .hdr-row--modern{
  display:flex;
  align-items:center;
  gap:24px;
}

.hdr-scope.is-layout-modern .hdr-left{ flex:0 0 auto; }
.hdr-scope.is-layout-modern .hdr-right{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
}

.hdr-scope.is-layout-modern .hdr-nav{
  display:none;
}

.hdr-scope.is-layout-modern .hdr-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.hdr-scope.is-layout-modern .hdr-act{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:var(--hdr-act-fs);
  line-height:1;
  color:currentColor;
  text-decoration:none;
}
.hdr-scope.is-layout-modern .hdr-act i{
  font-size:var(--hdr-act-ico);
}

/* Desktop: show inline nav, hide hamburger – rem breakpoint */
@media (min-width: 62rem){
  .hdr-scope.is-layout-modern .hdr-nav{
    display:flex;
    align-items:center;
    gap:22px;
    margin:0 10px;
    flex:1 1 auto;
    justify-content:center;
  }
  .hdr-scope.is-layout-modern .hdr-menu-btn{
    display:none;
  }
}

.hdr-scope.is-layout-modern .hdr-nav-link{
  font-size:var(--hdr-menu-fs);
  letter-spacing:var(--hdr-menu-ls);
  text-transform:uppercase;
  text-decoration:none;
  color:currentColor;
  opacity:.92;
  white-space:nowrap;
  padding:8px 2px;
}
.hdr-scope.is-layout-modern .hdr-nav-link:hover{ opacity:1; }
.hdr-scope.is-layout-modern .hdr-nav-link.is-active{
  opacity:1;
  text-decoration:underline;
  text-underline-offset:6px;
}

.hdr-scope.is-layout-modern .hdr-nav-item{ position:relative; }
.hdr-scope.is-layout-modern .hdr-dd{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  padding:10px;
  border-radius:10px;
  background:#fff;
  color:#111;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  z-index:9999;
}
.hdr-scope.is-layout-modern .hdr-nav-item.has-dd:hover .hdr-dd{ display:block; }

.hdr-scope.is-layout-modern .hdr-dd-link{
  display:block;
  padding:10px 10px;
  border-radius:8px;
  text-decoration:none;
  color:inherit;
  font-size:14px;
}
.hdr-scope.is-layout-modern .hdr-dd-link:hover{
  background:rgba(0,0,0,.06);
}

/* Restaurant Widget */
.rw-head { max-width: 820px; margin: 0 auto 28px auto; }
.rw-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.rw-btn { display:inline-flex; align-items:center; justify-content:center; }

.rw-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
.rw-card{
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  padding:18px;
  background: rgba(255,255,255,0.7);
}
.bg-surface .rw-card{
  background: rgba(255,255,255,0.85);
}
.rw-card-title{
  font-weight:700;
  margin-bottom:10px;
}
.rw-contact .rw-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 0;
}
.rw-contact i{
  margin-top:3px;
  opacity:0.75;
}
.rw-hours{
  margin:0;
  padding-left:18px;
}
.rw-note{ opacity:0.8; font-size:0.95em; }

@media (max-width: 53.75rem){
  .rw-grid{ grid-template-columns: 1fr; }
}

.rw-meta{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
  margin-top:18px;
}
.rw-meta-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  opacity:0.95;
}
.rw-meta-item i{
  margin-top:3px;
  width:18px;
}
.rw-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

/* Booking Widget (Embed) */
.widget-section .rw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 4vw, 72px);
    align-items: center;
    margin-top: 18px;
}

.widget-section .rw-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.widget-section .rw-title {
    margin: 0 0 18px 0;
}

.widget-section .rw-panel {
    border-radius: 18px;
    padding: 22px;
    overflow: hidden;
    background: var(--rw-widget-bg, #F6F1E8);
    box-shadow: 0 18px 45px var(--rw-widget-shadow, rgba(0,0,0,0.10));
    border: 1px solid rgba(0,0,0,0.06);
}

.widget-section .rw-panel iframe {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 56.25rem) {
    .widget-section .rw-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .widget-section .rw-media {
        height: auto !important;
        max-height: none !important;
    }

    .widget-section .rw-content {
        padding-top: 10px;
    }

    .widget-section .rw-panel {
        padding: 18px;
    }

    .widget-section .rw-title {
        text-align: center;
        margin-bottom: 20px;
    }
}

body > img { display:none !important; }

/* =====================================================
   SHOWCASE SLIDER
===================================================== */
.showcase-slider{
  position: relative;
}

.showcase-slider .ss-stage{
  position: relative;
  width: 100%;
  min-height: var(--ss-minh, 80vh);
  overflow: hidden;
  border-radius: 0;
  background: #0b0b0b;
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
  touch-action: pan-y;
}

.showcase-slider .ss-slides{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-slider .ss-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .85s ease;
  pointer-events: none;
  z-index: 1;
}

.showcase-slider .ss-slide.is-active{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.showcase-slider .ss-media{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0b0b0b;
  filter: saturate(1.02) contrast(1.02);
  border-radius: inherit;
}

.showcase-slider .ss-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.65) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.showcase-slider .ss-inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: start center;
  padding: clamp(30px, 5vw, 78px) 0 0;
  pointer-events: none;
}

.showcase-slider .ss-copy{
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  align-items: center;
  pointer-events: auto;
}

.showcase-slider .ss-title{
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: var(--ss-hweight, 700);
  color: var(--ss-title, #fff);
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
  margin: 0;
}

.showcase-slider .ss-desc{
  font-size: clamp(15px, 0.55vw + 14px, 18px);
  line-height: 1.7;
  color: var(--ss-text, #fff);
  opacity: 0.92;
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.showcase-slider .ss-btn{
  margin-top: 12px;
  background: var(--ss-btn-bg, #fff);
  color: var(--ss-btn-text, #000);
  border-color: var(--ss-btn-border, var(--ss-btn-bg, #fff));
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.showcase-slider .ss-btn:hover{ transform: translateY(-1px); }

.showcase-slider .ss-arrow,
.showcase-slider .ss-prev,
.showcase-slider .ss-next{
  display: none !important;
}

.showcase-slider .ss-nav{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 6;

  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  pointer-events: auto;
  max-width: calc(100% - 18px);
}

.showcase-slider .ss-nav-inner{
  display: flex;
  gap: 10px;
  align-items: center;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;
  scroll-padding: 8px;
  padding: 2px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.showcase-slider .ss-nav-inner::-webkit-scrollbar{ display: none; }

.showcase-slider .ss-chip{
  border: 0;
  border-radius: 999px;
  cursor: pointer;

  flex: 0 0 auto;
  width: clamp(120px, 34vw, 170px);
  padding: 9px 12px;

  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  line-height: 1.1;

  text-align: center;

  opacity: 0.92;
  transition: opacity .2s ease, transform .12s ease, background .2s ease;

  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  isolation: isolate;
}

.showcase-slider .ss-chip:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.showcase-slider .ss-chip.is-active{
  opacity: 1;
  background: rgba(255,255,255,0.18);
}

.showcase-slider .ss-chip::before{
  content:"";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-accent);
  transform-origin: left center;
  transform: scaleX(var(--ss-progress, 0));
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
  z-index: 0;
}

.showcase-slider .ss-chip::after{
  content:"";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.00) 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.showcase-slider .ss-chip.is-active::before{ opacity: 0.40; }
.showcase-slider .ss-chip.is-active::after{  opacity: 0.55; }

@media (max-width: 56.25rem){
  .showcase-slider .ss-stage{
    min-height: min(var(--ss-minh, 80vh), 78vh);
  }
  .showcase-slider .ss-nav{
    bottom: 12px;
    padding: 9px 10px;
  }
  .showcase-slider .ss-nav-inner{ gap: 8px; }
  .showcase-slider .ss-chip{
    width: clamp(120px, 42vw, 180px);
    font-size: 11px;
    letter-spacing: .06em;
  }
}

@media (max-width: 32.5rem){
  .showcase-slider .ss-title{ font-size: clamp(28px, 7.2vw, 42px); }
  .showcase-slider .ss-desc{ font-size: 15px; }
}

/* =========================
   CMS Popups
========================= */
.cms-popup{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: clamp(14px, 3vw, 44px);
  align-items: center;
  justify-content: center;
}
.cms-popup.is-open{ display:flex; }

.cms-popup-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,var(--popup-overlay,0.6));
}

.cms-popup-modal{
  position: relative;
  width: min(
    max(var(--popup-maxw, 1100px), 860px),
    calc(100vw - (clamp(14px, 3vw, 44px) * 2))
  );

  background: var(--popup-bg, #fff);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);

  max-height: calc(100vh - (clamp(14px, 3vw, 44px) * 2));
}

.cms-popup-close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  font-size: 26px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 2;
}

.cms-popup-card{
  display:flex;
  min-height: clamp(320px, 52vh, 560px);
}

.cms-popup-card.layout-top,
.cms-popup-card.layout-none{
  flex-direction: column;
}
.cms-popup-card.layout-none .cms-popup-media{ display:none; }

.cms-popup-media{
  flex: 0 0 48%;
  background:#f3f4f6;
  min-height: inherit;
}
.cms-popup-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.cms-popup-content{
  flex: 1 1 auto;
  padding: clamp(18px, 2.2vw, 34px) clamp(18px, 2.4vw, 36px);
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.cms-popup-title{
  margin: 0 0 12px;
  font-size: clamp(22px, 1.7vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.cms-popup-body{
  font-size: clamp(15.5px, 1.05vw, 17.5px);
  line-height: 1.6;
  opacity: .92;
  max-width: 62ch;
}

.cms-popup-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
}
.cms-popup-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 13px 18px;
  border-radius: 13px;

  background: var(--popup-btn-bg, #7B1B1B);
  color: var(--popup-btn-text, #fff);
  border: 1px solid var(--popup-btn-border, var(--popup-btn-bg, #7B1B1B));
  text-decoration:none;

  font-weight: 800;
  letter-spacing: .01em;
  font-size: 15.5px;
}

.cms-popup-countdown{
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--cd-bg, #111827);
  color: var(--cd-text, #fff);
}
.cms-popup-countdown .cd-label{
  font-weight: 800;
  margin-bottom: 10px;
  opacity: .95;
}
.cms-popup-countdown .cd-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.cms-popup-countdown .cd-box{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 10px 8px;
  text-align:center;
}
.cms-popup-countdown .cd-num{
  font-size: 22px;
  font-weight: 900;
  color: var(--cd-accent, #fff);
  line-height: 1.1;
}
.cms-popup-countdown .cd-unit{
  font-size: 12px;
  opacity: .85;
  margin-top: 4px;
}

/* Popup Responsive */
@media (max-width: 56.25rem){
  .cms-popup{ padding: 14px; }
  .cms-popup-modal{
    width: min(var(--popup-maxw, 520px), calc(100vw - 28px));
    max-height: calc(100vh - 28px);
  }
  .cms-popup-card{ flex-direction: column; min-height: 0; }
  .cms-popup-media{ flex: 0 0 auto; height: 240px; min-height: 240px; }
  .cms-popup-content{ padding: 18px 18px 20px; }
}

@media (max-width: 26.25rem){
  .cms-popup-media{ height: 210px; min-height: 210px; }
  .cms-popup-countdown .cd-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 75rem){
  .cms-popup-media{ flex-basis: 50%; }
  .cms-popup-btn{ padding: 14px 20px; font-size: 16px; }
}

/* Popup animations */
.cms-popup{
  pointer-events: none;
}
.cms-popup.is-open{
  pointer-events: auto;
}

.cms-popup-overlay{
  pointer-events: auto;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 260ms ease;
  will-change: opacity;
  backdrop-filter: blur(2px);
}

.cms-popup-modal{
  pointer-events: auto;
  transform: translateY(10px) scale(.985);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
  will-change: transform, opacity;
}

.cms-popup.is-open .cms-popup-overlay{ opacity: 1; }
.cms-popup.is-open .cms-popup-modal{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cms-popup.is-closing .cms-popup-overlay{ opacity: 0; }
.cms-popup.is-closing .cms-popup-modal{
  opacity: 0;
  transform: translateY(10px) scale(.985);
}

@media (prefers-reduced-motion: reduce){
  .cms-popup-modal,
  .cms-popup-overlay{
    transition: none !important;
  }
}

/* Countdown Styles */
.cms-popup-countdown[data-cd-style="boxes"]{
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.cms-popup-countdown[data-cd-style="boxes"] .cd-grid{
  gap: 12px;
}

.cms-popup-countdown[data-cd-style="boxes"] .cd-box{
  background: var(--cd-bg, #111827);
  border: 0;
  color: var(--cd-text, #fff);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.cms-popup-countdown[data-cd-style="boxes"] .cd-num{
  color: var(--cd-accent, var(--cd-text, #fff));
}

.cms-popup-countdown[data-cd-style="panel"] .cd-box{
  background: rgba(255,255,255,.06);
}

/* =========================
   HERO Pagination (Dots)
========================= */
.hero{
  --hero-dot-inactive: rgba(255,255,255,.45);
  --hero-dot-active: var(--color-accent, var(--accent, #04BFAD));
}

.hero-pagination{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:5;
  align-items:center;
}

.hero-dot{
  appearance:none;
  border:1px solid rgba(255,255,255,.55);
  background:var(--hero-dot-inactive);
  width:34px;
  height:4px;
  border-radius:999px;
  padding:0;
  cursor:pointer;
  opacity:0.95;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
}

.hero-dot:hover{
  opacity:1;
  transform:scaleX(1.05);
}

.hero-dot.is-active{
  background:var(--hero-dot-active);
  border-color:var(--hero-dot-active);
  opacity:1;
  box-shadow:0 0 0 3px rgba(0,0,0,.15);
}

/* Kontaktformular Zentrierung */
.text-only-section .cms-form {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    display: block;
}

.text-only-section:has(.cms-form) {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.cms-form .form-field {
    text-align: left;
}

/* =====================================================
   EXPANDABLE CONTENT
===================================================== */
.cb-toggle-wrapper {
    margin-top: 25px;
    clear: both;
    display: block;
    width: 100%;
}

.cb-toggle-content {
    display: none; 
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--color-text-main);
    line-height: 1.7;
    overflow: visible;
}

.cb-toggle-content.is-visible {
    display: block !important;
    animation: fadeIn 0.4s ease-out;
}

.btn-toggle-info {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.btn-toggle-info:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

/* =====================================================
   NEWSLETTER & SOCIAL FEED
===================================================== */
.rw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; 
}

.newsletter-module-wrap {
    margin-top: 40px; 
    width: 100%;
    clear: both;
}

.rw-content h2.rw-title {
    margin-top: 0;
    margin-bottom: 35px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-text-main);
}

.rw-content .cb-desc {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.newsletter-field-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--color-text-main);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-module-wrap .btn-solid,
.social-feed-section .btn-solid {
    background-color: var(--btn-bg, var(--color-accent)) !important;
    color: var(--btn-text, #ffffff) !important;
    border-color: var(--btn-border, var(--color-accent)) !important;
}

.newsletter-module-wrap .btn-solid:hover,
.social-feed-section .btn-solid:hover {
    background-color: var(--btn-hover-bg, #353d4b) !important;
    color: var(--btn-hover-text, #ffffff) !important;
    border-color: var(--btn-hover-bg, #353d4b) !important;
}

.newsletter-input-group input {
    width: 100%;
    padding: 15px 18px;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #fff;
    margin-bottom: 25px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--shadow-accent);
}

.newsletter-consent {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.newsletter-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.newsletter-consent label {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.sf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sf-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.sf-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.sf-item:hover .sf-overlay {
    opacity: 0.7;
}

.sf-overlay i {
    color: #fff;
    font-size: 2.5rem;
}

@media (max-width: 56.25rem) {
    .rw-grid { display: flex; flex-direction: column; gap: 30px; align-items: stretch; }
    .newsletter-module-wrap { margin-top: 30px; }
    .rw-media { height: 300px; order: -1; }
    .sf-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

/* =====================================================
   HYPERLINKS IN FLIESSTEXT / RICHTEXT
   klar sichtbar, aber Buttons bleiben unberührt
===================================================== */

/* normale Textlinks standardmäßig sichtbar machen */
main a:not(.btn):not(.btn-solid):not(.image-cta-btn):not(.cms-popup-btn):not(.card-cta){
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition:
    color var(--transition-speed),
    text-decoration-color var(--transition-speed),
    text-decoration-thickness var(--transition-speed),
    opacity var(--transition-speed);
}

/* Hover / Fokus */
main a:not(.btn):not(.btn-solid):not(.image-cta-btn):not(.cms-popup-btn):not(.card-cta):hover,
main a:not(.btn):not(.btn-solid):not(.image-cta-btn):not(.cms-popup-btn):not(.card-cta):focus-visible{
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  opacity: 0.88;
}

/* Safety: Buttons/CTAs niemals wie Textlinks behandeln */
main a.btn,
main a.btn-solid,
main a.image-cta-btn,
main a.cms-popup-btn,
main a.card-cta{
  text-decoration: none !important;
}

/* Optional: wenn du Breadcrumbs NICHT unterstrichen willst */
.breadcrumb-link{
  text-decoration: none !important;
}

/* =====================================================
   BREADCRUMBS
===================================================== */
.breadcrumbs-nav {
    padding: 25px 0;
    background: var(--breadcrumbs-bg, var(--color-bg));
    border-bottom: 1px solid var(--breadcrumbs-border, var(--color-border));
    margin-bottom: 20px;
}

body:not(:has(.hero)) .breadcrumbs-nav {
    border-top: 1px solid var(--breadcrumbs-border, var(--color-border));
    padding-top: 30px;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: var(--breadcrumbs-link, var(--color-text-muted));
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.breadcrumb-link:hover {
    color: var(--breadcrumbs-current, var(--color-accent));
}

.breadcrumb-sep {
    font-size: 0.6rem;
    margin: 0 15px;
    color: var(--breadcrumbs-sep, var(--color-text-muted));
    opacity: 1;
}

.breadcrumb-current {
    color: var(--breadcrumbs-current, var(--color-accent));
    font-weight: 700;
    pointer-events: none;
}

@media (max-width: 48rem) {
    .breadcrumbs-nav {
        padding: 18px 0;
    }

    .breadcrumbs-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .breadcrumbs-list::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-item {
        white-space: nowrap;
    }

    .breadcrumb-sep {
        margin: 0 10px;
    }
}

/* ============================================================
   BENTO GRID STYLE
   ============================================================ */
.features.is-bento .features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
    padding: 20px 0;
}

.features.is-bento .feature-item {
    background-color: var(--tile-bg, #ffffff) !important;
    border: 1px solid var(--tile-border, #eae9e4) !important;
    border-radius: var(--tile-radius, 20px) !important;
    padding: 40px 30px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.features.is-bento .feature-item:hover {
    background-color: var(--tile-hover-bg, #ffffff) !important;
    border-color: var(--tile-hover-border, var(--tile-border)) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07) !important;
}

.features.is-bento .feature-item i {
    color: var(--color-accent) !important; 
    font-size: 2.8rem !important;
    margin-bottom: 20px !important;
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.features.is-bento .feature-item:hover i {
    transform: scale(1.1) rotate(3deg) !important;
}

.features.is-bento .feature-item h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
    color: #2d2926 !important;
}

.features.is-bento .feature-item p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #555555 !important;
    margin: 0 !important;
}

@media (max-width: 37.5rem) {
    .features.is-bento .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* =====================================================
   GOOGLE MAPS CONSENT LAYER
===================================================== */
.map-section { padding: 0; }

.map-container.cms-map-consent{
  position: relative;
  width: 100%;
  height: var(--map-h, 55vh);
  min-height: var(--map-minh, 340px);
  overflow: hidden;

  border-radius: 14px;
  background: rgba(17,24,39,0.06);

  --mc-overlay: rgba(17, 24, 39, 0.38);
  --mc-card-bg: #fff;
  --mc-title: #111827;
  --mc-text: #374151;
  --mc-border: rgba(17,24,39,0.12);

  --mc-btn-bg: #111827;
  --mc-btn-text: #fff;
  --mc-btn-border: #111827;

  --mc-btn-ghost-bg: #fff;
  --mc-btn-ghost-text: #111827;
  --mc-btn-ghost-border: rgba(17,24,39,0.18);
  --mc-btn-ghost-hover: rgba(17,24,39,0.06);

  --mc-shadow: 0 22px 70px rgba(0,0,0,0.22);
  --mc-radius: 16px;

  --mc-card-w: 520px;
  --mc-pad: clamp(14px, 3vw, 22px);
}

@media (min-width: 56.25rem){
  .map-container.cms-map-consent{
    border-radius: 0;
    background: transparent;
  }
}

.map-container.cms-map-consent .map-embed-slot{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.map-container.cms-map-consent .map-embed-slot iframe.map-embed{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-container.cms-map-consent[data-map-active="1"] .map-embed-slot{
  pointer-events: auto;
}

.map-container.cms-map-consent .map-consent-layer{
  position: absolute;
  inset: 0;
  z-index: 2;

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

  padding: clamp(12px, 3.5vw, 28px);
  background: var(--mc-overlay);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  pointer-events: auto;
}

.map-container.cms-map-consent .map-consent-layer[hidden]{
  display: none !important;
}

.map-container.cms-map-consent .map-consent-card{
  width: min(var(--mc-card-w), 100%);
  background: var(--mc-card-bg);
  border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius);
  padding: var(--mc-pad);
  box-shadow: var(--mc-shadow);

  text-align: left;
  box-sizing: border-box;
}

.map-container.cms-map-consent .map-consent-title{
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--mc-title);
}

.map-container.cms-map-consent .map-consent-text{
  margin: 0 0 10px;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.55;
  color: var(--mc-text);
}

.map-container.cms-map-consent .map-consent-link{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-container.cms-map-consent .map-consent-actions{
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.map-container.cms-map-consent .map-btn{
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1;

  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;

  cursor: pointer;
  user-select: none;

  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  box-sizing: border-box;
}

.map-container.cms-map-consent .map-btn:active{
  transform: translateY(1px);
}

.map-container.cms-map-consent .map-btn-primary{
  background: var(--mc-btn-bg);
  color: var(--mc-btn-text);
  border: 1px solid var(--mc-btn-border);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.map-container.cms-map-consent .map-btn-primary:hover{
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.map-container.cms-map-consent .map-btn-ghost{
  background: var(--mc-btn-ghost-bg);
  color: var(--mc-btn-ghost-text);
  border: 1px solid var(--mc-btn-ghost-border);
}

.map-container.cms-map-consent .map-btn-ghost:hover{
  background: var(--mc-btn-ghost-hover);
}

@media (max-width: 32.5rem){
  .map-container.cms-map-consent .map-consent-actions{
    flex-direction: column;
  }
  .map-container.cms-map-consent .map-btn{
    width: 100%;
  }
}

.map-container.cms-map-consent .map-noscript{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: rgba(255,255,255,0.9);
  text-align:center;
  font-weight:700;
  color:#111827;
}

/* =====================================================
   ZOOM-FIX v4 – FINAL
   
   PROBLEM: Bei 200% Zoom wird der effektive Viewport
   960px breit → der alte Breakpoint @media(max-width: 60.5rem)
   = 968px triggert → Layout stapelt sich → Bild riesig.
   
   LÖSUNG: 
   1. Stacking-Breakpoint von 968px auf 640px senken
      → Side-by-Side bleibt bei 200% Zoom erhalten
   2. flex-wrap: nowrap erzwingen → kein Umbruch
   3. Bilder mit flex-shrink + max-height begrenzen
   4. Text bekommt min-width damit er lesbar bleibt
   
   Füge diesen Block ans ENDE deiner style.css ein.
   WICHTIG: Lösche zuerst den alten "ZOOM-FIX v2 OVERRIDES"
   Block am Ende deiner CSS-Datei!
   ===================================================== */

/* ---- CONTENT BLOCKS: Side-by-Side bei jedem Zoom ---- */

/* Flex-Container: NICHT umbrechen, Bild darf schrumpfen */
.content-block {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: clamp(20px, 3vw, 80px);
}
.content-block.reversed {
  flex-direction: row-reverse !important;
}

/* Text: Nimmt immer mindestens 50% ein, wächst frei */
.content-block .cb-text {
  flex: 1 1 55% !important;
  min-width: 50% !important;
}

/* Bild: Schrumpft bei wenig Platz, wird nie größer als 45% */
.content-block .cb-image-container {
  flex: 0 1 45% !important;
  max-width: 45% !important;
  min-width: 0;
}

/* Bild-Höhe: Bei Zoom nicht höher als 65vh */
.cb-slide img {
  max-height: 65vh;
  width: 100%;
  object-fit: cover;
}

/* =====================================================
   ZOOM-FIX v4.4
   
   Füge diesen Block ans ENDE deiner style.css ein.
   WICHTIG: Lösche zuerst den alten "ZOOM-FIX v2 OVERRIDES"
   Block am Ende deiner CSS-Datei!
   ===================================================== */

/* ---- CONTENT BLOCKS: Side-by-Side erzwingen ---- */
.content-block {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: clamp(20px, 3vw, 80px);
}
.content-block.reversed {
  flex-direction: row-reverse !important;
}

.content-block .cb-text {
  flex: 1 1 55% !important;
  min-width: 50% !important;
}

.content-block .cb-image-container {
  flex: 0 1 45% !important;
  max-width: 45% !important;
  min-width: 0 !important;
}

.cb-slide img {
  max-height: 65vh;
  width: 100%;
  object-fit: cover;
}

/* ---- ECHTES MOBILE: Erst unter 640px stapeln ---- */
@media (max-width: 640px) {
  .content-block,
  .content-block.reversed {
    flex-wrap: wrap !important;
    flex-direction: column !important;
  }
  
  .content-block .cb-text {
    min-width: 100% !important;
    flex: none !important;
    width: 100%;
  }
  
  .content-block .cb-image-container {
    flex: none !important;
    max-width: 100% !important;
    width: 100%;
  }
  
  .cb-slide img {
    max-height: 50vh;
  }
}

/* =====================================================
   HEADER FIXES – Modern Layout + Overlay
   ===================================================== */

modern .hdr-nav {
  flex-wrap: nowrap !important;
  overflow: hidden;
  min-width: 0;
  margin-left: 14px !important;
}
.hdr-scope.is-layout-modern .hdr-nav-link {
  font-size: clamp(9px, var(--hdr-menu-fs, 12px), 13px) !important;
  letter-spacing: clamp(0.02em, var(--hdr-menu-ls, 0.10em), 0.12em) !important;
  white-space: nowrap;
}
.hdr-scope.is-layout-modern .hdr-right {
  gap: clamp(6px, 1vw, 14px) !important;
  flex-shrink: 0;
}
.hdr-scope.is-layout-modern .hdr-act {
  font-size: clamp(10px, var(--hdr-act-fs, 13px), 14px) !important;
}
@media (max-width: 960px) and (min-width: 641px) {
  .hdr-scope.is-layout-modern .hdr-nav { display: none !important; }
  .hdr-scope.is-layout-modern .hdr-menu-btn { display: flex !important; align-items: center; }
}

.hdr-row { overflow: hidden; }

/* =====================================================
   OVERLAY MENU – KEIN SCROLL, ALLES SICHTBAR
   
   LÖSUNG: 
   - .hm-body füllt den verbleibenden Platz komplett
   - .hm-grid verteilt Items mit space-evenly
   - Schriftgrößen skalieren mit clamp() und vh
     damit bei kleinen Viewports oder 200% Zoom
     alles kleiner wird statt abgeschnitten zu werden
   ===================================================== */

.hm {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Top-Bar: feste Höhe, nie wegscrollbar */
.hm-top {
  flex-shrink: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  padding: clamp(10px, 2vh, 18px) 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  background: var(--hm-bg, #3C3732FF) !important;
  z-index: 2 !important;
  overflow: hidden !important;
}

.hm-left  { justify-self: start !important; align-self: center !important; }
.hm-center {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  justify-self: center !important;
}
.hm-right {
  justify-self: end !important;
  align-self: center !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  overflow: hidden !important;
}

/* Logo: skaliert mit vh damit es bei kleinen Screens schrumpft */
.hm-logo {
  height: clamp(22px, var(--logo-hm, 34px), 5vh) !important;
  max-width: min(280px, 38vw) !important;
  width: auto !important;
  object-fit: contain !important;
  margin-bottom: 0 !important;
  display: block !important;
}

/* Body: füllt ALLES was nach Top-Bar übrig bleibt */
.hm-body {
  flex: 1 1 0 !important;          /* 0 als Basis → wächst auf den Rest */
  overflow: hidden !important;      /* KEIN Scroll */
  display: flex !important;
  align-items: stretch !important;
}

/* Grid: verteilt alle Items gleichmäßig über den vollen Platz */
.hm-grid {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-evenly !important;  /* ← gleichmäßige Verteilung */
  text-align: center !important;
  width: min(560px, 92vw) !important;
  padding: clamp(8px, 2vh, 24px) 20px !important;
  margin: 0 auto !important;
  transform: none !important;
  gap: 0 !important;                /* gap:0 weil space-evenly den Abstand macht */
}

.hm-col { width: 100%; }
.hm-col:first-child { margin-top: 0 !important; }

/* Überschriften (SPEISEKARTE, EVENTS etc.): skalieren mit vh */
.hm-head {
  font-size: clamp(12px, var(--hm-head-fs, 18px), 2.8vh) !important;
  padding: clamp(4px, 0.8vh, 10px) 0 !important;
}

/* Unterlinks (Wochenkarte, Jazzbrunch etc.): skalieren mit vh */
.hm-link {
  font-size: clamp(11px, var(--hm-link-fs, 13px), 2.2vh) !important;
  line-height: clamp(1.4, 1.6, 1.8) !important;
}

/* Close-Button: skaliert */
.hm-close {
  font-size: clamp(10px, 1.8vh, 13px) !important;
}

/* DE/EN im Grid: kein extra Abstand nötig, space-evenly macht das */
.hm-grid .hdr-lang,
.hm-grid [class*="lang"],
.hm-grid .hm-lang {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: clamp(11px, 1.8vh, 14px) !important;
}

/* Mobile: gleiche Logik, etwas weniger padding */
@media (max-width: 640px) {
  .hm-top {
    padding: clamp(8px, 1.5vh, 14px) 0 !important;
  }
  .hm-logo {
    height: clamp(20px, var(--logo-hm-m, var(--logo-hm, 28px)), 4.5vh) !important;
    max-width: min(180px, 44vw) !important;
  }
  .hm-right { display: none !important; }
  .hm-grid {
    padding: clamp(6px, 1.5vh, 16px) 20px !important;
  }
}

/* =====================================================
   WIDGET SECTION – MOBILE FIX
   ===================================================== */
.widget-section .rw-grid { grid-template-columns: 1fr 1fr !important; }

@media (max-width: 640px) {
  .widget-section .rw-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .widget-section .rw-media { max-height: 220px !important; overflow: hidden; border-radius: 14px; }
  .widget-section .rw-media img { height: 220px; object-fit: cover; }
  .widget-section .rw-title { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; text-align: center; }
  .widget-section .rw-panel { width: 100% !important; max-width: 100% !important; padding: 12px !important; overflow: hidden !important; box-sizing: border-box !important; }
  .widget-section .rw-panel iframe { width: 100% !important; max-width: 100% !important; min-width: 0 !important; transform: none !important; transform-origin: unset !important; display: block; }
}
@media (max-width: 480px) {
  .widget-section .rw-panel { padding: 8px !important; }
  .widget-section .rw-panel iframe { transform: none !important; width: 100% !important; min-height: 520px; }
}
@media (max-width: 380px) {
  .widget-section .rw-panel iframe { transform: none !important; width: 100% !important; min-height: 540px; }
}

/* =====================================================
   LEGACY HEADER NAV
   ===================================================== */
@media (min-width: 641px) and (max-width: 60.5rem) {
  #header .nav-links { position: static !important; transform: none !important; flex-direction: row !important; padding: 0 !important; border-bottom: none !important; background: transparent !important; }
  #header .hamburger { display: none !important; }
  #header .lang-switch { border-left: 1px solid var(--color-border) !important; border-top: none !important; padding-top: 0 !important; padding-left: 20px !important; margin-left: 10px !important; width: auto !important; }
}

/* =====================================================
   CARDS
   ===================================================== */
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)) !important; }

@media (max-width: 1200px) and (min-width: 641px) {
  .cards-carousel { --cardw: 280px !important; --cardh: 440px !important; --gap: 16px !important; --pad: 50px !important; }
  .cards-carousel .card-media img { height: 150px !important; }
  .cards-carousel .card-body { padding: 14px 14px 12px !important; gap: 8px !important; }
  .cards-carousel .card-body h3 { font-size: 1.05rem; }
  .cards-carousel .card-text { font-size: 0.85rem !important; line-height: 1.5 !important; -webkit-line-clamp: 5 !important; line-clamp: 5 !important; }
  .cards-carousel .card-cta { font-size: 0.85rem !important; }
}
@media (max-width: 960px) and (min-width: 641px) {
  .cards-carousel { --cardw: 240px !important; --cardh: 400px !important; --gap: 12px !important; --pad: 40px !important; }
  .cards-carousel .card-media img { height: 130px !important; }
}
.cards-carousel .card-item { max-width: min(var(--cardw, 340px), 80vw); }

/* =========================================
   IMAGE CTA / PARALLAX SECTION (WCAG Reflow)
   - getrennte Farben: --cta-title / --cta-body
   - Button nutzt Projekt-Button-Vars (Hover aus Settings)
========================================= */

.image-cta{
  position: relative;
  isolation: isolate;

  /* Body Default */
  color: var(--cta-body, var(--cta-text, #fff));

  background-image: var(--cta-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: max(calc(var(--cta-h, 55) * 1vh), var(--cta-minh, 320px));

  padding-top: var(--sec-pt, 80px);
  padding-bottom: var(--sec-pb, 80px);
}

/* Overlay */
.image-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--cta-ov-color, #000);
  opacity: var(--cta-ov-opacity, .45);
  z-index:0;
  pointer-events:none;
}

/* Content wrapper above overlay */
.image-cta .container{ position: relative; z-index: 1; }

.image-cta .image-cta-inner{
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
}

.image-cta.is-align-center .image-cta-inner{ text-align:center; }
.image-cta.is-align-left   .image-cta-inner{ text-align:left; }

.image-cta-sub{
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .95;
  margin-bottom: 12px;
  color: var(--cta-title, var(--cta-body, var(--cta-text, #fff)));
}

.image-cta-title{
  margin: 0 0 14px 0;
  line-height: 1.1;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: var(--cta-title-weight, 400);
  color: var(--cta-title, var(--cta-body, var(--cta-text, #fff)));
}

.image-cta-text{
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 70ch;
  margin-inline: auto;
  color: var(--cta-body, var(--cta-text, #fff));
}
.image-cta.is-align-left .image-cta-text{ margin-inline: 0; }

.image-cta-actions{
  margin-top: 22px;
  display:flex;
  justify-content:center;
}
.image-cta.is-align-left .image-cta-actions{ justify-content:flex-start; }

/* ✅ CTA Button: basiert auf deinem .btn/.btn-solid System
   Wir setzen NUR:
   - Radius (Block)
   - Text-Visibility Fix (WebKit)
   - Fallbacks, falls deine .btn Vars nicht greifen
*/
.image-cta .image-cta-btn{
  border-radius: var(--cta-btn-radius, 999px);
  min-height: 44px;

  /* Sicherstellen, dass Text nie "verschwindet" */
  -webkit-text-fill-color: currentColor;
  text-decoration: none;
}

/* Falls dein globales .btn NICHT alles über Vars abdeckt, geben wir hier sichere Fallbacks */
.image-cta .image-cta-btn{
  background: var(--btn-bg, #ffffff);
  color: var(--btn-text, #111827);
  border-color: var(--btn-border, var(--btn-bg, #ffffff));
}

.image-cta .image-cta-btn:hover,
.image-cta .image-cta-btn:active{
  background: var(--btn-hover-bg, var(--btn-bg, #ffffff));
  color: var(--btn-hover-text, var(--btn-text, #111827));
  border-color: var(--btn-hover-border, var(--btn-border, var(--btn-bg, #ffffff)));
  -webkit-text-fill-color: currentColor;
}

.image-cta .image-cta-btn:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Parallax */
@media (min-width: 901px) {
  @media (prefers-reduced-motion: no-preference) {
    .image-cta.is-parallax{ background-attachment: fixed; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .image-cta.is-parallax{ background-attachment: scroll; }
}

/* Mobile/Zoom: nicht zu wuchtig */
@media (max-width: 600px){
  .image-cta{
    padding-top: var(--sec-pt, 56px);
    padding-bottom: var(--sec-pb, 56px);
  }

  .image-cta-actions{ justify-content: center; }

  .image-cta .image-cta-btn{
    width: auto;
    max-width: min(280px, 92vw); /* ✅ weniger “wuchtig” */
    margin-inline: auto;
    padding: 12px 16px;
  }
}

/* ============================
   Accessibility: Focus Visible
   ============================ */

/* Default: Fokus sichtbar (Fallback für Browser ohne :focus-visible) */
:focus{
  outline: 3px solid var(--accent, #04BFAD);
  outline-offset: 3px;
}

/* Modern: nur Keyboard-Fokus zeigen (Mausklick ohne Ring) */
:focus:not(:focus-visible){
  outline: none;
}

:focus-visible{
  outline: 3px solid var(--accent, #04BFAD);
  outline-offset: 3px;
}

/* Für typische Controls etwas “schöner” */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible{
  border-radius: 10px;
}

/* Skip-Link (sichtbar nur bei Fokus) */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  z-index: 99999;
}

/* Fokus-Zustand für Skip-Link (auch focus-visible) */
.skip-link:focus,
.skip-link:focus-visible{
  left: 12px;
  outline: 3px solid var(--accent, #04BFAD);
  outline-offset: 3px;
}

.cms-form-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:14px;
  flex-wrap:wrap;
}

.form-flash{
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  line-height:1.2;
  border:1px solid transparent;
}

.form-flash.is-ok{
  background:rgba(16,185,129,.12);
  border-color:rgba(16,185,129,.25);
  color:#065f46;
}

.form-flash.is-err{
  background:rgba(239,68,68,.12);
  border-color:rgba(239,68,68,.25);
  color:#7f1d1d;
}

html.cms-no-smooth {
  scroll-behavior: auto !important;
}

section[id^="form-"] {
    scroll-margin-top: var(--hdr-offset, 120px);
}

/* =====================================================
   MOBILE A11Y OVERRIDE v5
   Ersetzt den bisherigen v4-Block komplett
   Ziel:
   - Overlay-Logo kollidiert nicht mehr mit X
   - Header-Logo bleibt aus CMS-Variablen
   - Hero bleibt unter Header und wächst bei Zoom sauber
   - Showcase behält die Text-Chips unten
   - Öffnungszeiten werden mobil lesbar statt nach rechts gedrückt
   - Google Maps zeigt mobil nur noch den sinnvollen Consent-Zustand
===================================================== */
@media (max-width: 640px) {

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

  body{
    overflow-x: hidden !important;
  }

  img,
  video,
  iframe{
    max-width: 100% !important;
  }

  /* =====================================================
     MOBILE HEADER
  ===================================================== */
  .hdr,
  #siteHeader{
    overflow: visible !important;
  }

  .hdr-row,
  .hdr.hdr--modern .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row--modern{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 72px !important;
    padding: 10px 14px !important;
  }

  .hdr-left,
  .hdr-center,
  .hdr-right,
  .hdr-logo{
    min-width: 0 !important;
  }

  .hdr-actions{
    display: none !important;
  }

  .hdr-logo{
    order: 1 !important;
    margin-right: auto !important;
    justify-self: auto !important;
  }

  /* normales / sticky Logo wieder aus CMS, aber mit sinnvoller mobiler Obergrenze */
  .hdr-logo img,
  .hdr-scope.is-layout-modern .hdr-logo img{
    width: auto !important;
    height: min(var(--logo-h, 64px), 54px) !important;
    max-width: min(78vw, 300px) !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .hdr.scrolled .hdr-logo img,
  .hdr.scrolled .hdr-scope.is-layout-modern .hdr-logo img{
    width: auto !important;
    height: min(var(--logo-h-scrolled, 40px), 44px) !important;
    max-width: min(70vw, 250px) !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .hdr-menu-btn{
    order: 2 !important;
    margin-left: auto !important;
    min-width: 48px !important;
    min-height: 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 12px !important;
  }

  /* =====================================================
     OVERLAY MENU
  ===================================================== */
  .hm{
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000 !important;

    display: flex !important;
    flex-direction: column !important;

    height: 100dvh !important;
    max-height: 100dvh !important;

    overflow: hidden !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: var(--hm-bg, #3C3732FF) !important;
  }

  .hm.open{
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hm-top{
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;

    min-height: 72px !important;
    padding: 12px 16px !important;

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

    background: var(--hm-bg, #3C3732FF) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    text-align: center !important;
  }

  .hm-left,
  .hm-right{
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
  }

  /* rechts Platz fürs X reservieren */
  .hm-center{
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-right: 64px !important;
  }

  /* Overlay-Logo bleibt aus CMS, aber kollidiert nicht mit X */
  .hm-logo{
    width: auto !important;
    height: min(var(--logo-hm-m, var(--logo-hm, 34px)), 42px) !important;
    max-width: min(calc(100vw - 132px), 300px) !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }

  .hm-close{
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    transform: translateY(-50%) !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.04) !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    opacity: 1 !important;
    z-index: 45 !important;
  }

  .hm-close::before{
    content: "×";
    color: var(--hm-text, #fff);
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
  }

  .hm-close:hover,
  .hm-close:focus-visible{
    background: rgba(255,255,255,0.10) !important;
    text-decoration: none !important;
  }

  .hm-body{
    flex: 1 1 auto !important;
    min-height: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;

    display: block !important;
    padding: 18px 0 max(24px, env(safe-area-inset-bottom, 0px)) !important;
  }

  .hm-grid{
    width: 100% !important;
    max-width: 28rem !important;

    margin: 0 auto !important;
    padding: 0 20px 24px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;

    gap: 22px !important;
    transform: none !important;
  }

  .hm-col{
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
  }

  .hm-head{
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.2 !important;

    font-size: clamp(12px, 4.2vw, 15px) !important;
    letter-spacing: 0.05em !important;
  }

  .hm-links{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hm-link{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;

    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.22 !important;

    font-size: clamp(15px, 5.1vw, 18px) !important;
  }

  .hm-grid .hdr-lang,
  .hm-grid .hm-lang,
  .hm-grid [class*="lang"]{
    position: static !important;
    inset: auto !important;
    transform: none !important;

    order: 98 !important;
    width: 100% !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    border: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .hm-grid .hdr-lang a,
  .hm-grid .hm-lang a,
  .hm-grid [class*="lang"] a{
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .hm-grid .hdr-actions,
  .hm-grid .hm-actions{
    position: static !important;
    inset: auto !important;
    transform: none !important;

    order: 99 !important;
    width: 100% !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .hm-grid .hdr-act,
  .hm-grid .hm-act{
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  /* =====================================================
     HERO
     Bleibt optisch wie 100%, wächst aber innerhalb der Section
     statt Richtung Header zu rutschen
  ===================================================== */
  .hero{
    height: 100svh !important;
    min-height: 100svh !important;
    align-items: flex-start !important;
  }

  .hero-content{
    width: min(90vw, 24rem) !important;
    max-width: min(90vw, 24rem) !important;
    height: 100svh !important;
    box-sizing: border-box !important;

    margin: 0 auto !important;
    padding:
      calc(var(--hdr-offset, 92px) + 18px)
      16px
      96px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero h1{
    max-width: 11ch !important;
    margin: 0 auto 20px !important;

    font-size: clamp(2rem, 8.4vw, 3.2rem) !important;
    line-height: 1.05 !important;

    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: balance !important;
  }

  .hero-pre{
    max-width: 20rem !important;
    margin: 0 auto 14px !important;
    font-size: clamp(.72rem, 3vw, .9rem) !important;
    line-height: 1.35 !important;
    letter-spacing: .16em !important;
  }

  .hero .btn,
  .hero-btn-wrapper .btn,
  .showcase-slider .ss-btn,
  .image-cta .image-cta-btn{
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    min-height: 44px !important;
    padding: 14px 24px !important;
    margin-inline: auto !important;

    font-size: .9rem !important;
    line-height: 1.1 !important;
    letter-spacing: .14em !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 0 !important;
  }

  .hero-pagination{
    bottom: max(18px, env(safe-area-inset-bottom, 0px)) !important;
    width: calc(100% - 24px) !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .hero-dot{
    width: 28px !important;
    height: 6px !important;
  }

  /* =====================================================
     SHOWCASE SLIDER
     Chips bleiben mit Text wie am Desktop
  ===================================================== */
  .showcase-slider .ss-stage{
    min-height: clamp(44rem, 105svh, 60rem) !important;
  }

  .showcase-slider .ss-inner{
    padding:
      calc(var(--hdr-offset, 92px) + 18px)
      0
      128px !important;
    place-items: start center !important;
  }

  .showcase-slider .ss-copy{
    width: min(88vw, 24rem) !important;
    max-width: min(88vw, 24rem) !important;
    gap: 12px !important;
  }

  .showcase-slider .ss-title{
    max-width: 11ch !important;
    margin-inline: auto !important;
    font-size: clamp(2rem, 8.4vw, 3.2rem) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-wrap: balance !important;
  }

  .showcase-slider .ss-desc{
    max-width: min(88vw, 23rem) !important;
    margin-inline: auto !important;
    font-size: clamp(1rem, 4.1vw, 1.125rem) !important;
    line-height: 1.42 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .showcase-slider .ss-nav{
    bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 10px !important;
    max-width: calc(100% - 24px) !important;
  }

  .showcase-slider .ss-nav-inner{
    gap: 8px !important;
  }

  /* WICHTIG: Labels bleiben sichtbar */
  .showcase-slider .ss-chip{
    width: clamp(112px, 39vw, 156px) !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: .05em !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  /* =====================================================
     ÖFFNUNGSZEITEN / TEXT ONLY
     Nicht mehr nach rechts gedrückt
  ===================================================== */
  .text-only-section .cms-richtext > *{
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .text-only-section .cms-richtext table{
    width: min(100%, 34rem) !important;
    margin: 0 auto !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
  }

  .text-only-section .cms-richtext tbody{
    display: block !important;
    width: 100% !important;
  }

  .text-only-section .cms-richtext tr{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 0 18px 0 !important;
  }

  .text-only-section .cms-richtext th,
  .text-only-section .cms-richtext td{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  .text-only-section .cms-richtext :where(
    [class*="hours-grid"],
    [class*="hours-row"],
    [class*="hours-item"],
    [class*="opening-hours"],
    [class*="opening-row"],
    [class*="opening-item"],
    [class*="opening-times"]
  ){
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .text-only-section .cms-richtext :where(
    [class*="hours-grid"],
    [class*="hours-row"],
    [class*="hours-item"],
    [class*="opening-hours"],
    [class*="opening-row"],
    [class*="opening-item"],
    [class*="opening-times"]
  ) > *{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  main p,
  main li,
  .cb-desc,
  .faq-content,
  .card-text,
  .cms-richtext{
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto;
    line-height: 1.55 !important;
  }

  .rw-grid,
  .widget-section .rw-grid,
  .rw-meta{
    grid-template-columns: 1fr !important;
  }

  .widget-section .rw-panel{
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .widget-section .rw-panel iframe{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    transform: none !important;
  }

  /* =====================================================
     GOOGLE MAPS – MOBILE FIX
     Kein doppelter Hinweis mehr
  ===================================================== */
  .map-container,
  .map-container.cms-map-consent{
    filter: none !important;
  }

  .map-container.cms-map-consent{
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 0 16px 0 !important;
  }

  /* hidden bleibt hidden */
  .map-container.cms-map-consent .map-consent-layer[hidden]{
    display: none !important;
  }

  /* häufige zweite Status-/Blocked-Karten mobil ausblenden */
  .map-container.cms-map-consent .map-blocked,
  .map-container.cms-map-consent .map-blocked-card,
  .map-container.cms-map-consent .map-consent-blocked,
  .map-container.cms-map-consent [data-map-state="blocked"],
  .map-container.cms-map-consent + .map-blocked,
  .map-container.cms-map-consent + .map-blocked-card,
  .map-container.cms-map-consent + .map-consent-blocked,
  .map-container.cms-map-consent + [data-map-state="blocked"]{
    display: none !important;
  }

  .map-container.cms-map-consent:not([data-map-active="1"]) .map-embed-slot{
    display: none !important;
  }

  .map-container.cms-map-consent:not([data-map-active="1"]) .map-consent-layer:not([hidden]){
    position: relative !important;
    inset: auto !important;
    display: block !important;
    padding: 0 12px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .map-container.cms-map-consent:not([data-map-active="1"]) .map-consent-card{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .map-container.cms-map-consent .map-consent-title{
    font-size: clamp(18px, 5.2vw, 24px) !important;
    line-height: 1.15 !important;
  }

  .map-container.cms-map-consent .map-consent-text{
    font-size: clamp(15px, 4.2vw, 17px) !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .map-container.cms-map-consent .map-consent-actions{
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .map-container.cms-map-consent .map-btn{
    width: 100% !important;
    min-height: 48px !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .map-container.cms-map-consent[data-map-active="1"]{
    min-height: 320px !important;
  }

  .map-container.cms-map-consent[data-map-active="1"] .map-consent-layer{
    display: none !important;
  }

  .map-container.cms-map-consent[data-map-active="1"] .map-embed-slot{
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: min(56svh, 420px) !important;
    min-height: 320px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    pointer-events: auto !important;
  }

  .map-container.cms-map-consent[data-map-active="1"] .map-embed-slot iframe.map-embed{
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  /* iOS Formular-Zoom verhindern */
  .cms-form input[type="text"],
  .cms-form input[type="email"],
  .cms-form input[type="tel"],
  .cms-form input[type="date"],
  .cms-form select,
  .cms-form textarea{
    font-size: 16px !important;
  }
}

/* =========================
   Hero mobile Fix v2
   Ziel:
   - normale Mobile-Ansicht wieder größer / schöner
   - bei enger Breite (z. B. starkem Zoom) automatisch sicherer
   - kein Kollaps mit Dots / Button
========================= */
@media (max-width: 430px){

  .hero{
    height: 100svh !important;
    min-height: 100svh !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hero-content{
    width: min(90vw, 25rem) !important;
    max-width: min(90vw, 25rem) !important;
    min-height: 100svh !important;

    margin: 0 auto !important;
    padding:
      max(calc(var(--hdr-offset, 92px) + 20px), 120px)
      16px
      156px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero h1{
    width: 100% !important;
    max-width: 13.5ch !important;
    margin: 0 auto 18px !important;

    font-size: clamp(2.15rem, 8.4vw, 3.2rem) !important;
    line-height: 1.06 !important;
    font-weight: 300 !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance !important;
  }

  .hero-pre{
    max-width: 19rem !important;
    margin: 0 auto 12px !important;

    font-size: clamp(.78rem, 3vw, .95rem) !important;
    line-height: 1.3 !important;
    letter-spacing: .14em !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance !important;
  }

  .hero-btn-wrapper{
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 4 !important;
  }

  .hero .btn,
  .hero-btn-wrapper .btn{
    width: auto !important;
    max-width: min(20rem, 92vw) !important;
    min-height: 44px !important;

    padding: 14px 24px !important;
    margin-top: 0 !important;

    font-size: .92rem !important;
    line-height: 1.1 !important;
    letter-spacing: .12em !important;
    white-space: nowrap !important;
    text-align: center !important;

    position: relative !important;
    z-index: 4 !important;
  }

  .hero-pagination{
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: max(24px, env(safe-area-inset-bottom, 0px) + 6px) !important;

    width: calc(100% - 28px) !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    z-index: 3 !important;
  }

  .hero-dot{
    width: 34px !important;
    height: 6px !important;
    flex: 0 0 auto !important;
  }
}

/* enger / stärker gezoomt / sehr kleine Geräte */
@media (max-width: 380px){

  .hero-content{
    width: min(88vw, 23rem) !important;
    max-width: min(88vw, 23rem) !important;
    padding:
      max(calc(var(--hdr-offset, 92px) + 18px), 116px)
      14px
      160px !important;
  }

  .hero h1{
    max-width: 12.5ch !important;
    font-size: clamp(1.7rem, 6.7vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }

  .hero-pre{
    max-width: 17rem !important;
    font-size: clamp(.72rem, 2.8vw, .86rem) !important;
  }

  .hero .btn,
  .hero-btn-wrapper .btn{
    max-width: min(18.5rem, 90vw) !important;
    padding: 13px 20px !important;
    font-size: .88rem !important;
    letter-spacing: .1em !important;
  }

  .hero-pagination{
    bottom: max(20px, env(safe-area-inset-bottom, 0px) + 4px) !important;
    gap: 8px !important;
  }

  .hero-dot{
    width: 30px !important;
  }
}

/* =========================
   Footer mobile / 200% Fix
   Ziel:
   - keine Zeile läuft nach außen
   - keine horizontale Verschiebung
========================= */
@media (max-width: 430px){

  footer#contact{
    overflow-x: hidden !important;
  }

  footer#contact .container{
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin: 0 auto !important;
  }

  footer#contact .footer-grid{
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  footer#contact .footer-grid > *,
  footer#contact .footer-col{
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  footer#contact .footer-col p,
  footer#contact .footer-col a,
  footer#contact .footer-bottom,
  footer#contact .footer-bottom a{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  footer#contact .footer-col .btn{
    width: 100% !important;
    max-width: 100% !important;
  }

  footer#contact .social-links{
    flex-wrap: wrap !important;
  }

  footer#contact img{
    width: auto !important;
    max-width: min(72vw, 220px) !important;
    height: auto !important;
  }
}

/* =====================================================
   SAMSUNG HEADER RESET – EINZIGER Samsung-Block
   Alte Blöcke komplett löschen und nur diesen drin lassen
===================================================== */
@media (min-width: 391px) and (max-width: 430px) and (hover: none) and (pointer: coarse) {

  html{
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  html,
  body{
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  /* mögliche Overflow-/Scroll-Auslöser neutralisieren */
  .hero-content,
  .hero h1,
  .hero-pre,
  .hero-btn-wrapper{
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  .hdr,
  #siteHeader,
  #header{
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ===== Modern Header ===== */
  .hdr-left,
  .hdr-center,
  .hdr-actions,
  .hdr-lang{
    display: none !important;
  }

  .hdr-row,
  .hdr.hdr--modern .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row--modern{
    position: relative !important;
    display: block !important;
    min-height: 72px !important;
    padding: 12px 68px 12px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .hdr-logo{
    display: block !important;
    width: max-content !important;
    max-width: calc(100% - 68px) !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .hdr-logo img,
  .hdr-scope.is-layout-modern .hdr-logo img{
    display: block !important;
    width: auto !important;
    height: clamp(34px, 7vw, 44px) !important;
    max-width: min(60vw, 190px) !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .hdr.scrolled .hdr-logo img,
  .hdr.scrolled .hdr-scope.is-layout-modern .hdr-logo img{
    height: clamp(30px, 6vw, 38px) !important;
    max-width: min(56vw, 170px) !important;
  }

  .hdr-right{
    position: static !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    flex: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hdr-menu-btn,
  .hdr-right .hdr-menu-btn{
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

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

    overflow: hidden !important;
    box-sizing: border-box !important;

    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-indent: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.04) !important;

    z-index: 9999 !important;
  }

  .hdr-menu-btn::before,
  .hdr-right .hdr-menu-btn::before{
    content: "☰" !important;
    display: block !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: currentColor !important;
  }

  .hdr-menu-btn::after,
  .hdr-right .hdr-menu-btn::after{
    content: none !important;
  }

  .hdr-menu-btn > *,
  .hdr-right .hdr-menu-btn > *{
    display: none !important;
  }

  /* ===== Legacy Header (#header) ===== */
  #header .nav-links,
  #header .lang-switch{
    display: none !important;
  }

  #header .nav-container{
    position: relative !important;
    display: block !important;
    min-height: 72px !important;
    padding: 12px 68px 12px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #header .logo{
    display: block !important;
    width: max-content !important;
    max-width: calc(100% - 68px) !important;
    margin: 0 !important;
  }

  #header .logo img{
    display: block !important;
    width: auto !important;
    height: clamp(34px, 7vw, 44px) !important;
    max-width: min(60vw, 190px) !important;
    object-fit: contain !important;
  }

  #header .hamburger{
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

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

    overflow: hidden !important;
    box-sizing: border-box !important;

    font-size: 0 !important;
    line-height: 0 !important;

    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.04) !important;

    z-index: 9999 !important;
  }

  #header .hamburger::before{
    content: "☰" !important;
    display: block !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: currentColor !important;
  }
}

/* =====================================================
   SAMSUNG / ANDROID 200% TEXT-ZOOM – FIX v7
   
   ÄNDERUNG vs v6:
   - overflow: clip NUR noch auf html, body, .hero, .hdr,
     .showcase-slider, footer (= die Overflow-Verursacher)
   - KEIN overflow: clip mehr auf .container, section, main,
     body > * → damit wird Fließtext nicht mehr abgeschnitten
   - Content-Blocks bei 200% Zoom: Text darf umbrechen statt
     abgeschnitten zu werden
   
   ANWENDUNG:
   Den KOMPLETTEN "NUCLEAR FIX v6" Block am Ende der
   style.css ERSETZEN durch diesen Block.
===================================================== */

/* ==========================================================
   TEIL 1: GLOBALER OVERFLOW-SCHUTZ
   NUR auf html + body, NICHT auf children
========================================================== */

html {
  scrollbar-gutter: auto !important;
}

html,
body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

/* ==========================================================
   TEIL 2: OVERFLOW CLIP NUR AUF DIE VERURSACHER
   (hero, header, showcase, footer)
   NICHT auf .container, section, main!
========================================================== */

.hero {
  overflow: clip !important;
  max-width: 100vw !important;
}

.hero-bg {
  overflow: clip !important;
}

.hdr {
  overflow: visible !important;
  max-width: 100vw !important;
  width: 100% !important;
}

.hdr-row {
  overflow: visible !important;
  max-width: 100% !important;
}

.showcase-slider {
  overflow: clip !important;
  max-width: 100vw !important;
}

.showcase-slider .ss-stage {
  overflow: clip !important;
}

footer#contact {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

/* ==========================================================
   TEIL 3: TEXT-CONTAINER – KEIN CLIP, STATTDESSEN WORD-WRAP
   Fließtext darf umbrechen, wird aber nie breiter als 100%
========================================================== */

.container {
  max-width: min(var(--container-width), calc(100vw - 30px)) !important;
  box-sizing: border-box !important;
}

section,
.section,
main {
  max-width: 100vw !important;
  /* KEIN overflow-x: clip hier! Text soll umbrechen, nicht clippen */
}

/* Content Blocks: bei 200% Zoom Text umbrechen lassen */
.cb-title,
.cb-desc,
.cb-text,
.cb-text *,
.feature-item h3,
.feature-item p,
.faq-title,
.faq-content,
.card-body h3,
.card-text {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
}

/* Überschriften die zu breit werden bei 200% */
.cb-title {
  font-size: clamp(1.4rem, 4vw, 2.5rem) !important;
}

/* ==========================================================
   TEIL 4: NUR ANDROID (nicht iOS) – SPEZIFISCHE FIXES
========================================================== */

@supports not (-webkit-touch-callout: none) {

  /* Hero iframe: min-width entfernen auf Android */
  .hero .hero-bg > iframe.hero-embed {
    min-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* ==========================================================
   TEIL 5: ANDROID MOBILE SPEZIFISCH
========================================================== */

@supports not (-webkit-touch-callout: none) {
  @media (hover: none) and (pointer: coarse) {

    html {
      -webkit-text-size-adjust: 100% !important;
      text-size-adjust: 100% !important;
    }

    /* Hero h1 */
    .hero h1 {
      font-size: clamp(1.2rem, 7vw, 3rem) !important;
      max-width: 100% !important;
      overflow-wrap: break-word !important;
      word-break: break-word !important;
    }

    .hero-pre {
      letter-spacing: min(0.14em, 3px) !important;
      max-width: 100% !important;
      overflow-wrap: break-word !important;
    }

    .hero .btn,
    .hero-btn-wrapper .btn {
      max-width: calc(100vw - 40px) !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }

    .showcase-slider .ss-title {
      font-size: clamp(1.2rem, 7vw, 3rem) !important;
      max-width: 100% !important;
      overflow-wrap: break-word !important;
    }

    /* Header Layout */
    .hdr-row,
    .hdr.hdr--modern .hdr-row,
    .hdr-scope.is-layout-modern .hdr-row--modern {
      display: flex !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 10px 14px !important;
      gap: 8px !important;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .hdr-logo {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      max-width: calc(100% - 60px) !important;
      overflow: hidden !important;
    }

    .hdr-logo img,
    .hdr-scope.is-layout-modern .hdr-logo img {
      max-width: min(55vw, 200px) !important;
      height: auto !important;
      max-height: 50px !important;
      object-fit: contain !important;
    }

    .hdr.scrolled .hdr-logo img {
      max-height: 40px !important;
    }

    .hdr-menu-btn {
      flex: 0 0 48px !important;
      width: 48px !important;
      height: 48px !important;
      min-width: 48px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    .hdr-actions,
    .hdr-scope.is-layout-modern .hdr-nav,
    .hdr-left:not(.hdr-logo),
    .hdr-lang {
      display: none !important;
    }

    .content-block,
    .content-block.reversed {
      max-width: 100% !important;
    }

    .cb-image-container {
      max-width: 100% !important;
    }

    .hm {
      width: 100% !important;
      max-width: 100vw !important;
    }

    .map-container {
      max-width: 100% !important;
      overflow: hidden !important;
    }
  }
}

/* ==========================================================
   TEIL 6: ALLE MOBILES – TEXT LESBAR BEI 200%
   Greift auf iOS UND Android
========================================================== */

@media (hover: none) and (pointer: coarse) {

  /* Content-Block Text: bei gestapeltem Layout volle Breite */
  .content-block .cb-text,
  .content-block .cb-image-container {
    min-width: 0 !important;
  }

  /* Alle Textelemente: word-wrap sicher */
  main p,
  main h1, main h2, main h3, main h4,
  main li,
  main td,
  .cms-richtext,
  .cms-richtext * {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  /* Bilder nie breiter als Container */
  img {
    max-width: 100% !important;
  }
}

/* =====================================================
   iOS + ANDROID TEXT-WRAP FIX (Ergänzung zu v7)
   
   Problem: cb-title und Fließtext wird bei 200% Zoom
   auf iPhone abgeschnitten, weil die word-wrap Regeln
   nur im Android-Block standen.
   
   Lösung: Diese Regeln GLOBAL setzen (kein @supports,
   kein @media hover). Schadet nicht auf Desktop.
   
   ANWENDUNG: Ans Ende der style.css einfügen,
   NACH dem v7-Block.
===================================================== */

/* ==========================================================
   GLOBALE TEXT-UMBRECH-REGELN (iOS + Android + Desktop)
   Greifen immer, schaden nicht bei normalem Zoom
========================================================== */

/* Alle Überschriften in Content-Blocks: umbrechen statt überlaufen */
.cb-title {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
}

.cb-subtitle {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

/* Showcase Slider Titel */
.showcase-slider .ss-title {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
}

/* Fließtext überall */
.cb-desc,
.cb-text,
.cb-text p,
.feature-item h3,
.feature-item p,
.faq-title,
.faq-content,
.card-body h3,
.card-text,
.rw-card-title,
.image-cta-title,
.image-cta-text,
.image-cta-sub {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

/* CMS Richtext */
.cms-richtext,
.cms-richtext * {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* Alle Überschriften generell */
main h1, main h2, main h3, main h4, main h5, main h6 {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
}

/* Paragraphen und Listen */
main p,
main li,
main td {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

/* Container: nie breiter als Viewport minus Padding */
.container {
  max-width: min(var(--container-width), calc(100vw - 30px)) !important;
  box-sizing: border-box !important;
}

/* Content-Block Text-Spalte: min-width 0 damit flex korrekt schrumpft */
.content-block .cb-text {
  min-width: 0 !important;
}

/* =====================================================
   HERO DESKTOP TITLE – kein Hand- / werk Umbruch
===================================================== */
.hero h1{
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;

  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: balance !important;
}

/* Desktop etwas mehr Luft für die Headline */
@media (min-width: 1024px){
  .hero-content{
    max-width: 1040px !important;
  }

  .hero h1{
    max-width: 1040px !important;
  }
}

/* =====================================================
   OVERLAY MENÜ – LOGO ZENTRIERT + MENÜ MITTIG
   NUR bei normaler Ansicht (100%), NICHT bei Zoom.
   
   Trick: min-height: 500px stellt sicher dass bei 200%
   Zoom (wo der sichtbare Bereich viel kleiner wird)
   diese Regeln NICHT greifen.
   
   ANWENDUNG: Ans Ende der style.css einfügen.
===================================================== */

@media (max-width: 640px) and (min-height: 500px) {

  /* ---- TOP BAR: Logo wirklich mittig, X absolut rechts ---- */
  .hm-top {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 72px !important;
    padding: 12px 16px !important;
  }

  /* Logo-Container: kein padding-right mehr, einfach zentriert */
  .hm-center {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* X-Button: absolut positioniert, stört Logo-Zentrierung nicht */
  .hm-close {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%) !important;
    z-index: 45 !important;
  }

  /* ---- MENÜ BODY: vertikal zentriert ---- */
  .hm-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 0 max(24px, env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Grid: zentriert */
  .hm-grid {
    width: 100% !important;
    max-width: 28rem !important;
    margin: 0 auto !important;
    padding: 0 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 22px !important;
    transform: none !important;
  }
}

/* =====================================================
   ZENCHEF – INLINE EMBED + PROJECT FLOAT
===================================================== */

/* Inline Zenchef im normalen Restaurant-Content-Block */
.widget-section .rw-panel--zenchef{
  position: relative;
  background: var(--rw-widget-bg, #F6F1E8);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.widget-section .rw-embed-frame--zenchef{
  width: 100%;
  min-height: 680px;
  display: block;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

/* ─────────────────────────────────────────────────────
   Projektweites Floating Widget
   ───────────────────────────────────────────────────── */
.zc-project-float{
  --zc-float-accent: var(--color-accent);
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1750;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.zc-project-float > *{
  pointer-events: auto;
}

/* ── Aufklapp-Panel ── */
.zc-project-panel{
  width: min(420px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);

  opacity: 0;
  transform: translateY(12px) scale(.985);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.zc-project-float.is-open .zc-project-panel{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.zc-project-panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 14px 18px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
}

.zc-project-panel-copy{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zc-project-panel-kicker{
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.58);
  font-weight: 700;
}

.zc-project-panel-title{
  font-size: 1rem;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.zc-project-close{
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: #ffffff;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.zc-project-close:hover{
  background: rgba(15,23,42,0.04);
  transform: translateY(-1px);
}

.zc-project-panel-body{
  padding: 12px;
  background: #F6F1E8;
}

.zc-project-frame{
  width: 100%;
  height: min(72vh, 680px);
  display: block;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

/* ── Trigger-Button ── */
.zc-project-trigger{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--zc-float-accent);
  color: #ffffff;
  min-height: 58px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  transition: transform .15s ease, box-shadow .18s ease, opacity .18s ease;
  font-family: var(--font-main);
  font-weight: 700;
}

.zc-project-trigger:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.28);
}

.zc-project-trigger-icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.zc-project-trigger-label{
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: .02em;
}

/* ─────────────────────────────────────────────────────
   TABLET
   ───────────────────────────────────────────────────── */
@media (max-width: 56.25rem){
  .widget-section .rw-embed-frame--zenchef{
    min-height: 620px;
  }
}

/* ─────────────────────────────────────────────────────
   MOBILE – dezenter, kompakter Floating-Button
  kleiner Pill unten rechts,
   nicht full-width.
   ───────────────────────────────────────────────────── */
@media (max-width: 40rem){

  /* Float bleibt rechts unten, NICHT full-width */
  .zc-project-float{
    right: 14px;
    bottom: 14px;
    left: auto;
    align-items: flex-end;
  }

  /* Panel nimmt fast die volle Breite, aber mit Rand */
  .zc-project-panel{
    width: min(380px, calc(100vw - 28px));
    transform-origin: bottom right;
  }

  .zc-project-frame{
    height: min(62vh, 560px);
  }

  /* Trigger: kompakter Pill-Button, nicht full-width */
  .zc-project-trigger{
    width: auto;
    min-height: 48px;
    padding: 12px 20px;
    gap: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.20);
  }

  .zc-project-trigger-icon{
    width: 18px;
    height: 18px;
    font-size: 13px;
  }

  .zc-project-trigger-label{
    font-size: 13px;
  }

  /* Inline Widget */
  .widget-section .rw-embed-frame--zenchef{
    min-height: 560px;
  }
}

/* ─────────────────────────────────────────────────────
   SMALL MOBILE – noch kompakter
   ───────────────────────────────────────────────────── */
@media (max-width: 28rem){
  .zc-project-float{
    right: 12px;
    bottom: 12px;
  }

  .zc-project-trigger{
    min-height: 44px;
    padding: 10px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  }

  .zc-project-trigger-label{
    font-size: 12px;
  }

  .zc-project-panel{
    width: calc(100vw - 24px);
    border-radius: 18px;
  }

  .zc-project-frame{
    height: min(58vh, 500px);
    border-radius: 12px;
  }
}

/* =====================================================
   LIGHTBOX FIX – Close Button + Header Lock
===================================================== */
.lightbox-close {
  z-index: 2010 !important;
  cursor: pointer;
  pointer-events: auto;
}

.lightbox-nav {
  z-index: 2005;
}

.hdr[data-lightbox-lock="1"],
#siteHeader[data-lightbox-lock="1"] {
  background: var(--hdr-bg-scrolled) !important;
  color: var(--hdr-text-scrolled) !important;
  border-bottom: 1px solid var(--hdr-border-scrolled) !important;
  backdrop-filter: blur(12px) !important;
}

/* A11Y button reset for gallery + lightbox */
.gallery-item{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.gallery-item:focus-visible{
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.lightbox-close,
.lightbox-nav{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
}

body.lb-open{
  overflow: hidden;
}

/* =====================================================
   FOOTER FIX – Hours + Bottom Links inline
===================================================== */

/* Öffnungszeiten sollen optisch gleich aussehen wie vorher */
footer#contact .footer-hours-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

footer#contact .footer-hours-list li{
  color: var(--footer-muted, #a0a0a0);
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Footer Bottom: Text + Links sauber mittig */
footer#contact .footer-bottom{
  text-align: center;
}

footer#contact .footer-bottom p{
  margin: 0 0 8px 0;
}

/* Links in EINER Reihe mit Pipes dazwischen */
footer#contact .footer-bottom-nav{
  margin-top: 0;
}

footer#contact .footer-bottom-nav ul{
  list-style: none;
  padding: 0;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

footer#contact .footer-bottom-nav li{
  display: inline-flex;
  align-items: center;
}

footer#contact .footer-bottom-nav li + li::before{
  content: "|";
  color: var(--footer-muted, #a0a0a0);
  margin: 0 10px;
}

footer#contact .footer-bottom-nav a{
  color: var(--footer-muted, #a0a0a0);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.2;
}

footer#contact .footer-bottom-nav a:hover{
  color: var(--footer-accent, #D4AF37);
}

/* Mobile: darf umbrechen, aber bleibt schön */
@media (max-width: 430px){
  footer#contact .footer-bottom-nav ul{
    display: flex;
    justify-content: center;
    row-gap: 8px;
  }

  footer#contact .footer-bottom-nav li + li::before{
    margin: 0 8px;
  }
}

.ai-lock-info{
  background:#f3f4f6;
  color:#4b5563;
  border:1px solid #e5e7eb;
  padding:12px 14px;
  border-radius:8px;
  margin:0 0 12px;
}

.ai-basics-locked{
  opacity:.62;
}

.ai-basics-locked .form-control{
  background:#f3f4f6 !important;
  color:#6b7280 !important;
  cursor:not-allowed;
}

.ai-basics-locked input[type="checkbox"]{
  cursor:not-allowed;
}

.ai-basics-locked label{
  color:#6b7280;
}

/* =====================================================
   FOOTER LOGO FINAL FIX
   - erzwingt eigene Footer-Logo-Breiten
   - überschreibt globale img-Regeln
   - Desktop + Mobile getrennt
===================================================== */
footer#contact .footer-logo-img{
  width: var(--footer-logo-width, 120px) !important;
  max-width: var(--footer-logo-width, 120px) !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  margin-bottom: 20px !important;
  flex: 0 0 auto !important;
}

@media (max-width: 768px){
  footer#contact .footer-logo-img{
    width: var(--footer-logo-width-mobile, var(--footer-logo-width, 120px)) !important;
    max-width: var(--footer-logo-width-mobile, var(--footer-logo-width, 120px)) !important;
    height: auto !important;
  }
}

/* =====================================================
   OVERLAY HARD RESET – FINAL
   nur für mobiles Overlay im hdrScope
===================================================== */
@media (max-width: 640px) {
  #hdrScope .hm-body{
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    padding: 18px 0 max(24px, env(safe-area-inset-bottom, 0px)) !important;
  }

  #hdrScope .hm-nav{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #hdrScope .hm-grid{
    width: 100% !important;
    max-width: 28rem !important;
    margin: 0 auto !important;
    padding: 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    transform: none !important;
  }

  #hdrScope .hm-bottom-tools{
    margin-top: auto !important;
    width: 100% !important;
  }
}

/* =====================================================
   ANDROID / SAMSUNG OVERLAY FIX – FINAL
   verhindert dass .hm-grid durch alte flex:1 Regeln oben klebt
===================================================== */
@supports not (-webkit-touch-callout: none) {
  @media (max-width: 640px) and (hover: none) and (pointer: coarse) {

    #hdrScope .hm-body{
      display: flex !important;
      flex-direction: column !important;
      min-height: 0 !important;
      overflow: hidden !important;
    }

    #hdrScope .hm-nav{
      flex: 1 1 auto !important;
      min-height: 0 !important;
      width: 100% !important;
      display: block !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
    }

    #hdrScope .hm-grid{
      flex: 0 0 auto !important;
      min-height: auto !important;
      align-content: stretch !important;
      justify-content: flex-start !important;
      margin: 0 auto !important;
      transform: none !important;
    }

    #hdrScope .hm-bottom-tools{
      flex: 0 0 auto !important;
      margin-top: auto !important;
      width: 100% !important;
    }
  }
}

/* =====================================================
   MOBILE OVERLAY – FINAL REAL DEVICE FIX
   Kein JS-Rechnen mehr.
   Zentrierung nur über CSS:
   - .hm-nav füllt den freien Bereich
   - .hm-grid bekommt oben/unten auto-margin
   - bei wenig Platz fällt es automatisch nach oben
===================================================== */
@media (max-width: 640px) {
  #hdrScope .hm,
  #hdrScope .hm.open,
  #hdrScope .hm[aria-hidden="false"]{
    display: flex !important;
    flex-direction: column !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  #hdrScope .hm-top{
    flex: 0 0 auto !important;
  }

  #hdrScope .hm-body{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 18px 0 max(24px, env(safe-area-inset-bottom, 0px)) !important;
  }

  #hdrScope .hm-nav{
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #hdrScope .hm-grid{
    flex: 0 0 auto !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 28rem !important;

    margin-top: auto !important;
    margin-bottom: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 20px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    transform: none !important;
  }

  #hdrScope .hm-bottom-tools{
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    width: 100% !important;
    padding: 12px 0 calc(22px + env(safe-area-inset-bottom)) 0 !important;
  }
}

/* =====================================================
   BOOKING ENGINE – FULL RESPONSIVE FRONTEND
   Am ENDE der style.css einfügen
===================================================== */

:root{
  --booking-bg: var(--color-bg);
  --booking-surface: var(--color-surface);
  --booking-card-bg: rgba(255,255,255,0.04);
  --booking-card-bg-solid: #ffffff;
  --booking-text: var(--color-text-main);
  --booking-muted: var(--color-text-muted);
  --booking-accent: var(--color-accent);
  --booking-border: var(--color-border);
  --booking-radius-xl: 24px;
  --booking-radius-lg: 18px;
  --booking-radius-md: 14px;
  --booking-shadow:
    0 18px 55px rgba(0,0,0,0.18);
  --booking-shadow-soft:
    0 12px 32px rgba(0,0,0,0.10);
  --booking-gradient:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

/* =====================================================
   PAGE WRAPPER
===================================================== */
.booking-page{
  position: relative;
  background: var(--booking-bg);
  color: var(--booking-text);
}

.booking-page .container{
  position: relative;
  z-index: 1;
}

.booking-section{
  padding-top: var(--sec-pt, 80px);
  padding-bottom: var(--sec-pb, 80px);
}

.booking-section + .booking-section{
  padding-top: 0;
}

/* =====================================================
   HERO / INTRO
===================================================== */
.booking-hero{
  position: relative;
  padding: clamp(48px, 8vw, 110px) 0 clamp(34px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.booking-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 38%),
    radial-gradient(circle at bottom left, rgba(212,175,55,0.08), transparent 32%);
  pointer-events:none;
  z-index:0;
}

.booking-hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.booking-kicker{
  display:block;
  margin-bottom: 14px;
  color: var(--booking-accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  font-weight: 700;
}

.booking-title{
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.06;
  color: var(--booking-text);
}

.booking-lead{
  max-width: 52rem;
  margin: 18px auto 0;
  color: var(--booking-muted);
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.7;
}

.booking-actions{
  margin-top: 26px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items:center;
  justify-content:center;
}

/* =====================================================
   FILTER / QUICK BAR
===================================================== */
.booking-toolbar{
  margin-top: 28px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.booking-chip,
.booking-filter-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--booking-text);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.booking-chip:hover,
.booking-filter-pill:hover{
  border-color: var(--booking-accent);
  transform: translateY(-1px);
}

.booking-chip.is-active,
.booking-filter-pill.is-active{
  background: var(--booking-accent);
  color: var(--color-text-inverse);
  border-color: var(--booking-accent);
}

/* =====================================================
   OVERVIEW GRID
===================================================== */
.booking-list{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.booking-card{
  position: relative;
  display:flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;

  border-radius: var(--booking-radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    var(--booking-surface);
  box-shadow: var(--booking-shadow);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.booking-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.45);
  box-shadow:
    0 22px 65px rgba(0,0,0,0.24),
    0 0 0 1px rgba(212,175,55,0.24);
}

.booking-card-media{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.booking-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.booking-card:hover .booking-card-media img{
  transform: scale(1.04);
}

.booking-badge{
  position:absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17,24,39,0.76);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-card-body{
  display:flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.booking-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}

.booking-card-title{
  margin: 0;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.45rem);
  line-height: 1.18;
  color: var(--booking-text);
}

.booking-card-price{
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.booking-card-price strong{
  display:block;
  color: var(--booking-accent);
  font-size: 1.15rem;
  line-height: 1.1;
}

.booking-card-price span{
  display:block;
  margin-top: 4px;
  color: var(--booking-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-card-text{
  color: var(--booking-muted);
  line-height: 1.7;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.booking-card-meta{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.booking-meta-item{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
  color: var(--booking-text);
  font-size: .92rem;
  line-height: 1.35;
}

.booking-meta-item i{
  color: var(--booking-accent);
  width: 16px;
  text-align:center;
  flex: 0 0 16px;
}

.booking-card-actions{
  margin-top: auto;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
}

.booking-card-actions .btn{
  margin-top: 0;
}

/* =====================================================
   EMPTY / INFO STATES
===================================================== */
.booking-empty,
.booking-info-box{
  border-radius: var(--booking-radius-lg);
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  padding: 26px 24px;
  text-align: center;
  color: var(--booking-muted);
}

/* =====================================================
   DETAIL LAYOUT
===================================================== */
.booking-detail{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.booking-main{
  min-width: 0;
}

.booking-sidebar{
  min-width: 0;
}

.booking-sticky{
  position: sticky;
  top: calc(var(--hdr-offset, 90px) + 20px);
}

/* =====================================================
   DETAIL GALLERY
===================================================== */
.booking-gallery{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.booking-gallery-main{
  position: relative;
  overflow: hidden;
  border-radius: var(--booking-radius-xl);
  background: rgba(255,255,255,0.04);
  aspect-ratio: 16 / 10;
  box-shadow: var(--booking-shadow);
}

.booking-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-gallery-thumbs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.booking-gallery-thumb{
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color .18s ease, transform .18s ease;
}

.booking-gallery-thumb:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,0.4);
}

.booking-gallery-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-gallery-thumb.is-active{
  border-color: var(--booking-accent);
  box-shadow: 0 0 0 1px var(--booking-accent);
}

/* =====================================================
   DETAIL TEXT BLOCKS
===================================================== */
.booking-copy{
  margin-top: 26px;
}

.booking-detail-head{
  margin-bottom: 18px;
}

.booking-detail-kicker{
  display:block;
  margin-bottom: 10px;
  color: var(--booking-accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 700;
}

.booking-detail-title{
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.booking-detail-subtitle{
  margin-top: 14px;
  color: var(--booking-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.booking-feature-list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 24px;
}

.booking-feature{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  min-width: 0;
  color: var(--booking-text);
  line-height: 1.45;
}

.booking-feature i{
  width: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--booking-accent);
}

.booking-richtext{
  margin-top: 26px;
  color: var(--booking-muted);
}

.booking-richtext p + p{
  margin-top: 14px;
}

/* =====================================================
   SIDEBAR PANELS
===================================================== */
.booking-panel{
  border-radius: var(--booking-radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    var(--booking-surface);
  box-shadow: var(--booking-shadow);
  overflow: hidden;
}

.booking-panel + .booking-panel{
  margin-top: 18px;
}

.booking-panel-inner{
  padding: 22px;
}

.booking-panel-kicker{
  display:block;
  margin-bottom: 8px;
  color: var(--booking-accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
}

.booking-panel-title{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

.booking-price-box{
  margin-top: 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
}

.booking-price-main strong{
  display:block;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1;
  color: var(--booking-accent);
}

.booking-price-main span{
  display:block;
  margin-top: 6px;
  color: var(--booking-muted);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-quick-facts{
  margin-top: 20px;
  display:grid;
  gap: 10px;
}

.booking-quick-fact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.booking-quick-fact-label{
  color: var(--booking-muted);
  font-size: .92rem;
}

.booking-quick-fact-value{
  color: var(--booking-text);
  font-weight: 700;
  text-align: right;
}

.booking-cta-stack{
  margin-top: 18px;
  display:grid;
  gap: 12px;
}

.booking-cta-stack .btn{
  width: 100%;
  margin-top: 0;
}

.booking-note{
  margin-top: 16px;
  color: var(--booking-muted);
  font-size: .92rem;
  line-height: 1.65;
}

/* =====================================================
   BOOKING WIDGET / IFRAME PANEL
===================================================== */
.booking-widget-panel{
  border-radius: var(--booking-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #ffffff;
  box-shadow: var(--booking-shadow-soft);
}

.booking-widget-frame{
  width: 100%;
  min-height: 760px;
  border: 0;
  display: block;
  background: #ffffff;
}

/* =====================================================
   SMALL META / STATUS
===================================================== */
.booking-status-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  margin-top: 18px;
}

.booking-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--booking-text);
}

.booking-status.is-available{
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.14);
  color: #d1fae5;
}

.booking-status.is-limited{
  border-color: rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.14);
  color: #fde68a;
}

/* =====================================================
   SPLIT FACT ROWS
===================================================== */
.booking-facts-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.booking-fact-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 16px 14px;
  text-align: center;
}

.booking-fact-card strong{
  display:block;
  color: var(--booking-text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.booking-fact-card span{
  display:block;
  margin-top: 6px;
  color: var(--booking-muted);
  font-size: .84rem;
  line-height: 1.35;
}

/* =====================================================
   MOBILE / TABLET
===================================================== */
@media (max-width: 75rem){
  .booking-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 62rem){
  .booking-detail{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .booking-sticky{
    position: static;
    top: auto;
  }

  .booking-widget-frame{
    min-height: 680px;
  }
}

@media (max-width: 48rem){
  .booking-list{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .booking-card-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-card-price{
    text-align: left;
  }

  .booking-card-meta{
    grid-template-columns: 1fr;
  }

  .booking-feature-list{
    grid-template-columns: 1fr;
  }

  .booking-facts-grid{
    grid-template-columns: 1fr;
  }

  .booking-gallery-thumbs{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-toolbar{
    justify-content: flex-start;
  }
}

@media (max-width: 40rem){
  .booking-hero{
    padding-top: max(calc(var(--hdr-offset, 90px) + 22px), 96px);
  }

  .booking-title{
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .booking-lead{
    font-size: 1rem;
  }

  .booking-card-body,
  .booking-panel-inner{
    padding: 18px;
  }

  .booking-gallery-main{
    aspect-ratio: 4 / 3;
  }

  .booking-gallery-thumbs{
    gap: 10px;
  }

  .booking-widget-frame{
    min-height: 620px;
  }

  .booking-actions,
  .booking-card-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .booking-actions .btn,
  .booking-card-actions .btn{
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 30rem){
  .booking-kicker,
  .booking-detail-kicker,
  .booking-panel-kicker{
    letter-spacing: .12em;
    font-size: .72rem;
  }

  .booking-card-title{
    font-size: 1.08rem;
  }

  .booking-meta-item{
    font-size: .88rem;
  }

  .booking-gallery-thumbs{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-widget-frame{
    min-height: 560px;
  }
}

/* =====================================================
   LIGHT THEME SUPPORT
===================================================== */
body.light-theme .booking-card,
body.light-theme .booking-panel{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.90)),
    #ffffff;
  border-color: rgba(15,23,42,0.08);
}

body.light-theme .booking-card-title,
body.light-theme .booking-title,
body.light-theme .booking-detail-title,
body.light-theme .booking-panel-title,
body.light-theme .booking-meta-item,
body.light-theme .booking-feature{
  color: #111827;
}

body.light-theme .booking-card-text,
body.light-theme .booking-lead,
body.light-theme .booking-detail-subtitle,
body.light-theme .booking-richtext,
body.light-theme .booking-note,
body.light-theme .booking-quick-fact-label{
  color: #4b5563;
}

body.light-theme .booking-quick-fact,
body.light-theme .booking-fact-card,
body.light-theme .booking-chip,
body.light-theme .booking-filter-pill{
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.08);
  color: #111827;
}

/* =========================================================
   BOOKING OVERVIEW CLEAN UI
========================================================= */

.booking-section {
  padding: 56px 0 80px;
}

.booking-grid--cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap: 32px;
  align-items: start;
  justify-content: start;
}

.booking-card--compact {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

.booking-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.booking-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-card-body {
  padding: 28px;
}

.booking-grid--list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-list-item {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 28px;
  align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.booking-list-media {
  display: block;
  min-height: 100%;
}

.booking-list-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.booking-list-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-title--card {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.08;
  font-weight: 700;
}

.booking-title--card a {
  color: #fff;
  text-decoration: none;
}

.booking-title--card a:hover {
  opacity: 0.9;
}

.booking-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.25);
  color: #d4af37;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
}

.booking-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.booking-meta-item i {
  color: #ef8354;
}

.booking-text {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 22px;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.booking-actions--inline {
  margin-top: auto;
}

.booking-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: #ef8354;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .18s ease, opacity .18s ease;
}

.booking-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.booking-empty-state {
  padding: 36px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

/* Hero nur wenn Content vorhanden ist */
.booking-hero {
  margin-bottom: 20px;
}

.booking-hero-content {
  padding-top: 40px;
  padding-bottom: 40px;
}

.booking-title--hero {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.booking-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #d4af37;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-intro {
  max-width: 760px;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 980px) {
  .booking-list-item {
    grid-template-columns: 1fr;
  }

  .booking-list-body {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .booking-section {
    padding: 36px 0 56px;
  }

  .booking-card-body {
    padding: 22px;
  }

  .booking-title--card {
    font-size: 1.8rem;
  }
}

/* =========================================================
   BOOKING SEARCH RESULTS LAYOUT
========================================================= */

.booking-page--search-results .booking-hero {
  padding-bottom: 28px;
}

.booking-searchbar {
  position: relative;
  z-index: 5;
  margin-top: -10px;
  margin-bottom: 26px;
}

.booking-searchbar-inner {
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.28);
}

.booking-searchbar-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.booking-search-form {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  gap: 14px;
  align-items: end;
}

.booking-search-field label {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.booking-search-field input {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0 14px;
  font-size: 1rem;
}

.booking-search-field input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.booking-search-submit .booking-cta {
  min-width: 220px;
  height: 54px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-results-section {
  padding-top: 10px;
}

.booking-results-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.booking-result-row {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 320px;
  gap: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.98) 0%, rgba(20,20,20,0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
}

.booking-result-image-wrap {
  min-height: 100%;
}

.booking-result-image {
  display: block;
  height: 100%;
}

.booking-result-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.booking-result-main {
  padding: 28px 28px 26px;
  border-left: 1px solid rgba(255,255,255,0.06);
}

.booking-result-title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.booking-result-title a {
  color: #fff;
  text-decoration: none;
}

.booking-result-title a:hover {
  color: #f28b61;
}

.booking-result-main .booking-meta {
  margin-bottom: 18px;
}

.booking-result-text {
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 18px;
}

.booking-result-more {
  color: #f28b61;
  text-decoration: none;
  font-weight: 700;
}

.booking-result-more:hover {
  text-decoration: underline;
}

.booking-result-side {
  padding: 28px 24px 24px;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.02);
}

.booking-result-starting-label {
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.booking-result-starting-price {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.booking-slot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-slot-placeholder,
.booking-slot-empty,
.booking-slot-loading {
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  background: rgba(255,255,255,0.02);
}

.booking-slot-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all .18s ease;
}

.booking-slot-btn:hover {
  border-color: rgba(242,139,97,0.62);
  background: rgba(242,139,97,0.10);
  transform: translateY(-1px);
}

.booking-slot-time {
  font-size: 1rem;
  font-weight: 800;
}

.booking-slot-name {
  color: rgba(255,255,255,0.70);
  font-size: 0.85rem;
}

.booking-slot-price {
  color: #f28b61;
  font-size: 0.98rem;
  font-weight: 800;
}

.booking-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}

.booking-btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.booking-modal.is-open {
  display: flex;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.booking-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100vw - 30px));
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}

.booking-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.booking-modal-head h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.booking-modal-slotinfo {
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
  line-height: 1.5;
}

.booking-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-form-field label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.booking-form-field input,
.booking-form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 14px;
  font-size: 1rem;
}

.booking-form-field input:focus,
.booking-form-field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.booking-form-field--full {
  grid-column: 1 / -1;
}

.booking-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.booking-modal-message {
  margin-top: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  display: none;
}

.booking-modal-message.is-success,
.booking-modal-message.is-error {
  display: block;
}

.booking-modal-message.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
  color: #b7f7df;
}

.booking-modal-message.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

@media (max-width: 1180px) {
  .booking-result-row {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .booking-result-side {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

@media (max-width: 860px) {
  .booking-search-form {
    grid-template-columns: 1fr;
  }

  .booking-search-submit .booking-cta {
    width: 100%;
    min-width: 0;
  }

  .booking-result-row {
    grid-template-columns: 1fr;
  }

  .booking-result-main {
    border-left: 0;
  }

  .booking-result-image img {
    min-height: 220px;
  }

  .booking-modal-grid {
    grid-template-columns: 1fr;
  }

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

  .booking-modal-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   DATEPICKER FIX
========================================================= */

.booking-search-field input[type="date"]{
  -webkit-appearance: none;
  appearance: none;
  color-scheme: light; /* wichtig: versucht den Kalender hell zu machen */
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
  caret-color: #111827;
}

.booking-search-field input[type="date"]:focus{
  background: #ffffff;
  color: #111827;
  border-color: rgba(239, 131, 84, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.12);
}

/* Text im Date-Input explizit dunkel */
.booking-search-field input[type="date"]::-webkit-datetime-edit{
  color: #111827;
}

.booking-search-field input[type="date"]::-webkit-datetime-edit-text{
  color: #6b7280;
}

.booking-search-field input[type="date"]::-webkit-datetime-edit-day-field,
.booking-search-field input[type="date"]::-webkit-datetime-edit-month-field,
.booking-search-field input[type="date"]::-webkit-datetime-edit-year-field{
  color: #111827;
}

/* Kalender-Icon */
.booking-search-field input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 0.9;
  cursor: pointer;
  filter: none;
}

/* Falls der Gäste-Input auch heller sein soll */
.booking-search-field input[type="number"]{
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.booking-search-field input[type="number"]:focus{
  background: #ffffff;
  color: #111827;
  border-color: rgba(239, 131, 84, 0.65);
  box-shadow: 0 0 0 3px rgba(239, 131, 84, 0.12);
}

/* =========================================================
   BOOKING RESULTS – FINAL CLEAN LAYOUT
   GANZ AM ENDE der style.css
========================================================= */

.booking-page--search-results .booking-results-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.booking-page--search-results .booking-result-row{
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr) 240px;
  min-height: 340px;
  gap: 0;
  background: linear-gradient(180deg, rgba(24,24,24,0.98) 0%, rgba(20,20,20,0.98) 100%);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
}

/* =========================
   BILD LINKS
========================= */

.booking-page--search-results .booking-result-image-wrap{
  min-height: 100%;
  background: #111;
}

.booking-page--search-results .booking-result-image{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #111;
}

.booking-page--search-results .booking-result-image img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;

  /* GANZES BILD SICHTBAR */
  object-fit: contain;
  object-position: center center;
  background: #111;
}

/* =========================
   MITTELSPALTE
========================= */

.booking-page--search-results .booking-result-main{
  padding: 30px 28px 26px;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.booking-page--search-results .booking-result-title{
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 1.8vw, 2.1rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: none;
}

.booking-page--search-results .booking-result-title a{
  color: #fff;
  text-decoration: none;
}

.booking-page--search-results .booking-result-title a:hover{
  color: #f28b61;
}

.booking-page--search-results .booking-result-main .booking-meta{
  margin: 0 0 14px;
}

.booking-page--search-results .booking-result-text{
  color: rgba(255,255,255,0.84);
  line-height: 1.6;
  font-size: 0.96rem;
  margin: 0 0 14px;
}

/* =========================
   FEATURES IMMER UNTEREINANDER
========================= */

.booking-page--search-results .booking-result-highlights,
.booking-page--search-results .booking-result-features{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 0 0 16px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.booking-page--search-results .booking-result-feature{
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

.booking-page--search-results .booking-result-feature i{
  width: 16px !important;
  min-width: 16px !important;
  margin-top: 2px !important;
  color: #ef8354 !important;
  text-align: center !important;
}

.booking-page--search-results .booking-result-feature span,
.booking-page--search-results .booking-result-feature a{
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  color: rgba(255,255,255,0.88) !important;
  text-decoration: none !important;

  /* sauber, einzeilig, nicht nebeneinander */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.booking-page--search-results .booking-result-feature a:hover{
  color: #f28b61 !important;
  text-decoration: underline !important;
}

.booking-page--search-results .booking-result-more{
  margin-top: auto;
  display: inline-block;
  color: #f28b61;
  text-decoration: none;
  font-weight: 700;
}

.booking-page--search-results .booking-result-more:hover{
  text-decoration: underline;
}

/* =========================
   RECHTE PREIS/SPALTENBOX
========================= */

.booking-page--search-results .booking-result-side{
  padding: 28px 20px 22px;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.02);
}

.booking-page--search-results .booking-result-starting-label{
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.booking-page--search-results .booking-result-starting-price{
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
}

.booking-page--search-results .booking-slot-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-page--search-results .booking-slot-placeholder,
.booking-page--search-results .booking-slot-empty,
.booking-page--search-results .booking-slot-loading{
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
  line-height: 1.45;
  background: rgba(255,255,255,0.02);
}

.booking-page--search-results .booking-slot-btn{
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all .18s ease;
}

.booking-page--search-results .booking-slot-btn:hover{
  border-color: rgba(242,139,97,0.62);
  background: rgba(242,139,97,0.10);
  transform: translateY(-1px);
}

.booking-page--search-results .booking-slot-time{
  font-size: 1rem;
  font-weight: 800;
}

.booking-page--search-results .booking-slot-name{
  color: rgba(255,255,255,0.70);
  font-size: 0.85rem;
}

.booking-page--search-results .booking-slot-price{
  color: #f28b61;
  font-size: 0.98rem;
  font-weight: 800;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1280px){
  .booking-page--search-results .booking-result-row{
    grid-template-columns: 360px minmax(0, 1fr) 220px;
  }
}

@media (max-width: 1100px){
  .booking-page--search-results .booking-result-row{
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .booking-page--search-results .booking-result-side{
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

@media (max-width: 860px){
  .booking-page--search-results .booking-search-form{
    grid-template-columns: 1fr;
  }

  .booking-page--search-results .booking-search-submit .booking-cta{
    width: 100%;
    min-width: 0;
  }

  .booking-page--search-results .booking-result-row{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .booking-page--search-results .booking-result-main{
    border-left: 0;
    padding: 24px;
  }

  .booking-page--search-results .booking-result-side{
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 24px 24px;
  }

  .booking-page--search-results .booking-result-image img{
    min-height: 240px;
  }

  .booking-page--search-results .booking-result-title{
    font-size: 1.8rem;
  }
}

/* =========================================================
   BOOKING BADGE – SCHÖN WIE VORHER, ABER KORREKT
   ganz am Ende der style.css
========================================================= */

.booking-page--search-results .booking-result-row{
  position: relative;
}

/* =========================================================
   BOOKING BADGE AUF DEM FOTO
   ganz am Ende der style.css
========================================================= */

.booking-page--search-results .booking-result-image-wrap{
  position: relative;
  overflow: hidden;
}

.booking-page--search-results .booking-badge{
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 5 !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-height: 32px;
  max-width: calc(100% - 28px);
  padding: 7px 14px !important;

  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.30);
  background: linear-gradient(90deg, rgba(212,175,55,0.20), rgba(212,175,55,0.06));
  color: #d4af37;

  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;

  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =====================================================
   THEME SWITCH – DAY / NIGHT
   GANZ UNTEN AN DIE style.css ANHÄNGEN
===================================================== */

/* 1) Theme-Paletten (Fallbacks)
   Wenn site_cms.php später eigene --theme-day-* / --theme-night-* Variablen liefert,
   werden diese automatisch verwendet.
*/
:root{
  /* DAY */
  --theme-day-bg: #F7F4EE;
  --theme-day-surface: #FFFFFF;
  --theme-day-header-bg: rgba(255,255,255,0.92);

  --theme-day-text-main: #111111;
  --theme-day-text-muted: #5B5B5B;
  --theme-day-text-inverse: #FFFFFF;

  --theme-day-border: rgba(17,17,17,0.10);
  --theme-day-shadow: rgba(0,0,0,0.12);
  --theme-day-shadow-accent: rgba(212,175,55,0.12);
  --theme-day-map-filter: grayscale(0%) invert(0%) contrast(100%) brightness(105%);

  --theme-day-hdr-bg: rgba(255,255,255,0.92);
  --theme-day-hdr-bg-scrolled: rgba(255,255,255,0.98);
  --theme-day-hdr-text: #111111;
  --theme-day-hdr-text-scrolled: #111111;
  --theme-day-hdr-border-scrolled: rgba(17,17,17,0.10);

  --theme-day-hm-bg: #F6F2EA;
  --theme-day-hm-text: #111111;
  --theme-day-hm-accent: #B68A2D;

  --theme-day-footer-bg: #F1ECE4;
  --theme-day-footer-text: #111111;
  --theme-day-footer-muted: #5E5E5E;
  --theme-day-footer-border: rgba(17,17,17,0.10);
  --theme-day-footer-accent: #B68A2D;

  /* NIGHT */
  --theme-night-bg: #0B0B0B;
  --theme-night-surface: #151515;
  --theme-night-header-bg: rgba(11,11,11,0.95);

  --theme-night-text-main: #FFFFFF;
  --theme-night-text-muted: #A0A0A0;
  --theme-night-text-inverse: #000000;

  --theme-night-border: rgba(255,255,255,0.10);
  --theme-night-shadow: rgba(0,0,0,0.50);
  --theme-night-shadow-accent: rgba(212,175,55,0.15);
  --theme-night-map-filter: grayscale(100%) invert(90%) contrast(110%);

  --theme-night-hdr-bg: transparent;
  --theme-night-hdr-bg-scrolled: rgba(17,17,17,0.98);
  --theme-night-hdr-text: #FFFFFF;
  --theme-night-hdr-text-scrolled: #FFFFFF;
  --theme-night-hdr-border-scrolled: rgba(255,255,255,0.10);

  --theme-night-hm-bg: #3C3732;
  --theme-night-hm-text: #FFFFFF;
  --theme-night-hm-accent: #B89A62;

  --theme-night-footer-bg: #050505;
  --theme-night-footer-text: #FFFFFF;
  --theme-night-footer-muted: #A0A0A0;
  --theme-night-footer-border: #141414;
  --theme-night-footer-accent: #D4AF37;
}

/* 2) Aktiver DAY Mode */
html[data-theme-enabled="1"][data-theme-mode="day"]{
  color-scheme: light;

  --color-bg: var(--theme-day-bg);
  --color-surface: var(--theme-day-surface);
  --color-header-bg: var(--theme-day-header-bg);

  --color-text-main: var(--theme-day-text-main);
  --color-text-muted: var(--theme-day-text-muted);
  --color-text-inverse: var(--theme-day-text-inverse);

  --color-border: var(--theme-day-border);
  --shadow-color: var(--theme-day-shadow);
  --shadow-accent: var(--theme-day-shadow-accent);
  --map-filter: var(--theme-day-map-filter);

  --hdr-bg: var(--theme-day-hdr-bg);
  --hdr-bg-scrolled: var(--theme-day-hdr-bg-scrolled);
  --hdr-text: var(--theme-day-hdr-text);
  --hdr-text-scrolled: var(--theme-day-hdr-text-scrolled);
  --hdr-border-scrolled: var(--theme-day-hdr-border-scrolled);

  --hm-bg: var(--theme-day-hm-bg);
  --hm-text: var(--theme-day-hm-text);
  --hm-accent: var(--theme-day-hm-accent);

  --footer-bg: var(--theme-day-footer-bg);
  --footer-text: var(--theme-day-footer-text);
  --footer-muted: var(--theme-day-footer-muted);
  --footer-border: var(--theme-day-footer-border);
  --footer-accent: var(--theme-day-footer-accent);
}

/* 3) Aktiver NIGHT Mode */
html[data-theme-enabled="1"][data-theme-mode="night"],
html.theme-night{
  color-scheme: dark;

  --color-bg: var(--theme-night-bg);
  --color-surface: var(--theme-night-surface);
  --color-header-bg: var(--theme-night-header-bg);

  --color-text-main: var(--theme-night-text-main);
  --color-text-muted: var(--theme-night-text-muted);
  --color-text-inverse: var(--theme-night-text-inverse);

  --color-border: var(--theme-night-border);
  --shadow-color: var(--theme-night-shadow);
  --shadow-accent: var(--theme-night-shadow-accent);
  --map-filter: var(--theme-night-map-filter);

  --hdr-bg: var(--theme-night-hdr-bg);
  --hdr-bg-scrolled: var(--theme-night-hdr-bg-scrolled);
  --hdr-text: var(--theme-night-hdr-text);
  --hdr-text-scrolled: var(--theme-night-hdr-text-scrolled);
  --hdr-border-scrolled: var(--theme-night-hdr-border-scrolled);

  --hm-bg: var(--theme-night-hm-bg);
  --hm-text: var(--theme-night-hm-text);
  --hm-accent: var(--theme-night-hm-accent);

  --footer-bg: var(--theme-night-footer-bg);
  --footer-text: var(--theme-night-footer-text);
  --footer-muted: var(--theme-night-footer-muted);
  --footer-border: var(--theme-night-footer-border);
  --footer-accent: var(--theme-night-footer-accent);
}

/* 4) Sanfte Umschaltung */
html[data-theme-enabled="1"] body,
html[data-theme-enabled="1"] .section,
html[data-theme-enabled="1"] .bg-surface,
html[data-theme-enabled="1"] .card-item,
html[data-theme-enabled="1"] .feature-item,
html[data-theme-enabled="1"] .faq-item,
html[data-theme-enabled="1"] .breadcrumbs-nav,
html[data-theme-enabled="1"] #siteHeader,
html[data-theme-enabled="1"] .hdr,
html[data-theme-enabled="1"] .hm,
html[data-theme-enabled="1"] footer#contact,
html[data-theme-enabled="1"] .booking-card,
html[data-theme-enabled="1"] .booking-panel,
html[data-theme-enabled="1"] .booking-result-row,
html[data-theme-enabled="1"] .booking-modal-dialog{
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* 5) Harte Farben theme-aware machen */
html[data-theme-enabled="1"] .rw-content h2.rw-title,
html[data-theme-enabled="1"] .newsletter-field-label,
html[data-theme-enabled="1"] .features.is-bento .feature-item h3{
  color: var(--color-text-main) !important;
}

html[data-theme-enabled="1"] .features.is-bento .feature-item p{
  color: var(--color-text-muted) !important;
}

html[data-theme-enabled="1"] .rw-grid .cb-desc,
html[data-theme-enabled="1"] .newsletter-consent label{
  color: var(--color-text-muted) !important;
}

/* 6) DAY Mode – Booking harte Dark-Styles überschreiben */
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-page,
html.theme-day body .booking-page{
  --booking-bg: var(--color-bg);
  --booking-surface: #FFFFFF;
  --booking-card-bg: rgba(17,17,17,0.03);
  --booking-card-bg-solid: #FFFFFF;
  --booking-text: #111111;
  --booking-muted: #5B5B5B;
  --booking-border: rgba(17,17,17,0.10);
  --booking-shadow: 0 18px 40px rgba(0,0,0,0.10);
  --booking-shadow-soft: 0 10px 24px rgba(0,0,0,0.08);
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-card,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-panel,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-widget-panel,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-empty,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-info-box,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-list-item,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-card--compact,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-searchbar-inner,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-row,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-modal-dialog{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92)) !important;
  border-color: rgba(17,17,17,0.08) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,0.10) !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-side{
  background: rgba(17,17,17,0.02) !important;
  border-color: rgba(17,17,17,0.08) !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-main{
  border-color: rgba(17,17,17,0.08) !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-detail-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-panel-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-card-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-title--card,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-title--hero,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-modal-head h3,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-title--card a,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-title a{
  color: #111111 !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-lead,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-detail-subtitle,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-card-text,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-text,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-richtext,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-note,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-text,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-modal-slotinfo,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-slot-name,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-slot-placeholder,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-slot-empty,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-slot-loading,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-searchbar-title,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-search-field label,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-starting-label{
  color: #5B5B5B !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-meta,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-meta-item,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-feature,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-feature,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-feature span,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-result-feature a,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-quick-fact-value{
  color: #111111 !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-search-field input,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-form-field input,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-form-field textarea,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-slot-btn,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-quick-fact,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-fact-card,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-chip,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-filter-pill{
  background: rgba(17,17,17,0.03) !important;
  border-color: rgba(17,17,17,0.10) !important;
  color: #111111 !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .booking-search-field input::placeholder,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-form-field input::placeholder,
html[data-theme-enabled="1"][data-theme-mode="day"] .booking-form-field textarea::placeholder{
  color: rgba(17,17,17,0.45) !important;
}

/* 7) NIGHT Mode – Safety für helle Komponenten */
html[data-theme-enabled="1"][data-theme-mode="night"] .rw-content h2.rw-title,
html[data-theme-enabled="1"][data-theme-mode="night"] .newsletter-field-label{
  color: var(--color-text-main) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .newsletter-input-group input{
  background: rgba(255,255,255,0.06) !important;
  color: var(--color-text-main) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .newsletter-input-group input::placeholder{
  color: rgba(255,255,255,0.45) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form{
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form label{
  color: var(--color-text-main) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="text"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="email"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="tel"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form textarea{
  background: rgba(255,255,255,0.06) !important;
  color: var(--color-text-main) !important;
  border-color: rgba(255,255,255,0.12) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input::placeholder,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form textarea::placeholder{
  color: rgba(255,255,255,0.45) !important;
}

/* =====================================================
   Theme Override: wenn Day/Night aktiv ist,
   sollen BG + Surface sauber über die Theme-Variablen laufen
===================================================== */

html[data-theme-enabled="1"] body {
  background: var(--color-bg) !important;
  color: var(--color-text-main);
}

html[data-theme-enabled="1"] main,
html[data-theme-enabled="1"] .section,
html[data-theme-enabled="1"] .widget-section,
html[data-theme-enabled="1"] .map-section,
html[data-theme-enabled="1"] .social-feed-section,
html[data-theme-enabled="1"] .collapse-group,
html[data-theme-enabled="1"] .features,
html[data-theme-enabled="1"] #faq,
html[data-theme-enabled="1"] .faq-container {
  background-color: var(--color-bg) !important;
}

html[data-theme-enabled="1"] .bg-surface,
html[data-theme-enabled="1"] .section.bg-surface,
html[data-theme-enabled="1"] .cg-item.bg-surface {
  background-color: var(--color-surface) !important;
}

html[data-theme-enabled="1"] .breadcrumbs-nav {
  background-color: var(--breadcrumbs-bg) !important;
  border-top: 1px solid var(--breadcrumbs-border);
  border-bottom: 1px solid var(--breadcrumbs-border);
}

html[data-theme-enabled="1"] .breadcrumb-link {
  color: var(--breadcrumbs-link) !important;
}

html[data-theme-enabled="1"] .breadcrumb-current {
  color: var(--breadcrumbs-current) !important;
}

html[data-theme-enabled="1"] .breadcrumb-sep {
  color: var(--breadcrumbs-sep) !important;
}

/* =====================================================
   Restaurant / Reservation Widget Theme Fix
===================================================== */

.widget-section .rw-title{
  color: var(--color-text-main);
}

.widget-section .rw-content{
  color: var(--color-text-main);
}

.widget-section .rw-content .cb-desc,
.widget-section .rw-note{
  color: var(--color-text-muted);
}

/* falls Theme aktiv ist: hart auf Theme-Textfarbe ziehen */
html[data-theme-enabled="1"] .widget-section .rw-title{
  color: var(--color-text-main) !important;
}

html[data-theme-enabled="1"] .widget-section .rw-content{
  color: var(--color-text-main) !important;
}

html[data-theme-enabled="1"] .widget-section .rw-content .cb-desc,
html[data-theme-enabled="1"] .widget-section .rw-note{
  color: var(--color-text-muted) !important;
}

/* =====================================================
   CMS LIST RESET FIX (Wine-Battle & Co.)
   Stoppt die erzwungenen Bullets, wenn im HTML "none" steht
===================================================== */

/* Greift, wenn list-style ODER list-style-type auf none gesetzt ist */
.cms-richtext ul[style*="list-style: none"],
.cms-richtext ul[style*="list-style-type: none"],
.cms-richtext ol[style*="list-style: none"],
.cms-richtext ol[style*="list-style-type: none"] {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* WICHTIG: Das display: list-item muss neutralisiert werden */
.cms-richtext ul[style*="list-style: none"] li,
.cms-richtext ul[style*="list-style-type: none"] li,
.cms-richtext ol[style*="list-style: none"] li,
.cms-richtext ol[style*="list-style-type: none"] li {
    display: block !important; /* Verhindert, dass der Browser ein Bullet rendert */
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Entfernt eventuelle ::before Bullets, falls vorhanden */
.cms-richtext ul[style*="list-style: none"] li::before,
.cms-richtext ul[style*="list-style-type: none"] li::before {
    content: none !important;
    display: none !important;
}

/* =====================================================
   FRAMED IMAGE STYLE – FINAL ELEGANT VERSION
   Fixer Medienrahmen + edles, semitransparentes Glass-Overlay
===================================================== */

/* 1. Grundstruktur & Fixer Rahmen (4:3) */
.content-block.is-framed {
  position: relative;
}

.content-block.is-framed .cb-slider-wrapper,
.content-block.is-framed .cb-image-single {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.content-block.is-framed .cb-slider { height: 100%; }
.content-block.is-framed .cb-slide { min-width: 100%; height: 100%; }

/* Bilder füllen den Rahmen immer komplett aus */
.content-block.is-framed .cb-slide img,
.content-block.is-framed .cb-single-img,
.content-block.is-framed .cb-single-img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* 2. Edles Glass-Overlay (Desktop) */
@media (min-width: 641px) {
  .content-block.is-framed {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .content-block.is-framed.reversed {
    flex-direction: row-reverse !important;
  }

  /* Bild nimmt 50% ein */
  .content-block.is-framed .cb-image-container {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    position: relative;
    z-index: 1;
  }

  /* Text Panel: Semitransparent (Glassmorphism) */
  .content-block.is-framed .cb-text {
    flex: 0 0 55% !important;
    max-width: 55% !important;
    min-width: 0 !important;

    position: relative;
    z-index: 2;
    margin-left: -5%;
    
    padding: clamp(34px, 4vw, 50px);
    border-radius: 20px;

    /* WEICHER, TRANSPARENTER LOOK (Frosted Glass Day Mode) */
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  }

  .content-block.is-framed.reversed .cb-text {
    margin-left: 0 !important;
    margin-right: -5% !important;
  }
  
  /* Typo im hellen Glass-Panel (erzwingt dunkle Schrift für Lesbarkeit) */
  .content-block.is-framed .cb-text,
  .content-block.is-framed .cb-text p,
  .content-block.is-framed .cb-text li,
  .content-block.is-framed .cb-text .cms-richtext {
    color: #333 !important;
  }
  .content-block.is-framed .cb-text .cb-title,
  .content-block.is-framed .cb-text h1,
  .content-block.is-framed .cb-text h2,
  .content-block.is-framed .cb-text h3 {
    color: #111 !important;
  }
  .content-block.is-framed .cb-text .cb-subtitle {
    color: var(--color-accent) !important;
  }
}

/* 3. Night Mode (Dunkles Glass-Overlay) */
@media (min-width: 641px) {
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text {
    background: rgba(20, 20, 22, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
  }

  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text p,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text li,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text .cms-richtext {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text .cb-title,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text h1,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text h2,
  html[data-theme-enabled="1"][data-theme-mode="night"] .content-block.is-framed .cb-text h3 {
    color: #fff !important;
  }
}

/* 4. Mobile Layout (Sauberer Flow, keine verschobenen Boxen) */
@media (max-width: 640px) {
  .content-block.is-framed {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  .content-block.is-framed.reversed {
    flex-direction: column !important;
  }

  .content-block.is-framed .cb-image-container,
  .content-block.is-framed .cb-text {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* Text-Panel komplett auflösen für perfekten Lesefluss am Handy */
  .content-block.is-framed .cb-text {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    
    /* Farben wieder auf Theme-Standard zurücksetzen */
    color: var(--color-text-main) !important;
  }

  /* Schriftfarben-Reset für Mobile (damit Dark/Lightmode sauber greift) */
  .content-block.is-framed .cb-text .cb-title,
  .content-block.is-framed .cb-text h1,
  .content-block.is-framed .cb-text h2,
  .content-block.is-framed .cb-text h3,
  .content-block.is-framed .cb-text p,
  .content-block.is-framed .cb-text .cms-richtext,
  .content-block.is-framed .cb-text li {
    color: inherit !important;
  }
  
  .content-block.is-framed .cb-text .cb-subtitle {
    color: var(--color-accent) !important;
  }
  
  .content-block.is-framed .cb-slider-wrapper,
  .content-block.is-framed .cb-image-single {
    border-radius: 12px;
  }
}

/* =====================================================
   OPTIONAL SCROLL REVEAL – per Content Block
   nur aktiv für:
   .content-block.has-scroll-reveal[data-reveal="1"]
===================================================== */

/* 1) Altes globales fade-in für diese Blöcke neutralisieren,
      damit nicht zwei Animationen gleichzeitig laufen */
.content-block.has-scroll-reveal[data-reveal="1"].fade-in-section,
.content-block.has-scroll-reveal[data-reveal="1"].fade-in-section.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* 2) Reveal-Container */
.content-block.has-scroll-reveal[data-reveal="1"] {
  position: relative;
  isolation: isolate;
}

.content-block.has-scroll-reveal[data-reveal="1"] > .cb-image-container,
.content-block.has-scroll-reveal[data-reveal="1"] > .cb-text {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: opacity, transform, filter;
}

/* 3) Feiner Stagger innerhalb des Textbereichs */
.content-block.has-scroll-reveal[data-reveal="1"] .cb-subtitle,
.content-block.has-scroll-reveal[data-reveal="1"] .cb-title,
.content-block.has-scroll-reveal[data-reveal="1"] .cb-desc,
.content-block.has-scroll-reveal[data-reveal="1"] .cb-toggle-wrapper,
.content-block.has-scroll-reveal[data-reveal="1"] .btn,
.content-block.has-scroll-reveal[data-reveal="1"] .btn-toggle-info {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Wenn Block sichtbar ist -> gestaffelt einblenden */
.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .cb-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 140ms;
}

.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .cb-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 220ms;
}

.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .cb-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 300ms;
}

.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .cb-toggle-wrapper {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 360ms;
}

.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .btn,
.content-block.has-scroll-reveal[data-reveal="1"].is-revealed .btn-toggle-info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 420ms;
}

/* 4) Bild etwas smoother */
.content-block.has-scroll-reveal[data-reveal="1"] > .cb-image-container img,
.content-block.has-scroll-reveal[data-reveal="1"] > .cb-image-container .cb-slider-wrapper,
.content-block.has-scroll-reveal[data-reveal="1"] > .cb-image-container .cb-single-img {
  will-change: transform, opacity, filter;
}

/* 5) Wenn Framed Style aktiv ist: Panel bleibt sauber */
.content-block.has-scroll-reveal[data-reveal="1"].is-framed .cb-text {
  overflow: visible;
}

/* 6) Mobile etwas dezenter */
@media (max-width: 640px) {
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-subtitle,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-title,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-desc,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-toggle-wrapper,
  .content-block.has-scroll-reveal[data-reveal="1"] .btn,
  .content-block.has-scroll-reveal[data-reveal="1"] .btn-toggle-info {
    transform: translateY(10px);
  }
}

/* 7) Accessibility */
@media (prefers-reduced-motion: reduce) {
  .content-block.has-scroll-reveal[data-reveal="1"] > .cb-image-container,
  .content-block.has-scroll-reveal[data-reveal="1"] > .cb-text,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-subtitle,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-title,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-desc,
  .content-block.has-scroll-reveal[data-reveal="1"] .cb-toggle-wrapper,
  .content-block.has-scroll-reveal[data-reveal="1"] .btn,
  .content-block.has-scroll-reveal[data-reveal="1"] .btn-toggle-info {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =====================================================
   IMAGE TILES – FINAL CLEAN VERSION
===================================================== */

.image-tiles-section{
  position: relative;
}

.image-tiles-grid{
  display: grid;
  gap: 24px;
  align-items: stretch;
}

/* Desktop / Tablet: 2 Spalten */
.image-tiles-grid,
.image-tiles-grid.layout-grid,
.image-tiles-grid.layout-2col,
.image-tiles-grid.layout-3col,
.image-tiles-grid.layout-4col{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-tile{
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #000;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Standard: Hochformat */
.image-tiles-media{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}

.image-tiles-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s ease;
}

/* Desktop: Landscape darf breit werden */
@media (min-width: 64rem){
  .image-tile.is-landscape{
    grid-column: span 2;
  }

  .image-tile.is-landscape .image-tiles-media{
    aspect-ratio: 16 / 9;
  }
}

.image-tiles-overlay{
  position: absolute;
  inset: 0;
  z-index: 4;

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

  padding: 30px 26px 24px;
  pointer-events: none;
}

.image-tiles-overlay::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.30) 0%,
      rgba(0,0,0,0.14) 28%,
      rgba(0,0,0,0.00) 58%
    );
  opacity: 1;
  transition: opacity .3s ease, background .3s ease;
  pointer-events: none;
}

.image-tiles-copy{
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
  transform: translateY(0);
  transition: transform .3s ease;
}

.image-tiles-title{
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.08rem, 1vw + 1rem, 1.5rem);
  line-height: 1.18;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  overflow-wrap: break-word;
  word-break: break-word;
  transition:
    margin .3s ease,
    opacity .3s ease,
    transform .3s ease;
}

.image-tiles-text{
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(255,255,255,0.96) !important;
  font-size: clamp(0.95rem, 0.35vw + 0.9rem, 1.06rem);
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);

  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;

  transition:
    opacity .28s ease,
    transform .28s ease,
    max-height .28s ease,
    margin .28s ease;
}

.image-tiles-arrow{
  position: relative;
  z-index: 30;

  margin: 0 auto 0;
  width: 54px;
  height: 54px;

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

  color: #fff !important;
  text-decoration: none !important;
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition:
    opacity .28s ease,
    transform .22s ease,
    margin .28s ease;
}

.image-tiles-arrow:hover{
  transform: translateY(0) translateX(6px);
}

main .image-tiles-arrow,
main .image-tiles-arrow:hover,
main .image-tiles-arrow:focus,
main .image-tiles-arrow:focus-visible{
  color: #fff !important;
  text-decoration: none !important;
}

/* Tap-Fläche */
.image-tiles-hitarea{
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;

  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* =========================
   DESKTOP / HOVER
========================= */
@media (hover: hover) and (pointer: fine){
  .image-tile:hover .image-tiles-media img,
  .image-tile:focus-within .image-tiles-media img{
    transform: scale(1.03);
  }

  .image-tile:hover .image-tiles-overlay::before,
  .image-tile:focus-within .image-tiles-overlay::before{
    background:
      linear-gradient(
        to top,
        rgba(0,0,0,0.60) 0%,
        rgba(0,0,0,0.34) 30%,
        rgba(0,0,0,0.10) 58%,
        rgba(0,0,0,0.00) 78%
      );
  }

  .image-tile:hover .image-tiles-copy,
  .image-tile:focus-within .image-tiles-copy{
    transform: translateY(-4px);
  }

  .image-tile:hover .image-tiles-title,
  .image-tile:focus-within .image-tiles-title{
    margin-bottom: 14px;
  }

  .image-tile:hover .image-tiles-text,
  .image-tile:focus-within .image-tiles-text{
    opacity: 1;
    transform: translateY(0);
    max-height: 220px;
    margin-top: 14px;
  }

  .image-tile:hover .image-tiles-arrow,
  .image-tile:focus-within .image-tiles-arrow{
    opacity: 1;
    transform: translateY(0);
    margin-top: 16px;
    pointer-events: auto;
  }
}

/* =========================
   TOUCH / MOBILE / TABLET
========================= */
@media (hover: none), (pointer: coarse){
  .image-tiles-hitarea{
    display: block;
  }

  /* geschlossen: ganzer Tile tappbar */
  .image-tile:not(.is-open) .image-tiles-hitarea{
    pointer-events: auto;
  }

  /* offen: Hitarea soll NICHT mehr über dem Pfeil liegen */
  .image-tile.is-open .image-tiles-hitarea{
    pointer-events: none;
  }

  /* offen: jetzt dürfen Overlay + Arrow Klicks bekommen */
  .image-tile.is-open .image-tiles-overlay{
    pointer-events: auto;
  }

  .image-tile.is-open .image-tiles-copy{
    pointer-events: auto;
  }

  .image-tile.is-open .image-tiles-arrow{
    pointer-events: auto;
  }

  .image-tile.is-open .image-tiles-overlay::before{
    background:
      linear-gradient(
        to top,
        rgba(0,0,0,0.62) 0%,
        rgba(0,0,0,0.36) 32%,
        rgba(0,0,0,0.10) 60%,
        rgba(0,0,0,0.00) 80%
      );
  }

  .image-tile.is-open .image-tiles-title{
    margin-bottom: 14px;
  }

  .image-tile.is-open .image-tiles-text{
    opacity: 1;
    transform: translateY(0);
    max-height: 260px;
    margin-top: 14px;
  }

  .image-tile.is-open .image-tiles-arrow{
    opacity: 1;
    transform: translateY(0);
    margin-top: 16px;
  }
}

/* No-image Fallback */
.image-tile.no-image{
  background: var(--color-surface);
  min-height: 420px;
}

.image-tile.no-image .image-tiles-overlay{
  position: relative;
  inset: auto;
  min-height: 420px;
  background: none;
  align-items: center;
}

.image-tile.no-image .image-tiles-overlay::before{
  display: none;
}

.image-tile.no-image .image-tiles-title{
  color: var(--color-text-main) !important;
  text-shadow: none;
  margin-bottom: 14px;
}

.image-tile.no-image .image-tiles-text{
  color: var(--color-text-muted) !important;
  text-shadow: none;
}

.image-tile.no-image .image-tiles-arrow{
  color: var(--color-text-main) !important;
}

/* Tablet */
@media (max-width: 62rem){
  .image-tiles-overlay{
    padding: 24px 20px 20px;
  }

  .image-tiles-title{
    font-size: 1.15rem;
  }

  .image-tiles-text{
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Mobile: wieder 1 Spalte wie vorher schön */
@media (max-width: 40rem){
  .image-tiles-grid,
  .image-tiles-grid.layout-grid,
  .image-tiles-grid.layout-2col,
  .image-tiles-grid.layout-3col,
  .image-tiles-grid.layout-4col{
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .image-tiles-grid > .image-tile{
    grid-column: auto !important;
    width: 100% !important;
  }

  .image-tile.is-landscape{
    grid-column: auto !important;
  }

  .image-tile.is-landscape .image-tiles-media{
    aspect-ratio: 4 / 5 !important;
  }

  .image-tiles-overlay{
    padding: 22px 16px 16px;
  }

  .image-tiles-title{
    font-size: 1rem;
    line-height: 1.18;
  }

  .image-tiles-text{
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .image-tiles-arrow{
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }
}

/* =====================================================
   DAY MODE SAFETY – FRAMED CONTENT BLOCKS
===================================================== */
@media (min-width: 641px) {
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
  }

  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text p,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text li,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text .cms-richtext {
    color: #333 !important;
  }

  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text .cb-title,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text h1,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text h2,
  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text h3 {
    color: #111 !important;
  }

  html[data-theme-enabled="1"][data-theme-mode="day"] .content-block.is-framed .cb-text .cb-subtitle {
    color: var(--color-accent) !important;
  }
}

/* =====================================================
   CMS FORM – NIGHT MODE FIX
   Dropdown + Date Input Kontrast korrigieren
   GANZ UNTEN an die style.css anhängen
===================================================== */

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form{
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form .form-field label{
  color: #F2F2F2 !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="text"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="email"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="tel"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form textarea{
  background: rgba(255,255,255,0.06) !important;
  color: #F2F2F2 !important;
  border-color: rgba(255,255,255,0.12) !important;
}

/* Placeholder allgemein */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input::placeholder,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form textarea::placeholder{
  color: rgba(242,242,242,0.50) !important;
  opacity: 1 !important;
}

/* Focus */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input:focus,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select:focus,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form textarea:focus{
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.22) !important;
}

/* =========================
   SELECT – Feld + Pfeil + Optionen
========================= */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select{
  background-color: rgba(255,255,255,0.06) !important;
  color: #F2F2F2 !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(242,242,242,0.72) 50%),
    linear-gradient(135deg, rgba(242,242,242,0.72) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}

/* Geöffnetes Dropdown – Desktop Chrome/Edge */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select option{
  background: #2A2A2A !important;
  color: #F2F2F2 !important;
}

/* Platzhalter / disabled option */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select option[value=""],
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select option:disabled{
  color: rgba(242,242,242,0.58) !important;
  background: #2A2A2A !important;
}

/* ausgewählte Option */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form select option:checked{
  background: #3A3324 !important;
  color: #FFFFFF !important;
}

/* =========================
   DATE INPUT – Placeholder / Datum / Icon
========================= */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]{
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  background: rgba(255,255,255,0.06) !important;
  color: #F2F2F2 !important;
  caret-color: #F2F2F2 !important;
}

/* Normale Datumsanzeige */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-datetime-edit,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-date-and-time-value,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-datetime-edit-day-field,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-datetime-edit-month-field,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-datetime-edit-year-field{
  color: #F2F2F2 !important;
}

/* Punkte / Trenner im Datum */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-datetime-edit-text{
  color: rgba(242,242,242,0.55) !important;
}

/* Leerer required Date-Input = heller Placeholder statt schwarz */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid{
  color: rgba(242,242,242,0.50) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid::-webkit-datetime-edit,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid::-webkit-date-and-time-value,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid::-webkit-datetime-edit-day-field,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid::-webkit-datetime-edit-month-field,
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]:required:invalid::-webkit-datetime-edit-year-field{
  color: rgba(242,242,242,0.50) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 0.90 !important;
  cursor: pointer;
  filter: invert(1) brightness(1.1) !important;
  border-radius: 10px;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-calendar-picker-indicator:hover{
  background: rgba(255,255,255,0.08) !important;
}

/* =========================
   Privacy Box im Night Mode
========================= */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form-privacy{
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: rgba(242,242,242,0.78) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form-privacy a{
  color: var(--color-accent) !important;
}

/* Kalender-Icon im Night Mode heller */
html[data-theme-enabled="1"][data-theme-mode="night"] .cms-form input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 1 !important;
  filter: invert(1) brightness(1.9) contrast(1.2) !important;
}

/* =====================================================
   TEXT IMAGE – BOTTOM / FULL WIDTH FIX
===================================================== */

.content-block.is-bottom{
  flex-direction: column !important;
  align-items: stretch !important;
  gap: clamp(20px, 3vw, 40px) !important;
}

.content-block.is-bottom.reversed{
  flex-direction: column !important;
}

.content-block.is-bottom .cb-text{
  order: 1 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.content-block.is-bottom .cb-image-container{
  order: 2 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.content-block.is-bottom .cb-image-container.is-fullwidth,
.content-block.is-bottom.is-media-wide .cb-image-container{
  width: 100% !important;
  max-width: 100% !important;
}

.content-block.is-bottom .cb-image-container.is-fullwidth .cb-slider-wrapper,
.content-block.is-bottom .cb-image-container.is-fullwidth .cb-single-img,
.content-block.is-bottom .cb-image-container.is-fullwidth.cb-video-container,
.content-block.is-bottom.is-media-wide .cb-slider-wrapper,
.content-block.is-bottom.is-media-wide .cb-single-img,
.content-block.is-bottom.is-media-wide .cb-video-container{
  box-shadow: none !important;
}

.content-block.is-bottom .cb-slide img,
.content-block.is-bottom .cb-single-img,
.content-block.is-bottom .cb-single-img img,
.content-block.is-bottom .cb-video-element,
.content-block.is-bottom .cb-video-iframe{
  max-height: none !important;
}

.content-block.is-bottom .cb-slider-wrapper,
.content-block.is-bottom .cb-video-container,
.content-block.is-bottom .cb-image-single{
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 640px){
  .content-block.is-bottom{
    gap: 18px !important;
  }
}

/* =====================================================
   FRAMED EMBED VIDEOS – PLAYER SAFE
   Embeds = kein Frame (native 16:9)
   MP4   = bleibt im framed cover-style
===================================================== */

/* --- Container Basis --- */
.content-block.is-framed .cb-image-container.cb-video-container{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px !important;
  background: #000;
  box-shadow: none !important;
}

/* ========== EMBED VIDEOS: Frame entfernen ========== */
.content-block.is-framed .cb-image-container.cb-video-container:has(.cb-video-iframe){
  aspect-ratio: 16 / 9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.content-block.is-framed .cb-image-container.cb-video-container:has(.cb-video-iframe) > div{
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-top: 56.25% !important;   /* 16:9 */
  overflow: hidden !important;
  border-radius: 0 !important;
}

.content-block.is-framed .cb-image-container.cb-video-container .cb-video-iframe{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}

/* ========== SELF-HOSTED MP4: cover-style unverändert ========== */
.content-block.is-framed .cb-image-container.cb-video-container > div:has(.cb-video-element){
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  border-radius: inherit !important;
}

.content-block.is-framed .cb-image-container.cb-video-container .cb-video-element{
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: inherit !important;
}

/* --- Mobile --- */
@media (max-width: 640px){
  .content-block.is-framed .cb-image-container.cb-video-container{
    border-radius: 12px !important;
  }
  .content-block.is-framed .cb-image-container.cb-video-container:has(.cb-video-iframe){
    border-radius: 0 !important;
  }
}

/* =====================================================
   HERO WAVE + DOTS FIX – FINAL
===================================================== */

.hero{
  position: relative !important;
  overflow: hidden !important;
}

.hero-bg{
  z-index: 0 !important;
}

.hero-overlay{
  z-index: 1 !important;
}

.hero-content{
  position: relative !important;
  z-index: 5 !important;
}

/* WELLE wieder korrekt positionieren */
.hero-wave{
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  line-height: 0 !important;
  pointer-events: none !important;
  z-index: 6 !important;
  color: var(--wave-color, #ffffff) !important;
}

.hero-wave svg{
  display: block !important;
  width: 100% !important;
  height: var(--wave-h, 118px) !important;
}

/* Pagination immer über allem */
.hero-pagination{
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  bottom: 24px !important;
  z-index: 20 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  width: auto !important;
  max-width: calc(100% - 24px) !important;
  padding: 8px 12px !important;

  border-radius: 999px !important;
  background: rgba(0,0,0,0.28) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;

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

  pointer-events: auto !important;
}

.hero-dot{
  position: relative !important;
  z-index: 21 !important;
  pointer-events: auto !important;
  flex: 0 0 auto !important;

  width: 34px !important;
  height: 4px !important;
  padding: 0 !important;
}

/* bei Wave Hero Dots höher setzen */
.hero.has-wave .hero-pagination,
.hero:has(.hero-wave) .hero-pagination{
  bottom: 108px !important;
}

@media (max-width: 640px){
  .hero-wave svg{
    height: var(--wave-h-m, 58px) !important;
  }

  .hero-pagination{
    bottom: 20px !important;
    z-index: 20 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    padding: 7px 10px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .hero-dot{
    width: 28px !important;
    height: 5px !important;
  }

  .hero.has-wave .hero-pagination,
  .hero:has(.hero-wave) .hero-pagination{
    bottom: 74px !important;
  }
}

@media (max-width: 430px){
  .hero-pagination{
    bottom: 18px !important;
  }

  .hero.has-wave .hero-pagination,
  .hero:has(.hero-wave) .hero-pagination{
    bottom: 68px !important;
  }

  .hero-dot{
    width: 26px !important;
  }
}

@media (max-width: 380px){
  .hero-pagination{
    bottom: 16px !important;
  }

  .hero.has-wave .hero-pagination,
  .hero:has(.hero-wave) .hero-pagination{
    bottom: 64px !important;
  }

  .hero-dot{
    width: 24px !important;
  }
}

/* =====================================================
   FLOATING RESERVIEREN BUTTON – nur beim Footer anheben
===================================================== */
@media (max-width: 430px){
  .zc-project-float{
    right: 12px !important;
    bottom: 14px !important; /* normale alte Position */
    transition: bottom .22s ease;
  }

  .zc-project-float.is-footer-safe{
    bottom: 58px !important; /* nur beim Footer höher */
  }
}

/* =====================================================
   THEME PATCH – Bento Grid Night Mode
   Greift nur bei aktiviertem Theme + Night Mode
===================================================== */

:root{
  --bento-night-bg: #1A1A1A;
  --bento-night-border: rgba(255,255,255,0.10);
  --bento-night-hover-bg: #222222;
  --bento-night-hover-border: var(--color-accent);
  --bento-night-title: #FFFFFF;
  --bento-night-text: #C7C7C7;
  --bento-night-shadow: 0 10px 24px rgba(0,0,0,0.22);
  --bento-night-shadow-hover: 0 16px 34px rgba(0,0,0,0.30);
}

html[data-theme-enabled="1"][data-theme-mode="night"] .features.is-bento .feature-item{
  background-color: var(--bento-night-bg) !important;
  border-color: var(--bento-night-border) !important;
  box-shadow: var(--bento-night-shadow) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .features.is-bento .feature-item:hover{
  background-color: var(--bento-night-hover-bg) !important;
  border-color: var(--bento-night-hover-border) !important;
  box-shadow: var(--bento-night-shadow-hover) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .features.is-bento .feature-item h3{
  color: var(--bento-night-title) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .features.is-bento .feature-item p{
  color: var(--bento-night-text) !important;
}

/* =====================================================
   MOBILE SPACING FIX – Original Content Block
===================================================== */
@media (max-width: 640px){
  .content-block:not(.is-framed):not(.is-bottom) .cb-image-container + .cb-text{
    margin-top: 14px !important;
  }
}

/* =====================================================
   TEXT ONLY – saubere Standardabstände + CMS-Werte
   - CMS-Werte (--sec-pt / --sec-pb) haben Vorrang
   - ohne CMS-Werte: sinnvolle Defaults
   - leere Monats-/Titelblöcke bleiben kompakt
===================================================== */

.text-only-section.section{
  padding-top: var(--sec-pt, 56px) !important;
  padding-bottom: var(--sec-pb, 56px) !important;
}

/* Wenn nach dem Titel effektiv kein Inhalt kommt -> kompakter */
.text-only-section.section:has(.cb-title + .cms-richtext:empty),
.text-only-section.section:has(.cb-title + .cms-richtext > p:only-child > br:only-child),
.text-only-section.section:has(.cb-title + .cms-richtext > div:only-child > p:only-child > br:only-child){
  padding-top: var(--sec-pt, 20px) !important;
  padding-bottom: var(--sec-pb, 6px) !important;
}

.text-only-section.section:has(.cb-title + .cms-richtext:empty) .cb-title,
.text-only-section.section:has(.cb-title + .cms-richtext > p:only-child > br:only-child) .cb-title,
.text-only-section.section:has(.cb-title + .cms-richtext > div:only-child > p:only-child > br:only-child) .cb-title{
  margin-bottom: 0 !important;
  line-height: 1.15 !important;
}

/* Mobile */
@media (max-width: 640px){
  .text-only-section.section{
    padding-top: var(--sec-pt, 40px) !important;
    padding-bottom: var(--sec-pb, 40px) !important;
  }

  .text-only-section.section:has(.cb-title + .cms-richtext:empty),
  .text-only-section.section:has(.cb-title + .cms-richtext > p:only-child > br:only-child),
  .text-only-section.section:has(.cb-title + .cms-richtext > div:only-child > p:only-child > br:only-child){
    padding-top: var(--sec-pt, 14px) !important;
    padding-bottom: var(--sec-pb, 4px) !important;
  }
}

/* =====================================================
   ORIGINALFORMAT – CMS Shadow korrekt für Slider + Einzelbild
===================================================== */

/* Layout-Container selbst niemals mit Shadow */
.content-block:not(.is-framed):not(.is-bottom) .cb-image-container{
  box-shadow: none !important;
}

/* innere Bilder selbst auch nicht doppelt */
.content-block:not(.is-framed):not(.is-bottom) .cb-slide img,
.content-block:not(.is-framed):not(.is-bottom) .cb-single-img img{
  box-shadow: none !important;
}

/* Standard: Shadow auf den echten Medienrahmen */
.content-block:not(.is-framed):not(.is-bottom) .cb-image-container > .cb-slider-wrapper,
.content-block:not(.is-framed):not(.is-bottom) .cb-image-container > .cb-image-single,
.content-block:not(.is-framed):not(.is-bottom) .cb-image-container > .cb-single-img{
  box-shadow: -20px 20px 0 var(--content-block-offset-shadow) !important;
}

/* Reversed */
.content-block:not(.is-framed):not(.is-bottom).reversed .cb-image-container > .cb-slider-wrapper,
.content-block:not(.is-framed):not(.is-bottom).reversed .cb-image-container > .cb-image-single,
.content-block:not(.is-framed):not(.is-bottom).reversed .cb-image-container > .cb-single-img{
  box-shadow: 20px 20px 0 var(--content-block-offset-shadow) !important;
}

/* =====================================================
   UNIVERSAL MOBILE HEADER FIX – v8 FINAL
===================================================== */

/* ==========================================================
   TEIL 1: EINHEITLICHER MOBILER HEADER
   Greift auf ALLEN Devices unter 640px + unter 62rem
   (damit auch der Modern-Layout-Breakpoint abgedeckt ist)
========================================================== */

@media (max-width: 640px) {

  /* ---- ROW: Immer Flex, Logo links, Rechts rechts ---- */
  .hdr .hdr-row,
  .hdr.hdr--modern .hdr-row,
  .hdr-scope .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row--modern,
  #siteHeader .hdr-row,
  #siteHeader .hdr.hdr--modern .hdr-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding: 8px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    /* Grid komplett deaktivieren */
    grid-template-columns: none !important;
  }

  /* ---- LOGO: Links, flexibel, nie zu breit ---- */
  .hdr .hdr-logo,
  .hdr-scope .hdr-logo,
  .hdr-scope.is-layout-modern .hdr-logo {
    order: 1 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 120px) !important;
    margin: 0 !important;
    margin-right: auto !important;
    justify-self: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .hdr .hdr-logo img,
  .hdr-scope .hdr-logo img,
  .hdr-scope.is-layout-modern .hdr-logo img {
    display: block !important;
    width: auto !important;
    height: clamp(32px, 8vw, 50px) !important;
    max-width: min(60vw, 200px) !important;
    max-height: 50px !important;
    object-fit: contain !important;
  }

  .hdr.scrolled .hdr-logo img,
  .hdr-scope .hdr.scrolled .hdr-logo img {
    height: clamp(28px, 7vw, 42px) !important;
    max-width: min(55vw, 180px) !important;
    max-height: 42px !important;
  }

  /* ---- RIGHT CONTAINER: Rechts, Items nebeneinander ---- */
  .hdr .hdr-right,
  .hdr-scope .hdr-right,
  .hdr-scope.is-layout-modern .hdr-right {
    order: 2 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
    justify-self: auto !important;
  }

  /* ---- LEFT BLOCK: Verstecken (wird mobil nicht gebraucht) ---- */
  .hdr .hdr-left:not(.hdr-logo),
  .hdr-scope .hdr-left:not(.hdr-logo) {
    display: none !important;
  }

  /* ---- CENTER BLOCK: Verstecken wenn vorhanden ---- */
  .hdr .hdr-center:not(.hdr-logo),
  .hdr-scope .hdr-center:not(.hdr-logo) {
    display: none !important;
  }

  /* ---- DESKTOP NAV: Verstecken ---- */
  .hdr .hdr-nav,
  .hdr-scope .hdr-nav,
  .hdr-scope.is-layout-modern .hdr-nav {
    display: none !important;
  }

  /* ---- ACTIONS (Theme Toggle etc): Kompakt zeigen ---- */
  .hdr .hdr-actions,
  .hdr-scope .hdr-actions,
  .hdr-scope.is-layout-modern .hdr-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
  }

  /* Action Icons: Kompakt */
  .hdr .hdr-act,
  .hdr-scope .hdr-act,
  .hdr-scope.is-layout-modern .hdr-act {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    gap: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }

  .hdr .hdr-act i,
  .hdr-scope .hdr-act i,
  .hdr-scope.is-layout-modern .hdr-act i {
    font-size: var(--hdr-act-ico, 16px) !important;
    display: inline-flex !important;
  }

  .hdr .hdr-act span,
  .hdr-scope .hdr-act span,
  .hdr-scope.is-layout-modern .hdr-act span {
    display: none !important;
  }

  /* ---- LANG SWITCH: Verstecken im Header (im Overlay sichtbar) ---- */
  .hdr .hdr-lang,
  .hdr-scope .hdr-lang {
    display: none !important;
  }

  /* ---- HAMBURGER BUTTON: Immer sichtbar, saubere Größe ---- */
  .hdr .hdr-menu-btn,
  .hdr-scope .hdr-menu-btn,
  .hdr-scope.is-layout-modern .hdr-menu-btn,
  .hdr-right .hdr-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: static !important;
    transform: none !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;

    order: 99 !important;
    flex: 0 0 auto !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.04) !important;

    font-size: var(--hdr-menu-fs-m, var(--hdr-menu-fs, 11px)) !important;
    letter-spacing: var(--hdr-menu-ls, 0.10em) !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;

    cursor: pointer !important;
    z-index: 10 !important;

    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
  }

  /* Scrolled Header: Border anpassen */
  .hdr.scrolled .hdr-menu-btn,
  .hdr-scope .hdr.scrolled .hdr-menu-btn {
    border-color: rgba(0,0,0,0.12) !important;
    background: rgba(0,0,0,0.04) !important;
  }
}

/* ==========================================================
   TEIL 2: SAMSUNG-SPEZIFISCHER OVERRIDE NEUTRALISIEREN
   Der alte Samsung-Block (391-430px) setzte display:block
   auf .hdr-row und position:absolute auf .hdr-menu-btn.
   Das muss überschrieben werden.
========================================================== */

@media (min-width: 391px) and (max-width: 430px) and (hover: none) and (pointer: coarse) {

  .hdr .hdr-row,
  .hdr.hdr--modern .hdr-row,
  .hdr-scope .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row,
  .hdr-scope.is-layout-modern .hdr-row--modern,
  #siteHeader .hdr-row,
  #header .nav-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding: 8px 14px !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .hdr .hdr-logo,
  .hdr-scope .hdr-logo,
  #header .logo {
    order: 1 !important;
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    margin: 0 !important;
    margin-right: auto !important;
  }

  .hdr .hdr-logo img,
  .hdr-scope .hdr-logo img,
  #header .logo img {
    display: block !important;
    width: auto !important;
    height: clamp(32px, 7vw, 44px) !important;
    max-width: min(55vw, 180px) !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }

  .hdr .hdr-right,
  .hdr-scope .hdr-right {
    order: 2 !important;
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hdr .hdr-actions,
  .hdr-scope .hdr-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .hdr .hdr-left:not(.hdr-logo),
  .hdr-scope .hdr-left:not(.hdr-logo),
  .hdr .hdr-lang,
  .hdr-scope .hdr-lang {
    display: none !important;
  }

  .hdr .hdr-menu-btn,
  .hdr-scope .hdr-menu-btn,
  .hdr-right .hdr-menu-btn,
  #header .hamburger {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;

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

    order: 99 !important;
    flex: 0 0 auto !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.04) !important;

    z-index: 10 !important;
  }

  /* Samsung ::before Override neutralisieren */
  .hdr .hdr-menu-btn::before,
  .hdr-right .hdr-menu-btn::before,
  #header .hamburger::before {
    content: none !important;
    display: none !important;
  }

  /* Kinder wieder sichtbar machen (der alte Samsung-Block hid sie) */
  .hdr .hdr-menu-btn > *,
  .hdr-right .hdr-menu-btn > *,
  #header .hamburger > * {
    display: inline !important;
  }

  /* Font-Size wiederherstellen (Samsung-Block setzte font-size:0) */
  .hdr .hdr-menu-btn,
  .hdr-right .hdr-menu-btn {
    font-size: var(--hdr-menu-fs-m, var(--hdr-menu-fs, 11px)) !important;
    line-height: 1 !important;
    letter-spacing: var(--hdr-menu-ls, 0.10em) !important;
    text-indent: 0 !important;
    color: inherit !important;
  }

  #header .hamburger {
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  /* Legacy header nav + lang verstecken */
  #header .nav-links,
  #header .lang-switch {
    display: none !important;
  }
}

/* ==========================================================
   TEIL 3: ANDROID GENERISCH – SAFETY
   Stellt sicher dass Flex-Layout auch auf Android greift
========================================================== */

@supports not (-webkit-touch-callout: none) {
  @media (max-width: 640px) and (hover: none) and (pointer: coarse) {

    .hdr .hdr-row,
    .hdr.hdr--modern .hdr-row,
    .hdr-scope .hdr-row,
    .hdr-scope.is-layout-modern .hdr-row,
    .hdr-scope.is-layout-modern .hdr-row--modern {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: space-between !important;
      position: relative !important;
    }

    .hdr .hdr-menu-btn,
    .hdr-scope .hdr-menu-btn,
    .hdr-right .hdr-menu-btn {
      position: static !important;
      transform: none !important;
    }

    .hdr .hdr-menu-btn::before,
    .hdr-right .hdr-menu-btn::before {
      content: none !important;
      display: none !important;
    }

    .hdr .hdr-menu-btn > *,
    .hdr-right .hdr-menu-btn > * {
      display: inline !important;
    }
  }
}

/* ==========================================================
   TEIL 4: DAY/NIGHT MODE – HEADER BORDERS ANPASSEN
   Damit bei hellem Theme die Buttons nicht unsichtbar sind
========================================================== */

html[data-theme-enabled="1"][data-theme-mode="day"] .hdr .hdr-menu-btn,
html[data-theme-enabled="1"][data-theme-mode="day"] .hdr-scope .hdr-menu-btn {
  border-color: rgba(0,0,0,0.10) !important;
  background: rgba(0,0,0,0.03) !important;
}

html[data-theme-enabled="1"][data-theme-mode="day"] .hdr.scrolled .hdr-menu-btn,
html[data-theme-enabled="1"][data-theme-mode="day"] .hdr-scope .hdr.scrolled .hdr-menu-btn {
  border-color: rgba(0,0,0,0.12) !important;
  background: rgba(0,0,0,0.04) !important;
}

html[data-theme-enabled="1"][data-theme-mode="night"] .hdr .hdr-menu-btn,
html[data-theme-enabled="1"][data-theme-mode="night"] .hdr-scope .hdr-menu-btn {
  border-color: rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.04) !important;
}

/* ==========================================================
   TEIL 5: TABLET RANGE (641px – 62rem)
   Modern Layout: Nav verstecken, Hamburger zeigen
========================================================== */

@media (min-width: 641px) and (max-width: 62rem) {
  .hdr-scope.is-layout-modern .hdr-nav {
    display: none !important;
  }

  .hdr-scope.is-layout-modern .hdr-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================
   TEIL 6: OVERLAY MENU – Logo mittig, X rechts oben
   
   Ansatz: .hm-top bleibt flex/center fürs Logo.
   .hm-close wird absolut rechts positioniert (wie am iPhone).
   .hm-left wird versteckt (Close-Button kommt aus .hm-close).
========================================================== */
 
@media (max-width: 640px) {
 
  .hm-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    min-height: 64px !important;
    padding: 10px 16px !important;
  }
 
  /* Logo-Container: zentriert, symmetrisches Padding für X-Platz */
  .hm-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
 
  /* .hm-left + .hm-right: auf 0 Breite setzen damit Logo mittig bleibt */
  .hm-left {
    width: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex: 0 0 0px !important;
  }
 
  .hm-right {
    width: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex: 0 0 0px !important;
  }
 
  /* X-Button: absolut rechts, sichtbar, klickbar */
  .hm-close {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
 
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
 
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.04) !important;
 
    /* Text unsichtbar, nur ::before zeigt das × */
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
 
  .hm-close::before {
    content: "×" !important;
    display: block !important;
    color: var(--hm-text, #fff) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
  }
 
  .hm-close:hover,
  .hm-close:focus-visible {
    background: rgba(255,255,255,0.10) !important;
    text-decoration: none !important;
  }
}
