:root{
  --bg: #f6f4ef;
  --bg-soft: #fbfaf7;
  --paper: #ffffff;
  --stroke: #e7e3d7;

  --text: #1f2933;
  --muted: #5c6673;
  --muted2: #7a8492;

  --gold: #c9a44c;
  --gold-soft: #efe6c8;

  --radius: 18px;
  --shadow: 0 14px 40px rgba(0,0,0,.08);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(600px 400px at 10% 0%, var(--gold-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  color: var(--text);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-decoration-color: var(--gold); }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  background: var(--bg-soft);
  border-bottom: 1px solid var(--stroke);
}
.topbar__inner{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  padding:10px 0;
  font-size:14px;
}
.topbar__muted{ color: var(--muted2); }

/* Header */
.header{
  position: sticky;
  top:0;
  z-index:40;
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:18px;
}

.brand--logo{
  display:flex;
  align-items:center;
}
.logo{
  height:56px;
  width:auto;
  max-width:220px;
  object-fit:contain;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  font-size:14px;
  font-weight:600;
  color: var(--muted);
}
.nav a:hover{ color: var(--text); }

.nav__toggle{ display:none; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: var(--paper);
  font-weight:700;
  transition:.15s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  background: linear-gradient(135deg, #e6c86e, #c9a44c);
  color:#1f1f1f;
  border:none;
}
.btn--ghost{
  background: transparent;
}

/* Harmonisiertes Bild-Grundprofil */
.hero__image,
.roomImage,
.roomImageBox img{
  filter:
    saturate(1.05)
    contrast(1.03)
    brightness(0.98);
}

/* Hero */
.hero__image{
    height:420px;
    border-radius:var(--radius);
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.12),
        rgba(0,0,0,.28)
      ),
      url("/assets/images/hero.jpg") center / cover no-repeat;
    box-shadow: var(--shadow);
  }

/* Zimmerbilder */
.roomImage{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  cursor:pointer;
  transition: transform .4s ease;
}

/* Hero */

.hero{
  padding:56px 0 24px;
}

@media (max-width: 640px){
  .hero{
    padding:32px 0 16px;
  }

  h1{
    font-size:30px;
    line-height:1.2;
  }

  .hero__image{
    height:300px;
  }
}


.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:32px;
  align-items:center;
}


.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: var(--gold-soft);
  color:#6b5a28;
  font-weight:700;
  font-size:13px;
}

h1{
  margin:12px 0 14px;
  font-size: clamp(34px, 4vw, 46px);
  line-height:1.15;
  letter-spacing: -0.01em;
}

.lead{
  color: var(--muted);
  max-width:52ch;
  line-height:1.6;
}

.hero__cta{
  display:flex;
  gap:14px;
  margin:22px 0 18px;
  flex-wrap:wrap;
}

.hero__usps{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.usp{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: var(--paper);
  font-size:13px;
  font-weight:700;
}

.hero__media{ position:relative; }


.hero__card{
  position:absolute;
  bottom:-18px;
  left:18px;
  right:18px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}

/* Sections */
.section{ padding:64px 0; }
.section--soft{
  background: var(--bg-soft);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}

.section__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:18px;
}

/* Zimmer */
.roomGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  align-items:stretch;
}


.roomCard{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}



@media (hover:hover){
  .roomCard:hover .roomImage{
    transform: scale(1.04);
  }
}

