/* ==========================================================================
   Haus Seebär – Stylesheet
   Nachbau des bisherigen Layouts (Bellevue/Elementor) ohne externe Ressourcen
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Karantina";
  src: url("../fonts/Karantina-Regular.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karantina";
  src: url("../fonts/Karantina-Bold.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/RobotoSlab-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variablen ---------- */
:root {
  --c-primary: #3b5b6b;
  --c-primary-dark: #2f4a57;
  --c-accent: #237a87;
  --c-text: #333;
  --c-muted: #888;
  --c-light: #f7f5f5;
  --c-header: #252b2d;
  --c-footer: #292e31;
  --c-footer-text: #d2d2d2;
  --gradient: linear-gradient(140deg, #3b5b6b 0%, #237a87 100%);
  --f-head: "Karantina", "Arial Narrow", sans-serif;
  --f-body: "Roboto Slab", Georgia, serif;
  --container: 1170px;
  --header-h: 225px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, opacity .2s; }
a:hover { color: var(--c-accent); }
p { margin: 0 0 16px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 400; color: var(--c-primary); line-height: 1.1; margin: 0 0 15px; }
strong, b { font-weight: 600; }
ul { margin: 0; padding: 0; }
:target { scroll-margin-top: 100px; }
.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--c-primary); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container--narrow { max-width: 790px; margin-left: auto; margin-right: auto; }
.container--wide { max-width: 1310px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding: 12px 35px;
  border: 2px solid transparent;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  background: none;
}
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: #151515; font-size: 17px; line-height: 25.5px; padding: 12px 38px; }
.btn--light:hover { background: rgba(255,255,255,.85); color: #151515; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--c-primary); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.btn--accent:hover { background: #1b6772; border-color: #1b6772; color: #fff; }
.btn--small { font-size: 13px; padding: 8px 26px; letter-spacing: .03em; }
.btn--lg { font-size: 18px; line-height: 27px; padding: 15px 46px; }
.btn--slider { font-size: 17px; line-height: 25.5px; padding: 12px 38px; margin: 8px 5px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--c-header); }
.site-header--transparent { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.topbar { background: rgba(255,255,255,.1); padding: 5px 0; font-size: 12px; line-height: 26px; color: #fff; }
.site-header--sticky .topbar, .site-header:not(.site-header--transparent) .topbar { background: rgba(255,255,255,.04); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.topbar__text { margin: 0; }
.topbar__links { display: flex; list-style: none; align-items: center; }
.topbar__links li { padding: 0 10px; }
.topbar__links li:last-child { padding-right: 0; }
.topbar__links a { color: #fff; display: inline-flex; align-items: center; }
.topbar__links a:hover { opacity: .75; color: #fff; }
.topbar__icon { width: 13px; height: 13px; margin-right: 6px; }
.topbar__links li:last-child .topbar__icon { margin-right: 0; }

.navbar { display: flex; align-items: flex-start; justify-content: space-between; position: relative; }
.navbar__brand { display: block; padding: 30px 0; flex: none; }
.navbar__brand img { width: 245px; height: auto; }
.navbar__toggle { display: none; }

.mainnav__list { display: flex; list-style: none; align-items: center; margin-top: 19px; }
.mainnav__item { position: relative; }
.mainnav__item > a { display: block; color: #fff; font-size: 16px; line-height: 20px; padding: 15px 0; margin: 0 15px; position: relative; }
.mainnav__item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: #fff; opacity: 0; transition: opacity .2s; }
.mainnav__item:hover > a::after, .mainnav__item:focus-within > a::after { opacity: 1; }
.mainnav__item > a:hover { color: #fff; }
.mainnav__item--accent { border: 1px solid rgba(255,255,255,.65); border-radius: 50px; padding: 8px 18px; margin: 6px 0 0 2px; align-self: flex-start; }
.mainnav__item--accent > a { padding: 0; margin: 0; }
.mainnav__item--accent > a::after { display: none; }
.mainnav__item--accent:hover { background: #fff; }
.mainnav__item--accent:hover > a { color: var(--c-primary); }
.mainnav__sub-toggle { display: none; }
.mainnav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; list-style: none; padding: 12px 5px; margin-top: -2px;
  box-shadow: 0 6px 12px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.mainnav__item:hover > .mainnav__sub, .mainnav__item:focus-within > .mainnav__sub { opacity: 1; visibility: visible; transform: none; }
.mainnav__sub a { display: block; padding: 8px 20px; font-size: 14px; line-height: 20px; color: #585858; white-space: nowrap; }
.mainnav__sub a:hover { color: var(--c-primary); background: #f5f5f5; }

/* fixierter Header beim Scrollen */
.site-header--sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--c-header);
  transform: translateY(-110%); transition: transform .3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.site-header--sticky.is-visible { transform: none; }
.site-header--sticky .navbar__brand { display: none; }
.site-header--sticky .navbar { justify-content: flex-end; }
.site-header--sticky .mainnav__list { margin: 0 0 5px; }
.site-header--sticky .mainnav__item--accent { margin-top: 0; padding: 6px 18px; align-self: center; }

/* ---------- Seiten-Hero ---------- */
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #232323; }
.hero--large { min-height: 700px; }
.hero--small { min-height: 450px; }
.hero__bg, .slider__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__overlay { position: absolute; inset: 0; background: #000; }
.hero__content { position: relative; padding-top: 60px; padding-bottom: 20px; }
.hero--small .hero__content { padding-top: 30px; }
.hero__title { color: #fff; font-size: 88px; line-height: 1.05; font-weight: 400; margin: 0 5px 10px; }
.hero__text { font-size: 18px; line-height: 27px; margin: 0 5px 16px; }
.hero .btn { margin: 0 5px 10px; }

/* ---------- Startseiten-Slider ---------- */
.slider { position: relative; height: 800px; overflow: hidden; background: #232323; color: #f4f4f4; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; visibility: hidden; }
.slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slider__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.05); }
.slider__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 0; }
.slider__title { color: #f4f4f4; font-size: 88px; line-height: 1.05; font-weight: 400; margin: 0 0 15px; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.slider__text { font-size: 22px; line-height: 33px; margin: 0 0 30px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.slider__arrow {
  position: absolute; top: 50%; z-index: 3; width: 50px; height: 56px; margin-top: -28px;
  border: 0; background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.slider__arrow:hover { background: rgba(255,255,255,.2); color: #fff; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); text-indent: -999px; overflow: hidden; cursor: pointer; }
.slider__dots button.is-active, .slider__dots button:hover { background: #fff; }

/* ---------- Abschnitte ---------- */
.section { padding: 50px 0; }
.section-header { text-align: center; margin: 0 auto 0; }
.section-header__icon { width: 34px; height: 34px; color: var(--c-primary); margin: 0 auto 18px; display: block; }
.section-header__title { font-size: 64px; line-height: 70.4px; margin: 0 5px 15px; color: var(--c-primary); }
.divider { display: block; width: 54px; height: 2px; border-top: 1px solid var(--c-primary); border-bottom: 1px solid var(--c-primary); margin: 0 auto 18px; }
.section-header__text { margin: 0 5px 16px; }
.section-header__text p:last-child { margin-bottom: 0; }
.section-header--left { text-align: left; }

.section--intro { padding: 50px 0 55px; }
.section--intro .section-header { max-width: 750px; }

/* ---------- Karussell ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .5s ease; will-change: transform; }
.carousel__slide { flex: 0 0 calc(100% / var(--per-view, 1)); min-width: 0; }
.carousel__slide img { width: 100%; aspect-ratio: 605 / 465; object-fit: cover; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border: 0; background: none; color: rgba(237,237,237,.9); cursor: pointer;
  font-size: 24px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.carousel__btn:hover { color: #fff; }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* ---------- Kacheln Startseite ---------- */
.section--apartments { padding: 50px 0 51px; background: #fff; }
.section--apartments .section-header { max-width: 790px; margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 5px; }
.tile { position: relative; display: block; overflow: hidden; border: 5px solid transparent; color: #fff; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s linear; }
.tile__overlay { position: absolute; inset: 0; background: transparent; transition: background-color .1s linear; }
.tile__top, .tile__center { position: absolute; left: 0; right: 0; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .2s linear, transform .2s linear; color: #fff; }
.tile__top { top: 5%; }
.tile__center { top: 50%; transform: translateY(calc(-50% + 8px)); padding: 30px; display: flex; flex-direction: column; align-items: center; }
.tile__title { font-family: var(--f-head); font-size: 48px; line-height: 1.1; text-transform: uppercase; margin-top: 8px; }
.tile__sub { margin-top: 8px; }
.tile__price { font-size: 28px; font-weight: 600; margin: 12px 0 5px; line-height: 1.2; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover .tile__overlay, .tile:focus-visible .tile__overlay { background: rgba(59,91,107,.75); }
.tile:hover .tile__top, .tile:focus-visible .tile__top { opacity: 1; transform: none; }
.tile:hover .tile__center, .tile:focus-visible .tile__center { opacity: 1; transform: translateY(-50%); }
.tile:hover { color: #fff; }

/* ---------- Bild/Text-Abschnitte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 489px; }
.split + .split { min-height: 513px; }
.split__media { position: relative; background: #54595f; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.split__body { background: var(--c-light); padding: 130px 80px 80px; display: flex; flex-direction: column; align-items: flex-start; }
.split__title { font-size: 48px; line-height: 1.1; margin: 0 0 15px; max-width: 756px; }
.split__text { max-width: 756px; }
.split--image-right .split__media { order: 2; }
.split .btn { margin-top: 0; }

/* ---------- Ferienwohnungen-Übersicht ---------- */
.section--apartment-list { padding: 50px 0 51px; }
.section--apartment-list .section-header { max-width: 750px; margin-bottom: 10px; }
.section-header--mixed .section-header__title { text-transform: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { display: block; border: 5px solid transparent; color: var(--c-text); }
.card__media { position: relative; display: block; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.35)); pointer-events: none; }
.card__price { position: absolute; left: 25px; bottom: 25px; z-index: 1; color: #fff; font-weight: 600; }
.card__body { display: block; padding: 30px; background: #fff; }
.card__title { display: block; font-family: var(--f-head); font-size: 18px; line-height: 1.2; color: #2c2c33; margin-top: 8px; }
.card__sub { display: block; font-size: 14px; color: var(--c-muted); margin-top: 8px; }
.card:hover { color: var(--c-text); }

/* ---------- Call to Action ---------- */
.cta { background: var(--gradient); padding: 50px 0; color: #fff; text-align: center; }
.cta__inner { min-height: 183px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.cta__text { font-size: 24px; line-height: 1.4; margin: 0; }

/* ---------- Wohnungsseite ---------- */
.roominfo { background: var(--gradient); color: #fff; }
.roominfo__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 120px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.roominfo__price { font-family: var(--f-head); font-size: 64px; line-height: 1; margin: 0; white-space: nowrap; }
.roominfo__price span { font-size: 22px; }
.roominfo__list { display: flex; list-style: none; gap: 34px; flex-wrap: wrap; align-items: center; }
.roominfo__list li { display: flex; align-items: center; font-size: 20px; }
.roominfo__list .icon { width: 28px; height: 28px; margin-right: 6px; }

.section--description { padding: 60px 0 70px; }
.description { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.description__title { font-size: 64px; line-height: 70.4px; margin: 0 5px 15px 0; }
.description__body { margin-bottom: 16px; }
.description__body p { margin-bottom: 24px; }
.description .btn { margin-top: 0; }
.description__media .carousel { width: 100%; max-width: 510px; margin-left: auto; }

.section--features { padding: 50px 0 70px; }
.section--features .section-header { margin-bottom: 40px; }
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 40px; }
.feature { display: flex; align-items: flex-start; padding: 0 30px; }
.feature__icon { flex: none; width: 44px; margin-right: 20px; padding-top: 14px; color: var(--c-accent); }
.feature__icon .icon { width: 44px; height: 44px; }
.feature__title { font-size: 48px; line-height: 52.8px; margin: 0 0 10px; }
.section--expect .feature__title, .section--downloads .feature__title { font-size: 64px; line-height: 70.4px; }
.feature__title a { color: inherit; }
.feature__title a:hover { color: var(--c-accent); }
.feature__text p:last-child { margin-bottom: 0; }
.footnote { font-size: 12px; line-height: 18px; margin-top: 40px; padding: 0 30px; }

/* ---------- Unser Haus ---------- */
.section--detail { padding: 50px 0 70px; }
.section--detail .section-header { margin-bottom: 30px; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 0 15px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 605 / 465; object-fit: cover; transition: transform .3s, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); opacity: .9; }
.parallax { min-height: 402px; background-size: cover; background-position: center; background-attachment: fixed; background-color: #a8a8a8; }
.section--expect { padding: 50px 0 70px; }
.section--expect .section-header { margin-bottom: 50px; max-width: 1000px; }
.section--rules { padding: 50px 0; }
.section--rules .section-header { margin-bottom: 10px; }
.section--downloads { padding: 50px 0 70px; }
.section--downloads .section-header { margin-bottom: 50px; }
.prose--rules { font-size: 14px; line-height: 21px; }
.prose--rules p { margin-bottom: 21px; }

/* ---------- Kontakt ---------- */
.section--boxes { padding: 70px 0 70px; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 60px; max-width: 1140px; }
.box { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--c-text); padding: 0 30px; }
.box__icon { width: 104px; height: 104px; border-radius: 50%; background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: background .2s; }
.box__icon .icon { width: 44px; height: 44px; }
.box:hover .box__icon { background: var(--c-primary); }
.box__title { font-family: var(--f-head); font-size: 64px; line-height: 70.4px; color: var(--c-primary); margin-bottom: 10px; }
.box__text { font-size: 14px; }
.box:hover { color: var(--c-text); }

.section--map { padding: 40px 0 60px; }
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.location__map img { width: 100%; }
.location__title { font-size: 64px; line-height: 1; margin: 0 0 20px; }
.prose--small { font-size: 14px; line-height: 21px; }
.prose--small p { margin-bottom: 16px; }

.section--contact { padding: 50px 0 60px; }
.section--contact .section-header { max-width: 900px; margin-bottom: 40px; }
.contact-items .features { grid-template-columns: 1fr 1fr; }
.contact-items .feature { grid-column: 1; }
.contact-items .feature__title { font-size: 48px; line-height: 52.8px; }

.section--faq { padding: 30px 0 80px; }
.section--faq .section-header { margin-bottom: 40px; }
.faq { max-width: 700px; margin: 0 auto; }
.faq__item { margin-bottom: 10px; }
.faq__q { margin: 0; font-family: var(--f-body); font-size: 18px; line-height: 1.4; color: var(--c-text); }
.faq__q button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; position: relative; padding-left: 42px; }
.faq__q button:hover { color: var(--c-accent); }
.faq__q button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.faq__dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c-primary); }
.faq__item.is-open .faq__dot { background: var(--c-primary); box-shadow: inset 0 0 0 3px #fff; }
.faq__a { font-size: 15px; line-height: 1.6; margin: 10px 0 0 8px; padding: 8px 0 28px 30px; border-left: 2px solid var(--c-accent); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Text-/Rechtsseiten ---------- */
.section--page { padding: 60px 0 80px; }
.page-title { font-size: 88px; line-height: 1.05; margin: 0 0 30px; }
.page-rule { border: 0; border-top: 1px solid #e5e5e5; margin: 0 0 40px; }
.prose h2 { font-size: 40px; margin: 40px 0 15px; }
.prose h3 { font-size: 30px; margin: 30px 0 12px; }
.prose h4 { font-size: 24px; margin: 24px 0 10px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); padding: 60px 0 50px; margin-top: -1px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-widget__title { font-family: var(--f-head); font-size: 32px; line-height: 1.1; letter-spacing: .02em; color: #fff; text-transform: uppercase; padding: 0 0 16px; margin: 10px 0 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-widget__text { font-size: 14px; line-height: 21px; }
.footer-widget__links { list-style: none; font-size: 14px; line-height: 21px; }
.footer-widget__links li { margin-bottom: 10px; }
.site-footer a { color: var(--c-footer-text); }
.site-footer a:hover { color: #fff; }
.footer-social { list-style: none; display: flex; gap: 14px; margin-bottom: 18px; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-logo { width: 76px; height: auto; opacity: .9; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); color: rgba(255,255,255,.8); font-size: 20px; border-radius: 2px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: rgba(0,0,0,.45); color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; font-size: 28px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; font-family: var(--f-body); font-size: 36px !important; line-height: 1; }
.lightbox__prev { left: 5px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 5px; top: 50%; transform: translateY(-50%); }

/* ---------- Einwilligung (nur bei aktivierter Statistik) ---------- */
.consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner { pointer-events: auto; max-width: 640px; background: #fff; color: var(--c-text); padding: 24px 28px; box-shadow: 0 10px 40px rgba(0,0,0,.25); font-size: 14px; line-height: 1.55; border-top: 4px solid var(--c-accent); }
.consent__title { font-family: var(--f-head); font-size: 32px; line-height: 1; color: var(--c-primary); margin-bottom: 10px; }
.consent__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.consent__actions .btn { padding: 8px 26px; font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .split__body { padding: 80px 50px; }
  .features { column-gap: 30px; }
  .feature { padding: 0 10px; }
  .roominfo__list { gap: 20px; }
  .roominfo__list li { font-size: 17px; }
}

@media (max-width: 991px) {
  :root { --header-h: 150px; }
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links li { padding: 0 8px; }
  .navbar { align-items: center; flex-wrap: wrap; }
  .navbar__brand { padding: 14px 0; }
  .navbar__brand img { width: 150px; }
  .navbar__toggle {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 40px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 4px; background: rgba(0,0,0,.15); cursor: pointer;
  }
  .navbar__bars, .navbar__bars::before, .navbar__bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s, background .2s; }
  .navbar__bars::before, .navbar__bars::after { content: ""; position: absolute; left: 0; }
  .navbar__bars::before { top: -7px; }
  .navbar__bars::after { top: 7px; }
  .navbar__toggle[aria-expanded="true"] .navbar__bars { background: transparent; }
  .navbar__toggle[aria-expanded="true"] .navbar__bars::before { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle[aria-expanded="true"] .navbar__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .mainnav { display: none; width: 100%; background: var(--c-header); margin: 0 -15px; width: calc(100% + 30px); padding: 10px 15px 20px; }
  .mainnav.is-open { display: block; }
  .mainnav__list { flex-direction: column; align-items: stretch; margin: 0; }
  .mainnav__item { border-bottom: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; }
  .mainnav__item > a { flex: 1; margin: 0; padding: 12px 0; }
  .mainnav__item > a::after { display: none; }
  .mainnav__sub-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 18px; }
  .mainnav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .mainnav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 10px 15px; width: 100%; display: none; margin: 0; }
  .mainnav__sub.is-open { display: block; }
  .mainnav__sub a { color: rgba(255,255,255,.8); padding: 7px 0; }
  .mainnav__sub a:hover { background: none; color: #fff; }
  .mainnav__item--accent { border: 0; padding: 0; margin: 14px 0 0; }
  .mainnav__item--accent > a { display: inline-block; flex: none; border: 1px solid rgba(255,255,255,.65); border-radius: 50px; padding: 8px 18px; }
  .site-header--sticky .navbar__brand { display: block; padding: 8px 0; }
  .site-header--sticky .navbar__brand img { width: 90px; }
  .site-header--sticky .navbar { justify-content: space-between; }
  .site-header--sticky .topbar { display: none; }
  .site-header--sticky .mainnav__list { margin: 0; }

  .hero--large { min-height: 520px; }
  .hero--small { min-height: 420px; }
  .hero__content { padding-top: 140px; }
  .hero--small .hero__content { padding-top: 140px; }
  .hero__title, .slider__title, .section-header__title, .description__title, .page-title { font-size: 48px; line-height: 1.1; }
  .slider { height: 640px; }
  .slider__content { padding-top: 120px; padding-bottom: 40px; }
  .slider__text { font-size: 18px; line-height: 27px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .split, .split + .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { min-height: 360px; order: 0 !important; }
  .split__body { padding: 60px 30px; }
  .split__title { font-size: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .roominfo__inner { justify-content: center; text-align: center; }
  .description { grid-template-columns: 1fr; gap: 40px; }
  .description__media .carousel { margin: 0 auto; }
  .features, .contact-items .features { grid-template-columns: 1fr; }
  .feature__title { font-size: 44px; line-height: 1.1; }
  .boxes { grid-template-columns: 1fr; gap: 40px; }
  .location { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .parallax { background-attachment: scroll; min-height: 280px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  .topbar__links span { display: none; }
  .topbar__icon { width: 16px; height: 16px; margin-right: 0; }
  .topbar__links li { padding: 0 12px; }
  .hero__title, .slider__title, .section-header__title, .description__title, .page-title { font-size: 40px; }
  .slider { height: 560px; }
  .slider__arrow { display: none; }
  .tiles, .cards { grid-template-columns: 1fr; }
  .tile__title { font-size: 40px; }
  .split__body { padding: 50px 20px; }
  .split__title { font-size: 34px; }
  .section-header__title { line-height: 1.1; }
  .feature { padding: 0; }
  .feature__icon { width: 34px; margin-right: 14px; }
  .feature__icon .icon { width: 34px; height: 34px; }
  .feature__title { font-size: 36px; }
  .box__title { font-size: 48px; line-height: 1.1; }
  .location__title { font-size: 36px; }
  .gallery { grid-template-columns: 1fr; padding: 0; }
  .roominfo__price { font-size: 52px; }
  .roominfo__list { justify-content: center; gap: 14px 22px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 50px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .slider__arrow, .carousel__btn, .to-top, .consent { display: none !important; }
}

/* ---------- Größere H1-Überschriften (Hero, Slider, Textseiten) ---------- */
@media (max-width: 991px) {
  .hero__title, .slider__title, .page-title { font-size: 64px; line-height: 1.05; }
}
@media (max-width: 599px) {
  .hero__title, .slider__title, .page-title { font-size: 50px; }
}
