/*
  Pension Rosenfeld – Grundlayout (Desktop-first)
  Mobile ist unten zentral sauber überschrieben.
*/

/* =====================
   GLOBAL VARS
   ===================== */
:root{
  --bg: #ffffff;
  --text: #111;
  --muted: #666;
  --border: #e6e6e6;

  --nav-bg: #f3f3f3;
  --nav-active-bg: #dcdcdc;

  --card-bg: #fafafa;

  --maxw: 980px;
  --radius: 14px;

  /* Brand */
  --brand-red: #b14b5b;

  /* Contact spacing */
  --gap: 56px;
  --pad: 28px;

  /* Preview (Zimmer-Galerie) */
  --preview-peek: 120px;
  --preview-opacity: 0.9;
  --preview-blur: 18px;
  --preview-scale: 0.95;
  --preview-shift: 70px;
}

/* =====================
   GLOBAL BASE
   ===================== */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a{ color: inherit; }
a.external{ text-decoration: underline; }

/* Container (Desktop bleibt wie gehabt) */
.container{
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
}

header.site-header{
  border-bottom: 1px solid var(--border);
}

/* =====================
   TYPO – EINHEITLICHE ÜBERSCHRIFTEN
   (ohne HTML-Änderungen)
   ===================== */

/* H1 (Hero/Page Title) */
h1{
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/*
  Einheitliche "H2-Optik" – gilt sowohl für echte h2
  als auch für deine Headline-Klassen (falls mal kein h2).
*/
h2,
.contact-h,
.contact-form > h2,
.prices__h,
.extras__title,
.legal__title,
.excursion-title{
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.90);
  margin: 0 0 18px;
}

/* H3 – konsistent (z.B. Rechtliches) */
h3,
.legal__card h3{
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 18px 0 8px;
  color: rgba(0,0,0,0.86);
}

/* =====================
   HERO (Desktop)
   ===================== */
.hero{
  position: relative;
  height: 450px;
  background: #ddd url("../images/haus_header.webp") center/cover no-repeat;
  background-position: center 70%;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 45%, rgba(0,0,0,.0));
}

.hero-title{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  text-align:center;
  padding: 16px;
  padding-top: 200px;
  z-index:1;
}

