/* =========================================================
   GLOBAL FONT OVERRIDE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

html{
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  scroll-padding-top: calc(var(--nav-offset) + var(--top-gap));
}
body,
body *{ font-family: inherit !important; }

h1,h2,h3,h4,h5,h6{ font-family: inherit !important; }
h1,h2,h3,h4{
  font-weight: 500;
  color: var(--navy);
}

/* =========================================================
   ROOT VARS (konsolidiert)
   ========================================================= */

:root{
 
  --section-gap: 18px;
  --section-pad-y: 18px;
  --section-pad-x: 18px;
  --layout-top: 14px;

  --content-max-width: 1180px;
  
  --page-pad-x: clamp(18px, 2.6vw, 72px);

  --nav-offset: 73px;
  --top-gap: 14px;
 
  --detail-gap: 24px;
  --sidebar-w: 380px;

  --layout-bp: 1024px; /* EIN Breakpoint für Layout */
}

@media (max-width: 700px){
  :root{
    --section-pad-y: 16px;
    --section-pad-x: 16px;
    --section-gap: 14px;
    --layout-top: 10px;
    --page-pad-x: 14px;
  }
}

/* =========================================================
   1) Page Wrapper / Layout
   ========================================================= */

body{ background: var(--page-bg); }

main#content,
.detail-layout,
.page,
.page-wrap,
.site-main{
  background: transparent;
}

main#content,
.detail-layout{
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.detail-layout{
  padding-top: var(--layout-top);
  padding-bottom: 34px;
}

/* Scroll Offset pro Section */
.section{
  scroll-margin-top: calc(var(--nav-offset) + var(--top-gap));
}

/* =========================================================
   2) Section = Card (global)
   ========================================================= */

.section{
  position: relative;
  text-align: left;

  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);

  border-radius: 0;
  padding: var(--section-pad-y) var(--page-pad-x);
  border-bottom: none;
}

.section + .section{ margin-top: var(--section-gap); }

.detail-main > .section:first-child,
.detail-main section.section:first-child,
main#content .section:first-child{
  margin-top: 0;
}

.section .container{
  padding-left: 0;
  padding-right: 0;
}

.section h2{ margin: 0 0 10px 0; }
.section h3{ margin: 14px 0 8px 0; }
.section p{ margin: 0 0 10px 0; }
.section > :last-child{ margin-bottom: 0; }

.detail-grid{ max-width: 100%; }

/* =========================================================
   3) DETAIL LAYOUT (GLOBAL STANDARD)
   Desktop: 2 Spalten + Sticky Sidebar
   Mobile:  1 Spalte, Sidebar AUS
   ========================================================= */

.detail-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: var(--detail-gap);
  align-items: start;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.detail-main{ min-width: 0; }