.roomContent{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.roomPrice{
  font-weight:700;
  margin-top:4px;
}

.roomCard--wide{
  grid-column: span 3;
}

/* responsive */
@media (max-width: 900px){
  .roomGrid{
    grid-template-columns: repeat(2, 1fr);
  }
  .roomCard--wide{
    grid-column: span 2;
  }
}

@media (max-width: 640px){
  .roomGrid{
    grid-template-columns: 1fr;
  }
  .roomCard--wide{
    grid-column: auto;
  }
}

/* Zimmerbild Overlay */
.roomImageBox{
  max-width:90vw;
  max-height:85vh;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.roomImageBox img{
  max-width:100%;
  max-height:100%;
  border-radius:12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}


/* Google Bewertung */
.googleSummary{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 20px;
  margin-bottom:24px;
  background:#fff;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration:none;
}

.googleLogo{
  font-weight:700;
  color:#4285F4;
}

.googleStars{
  color:#f5b301;
  letter-spacing:2px;
}

.googleScore{
  font-weight:700;
}

.googleHint{
  margin-left:auto;
  font-size:14px;
  color: var(--muted);
}

.googleSummary:hover{
  transform: translateY(-1px);
}

/* Rezensionen */
.reviewGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}

.reviewCard{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.reviewCard:hover{
  transform: translateY(-2px);
}

.reviewStars{
  color:#f5b301;
  letter-spacing:2px;
}

.reviewText{
  line-height:1.6;
}

.reviewAuthor{
  margin-top:auto;
  font-size:14px;
  color: var(--muted);
  font-style:italic;
}

/* responsive */
@media (max-width: 900px){
  .reviewGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .reviewGrid{
    grid-template-columns: 1fr;
  }
  .googleSummary{
    flex-wrap:wrap;
  }
}


/* Preise – reduziert & elegant */
.priceList{
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:720px;
}

.priceRow{
  display:grid;
  grid-template-columns: 2fr 1fr 2fr;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid var(--stroke);
}

.priceType{
  font-weight:600;
}

.priceValue{
  font-weight:700;
  text-align:right;
}

.priceInfo{
  color: var(--muted);
  font-size:14px;
  text-align:right;
}

/* leicht hervorgehobene letzte Zeile */
.priceRow--emphasized{
  border-bottom:none;
  padding-top:18px;
  font-weight:600;
}

/* responsive */
@media (max-width: 640px){
  .priceRow{
    grid-template-columns: 1fr;
    gap:4px;
  }
  .priceValue,
  .priceInfo{
    text-align:left;
  }
}

/* responsive */
@media (max-width: 900px){
  .priceGrid{
    grid-template-columns: repeat(2, 1fr);
  }
  .priceCard--wide{
    grid-column: span 2;
  }
}

@media (max-width: 640px){
  .priceGrid{
    grid-template-columns: 1fr;
  }
  .priceCard--wide{
    grid-column: auto;
  }
}


/* Lage */
.location{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap:28px;
  align-items:stretch;
}

.location__card{
  background: #fff;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  padding:24px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.location__badge{
  align-self:flex-start;
  font-size:12px;
  font-weight:700;
  padding:4px 10px;
  border-radius:999px;
  background: var(--gold-soft);
  color:#6b5a28;
}

.location__map{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.location__map iframe{
  width:100%;
  height:100%;
  min-height:320px;
  border:0;
}

/* responsive */
@media (max-width: 900px){
  .location{
    grid-template-columns: 1fr;
  }
  .location__map iframe{
    min-height:260px;
  }
}

/* ContentCards */

.form{
  display:grid;
  gap:14px;
}

.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

label{
  display:grid;
  gap:6px;
  font-weight:600;
  color: var(--muted);
  font-size:13px;
}

input, textarea{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:#fff;
  font-size:14px;
}

textarea{ resize: vertical; }

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

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:16px;
}
.card{
  background: var(--paper);
  border-radius: var(--radius);
  padding:18px;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.cards--bento{ grid-template-columns: repeat(6,1fr); }
.cards--bento .card:nth-child(1){ grid-column: span 3; }
.cards--bento .card:nth-child(2){ grid-column: span 3; }
.cards--bento .card:nth-child(3){ grid-column: span 2; }
.cards--bento .card:nth-child(4){ grid-column: span 4; }

/* Footer */
.footer{
  margin-top:72px;
  background: #fbfaf7;
  border-top:1px solid var(--stroke);
}

.footer__main{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding:48px 0;
}

.footer__brand .logo{
  height:44px;
  margin-bottom:12px;
}

.footer__col{
  font-size:14px;
  color: var(--muted);
}
.footer__col strong{
  display:block;
  margin-bottom:8px;
  color: var(--text);
}

.footer__bottom{
  border-top:1px solid var(--stroke);
  text-align:center;
  padding:16px 0;
  color: var(--muted2);
}

/* Responsive */
@media (max-width:980px){
  .hero__grid{ grid-template-columns:1fr; }
  .cards{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width:640px){
  .cards{ grid-template-columns:1fr; }
  .footer__main{ grid-template-columns:1fr; gap:24px; }
}

/* Rechtliches Overlay */
.legalOverlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.legalOverlay.is-open{
  display:flex;
}

.legalBox{
  background:#fff;
  border-radius:16px;
  max-width:820px;
  width:90%;
  max-height:85vh;
  overflow:auto;
  padding:32px;
  position:relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.legalClose{
  position:absolute;
  top:18px;
  right:18px;
  border:none;
  background:none;
  font-size:22px;
  cursor:pointer;
}

.legalContent p{
  margin:0 0 14px;
  line-height:1.6;
}

/* Touch-Optimierung */
@media (max-width: 640px){
  .btn{
    min-height:48px;
    padding:14px 18px;
  }

  .nav a{
    padding:10px 0;
  }

  .footer__col a{
    display:inline-block;
    padding:6px 0;
  }
}

/* harmoniserte Bilder */
@media (max-width: 640px){
  .hero__image{
    height:300px;
  }

  .roomImage{
    height:220px;
  }
}

/* Hero Trust */
.hero__trust{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 6px;
  font-size:14px;
  color: var(--muted);
}

.trustStars{
  color:#f5b301;
  letter-spacing:2px;
}

.trustText{
  white-space: normal;
}
@media (min-width: 981px){
  .trustText{
    white-space: nowrap;
  }
}

@media (max-width: 640px){
  .hero__trust{
    flex-wrap:wrap;
  }
}

/* Hero CTA – Scroll Highlight */
.header.scrolled .btn--primary{
  box-shadow: 0 6px 20px rgba(201,164,76,.35);
  transform: translateY(-1px);
}

/* Language Switch (Flags) */
.lang-switch{
  display:flex;
  gap:8px;
  align-items:center;
}

.lang-switch button{
  border:1px solid transparent;
  background: rgba(255,255,255,.6);
  cursor:pointer;
  font-size:16px;
  line-height:1;
  padding:6px 8px;
  border-radius:10px;
  opacity:.75;
  transition: .15s ease;
}

.lang-switch button:hover{
  opacity:1;
  transform: translateY(-1px);
}

/* Active flag */
.lang-switch button.is-active{
  opacity:1;
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 6px 18px rgba(201,164,76,.25);
}

/* Keyboard focus */
.lang-switch button:focus-visible{
  outline: 2px solid rgba(201,164,76,.55);
  outline-offset: 2px;
}


/* ===== Mobile Fix: kein horizontaler Overflow (Balken links) ===== */
html, body{
  overflow-x: hidden;
}

@media (max-width: 640px){
  /* Header darf umbrechen statt über den Screen zu schieben */
  .header__inner{
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Navigation: umbrechen, weniger Abstand */
  .nav{
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
  }

  /* Language Switch: rechts ausrichten, aber nicht überlaufen */
  .lang-switch{
    margin-left: auto;
  }

  /* Trust-Text DARF umbrechen (wichtig!) */
  .trustText{
    white-space: normal;
  }
}


/* Language handling */
.lang { display: none; }

body.lang-de .lang-de { display: inline; }
body.lang-en .lang-en { display: inline; }

body.lang-de span.lang-de { display: inline; }
body.lang-en span.lang-en { display: inline; }


/* ===== Desktop: Header dauerhaft fixieren (nur einmal, sauber) ===== */
@media (min-width: 981px){
  .header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  /* Body-Offset wird per JS gesetzt (daher hier 0 lassen) */
  body{
    padding-top: 0;
  }
}


/* Zimmer Mini-CTA */
.roomCta{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  font-weight:600;
  color: var(--gold);
}

.roomCta:hover{
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* Hero Bewertung – stärkerer Fokus */
.hero__trust--highlight{
  align-items: baseline;
  gap:12px;
}

.trustScore{
  font-size:32px;
  font-weight:800;
  color: var(--text);
  line-height:1;
}

@media (max-width: 640px){
  .trustScore{
    font-size:26px;
  }
}

/* Google Bewertung – Zahl hervorheben */
.googleScore--big{
  font-size:28px;
  font-weight:800;
}

.googleScoreUnit{
  font-size:14px;
  color: var(--muted);
  margin-left:4px;
}

/* ===============================
   Mobile Header & Navigation
   =============================== */
@media (max-width: 640px){

  .header__inner{
    flex-wrap:wrap;
    gap:12px;
  }

  .nav{
    width:100%;
    justify-content:flex-start;
    gap:12px;
    font-size:13px;
  }

  .nav a.btn--primary{
    padding:10px 14px;
    font-size:14px;
  }

  .lang-switch{
    margin-left:auto;
  }
}

/* ===============================
   Mobile Hero Reihenfolge
   =============================== */
@media (max-width: 640px){

  .hero__grid{
    display:flex;
    flex-direction:column;
    gap:24px;
  }

  .hero__media{
    order:3;
  }

}

/* ===============================
   Mobile Hero Bewertung & USPs
   =============================== */
@media (max-width: 640px){

  .hero__trust{
    margin:6px 0;
    gap:8px;
  }

  .trustScore{
    font-size:26px;
  }

  .usp{
    padding:8px 10px;
    font-size:12px;
  }
}

/* ===============================
   Mobile Zimmer Cards
   =============================== */
@media (max-width: 640px){

  .roomCard{
    margin-bottom:24px;
  }

  .roomPrice{
    margin-bottom:4px;
  }

  .roomCta{
    margin-top:6px;
    font-size:14px;
  }
}

/* ===============================
   Mobile Bewertungen
   =============================== */
@media (max-width: 640px){

  .reviewCard{
    padding:20px;
  }

  .reviewText{
    font-size:15px;
    line-height:1.7;
  }
}

/* ===============================
   Mobile Lage / Google Maps
   =============================== */
@media (max-width: 640px){

  .location__map iframe{
    min-height:220px;
  }
}

/* ====================================
   FIX: Hero Bild auf Mobile anzeigen
   ==================================== */
@media (max-width: 640px){

  .hero__media{
    width:100%;
    order:3;
  }

  .hero__image{
    width:100%;
    height:240px;
    display:block;
    background-size:cover;
    background-position:center;
    border-radius:var(--radius);
  }
}