.hero-title h1{
  margin: 0;
  font-size: 72px;
  letter-spacing: 1px;
  color: #2a2a2a;
  padding: 14px 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =====================
   NAVIGATION (Desktop)
   ===================== */
.navbar{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(3px);
}

.nav-inner{
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 14px;
  flex-wrap: wrap;
}

.nav-link,
.nav-dropbtn{
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgb(200, 130, 140);
  color: #fff;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.nav-link:hover,
.nav-dropbtn:hover{
  background: rgb(190, 70, 80);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"],
.nav-dropbtn[aria-current="page"]{
  background: rgb(178, 40, 45);
}

/* Dropdown */
.nav-dropdown{ position: relative; }

.nav-dropmenu{
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  min-width: 220px;
  padding: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  z-index: 50;
}

.nav-dropdown.is-open .nav-dropmenu{ display: block; }
.nav-dropdown:hover .nav-dropmenu{ display: block; }

.nav-dropmenu::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropmenu a{
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  color: #2a2a2a;
}

.nav-dropmenu a:hover{
  background: rgba(178, 40, 45, 0.12);
}

/* =====================
   MAIN (Desktop)
   ===================== */
main{
  padding: 26px 0 18px;
}

p{ margin: 0 0 12px; color: var(--text); }
.small{ font-size: 13px; color: var(--muted); }

.card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.section{ margin: 18px 0; }

.grid-2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

/* Buttons (Base) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration:none;
  font-weight: 700;
}

.btn.primary{
  background: #111;
  color:#fff;
  border-color:#111;
}

/* =====================
   Slider/Carousel (älterer Slider)
   ===================== */
.slider{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items:center;
}

.slider-btn{
  width:44px;
  height:44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
  font-size: 18px;
}

.slider-btn:active{ transform: translateY(1px); }

.slide-viewport{
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:#fff;
}

.slide-track{
  display:flex;
  width: 100%;
  transition: transform 260ms ease;
  will-change: transform;
}

.slide{
  min-width: 100%;
  padding: 0;
}

.slide figure{ margin:0; }

.slide img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display:block;
}

.slide .caption{
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

.slider-topline{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.preview-name{
  color: var(--muted);
  font-weight: 700;
  opacity: .55;
  user-select:none;
}

.current-name{
  font-weight: 800;
  font-size: 18px;
}

/* Table simple (falls irgendwo noch genutzt) */
.prices{
  width:100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.prices td{
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.prices td:first-child{ font-weight: 700; }

/* =====================
   Footer (Desktop)
   ===================== */
.site-footer{
  margin-top: 48px;
  padding: 30px 0 30px;
  border-top: 1px solid #e6e6e6;
  background: #fff;
}

.footer-inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  gap: 18px;
}

.footer-col{
  font-size: 22px;
  line-height: 1.5;
}

.footer-right{ text-align: right; }

.footer-center{
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: rgb(178, 40, 45);
  padding: 0 24px;
}

.footer-center span{ display: block; }

.footer-center::after{
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background: rgba(178, 40, 45, 0.4);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* =====================
   Forms (Desktop)
   ===================== */
form{ display:grid; gap: 12px; }

label{
  font-weight: 700;
  display:block;
  margin-bottom: 6px;
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

textarea{ min-height: 140px; resize: vertical; }

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =====================
   Kontakt/Anreise – FINAL CLEAN (DESKTOP)
   ===================== */
.contact-layout{
  position: relative;
  display: grid;
  grid-template-columns: 55fr 45fr;
  column-gap: var(--gap);
  row-gap: 18px;
  margin-top: 28px;
  align-items: start;
}

/* Mittellinie nur Desktop */
@media (min-width: 981px){
  .contact-layout::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc((100% - var(--gap)) * 0.55 + (var(--gap) / 2));
    width: 4px;
    border-radius: 999px;
    background: var(--brand-red);
    opacity: 0.95;
  }
}

/* Spalten-Innenabstand */
.contact-map{ padding-right: var(--pad); }
.contact-form{ padding-left: var(--pad); }

/* (nur Abstand/Feintuning – Größe kommt aus TYPO-Block) */
.contact-h,
.contact-form > h2{
  margin: 0 0 10px;
}

/* Adresse */
.address-line{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 650;
  color: rgba(0,0,0,0.75);
  margin-bottom: 12px;
}
.address-line .pin{
  font-size: 20px;
  line-height: 1;
}

/* Karte */
.map-wrapper.map-square{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.08);
}
.map-wrapper.map-square iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form – Inputs (Kontakt) */
.contact-form label{
  display: block;
  margin: 14px 0 8px;
  font-weight: 700;
  color: rgba(0,0,0,0.80);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(177, 75, 91, 0.55);
  box-shadow: 0 0 0 4px rgba(177, 75, 91, 0.12);
}

.contact-form textarea{
  height: 200px;
  min-height: 100px;
  max-height: 300px;
  resize: vertical;
}

/* Datenschutz / Checkbox – robust (nur Kontaktformular) */
.contact-form .checkrow{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.contact-form .checkrow input[type="checkbox"]{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 4px 0 0 0;
  padding: 0;
  border-radius: 4px;
}

.contact-form .checkrow label{
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  color: rgba(0,0,0,0.75);
}

/* Pflichttext */
.required-info{
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(0,0,0,0.55);
}

/* Buttons – Rot */
.btn.btn-red{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 18px 40px rgba(177, 75, 91, 0.30);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn.btn-red:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(177, 75, 91, 0.38);
}

.btn.btn-red:active{
  transform: translateY(0);
  opacity: 0.95;
}

/* Buttons-Container */
.contact-actions{
  margin-top: 14px;
}

/* ----- POP UP Fenster ---------*/
.form-toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  background: rgba(17,17,17,0.92);
  color: #fff;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 9999;
  max-width: min(92vw, 560px);
  text-align: center;
}

.form-toast[data-ok="0"]{
  background: rgba(178,40,45,0.95);
}

.form-toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}




/* =====================
   Startseite – Unsere Pension
   ===================== */

.page-title{
  text-align: center;
  font-size: 48px;
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
}

.page-pension{
  --hero-h: 500px;
  --hero-pos: 50% 50%;
  --gallery-gap: 22px;
  --content-w: 90%;
}

.pension-hero{
  width: var(--content-w);
  margin: 0 auto 26px;
  border-radius: 16px;
  overflow: hidden;
}

.pension-hero img{
  width: 100%;
  height: var(--hero-h);
  object-fit: cover;
  object-position: var(--hero-pos);
  display: block;
}

.pension-text{
  width: var(--content-w);
  margin: 0 auto 18px;
  font-size: 24px;
  line-height: 1.55;
}

.pension-gallery{
  width: var(--content-w);
  margin: 12px auto 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
}

.pension-gallery figure{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.pension-gallery img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.pension-cta{
  width: var(--content-w);
  margin: 8px auto 0;
  display: flex;
  justify-content: center;
}

.page-pension .btn{
  padding: 18px 28px;
  font-size: 24px;
  background: rgb(200, 130, 140);
  color: #fff;
  border-color: rgb(200, 130, 140);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.page-pension .btn:hover{
  background: rgb(190, 70, 80);
  border-color: rgb(190, 70, 80);
  transform: translateY(-2px);
}

/* =====================
   Zimmer/Preise – Stack Carousel
   ===================== */
.rooms-stack{ margin-top: 14px; }

.stack-carousel{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: visible;
}

.stack-stage{
  position: relative;
  height: 800px;
  overflow: visible;
  overflow-x: clip;
  background: transparent;
}

/* Previews */
.stack-preview{
  position: absolute;
  top: 0;
  height: 100%;
  width: calc(50% + var(--preview-peek));
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

.stack-preview--left{
  left: calc(-1 * var(--preview-peek));
  transform-origin: right center;
  transform: translateX(var(--preview-shift)) scale(var(--preview-scale));
}

.stack-preview--right{
  right: calc(-1 * var(--preview-peek));
  transform-origin: left center;
  transform: translateX(calc(-1 * var(--preview-shift))) scale(var(--preview-scale));
}

.stack-preview::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: var(--preview-opacity);
  filter: blur(var(--preview-blur)) saturate(0.85);
  transform: scale(1.10);
}

.stack-preview--left{
  clip-path: inset(0 var(--preview-peek) 0 0 round var(--radius));
}

.stack-preview--right{
  clip-path: inset(0 0 0 var(--preview-peek) round var(--radius));
}

/* Cards */
.stack-card{
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 92%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  z-index: 2;
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease;
}

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

.stack-card.is-current{
  z-index: 5;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.12),
    0 20px 50px rgba(0,0,0,0.18);
}

.stack-card.is-prev,
.stack-card.is-next{
  opacity: 0;
  pointer-events: none;
}

/* Buttons */
.stack-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 96px;
  border-radius: 999px;
  border: none;
  background: rgb(200,130,140);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.stack-btn:hover{
  background: rgb(190,70,80);
  transform: translateY(-50%) translateY(-1px);
}

.stack-btn:active{
  background: rgb(178,40,45);
  transform: translateY(-50%);
}

.stack-btn-left{ left: -65px; }
.stack-btn-right{ right: -65px; }

.stack-caption{
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-top: 14px;
}

/* =====================
   Preise – moderne Tabelle
   ===================== */
.prices{
  padding: 56px 0 70px;
}

.prices__wrap{
  --prices-max: 1600px;
  width: min(var(--prices-max), 96%);
  margin: 0 auto;
}

/* Headline-Klassen: Größe kommt aus TYPO, hier nur Feinschliff */
.prices__h,
.extras__title{
  margin: 0;
}

.prices__headrow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.pill{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
}

.pill--red{
  background: var(--brand-red);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(177, 75, 91, 0.25);
}

.prices__tableWrap{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.prices__tableWrap::before{
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-red);
  opacity: 0.9;
}

.prices__table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.prices__table thead th{
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.55);
  padding: 18px 18px;
  background: rgba(0,0,0,0.03);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prices__table tbody th,
.prices__table tbody td{
  padding: 20px 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 24px; /* gleiche Größe wie Extras */
  text-align: left;
}

.prices__table tbody th{ font-weight: 800; }

.prices__table .num{
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.priceBig{
  font-size: 24px;
  font-weight: 800;
  color: rgba(0,0,0,0.85);
}

.prices__spacer{ height: 26px; }

/* Extras */
.extras__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.extras__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.extras__item{
  position: relative;
  border-radius: 18px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
}

.extras__item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-red);
  opacity: 0.9;
}

.extras__name{
  font-weight: 800;
  color: rgba(0,0,0,0.86);
  font-size: 24px;
}

.extras__hint{
  display: block;
  margin-top: 6px;
  color: rgba(0,0,0,0.55);
  font-size: 20px;
}

.extras__right{
  text-align: right;
  min-width: 360px; /* Desktop */
  font-variant-numeric: tabular-nums;
}

.extras__priceLine{
  display: block;
  line-height: 1.35;
  font-size: 24px;
  color: rgba(0,0,0,0.85);
}

.extras__muted{
  color: rgba(0,0,0,0.55);
  font-weight: 550;
  font-size: 20px;
}

/* CTA */
.prices__cta{
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 18px 40px rgba(177, 75, 91, 0.30);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.cta-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(177, 75, 91, 0.38);
}

.cta-btn:active{
  transform: translateY(0px);
  opacity: 0.95;
}

/* =====================
   Rechtliches
   ===================== */
.legal{
  padding: 28px 0 56px;
}

.legal__head{ margin: 0 0 18px; }

/* Größe kommt aus TYPO, hier nur Abstände/Feinschliff */
.legal__title{
  margin: 0 0 6px;
}

.legal__sub{
  margin: 0;
  font-size: 20px;
  color: rgba(0,0,0,0.70);
}

.legal__card{
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 22px 22px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  position: relative;
}

.legal__card::before{
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-red);
  opacity: 0.95;
}

/* h3 ist oben vereinheitlicht */
.legal__card p{
  margin: 0 0 12px;
  font-size: 20px;
  color: rgba(0,0,0,0.78);
  line-height: 1.5;
}

.legal__small{
  font-size: 18px;
  color: rgba(0,0,0,0.70);
}

.legal__list{
  margin: 8px 0 14px;
  padding-left: 22px;
  font-size: 20px;
  color: rgba(0,0,0,0.78);
}

.legal__card a{
  color: rgba(0,0,0,0.85);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal__card a:hover{ color: var(--brand-red); }

/* =========================
   AUSFLUGSZIELE – Karte + Rotator
   ========================= */

.excursion-map{
  width: min(1400px, 100%);
  margin: 0 auto 18px;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}

.excursion-map-inner{ position: relative; width: 100%; }

.excursion-map-img{
  display: block;
  width: 100%;
  height: auto;
}

.excursion-pins{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 4px solid rgba(166,45,37,0.55);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.map-pin.is-active{
  width: 40px;
  height: 40px;
  border-width: 6px;
  border-color: rgba(166,45,37,0.95);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.map-pin.is-active::before{
  content:"";
  position:absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(166,45,37,0.22), rgba(166,45,37,0) 62%);
}

.excursion-rotator2{
  width: min(1400px, 90%);
  margin: 8px auto 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

/* Buttons aus Galerie statisch im Grid */
/* Buttons im Rotator: standardmäßig im Grid lassen (aber nicht "blockieren") */
.excursion-rotator2 .stack-btn{
  position: static;      /* kein !important */
  margin: 0;
  z-index: 5;
  align-self: center;
  transform: translateY(22px); /* exakt wie .rot2-item.is-main */
  /* WICHTIG: KEIN left/right/top/bottom/transform reset mit !important */
}

/* Beide Buttons ein kleines Stück nach außen */
.excursion-rotator2 .stack-btn-left{
  margin-left: 30px;   /* negativer = weiter raus */
}

.excursion-rotator2 .stack-btn-right{
  margin-right: 30px;
}

.rot2-stage{
  position: relative;
  height: 130px;
  min-width: 0;
  overflow: visible;
}

.rot2-items{
  position: relative;
  width: 100%;
  height: 100%;
}

.rot2-item{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  white-space: nowrap;
  max-width: min(78vw, 900px);
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(0,0,0,0.78);
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease, color 260ms ease;
}

.rot2-item.is-main{
  transform: translate(-50%, -50%) translateY(22px) scale(1);
  font-size: 36px;
  font-weight: 900;
  opacity: 1;
  filter: blur(0);
  color: rgba(0,0,0,0.90);
}

.rot2-item.is-left{
  transform: translate(-50%, -50%) translateX(-300px) translateY(12px) scale(0.98);
  font-size: 32px;
  font-weight: 800;
  opacity: 0.62;
  filter: blur(0.2px);
  color: rgba(0,0,0,0.70);
}

.rot2-item.is-right{
  transform: translate(-50%, -50%) translateX(300px) translateY(12px) scale(0.98);
  font-size: 32px;
  font-weight: 800;
  opacity: 0.62;
  filter: blur(0.2px);
  color: rgba(0,0,0,0.70);
}

/* Die 3 "hinteren" bewusst komplett ausblenden */
.rot2-item.is-back-left,
.rot2-item.is-back-center,
.rot2-item.is-back-right,
.rot2-item.is-hidden{
  display: none !important;
}

.excursion-placeholder{
  width: min(1400px, 100%);
  margin: 0 auto 26px;
}

/* Ortsabschnitte */
.excursion-section{
  width: min(1400px, 100%);
  margin: 56px auto;
}

/* Größe kommt aus TYPO; hier nur Abstand */
.excursion-title{
  margin-bottom: 26px;
}

.excursion-figure{ margin: 0 0 18px 0; }

.excursion-figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.excursion-credit{
  margin-top: 10px;
  font-size: 16px;
  color: rgba(0,0,0,0.6);
}

.excursion-credit a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.excursion-credit a:hover{
  color: rgba(166,45,37,0.95);
}

.excursion-text{
  max-width: 1380px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.7;
  color: rgba(0,0,0,0.85);
}

.excursion-text p{ margin: 0 0 14px 0; }



/* =========================================================
   ✅ MOBILE – Startseite + Header + Footer + Unterseiten
   Fokus: reale iPhone Tests (WebView/Safari)
   ========================================================= */

/* iOS-sichere Viewport Variable (Fallback) */
:root{
  --vh: 1vh;
}

@media (max-width: 980px){

  /* ---------- 0) Sicherheitsnetz + Grundtypografie ---------- */
  html, body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body{
    font-size: 16px;
    line-height: 1.55;
  }

  /* Standard-Text auf Unterseiten */
  main p,
  main li{
    font-size: 16px;
    line-height: 1.60;
  }

  /* Kleine Hinweistexte (z.B. Datenschutzsatz, Meta) */
  .required-info,
  .fineprint,
  .muted,
  small{
    font-size: 13px;
    line-height: 1.45;
  }

  /* Zwischenüberschriften allgemein (im Content) */
  main h2{
    font-size: 22px;
    line-height: 1.25;
    margin: 18px 0 10px;
  }

  main h3{
    font-size: 19px;
    line-height: 1.25;
    margin: 16px 0 8px;
  }

  /* ---------- 1) HEADER (Hero + Titel + Navigation) ---------- */
  .hero{
    height: calc(var(--vh) * 22);
    background-position: center 65%;
  }

  .hero-title{
    padding-top: 25px !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-title h1{
    font-size: 40px !important;
    padding: 2px 14px !important;
    border-radius: 18px !important;
    white-space: nowrap;
    max-width: calc(100vw - 18px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar{
    bottom: -35px !important;
  }

  main{
    padding-top: 26px !important;
  }

  /* NAV Buttons: kleiner -> 2 Zeilen mit Luft */
  .nav-inner{
    gap: 6px;
    padding: 10px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link,
  .nav-dropbtn{
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    line-height: 1.05;
  }

  .nav-dropmenu{
    right: 50%;
    transform: translateX(50%);
    min-width: 190px;
  }

  .nav-dropmenu a{
    font-size: 14px;
    padding: 10px 12px;
  }

  /* ---------- 2) SEITENTITEL / LAYOUT (allgemein) ---------- */
  .page-title{
    font-size: 30px;
    margin: 0 0 12px;
    line-height: 1.15;
  }

  .page-pad{
    padding: 18px 0;
  }

  /* ---------- 3) STARTSEITE (Unsere Pension) ---------- */
  .page-pension{
    --content-w: 100%;
    --hero-h: 260px;
    --gallery-gap: 12px;
  }

  .pension-hero,
  .pension-text,
  .pension-gallery,
  .pension-cta{
    width: 100%;
  }

  .pension-text{
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .pension-gallery{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pension-hero img{
    height: 380px;
    object-position: center center;
  }

  .pension-gallery img{
    height: 280px;
    object-position: center center;
  }

  .page-pension .btn{
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
  }

  /* ---------- 4) FOOTER (untereinander, zentriert) ---------- */
  .site-footer{
    padding: 26px 0;
  }

  .footer-inner{
    display: block !important;
    padding: 0 18px !important;
    text-align: center !important;
  }

  .footer-col,
  .footer-center,
  .footer-right{
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 16px;
    line-height: 1.45;
  }

  .footer-col{
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-center{
    margin: 20px 0;
    padding: 16px 0;
    position: relative;
  }

  .footer-center::before,
  .footer-center::after{
    content: "";
    display: block;
    width: 240px;
    height: 3px;
    background: rgba(178, 40, 45, 0.55);
    margin: 0 auto;
    border-radius: 3px;
  }

  .footer-center::before{ margin-bottom: 14px; }
  .footer-center::after{  margin-top: 14px; }

  .footer-right{
    margin-top: 0;
    padding-top: 0;
  }

  /* =========================================================
     5) ZIMMER / PREISE – Stack Carousel (MOBILE)
     Fixes:
     - kein weißer Rand (Fallback, falls JS-Width nicht greift)
     - Portrait soll sich an feste Höhe anpassen -> Card wird schmaler
     - Landscape bleibt "nahezu voll" ohne riesige Letterbox
     ========================================================= */

     

.rooms-stack{
  --stackH: 260px; /* 240–320 nach Geschmack */
}

/* Wrapper */
.rooms-stack .stack-carousel{
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  background: transparent !important;
}

/* Stage = feste Höhe */
.rooms-stack .stack-stage{
  position: relative !important;
  height: var(--stackH) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible !important;
  background: transparent !important;
}

/* mobile: nur current */
.rooms-stack .stack-card.is-prev,
.rooms-stack .stack-card.is-next{
  display: none !important;
}

/* Card (Rahmen) */
.rooms-stack .stack-card.is-current{
  position: relative !important;
  height: 100% !important;

  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;      /* killt translate/scale Desktop */
  margin: 0 auto !important;       /* zentriert bei schmaler width */

  width: 92%;          /* Default (Quer) */
  max-width: 100%;

  padding: 0 !important;

  background: transparent !important;
  border-radius: 16px;
  overflow: hidden;

  box-shadow:
    0 0 0 1px rgba(0,0,0,0.10),
    0 14px 32px rgba(0,0,0,0.14);
}

/* Querformat: wirklich volle Breite in der Box */
.rooms-stack .stack-card.is-current.is-landscape{
  width: 100% !important;
}

/* Bild immer an Rahmenhöhe */
.rooms-stack .stack-card.is-current img{
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent !important;
}

/* Querformat: keine Balken -> füllt */
.rooms-stack .stack-card.is-current.is-landscape img{
  object-fit: cover !important;
  object-position: center;
}

/* Hochformat: vollständig sichtbar -> contain
   (UND: Balken verschwinden, weil JS die Card schmaler macht) */
.rooms-stack .stack-card.is-current.is-portrait img,
.rooms-stack .stack-card.is-current img.is-portrait{
  object-fit: contain !important;
  object-position: center;
  background: transparent !important;
}

/* Preview-Layer aus */
.rooms-stack .stack-preview{
  display: none !important;
}

/* Buttons halb rein */
.rooms-stack .stack-btn{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20;

  width: 42px;
  height: 72px;
  font-size: 26px;
  opacity: 0.95;
}

.rooms-stack .stack-btn-left{ left: -21px !important; }
.rooms-stack .stack-btn-right{ right: -21px !important; }

/* Caption */
.rooms-stack .stack-caption{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}


  /* =========================================================
     6) PREISTABELLE 1 (Zimmerpreise) – Feintuning
     - Beschreibung gut
     - Preis 1x kleiner
     - Nächte (Header) 1x kleiner
     ========================================================= */

  .prices__table{
    width: 100%;
    table-layout: fixed;
  }

  .prices__table th:first-child,
  .prices__table td:first-child{
    width: 46%;
  }

  .prices__table th:not(:first-child),
  .prices__table td:not(:first-child){
    width: 18%;
  }

  /* Nächte-Header 1x kleiner */
  .prices__table thead th{
    font-size: 8px;          /* vorher 9 */
    line-height: 1.10;
    padding: 10px 6px;
    white-space: normal;
    text-align: center;
    letter-spacing: 0.01em;
    overflow: visible;
    text-overflow: unset;
  }

  /* Beschreibung (links) passt */
  .prices__table tbody th{
    font-size: 16px;
    line-height: 1.22;
    padding: 18px 10px;
    white-space: normal;
  }

  .prices__table tbody td{
    padding: 18px 10px;
  }

  /* Preis 1x kleiner */
  .prices__table .num{
    white-space: nowrap;
    font-size: 10px;         /* vorher 14 */
  }

  .priceBig{
    font-size: 12px;
  }

  .prices{
    padding: 52px 0 0;
  }

  /* =========================================================
     7) PREISTABELLE 2 (Extras) – darf NICHT über Seite laufen
     + übernimmt exakt die 3 Typo-Stufen von Tabelle 1
     ========================================================= */

  /* --- Overflow-Fix (ohne Typo-Änderungen) --- */
  .extras,
  .extras__top,
  .extras__list,
  .extras__item{
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .extras__top > *,
  .extras__item > *{
    min-width: 0 !important; /* iOS/Safari Flex-Overflow Killer */
  }

  .extras__top{
    flex-wrap: wrap !important;
  }

  .extras__top .pill{
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    flex: 0 1 auto !important;
  }

  /* --- Typo-Stufen (wie ursprünglich gewünscht) --- */

  /* Header klein (Pill/Topline wie "Nächte") */
  .extras__top .pill{
    font-size: 8px !important;
    line-height: 1.10 !important;
  }

  /* Beschreibung (rechts: Text wie "/ Nacht · ab 2 Nächten") */
  .extras__muted{
    font-size: 12px !important;
    line-height: 1.22 !important;
  }

  /* Preis (Zahlenteil) */
  .priceBig,
  .priceBig strong{
    font-size: 14px !important;
    line-height: 1.22 !important;
  }

  /* Dein Name links soll so bleiben wie du ihn gesetzt hast */
  .extras__name{
    font-size: 16px !important;
  }

  /* =========================================================
     8) KONTAKT / ANREISE
     ========================================================= */

  .contact-layout{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    width: min(980px, 100%);
    margin: 0 auto;
  }

  .contact-map,
  .contact-form{
    padding: 0 !important;
    margin: 0;
    width: 100%;
  }

  .map-wrapper,
  .map-wrapper iframe{
    width: 100%;
  }

  .contact-actions--map{
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  .contact-form{
    position: relative;
    padding-top: 22px !important;
    margin-top: 6px;
  }

  .contact-form::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    transform: translateX(-50%);
    background: var(--brand-red);
    border-radius: 999px;
    opacity: 0.95;
  }

  .contact-actions--form{
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }

  .contact-actions .btn{
    width: min(300px, 90%);
    font-size: 15px;
    padding: 12px 16px;
  }

  .required-info{
    margin-top: 10px;
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-form .checkrow{
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    width: 100%;
  }

  .contact-form .checkrow label{
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.45;
  }

  .contact-form textarea{
    min-height: 140px;
  }


  /* ----  POP UP Fenster ------*/
    .form-toast{
    bottom: 90px; /* ← hier kannst du feinjustieren (70–110px) */
  }

  /* =========================================================
     9) AUSFLUGSZIELE ROTATOR – Feinschliff
     - Buttons halb so groß
     - leicht nach außen
     - Nebenorte näher zur Mitte
     - Schriftgrößen bleiben
     ========================================================= */

  .rot2-item.is-left{
    transform:
      translate(-50%, -50%)
      translateX(-90px)   /* näher zur Mitte */
      translateY(8px)
      scale(0.94);
    font-size: 16px;
    opacity: 0.55;
  }

  .rot2-item.is-right{
    transform:
      translate(-50%, -50%)
      translateX(90px)    /* näher zur Mitte */
      translateY(8px)
      scale(0.94);
    font-size: 16px;
    opacity: 0.55;
  }

  .rot2-item.is-main{
    font-size: 22px;
    transform:
      translate(-50%, -50%)
      translateY(12px);
  }

  /* Rotator Buttons (große rosa Pillen) – halbieren */
  .rot2-btn,
  .rot2-arrow,
  .rot2-nav button,
  [data-rot="prev"],
  [data-rot="next"]{
    width: 38px !important;
    height: 62px !important;
    font-size: 24px !important;
    border-radius: 22px !important;
  }

.excursion-rotator2{
  margin: 0px auto 0px;   /* vorher: 8px auto 18px */
}

.rot2-stage{
  height: 50px;   /* vorher: 130px */
}

/* Beide Buttons ein kleines Stück nach außen */
.excursion-rotator2 .stack-btn-left{
  margin-left: -20px;   /* negativer = weiter raus */
}

.excursion-rotator2 .stack-btn-right{
  margin-right: -20px;
}

  /* =========================================================
     10) IMPRESSUM / DATENSCHUTZ – Typo Stafflung
     - normaler Text wie “Anfang” (16)
     - kleinere Meta (13)
     - Zwischenüberschriften moderat größer (18/19)
     ========================================================= */

  /* Karten/Blöcke auf Legal-Seiten (robust) */
  .legal,
  .impressum,
  .datenschutz{
    font-size: 16px;
    line-height: 1.55;
  }

  .legal .subline,
  .impressum .subline,
  .datenschutz .subline{
    font-size: 13px;
    line-height: 1.45;
  }

  /* Überschriften in der Legal-Card wie “Betreiber / Kontakt / Haftung …” */
  .legal h3, .impressum h3, .datenschutz h3,
  .legal-card h3, .content-card h3{
    font-size: 19px;   /* kleiner als bisher, aber über Text */
    line-height: 1.25;
    margin: 18px 0 10px;
  }

  .legal p,
.impressum p,
.datenschutz p{
  margin: 0 0 14px;
  font-size: 16px;
}


  /* Links/Telefon nicht riesig wirken lassen */
  .legal a,
  .impressum a,
  .datenschutz a{
    font-size: 16px;
  }
}

/* ✅ iOS/WebView Feinschliff (nur iOS) */
@supports (-webkit-touch-callout: none){
  @media (max-width: 980px){
    .navbar{
      bottom: -12px !important;
    }
  }
}

/* ✅ Extra: sehr kleine iPhones */
@media (max-width: 480px){

  .nav-link,
  .nav-dropbtn{
    font-size: 12px;
    padding: 7px 10px;
  }

  .hero-title h1{
    font-size: 36px !important;
  }

  /* Rotator: noch etwas näher zur Mitte */
  .rot2-item.is-left{
    transform:
      translate(-50%, -50%)
      translateX(-98px)
      translateY(8px)
      scale(0.92);
  }

  .rot2-item.is-right{
    transform:
      translate(-50%, -50%)
      translateX(98px)
      translateY(8px)
      scale(0.92);
  }

  .rot2-item.is-main{
    font-size: 20px;
  }

  /* Carousel Buttons minimal kleiner */
  .rooms-stack .stack-btn{
    width: 32px;
    height: 56px;
    font-size: 20px;
  }
}