.detail-main .container{
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Sticky Sidebar robust */
.detail-sidebar{
  display: block;
  position: sticky;
  top: var(--nav-offset);
  align-self: start;
  z-index: 2;
}

/* Sticky-Fallen vermeiden */
.detail-layout,
.detail-grid,
.detail-main{
  overflow: visible !important;
  transform: none !important;
  contain: none !important;
}

/* EIN Breakpoint fürs Layout (HART) */
@media (max-width: 1024px){
  .detail-grid{ grid-template-columns: 1fr !important; }
  .detail-layout .detail-sidebar{
    display: none !important;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }
}

/* =========================================================
   4) HERO (GLOBAL für alle Detail-Seiten)
   ========================================================= */

.detail-layout .section[aria-label="Hero"]{
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Härtung gegen spätere display:none */
.detail-layout .hero-media-grid{ display: grid !important; }
.detail-layout .hero-media-tile{ display: block !important; }
.detail-layout .hero-media-tile img{ display: block !important; }

.detail-layout .hero-media-grid{
  --hero-gap: 16px;

  gap: var(--hero-gap);
  align-items: start;

  --wR: calc((100% - var(--hero-gap) - (var(--hero-gap) * 16 / 9)) / 3);
  --wL: calc(100% - var(--hero-gap) - var(--wR));
  grid-template-columns: var(--wL) var(--wR);

  margin: 0;
}

.detail-layout .hero-left{ grid-row: 1 / span 2; }

.detail-layout .hero-right{
  display: grid;
  grid-template-rows: auto auto;
  gap: var(--hero-gap);
}

.detail-layout .hero-media-tile{
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 16 / 9;
}

.detail-layout .hero-media-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* CTA im Bild */
.detail-layout .hero-media-cta{
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;

  display: inline-block;
  width: auto;
  white-space: nowrap;

  border-radius: 0;
  background: rgba(255,255,255,0.85);
  color: #0b1220;

  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;

  padding: .4rem .65rem;
  border: 1px solid rgba(11,18,32,.15);
  text-decoration: none;

  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.detail-layout .hero-media-cta:hover{
  background: rgba(255,255,255,0.95);
  border-color: rgba(11,18,32,.3);
  color: #000;
}

/* CTA-Logik (Desktop vs Mobile) */
.detail-layout .hero-media-cta--desktop{ display: inline-block !important; }
.detail-layout .hero-media-cta--mobile{ display: none !important; }

@media (max-width: 1024px){
  .detail-layout .hero-media-cta--desktop{ display: none !important; }
  .detail-layout .hero-media-cta--mobile{ display: inline-block !important; }
}

/* Hero-Textbereich */
.detail-layout .section[aria-label="Hero"] .hero-below{
  margin-top: 0;
  padding-left: var(--page-pad-x);
  padding-right: var(--page-pad-x);
  padding-top: 16px;
  padding-bottom: 18px;
}

.detail-layout .section[aria-label="Hero"] .hero-below .kicker,
.detail-layout .section[aria-label="Hero"] .hero-below .claim{
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 10px 0;
}

.detail-layout .section[aria-label="Hero"] .hero-below h1{
  margin: 0 0 10px 0;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.detail-layout .section[aria-label="Hero"] .hero-below p{
  color: rgba(11,18,32,.80);
  max-width: 62ch;
  font-weight: 400;
  line-height: 1.45;
  opacity: .92;
}

/* Faktenliste */
.detail-layout .section[aria-label="Hero"] .hero-below ul:first-of-type{
  list-style: none;
  padding: 0;
  margin: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-layout .section[aria-label="Hero"] .hero-below ul:first-of-type li{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 5px 0;
  border-top: 1px solid rgba(11,18,32,.08);
  color: rgba(11,18,32,.85);
}
.detail-layout .section[aria-label="Hero"] .hero-below ul:first-of-type li:first-child{
  border-top: none;
}

@media (max-width: 700px){
  .detail-layout .section[aria-label="Hero"] .hero-below{ padding-top: 14px; }
  .detail-layout .section[aria-label="Hero"] .hero-below ul:first-of-type li{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* <=1024: nur großes Bild */
@media (max-width: 1024px){
  .detail-layout .hero-media-grid{ display: block !important; }
  .detail-layout .hero-right{ display: none !important; }
}

/* =========================================================
   5) HERO – Teilnehmerbewertung
   ========================================================= */

.detail-layout .hero-below li.hero-rating{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.detail-layout .hero-below li.hero-rating > strong{
  width: 220px;
  flex: 0 0 220px;
  font-weight: 600;
}

.detail-layout .hero-below .hero-rating-val{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.detail-layout .hero-below .hero-stars{
  color: var(--accent);
  letter-spacing: 1px;
  font-size: .9rem;
  line-height: 1;
}

.detail-layout .hero-below .hero-rating-link{
  font-size: .85rem;
  color: rgba(11,18,32,.55);
  text-decoration: none;
}
.detail-layout .hero-below .hero-rating-link:hover{
  color: rgba(11,18,32,.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   6) Hero Booking Row: <=1024
   ========================================================= */

.hero-mobile-booking{ display: none !important; }

@media (max-width: 1024px){
  .hero-mobile-booking{
    display: flex !important;
    align-items: center;
    gap: .6rem;
    flex-wrap: nowrap;
    white-space: nowrap;

    margin-top: .4rem;
    padding-top: .6rem;
    border-top: 1px solid rgba(11,18,32,.10);
  }

  .hero-mobile-booking .hmb-price,
  .hero-mobile-booking .hmb-next{
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
  }

  .hero-mobile-booking .hmb-next{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-mobile-booking .hmb-cta{
    margin-left: auto;
    display: inline-flex;
    width: auto;
    white-space: nowrap;
  }
}

/* =========================================================
   SIDEBOX (global)
   ========================================================= */

.sidebox{
  border-radius: 0;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.sidebox-inner{ padding: 14px 16px; }

.sidebox-title{
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .65rem 0;
}

.sidebox-bullets{
  margin: 0 0 .8rem 0;
  padding-left: 1.05rem;
}
.sidebox-bullets li{ margin: .25rem 0; }

.sidebox-price{
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
  margin: .35rem 0 .55rem 0;
}

.sidebox-price-unit{
  margin-left: .25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted, rgba(11,18,32,.65));
}

.sidebox-meta{ margin: 0 0 .9rem 0; }

.sidebox-next-termin{
  margin-top: .75rem;
  margin-bottom: 0;
}

.sidebox-actions{
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .9rem;
}
.sidebox-actions .btn,
.sidebox-actions .btn-outline{
  width: 100%;
  justify-content: center;
}

.sidebox-note{
  margin-top: .9rem;
  font-size: .95rem;
}

.sidebox-extras{ margin: 1rem 0; }
.sidebox-extras,
.sidebox-extras p{
  font-size: .9rem;
  line-height: 1.35;
}
.sidebox-extras-title{ margin: 0 0 .5rem 0; }
.sidebox-extras-item{ margin: 0 0 .25rem 0; }
.sidebox-extras-note{ margin: .5rem 0 0 0; }

/* =========================================================
   SIDE LINKS (global) — dunkler Block
   ========================================================= */

.side-links{
  margin-top: 16px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.10);
  background: #0b1220;

  --side-links-line: rgba(255,255,255,.18);
}

/* Top-Level Rows */
.side-links .side-link-btn{
  display: flex;
  gap: .6rem;
  align-items: center;
  width: 100%;

  padding: .85rem 1rem;
  color: rgba(255,255,255,.92);
  text-decoration: none;

  font-weight: 700;
  background: transparent;
  cursor: pointer;

  border: 0;
  border-top: 1px solid var(--side-links-line);
}

.side-links > :first-child .side-link-btn,
.side-links > .side-link-btn:first-child{
  border-top: 0;
}

.side-links .side-link-btn:hover{ background: rgba(255,255,255,.06); }

/* Submenu Items */
.side-links .side-share-item{
  display: flex;
  gap: .6rem;
  align-items: center;
  width: 100%;

  padding: .7rem 1rem;
  color: rgba(255,255,255,.88);
  text-decoration: none;

  background: transparent;
  cursor: pointer;
  border: 0;
  font-weight: 600;
}
.side-links .side-share-item:hover{ background: rgba(255,255,255,.06); }

/* =========================================================
   SECTION NAV — eckig, sticky, scroll
   ========================================================= */

.section-nav{
  position: sticky;
  top: calc(var(--nav-offset) + var(--top-gap));
  z-index: 5;

  background: var(--section-nav-bg, #e9eff5);

  border-top: 1px solid rgba(11,18,32,.08);
  border-bottom: 1px solid rgba(11,18,32,.08);
  border-left: 1px solid rgba(11,18,32,.18);
  border-right: 1px solid rgba(11,18,32,.18);

  padding: 6px 0;
}

.section-nav-list{
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0 var(--page-pad-x);
  max-width: var(--content-max-width);
}

.section-nav-list a{
  display: inline-block;
  padding: 6px 8px;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 400;
  white-space: nowrap;

  color: rgba(11,18,32,.72);
  text-decoration: none;

  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.section-nav-list a:hover{ color: rgba(11,18,32,.95); }

.section-nav-list a[aria-current="true"]{
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 800px){
  .section-nav-list{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .section-nav-list::-webkit-scrollbar{ height: 6px; }
  .section-nav-list li{ flex: 0 0 auto; }
}

/* =========================================================
   Toggle — nur [hidden]
   ========================================================= */

.toggle-block{
  border-bottom: 1px solid rgba(20,30,45,.22);
  padding-bottom: .55rem;
}

.toggle-head-btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;

  background: transparent;
  border: 0;
  padding: .35rem 0;
  margin: 0;

  text-align: left;
  cursor: pointer;
}

.toggle-head-btn .toggle-label{
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

.toggle-head-btn:hover .toggle-label{ color: #000; }

.toggle-head-btn:focus-visible{
  outline: 2px solid rgba(11,18,32,.25);
  outline-offset: 3px;
}

.toggle-row-icon{
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  margin-left: .25rem;
  transform: translateY(1px);
}

.toggle-row-icon::before{
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: .95;
  transition: transform .18s ease;
}

.toggle-head-btn[aria-expanded="true"] .toggle-row-icon::before{
  transform: translateY(-50%) rotate(225deg);
}

.toggle-more{ margin-top: 1.5rem; }

.toggle-more-content{ display: block; }
.toggle-more-content[hidden]{ display: none !important; }

/* =========================================================
   Accordion
   ========================================================= */

.acc,
.learn-details-group{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.acc-item,
.learn-details{
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.acc-head,
.learn-details > summary{ list-style: none; }

.acc-head::-webkit-details-marker,
.learn-details > summary::-webkit-details-marker{ display: none; }
.acc-head::marker,
.learn-details > summary::marker{ content: ""; }

.acc-head,
.learn-details > summary{
  margin: 0;
  padding: 10px 26px 10px 0;
  display: flex;
  align-items: center;
  cursor: pointer;

  border-top: 1px solid rgba(11,18,32,.10);
  background: transparent;
  position: relative;

  color: var(--navy);
  font-weight: 500;
}

.acc-head::after,
.learn-details > summary::after{
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: .95;
  transition: transform .18s ease;
}

.acc-item[open] > .acc-head::after,
.learn-details[open] > summary::after{
  transform: translateY(-50%) rotate(225deg);
}

.acc-text,
.learn-summary-text{
  display: grid;
  gap: 2px;
}

.acc-title,
.learn-summary-title{
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}

.acc-sub,
.learn-summary-goal{
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
}

.acc-body,
.learn-details-body{
  padding: 6px 0 14px 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.acc-item:last-of-type > .acc-head{
  border-bottom: 1px solid rgba(11,18,32,.10);
}
.acc-item:last-of-type[open] > .acc-head{ border-bottom: 0; }
.acc-item:last-of-type[open] > .acc-body{
  border-bottom: 1px solid rgba(11,18,32,.10);
  padding-bottom: 14px;
}

/* =========================================================
   Listen (.list)
   ========================================================= */

ul.list,
ol.list{
  list-style: none;
  padding-left: 0;
  margin: 0 0 .7rem;
}

ul.list > li,
ol.list > li{
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: var(--muted);
}

ul.list > li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.list.list-compact > li{ margin-bottom: 3px; }
.list.list-check > li::before{ content: "✓"; font-size: 1rem; }

/* =========================================================
   Onecol Flow spacing
   ========================================================= */

.onecol-flow{ padding-top: var(--section-gap, 28px); }

/* ============================================================
   Buttons – Standard eckig
   ============================================================ */

.btn,
.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 20px;
  border-radius: 0;
  border: 1px solid transparent;

  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;

  cursor: pointer;
  text-align: center;
  text-decoration: none;

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

.btn{
  background: var(--accent);
  color: #111827;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15,23,42,.18);
  border-radius: var(--r-soft);
}
.btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(15,23,42,.16);
}

.btn-outline{
  background: transparent;
  color: var(--navy);
  border-color: rgba(15,23,42,0.22);
  box-shadow: none;
}
.btn-outline:hover{
  background: rgba(15,23,42,0.03);
  border-color: rgba(15,23,42,0.40);
}

.btn:focus-visible,
.btn-outline:focus-visible{
  outline: 3px solid rgba(255,140,0,.55);
  outline-offset: 2px;
}

a.btn,
a.btn-outline{
  color: inherit;
  text-decoration: none;
}

.btn--sm,
.btn-small{ padding: 8px 14px; font-size: .87rem; }

.btn--lg{ padding: 14px 24px; font-size: 1rem; }

.btn--block,
.btn-block{ width: 100%; display: inline-flex; }

.btn-slot{ min-width: 190px; text-align: center; }
@media (max-width: 900px){
  .btn-slot{ width: 100%; min-width: 0; }
}

/* Termine: Buttons full width auf klein */
@media (max-width: 1024px){
  .section.training-dates .date-card .date-card-table > .date-cell.action-cell{
    width: 100% !important;
    justify-self: stretch !important;
    align-self: stretch !important;
  }

  .section.training-dates .date-card .date-cell.action-cell > a.btn,
  .section.training-dates .date-card .date-cell.action-cell > a.btn-outline{
    width: 100% !important;
  }
}

/* FIX: <=1024 Floating CTA aus (wenn Hero Booking Row aktiv ist) */
@media (max-width: 1024px){
  .detail-layout #floating-cta,
  .detail-layout .booking-banner[data-floating]{
    display: none !important;
  }
}

/* =========================================================
   Reviews
   ========================================================= */

.review-author{
  margin-top: .25rem;
  font-size: .95rem;
  color: rgba(11,18,32,.75);
}

/* =========================================================
   Icons (global, nur EIN System)
   ========================================================= */

/* Sprite-Farbe zuverlässig */
.icon-svg,
.icon-svg use{
  fill: currentColor;
  stroke: currentColor;
}

/* Icon-Badge */
.icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
}

.icon-svg{
  width: 18px;
  height: 18px;
  display: block;
}

/* =========================================================
   10-Minuten-Check – dezente Kontaktzeile (final)
   ========================================================= */

.tenmin-actions{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:.75rem;
}

.tenmin-action{
  display:inline-flex;
  align-items:center;
  gap:.5rem;

  padding:6px 10px;
  border-radius:10px;

  text-decoration:none;
  color: var(--navy);
  background: transparent;
}

.tenmin-action:hover{
  background: rgba(11,18,32,.04);
}

.tenmin-action .icon{
  width:24px;
  height:24px;
  flex:0 0 24px;

  border-radius:8px;
  background: rgba(11,18,32,.06);
  border: 1px solid rgba(11,18,32,.08);
  opacity: .95;
}

.tenmin-action .icon-svg{
  width:16px;
  height:16px;
  display:block;
}

/* WhatsApp dezenter Hint (optional, nur wenn du es willst) */
.tenmin-action.is-wa .icon{
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.22);
  color: #15803d;
}

/* =========================================================
   combo-section – ONE TRUE RULESET
   ========================================================= */

.section.combo-section{
  padding: var(--section-pad-y, 18px) var(--page-pad-x, 18px);
}

.section.combo-section .combo-row{
  max-width: var(--content-max, 1180px);
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 18px;

  text-align: left;
}

.section.combo-section .combo-row.reverse{ flex-direction: row-reverse; }

.section.combo-section .combo-img-col,
.section.combo-section .combo-text-col{
  flex: 1 1 0;
  min-width: 0;
}

.section.combo-section .combo-text-col,
.section.combo-section .combo-text-col *{
  text-align: left;
}

.section.combo-section .combo-img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius, 16px);
}

@media (max-width: 820px){
  .section.combo-section .combo-row{
    max-width: 100%;
    margin: 0;

    flex-direction: column;
    align-items: stretch;
  }

  .section.combo-section .combo-row.reverse{ flex-direction: column; }

  .section.combo-section .combo-img-col,
  .section.combo-section .combo-text-col{ width: 100%; }

  .section.combo-section .combo-img{
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius, 16px);
  }
}

/* =========================================================
   Abschluss-CTA – direkt am Footer (global, einmalig)
   ========================================================= */

.cta-band--abschluss{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   ONECOL PAGES (opt-in)
   Für 1-spaltige Seiten wie ueber-uns, ueber-thorsten etc.
   Aktivierung: <body class="... onecol-page">
   Optional:    <body class="... onecol-page onecol-hero-left">
   ========================================================= */

.onecol-page .onecol-flow{ padding-bottom: 0 !important; }

.onecol-page .cta-band{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.onecol-page footer{
  margin-top: 0 !important;
  border-top: 0 !important;
}

.onecol-page .hero-below{
  max-width: 860px;
  text-align: left;
}

.onecol-page .hero-cta-group{
  justify-content: flex-start;
}

.onecol-page.onecol-hero-left .hero-below{
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.wiki-acc-list{
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.wiki-acc-item{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--card-border, #e5e7eb);
}

.wiki-acc-item:last-child{
  border-bottom: 0;
}

.wiki-acc-text{
  flex: 1 1 auto;
  min-width: 0;
}

.wiki-acc-link{
  flex: 0 0 auto;
  white-space: nowrap;
  padding-top: .15rem;
}

/* =========================================================
   HOME (nur .page-home) – ASI Section Layout
   - Sections full-bleed
   - Inhalt zentriert über .container
   - Innenbreiten: 1250 / 992 / 736 / 608 / 448
   - Breakpoints: 1280 / 1023 / 767 / 640
   - keine Lücken zwischen Sections
   ========================================================= */

/* 1) Sections full-bleed + ohne Außenabstände */
.page-home .section,
.page-home .section-soft,
.page-home .cta-band{
  width: 100%;
  max-width: none;
  margin: 0 !important;
  border-radius: 0;
}

/* 2) Wenn dein globales Section-System padding auf .section setzt: auf Home aus */
.page-home .section,
.page-home .section-soft,
.page-home .cta-band{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) Innenkern: NUR auf Home wird der .container zur ASI-Innenbreite */
.page-home .section > .container,
.page-home .section-soft > .container,
.page-home .cta-band > .container{
  width: 1250px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* Innenbreiten – exakt nach deinen Breakpoints */
@media (max-width: 1280px){
  .page-home .section > .container,
  .page-home .section-soft > .container,
  .page-home .cta-band > .container{
    width: 992px;
  }
}
@media (max-width: 1023px){
  .page-home .section > .container,
  .page-home .section-soft > .container,
  .page-home .cta-band > .container{
    width: 736px;
  }
}
@media (max-width: 767px){
  .page-home .section > .container,
  .page-home .section-soft > .container,
  .page-home .cta-band > .container{
    width: 608px;
  }
}
@media (max-width: 640px){
  .page-home .section > .container,
  .page-home .section-soft > .container,
  .page-home .cta-band > .container{
    width: 448px;
  }
}

/* 4) Sicherheitsnetz: wirklich keine Zwischenräume zwischen Section-Wrappern */
.page-home .section + .section,
.page-home .section + .section-soft,
.page-home .section-soft + .section,
.page-home .section-soft + .section-soft,
.page-home .cta-band + .section,
.page-home .cta-band + .section-soft,
.page-home .section + .cta-band,
.page-home .section-soft + .cta-band{
  margin-top: 0 !important;
}

/* =========================================================
   HOME – ASI Tile System (universell)
   - Nutzt: .tile-grid + .cols-6 / .cols-4
   - Tiles quadratisch, Text im Bild
   - Gap 10px, Radius 5px
   ========================================================= */

.page-home .tile-grid{
  --tile-gap: 10px;
  display: grid;
  gap: var(--tile-gap);
}

/* Anzahl-Spalten */
.page-home .tile-grid.cols-6{ grid-template-columns: repeat(6, 1fr); }
.page-home .tile-grid.cols-4{ grid-template-columns: repeat(4, 1fr); }

/* Breakpoints für Tiles (wie zuvor bei dir) */
@media (max-width: 1023px){
  .page-home .tile-grid.cols-6{ grid-template-columns: repeat(3, 1fr); } /* 3×2 */
  .page-home .tile-grid.cols-4{ grid-template-columns: repeat(2, 1fr); } /* 2×2 */
}
@media (max-width: 640px){
  .page-home .tile-grid.cols-6{ grid-template-columns: repeat(2, 1fr); } /* 2×3 */
  .page-home .tile-grid.cols-4{ grid-template-columns: repeat(2, 1fr); } /* bleibt */
}

.page-home .tile{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  display: block;
}

.page-home .tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

.page-home .tile::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72),
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.page-home .tile-label{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

@media (hover:hover){
  .page-home .tile:hover img{
    transform: scale(1.03);
    transition: transform .25s ease;
  }
}

/* =========================================================
   HOME – Module (optional)
   ========================================================= */

.page-home .home-split{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 1023px){
  .page-home .home-split{ grid-template-columns: 1fr; }
}

.page-home .home-media{
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.08);
}

.page-home .home-media img{
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   HOME – Freiheit verbindet (redaktionelle Cards)
   - nicht quadratisch
   - Bild oben, Text darunter
   - >1280: 4 in Reihe
   - <=1280: 2×2
   - <=640: 1 Spalte
   ========================================================= */

.page-home .freedom-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1280px){
  .page-home .freedom-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .page-home .freedom-grid{
    grid-template-columns: 1fr;
  }
}

.page-home .freedom-card{
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: 0 6px 18px rgba(11,18,32,.06);
  display: flex;
  flex-direction: column;
}

.page-home .freedom-card img{
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .freedom-card-body{
  padding: 14px 14px 16px;
}

.page-home .freedom-card-body h3{
  margin: 0 0 .35rem 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.page-home .freedom-card-body p{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* =========================================================
   HOME – Section Padding (nur Startseite)
   - 80px vertikal
   - 60px horizontal
   - bleibt innerhalb der zentrierten .container
   ========================================================= */

.page-home .section > .container,
.page-home .section-soft > .container,
.page-home .cta-band > .container{
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 60px;
  padding-right: 60px;
}

/* Mobile Reduktion – sonst wirkt es gequetscht */
@media (max-width: 767px){
  .page-home .section > .container,
  .page-home .section-soft > .container,
  .page-home .cta-band > .container{
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* CTA-Band – kompakter Rhythmus */
.page-home .cta-band .cta-band-inner{
  padding: 0; /* falls da nochmal intern gepaddet wird */
}

.page-home .cta-band h3{
  margin: 0 0 12px 0;
}

.page-home .cta-band .btn,
.page-home .cta-band .btn-outline{
  margin-top: 8px;
}

.page-home .cta-band .cta-band-hinweis{
  margin-top: 12px;
}
/* =========================================================
   HOME – Flow: full-bleed Sections + zentrierter Container
   - Breakpoints: 1280 / 1023 / 767 / 640
   - Section padding: 80 (desktop) / 60 (<=767)
   - Background Rhythmus: 1,2,3 ...
   ========================================================= */

.page-home{
  --home-bg-1: #ffffff;       
  --home-bg-2: #eef4f9;       
  --home-bg-3: var(--page-bg); 
}

/* Wrapper für alle Home-Sections */
.page-home .home-flow{
  display: block;
}

/* Sections full-bleed, keine Lücken */
.page-home .home-flow > section{
  width: 100%;
  max-width: none;
  margin: 0 !important;
  border-radius: 0;
}

/* Padding nur Home */
.page-home .home-flow > section{
  padding: 80px 0;
}
@media (max-width: 767px){
  .page-home .home-flow > section{
    padding: 60px 0;
  }
}

/* CTA enger (Rhythmuswechsel) */
.page-home .home-flow > section.cta-band{
  padding: 46px 0;
}
@media (max-width: 767px){
  .page-home .home-flow > section.cta-band{
    padding: 36px 0;
  }
}

/* Innenbreiten über den Container (nicht über .home-inner) */
.page-home .home-flow > section > .container{
  width: 1250px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* Breakpoints: exakt wie gewünscht */
@media (max-width: 1280px){
  .page-home .home-flow > section > .container{ width: 992px; }
}
@media (max-width: 1023px){
  .page-home .home-flow > section > .container{ width: 736px; }
}
@media (max-width: 767px){
  .page-home .home-flow > section > .container{ width: 608px; }
}
@media (max-width: 640px){
  .page-home .home-flow > section > .container{ width: 448px; }
}

/* Container auf Home neutralisieren, falls global max-width etc. existiert */
.page-home .home-flow > section > .container{
  max-width: none;
}

/* =========================================================
   HOME – Hintergrund-Rhythmus 1,2,3 (automatisch)
   - gilt für ALLE Sections innerhalb .home-flow
   - überschreibt nichts an Cards, nur Section-Fläche
   ========================================================= */

.page-home .home-flow > section:nth-of-type(3n + 1){
  background: var(--home-bg-1);
}
.page-home .home-flow > section:nth-of-type(3n + 2){
  background: var(--home-bg-2);
}
.page-home .home-flow > section:nth-of-type(3n + 3){
  background: var(--home-bg-3);
}

/* Optional: CTA immer bg-3 (falls du ihn IMMER akzentuiert willst) */
.page-home .home-flow > section.cta-band{
  background: var(--home-bg-3);
}

/* =========================================================
   HOME – Tile System (wie bei dir, unverändert in Verhalten)
   ========================================================= */

.page-home .tile-grid{
  --tile-gap: 10px;
  display: grid;
  gap: var(--tile-gap);
}
.page-home .tile-grid.cols-6{ grid-template-columns: repeat(6, 1fr); }
.page-home .tile-grid.cols-4{ grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px){
  .page-home .tile-grid.cols-6{ grid-template-columns: repeat(3, 1fr); } /* 3×2 */
  .page-home .tile-grid.cols-4{ grid-template-columns: repeat(2, 1fr); } /* 2×2 */
}
@media (max-width: 640px){
  .page-home .tile-grid.cols-6{ grid-template-columns: repeat(2, 1fr); } /* 2×3 */
  .page-home .tile-grid.cols-4{ grid-template-columns: repeat(2, 1fr); }
}

.page-home .tile{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  display: block;
}
.page-home .tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}
.page-home .tile::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72),
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,0)
  );
  pointer-events: none;
}
.page-home .tile-label{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
@media (hover:hover){
  .page-home .tile:hover img{
    transform: scale(1.03);
    transition: transform .25s ease;
  }
}

/* =========================================================
   HOME – Freiheit Cards (dein Verhalten beibehalten)
   - Grid: >=1280 4 Spalten / <1280 2 Spalten / <=640 1 Spalte
   ========================================================= */

.page-home .freedom-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1280px){
  .page-home .freedom-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .page-home .freedom-grid{ grid-template-columns: 1fr; }
}

.page-home .freedom-card{
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: 0 6px 18px rgba(11,18,32,.06);
  display: flex;
  flex-direction: column;
}
.page-home .freedom-card img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-home .freedom-card-body{
  padding: 14px 14px 16px;
}
.page-home .freedom-card-body h3{
  margin: 0 0 .35rem 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.page-home .freedom-card-body p{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* =========================================================
   HOME – Split (wie gehabt)
   ========================================================= */

.page-home .home-split{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1023px){
  .page-home .home-split{ grid-template-columns: 1fr; }
}

.page-home .home-media{
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(11,18,32,.08);
}
.page-home .home-media img{
  width: 100%;
  height: auto;
  display: block;
}
/* =========================================================
   HOME – Section-Hintergründe sicher sichtbar machen
   - falls Container/Section-System den Background "überdeckt"
   ========================================================= */

.page-home section.home-bg-1{ background: #ffffff !important; }
.page-home section.home-bg-2{ background: var(--page-bg) !important; }
.page-home section.home-bg-3{ background: #eef4f9 !important; }

/* Falls der sichtbare Block bei dir eigentlich der Container ist: */
.page-home section.home-bg-1 > .container{ background: transparent !important; }
.page-home section.home-bg-2 > .container{ background: transparent !important; }
.page-home section.home-bg-3 > .container{ background: transparent !important; }

/* Sicherheitsnetz: falls global .section/.section-soft einen Background setzen */
.page-home section.section,
.page-home section.section-soft{
  background-clip: padding-box;
}

/* HOME – Headline-Typo (ASI-ähnlich) */
.page-home .section h2,
.page-home .cta-band h3{
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* optional: etwas “knackiger” auf Desktop */
@media (min-width: 1024px){
  .page-home .section h2{
    letter-spacing: -0.03em;
  }
}

/* =========================================================
   HOME – ASI / Heldane Look für Section Headlines
   ========================================================= */

.page-home .section h2,
.page-home .cta-band h3{
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--navy);
}

/* Desktop: ASI-typisch groß & ruhig */
@media (min-width: 1024px){
  .page-home .section h2{
    font-size: 48px;
  }
}

/* Tablet */
@media (max-width: 1023px){
  .page-home .section h2{
    font-size: 40px;
  }
}

/* Mobile */
@media (max-width: 767px){
  .page-home .section h2{
    font-size: 32px;
    line-height: 1.1;
  }
}

.page-home .tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.60) 0%,      /* ganz unten: stark dunkel für Text */
    rgba(0,0,0,.42) 14%,     /* noch klar dunkel */
    rgba(0,0,0,.22) 28%,     /* Übergang */
    rgba(0,0,0,.06) 46%,     /* hier beginnt die Abdunklung */
    rgba(0,0,0,0) 64%       /* oben: komplett klar */
  );
  pointer-events:none;
}

.page-home .tile-label{
  text-shadow: 0 2px 10px rgba(0,0,0,.22);
}

.page-home .tile img{
  filter: brightness(1.12) contrast(1.03) saturate(1.05);
}

.page-home .tile{ position: relative; } /* sicherstellen */

.page-home .tile::after{
  z-index: 1; /* Gradient unter dem Text */
}

.page-home .tile-label{
  position: absolute;   /* WICHTIG: bleibt im Bild */
  z-index: 2;           /* Text über dem Gradient */
  left: 12px;
  right: 12px;
  bottom: 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

  font-size: 1.05rem;
  font-weight: 650;
  text-shadow: 0 1px 4px rgba(0,0,0,.28);
}
.page-home .tile-label{
  font-weight: 700;   /* vorher 650 */
}
.page-home .tile-label{
  letter-spacing: .01em;
}
/* =========================================================
   Section Headings – mehr Luft & Rhythmus
   ========================================================= */

.page-home .section h2{
  margin-bottom: 2.4rem;        /* Abstand nach unten */
  letter-spacing: -0.01em;     /* minimal straffer, wirkt hochwertiger */
}

.page-home .section > .container > h2{
  padding-top: 0.5rem;         /* Luft über der Überschrift */
}

.page-home .section h2 + .muted{
  margin-top: -0.4rem;         /* rückt leicht näher an h2 */
  margin-bottom: 1.6rem;       /* aber mehr Abstand zum Content */
}
.page-home .section h2 + .muted{
  margin-top: -0.4rem;         /* rückt leicht näher an h2 */
  margin-bottom: 1.6rem;       /* aber mehr Abstand zum Content */
}

.hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}

@media (max-width: 768px){
  .hero img{
    object-position: 65% 30%;
  }
}


@media (max-width: 768px){

  .hero-mobile-booking{
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto;
    grid-template-areas:
      "price cta"
      "next  next";
    column-gap: .75rem;
    row-gap: .35rem;
    align-items: center;
  }

  .hero-mobile-booking .hmb-price{
    grid-area: price;
    white-space: nowrap;
  }

  .hero-mobile-booking .hmb-cta{
    grid-area: cta;
    justify-self: end;
  }

  .hero-mobile-booking .hmb-next{
    grid-area: next;
    display: block !important;
    width: 100%;
    text-align: left;
    font-size: .9rem;
  }

}
@media (max-width: 768px){

  .hero-mobile-booking{
    row-gap: .15rem !important;   /* war 0.35rem – das ist der Luftverursacher */
  }

  .hero-mobile-booking .hmb-next{
    margin-top: -2px;             /* optische Feinjustierung */
    line-height: 1.0;
    font-size: .9rem;
    color: var(--muted);
  }

  .hero-mobile-booking .hmb-price{
    line-height: 1.0;
  }

}

.hero-media-grid--single{
  display:block;
}
.hero-media-grid--single .hero-single{
  width:100%;
}


/* SINGLE MODE: Grid wird zu 1 Spalte */
.hero-media-grid.hero-media-grid--single{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; /* optional: wenn du keinen Innenabstand willst */
}

/* sicherstellen, dass der Single-Wrapper volle Breite nimmt */
.hero-media-grid--single .hero-single{
  grid-column: 1 / -1;
}

/* Bild/Tile füllt die Fläche */
.hero-media-grid--single .hero-media-tile,
.hero-media-grid--single .hero-media-tile img{
  width: 100%;
  height: 100%;
}

/* optional: gleiches „Hero-Feeling“ wie links im 3er-Layout */
.hero-media-grid--single .hero-media-tile img{
  object-fit: cover;
  display: block;
}
