:root {
  --red: #e2231a;
  --red-dark: #b81a13;
  --black: #1a1a1a;
  --cream: #e9e5da;
  --cream-dark: #dcd7ca;
  --paper: #f6f4ee;
  --muted: #5b5a55;
  --font: "Bahnschrift", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-body: system-ui, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-body); color: var(--black); background: var(--cream); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--red); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

.btn { display: inline-block; padding: .8rem 1.5rem; border: 2px solid var(--red); background: var(--red); color: #fff; font-family: var(--font); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--black); border-color: var(--black); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn--small { padding: .45rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 100; background: var(--cream); border-top: 5px solid var(--red); border-bottom: 2px solid var(--black); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.logo__img { height: 56px; width: auto; }
.logo__text { display: grid; line-height: 1.1; font-family: var(--font); }
.logo__text strong { color: var(--red); font-size: 1.3rem; }
.logo__text small { font-size: .85rem; font-weight: 700; color: var(--red); }
.nav__menu { display: none; }
.nav__menu a { text-decoration: none; font-family: var(--font); font-weight: 700; text-transform: uppercase; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav__menu a:not(.btn):hover { border-bottom-color: var(--red); }
.nav__menu a.btn { color: #fff; padding: .45rem 1rem; }
.nav__toggle { background: none; border: 2px solid var(--black); width: 44px; height: 44px; display: grid; gap: 5px; align-content: center; justify-items: center; cursor: pointer; }
.nav__toggle span { width: 22px; height: 3px; background: var(--black); }
.nav.is-open .nav__menu { display: flex; flex-direction: column; gap: .8rem; position: absolute; inset: 100% 0 auto 0; padding: 1.2rem 1rem 1.5rem; background: var(--cream); border-bottom: 2px solid var(--black); }

/* Hero */
.hero { padding: clamp(3rem, 10vw, 7rem) 0; color: #fff; background: var(--black) url("../images/startseite.jpg") center / cover no-repeat; border-bottom: 8px solid var(--red); }
.hero { position: relative; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero__slides span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroSlide 54s infinite; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: rgba(26,26,26,.55); }
.hero__slides span:nth-child(1) { animation-delay: 0s; }
.hero__slides span:nth-child(2) { animation-delay: 6s; }
.hero__slides span:nth-child(3) { animation-delay: 12s; }
.hero__slides span:nth-child(4) { animation-delay: 18s; }
.hero__slides span:nth-child(5) { animation-delay: 24s; }
.hero__slides span:nth-child(6) { animation-delay: 30s; }
.hero__slides span:nth-child(7) { animation-delay: 36s; }
.hero__slides span:nth-child(8) { animation-delay: 42s; }
.hero__slides span:nth-child(9) { animation-delay: 48s; }
.hero__inner { position: relative; z-index: 1; }
.badge-strip { position: relative; height: 0; z-index: 2; }
.badge-strip img { position: absolute; top: 1rem; right: max(1rem, calc((100% - 1100px) / 2)); width: clamp(90px, 14vw, 160px); height: auto; }
@keyframes heroSlide { 0% { opacity: 0; } 3% { opacity: 1; } 11% { opacity: 1; } 14.5% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__slides span { animation: none; } .hero__slides span:first-child { opacity: 1; } }
.hero h1 { color: #fff; }
.hero__lead { max-width: 520px; font-size: 1.15rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Abschnitte */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section--dark { background: var(--black); color: #fff; }
.section--light { background: var(--paper); }
.section__head { margin-bottom: 2rem; }

.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); }
.services li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--black); }
.services span { font-family: var(--font); font-weight: 700; font-size: 1.4rem; color: var(--red); }
.services h3 { margin-bottom: .2rem; }
.services p { margin: 0; color: var(--muted); }

.split { display: grid; gap: 2rem; align-items: center; }
.split--top { align-items: start; }
.split h2 { color: var(--red); }
.ph { background-size: cover; background-position: center; background-color: var(--cream-dark); }
.ph--about { background-image: url("../images/hotel_lauterbach_1.jpg"); aspect-ratio: 4 / 3; border: 2px solid #fff; }
.ph--before { background-image: url("../images/muehlstrasse_2.jpg"); }
.ph--after { background-image: url("../images/muehlstrasse_3.jpg"); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { padding: .35rem 0 .35rem 1.2rem; border-left: 4px solid var(--red); margin-bottom: .5rem; }

/* Vorher/Nachher */
.compare { position: relative; aspect-ratio: 16 / 9; max-height: 540px; border: 2px solid var(--black); overflow: hidden; margin-bottom: 1.5rem; --pos: 50%; user-select: none; background: var(--cream-dark); }
.compare__after, .compare__before { position: absolute; inset: 0; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background-color: #b9b3a5; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--red); pointer-events: none; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.tag { position: absolute; top: .8rem; left: .8rem; padding: .2rem .7rem; background: var(--black); color: #fff; font-family: var(--font); font-weight: 700; text-transform: uppercase; font-size: .85rem; }
.tag--right { left: auto; right: .8rem; background: var(--red); }

.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.gallery__item { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--black); padding: 0; cursor: pointer; color: #fff; text-align: left; background-color: var(--cream-dark); background-size: cover; background-position: center; }
.gallery__item:hover { border-color: var(--red); }
.gallery__item span { position: absolute; left: 0; bottom: 0; padding: .35rem .8rem; background: var(--black); font-family: var(--font); font-weight: 700; text-transform: uppercase; font-size: .9rem; }
.gallery__item:hover span { background: var(--red); }
.g1 { background-image: url("../images/rudolf-breitscheid-strasse_2.jpg"); }
.g2 { background-image: url("../images/muehlstrasse_4.jpg"); }
.g3 { background-image: url("../images/hotel_lauterbach_3.jpg"); }
.g4 { background-image: url("../images/rudolf-breitscheid-strasse_3.jpg"); }
.g5 { background-image: url("../images/muehlstrasse_6.jpg"); }
.g6 { background-image: url("../images/hotel_lauterbach_5.jpg"); }

.lightbox { width: min(92vw, 880px); padding: 0; border: 3px solid var(--red); background: var(--black); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox__img { aspect-ratio: 16 / 10; background-color: var(--cream-dark); }
.lightbox p { margin: 0; padding: .9rem 1.2rem; font-family: var(--font); font-weight: 700; text-transform: uppercase; }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; z-index: 1; width: 40px; height: 40px; border: 0; background: var(--red); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Vorteile, Bewertungen */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.facts li { padding-left: 1rem; border-left: 4px solid var(--red); }
.facts p { margin: 0; color: var(--muted); }
.quotes { display: grid; gap: 1.5rem; }
.quote { margin: 0; padding: 1rem 0 0; border-top: 4px solid var(--red); }
.quote blockquote { margin: 0 0 .6rem; font-size: 1.1rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }
.note { margin-top: 1.5rem; color: var(--muted); font-size: .85rem; }

/* Formular */
.contact { font-style: normal; margin-top: 1.5rem; }
.contact a { color: #fff; }
.form { background: var(--cream); color: var(--black); padding: 1.5rem; border-top: 6px solid var(--red); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .25rem; font-size: .92rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: .7rem .8rem; border: 2px solid var(--black); background: #fff; font: inherit; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.error { display: block; min-height: 1.1em; color: var(--red-dark); font-size: .82rem; margin-top: .2rem; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--red); }
.field--check label { font-weight: 400; font-size: .85rem; margin: 0; }
.field--check .error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 1rem 0 0; font-weight: 600; }
.form__status.is-success { color: #1b6b32; }
.form__status.is-error { color: var(--red-dark); }

/* Karte */
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map__consent { display: grid; place-items: center; text-align: center; padding: 3rem 1rem; background: var(--cream-dark); }
.map__consent > div { max-width: 460px; }

/* Footer */
.footer { background: var(--black); color: #fff; border-top: 8px solid var(--red); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.3rem 0; font-size: .9rem; }
.footer__bottom p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.is-visible { opacity: 1; }

/* Rechtstexte */
.legal-dialog { width: min(94vw, 820px); max-height: 88vh; padding: 0; border: 3px solid var(--red); background: var(--cream); color: var(--black); }
.legal-dialog::backdrop { background: rgba(0, 0, 0, .75); }
.legal-dialog__close { position: sticky; top: .5rem; float: right; margin: .5rem .5rem 0 0; z-index: 1; width: 40px; height: 40px; border: 0; background: var(--red); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.legal-dialog__body { padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.legal-dialog__body h1 { margin-top: 0; font-size: 2rem; color: var(--red); }
.legal-dialog__body h2 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal-dialog__body h3 { font-size: 1rem; margin-top: 1.4rem; }
.legal { max-width: 800px; padding: 3rem 0; }
.legal h1 { font-size: 2.2rem; color: var(--red); }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; color: var(--black); }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .services { columns: 2; column-gap: 3rem; }
  .services li { break-inside: avoid; }
}

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; align-items: center; gap: 1.5rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transition: none; }
}
