/* ==========================================================================
   Genießen bei Freunden — Ünlü Group
   Modernes Redesign · Kühlungsborn & Warnemünde
   ========================================================================== */

:root {
  --cream: #faf6ee;
  --cream-2: #f3ecdf;
  --ink: #1c1813;
  --ink-soft: #4a4237;
  --dark: #171310;
  --dark-2: #211c17;
  --gold: #b98a3e;
  --gold-light: #d6b273;
  --gold-pale: #efe3cb;
  --white: #fffdf9;
  --line: rgba(28, 24, 19, 0.12);
  --line-light: rgba(255, 253, 249, 0.14);
  --shadow-sm: 0 2px 10px rgba(28, 24, 19, 0.07);
  --shadow-md: 0 12px 40px rgba(28, 24, 19, 0.13);
  --shadow-lg: 0 24px 70px rgba(28, 24, 19, 0.22);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* iOS: keine automatische Text-Vergrößerung beim Drehen ins Querformat */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Dunkler Grund: beim Überscrollen (Gummiband-Effekt) blitzt nichts Weißes auf */
  background: var(--dark);
  /* Kein Ziehen der Seite über den Rand hinaus, kein Scroll-Verketten */
  overscroll-behavior: none;
  overflow-x: hidden;
  overflow-x: clip;
  /* Scrollbalken überall ausblenden */
  scrollbar-width: none;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior: none;
  scrollbar-width: none;
}

/* Scrollbalken ausblenden (Chrome/Edge/Safari) — Scrollen funktioniert weiterhin */
::-webkit-scrollbar { width: 0; height: 0; display: none; }
* { scrollbar-width: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* Touch: kein grauer Tap-Blitz, kein Doppeltipp-Zoom auf Bedienelementen */
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Horizontales Ziehen der Seite ist auf Touch-Ebene verboten (vertikal
   scrollen + Zoomen bleibt erlaubt; eigene Scrollbereiche wie der
   PDF-Viewer sind davon nicht betroffen) */
body { touch-action: pan-y pinch-zoom; }

::selection { background: var(--gold); color: var(--white); }

/* ---------- Typografie ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before,
.kicker.k-center::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 14px 0 18px;
}
.section-head p { color: var(--ink-soft); font-size: 18px; }

.on-dark .section-head h2 { color: var(--white); }
.on-dark .section-head p { color: rgba(255, 253, 249, 0.72); }

/* ---------- Layout ---------- */

.container { width: min(1220px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-alt { background: var(--cream-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.on-dark .btn-gold:hover, .bg-dark .btn-gold:hover { background: var(--white); color: var(--ink); }

.btn-outline { border-color: rgba(28, 24, 19, 0.35); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255, 253, 249, 0.5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost svg { width: 15px; height: 15px; flex: none; }
.r-card .menu-link { white-space: nowrap; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: auto;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
  /* iPhone-Notch/Statusleiste im App-Modus nicht überdecken (auch quer) */
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.site-header.scrolled {
  /* Bewusst OHNE backdrop-filter: ein Blur macht den Header per CSS-Spec zum
     Positions-Anker (Containing Block) für das fixe Menü-Overlay — das Menü
     würde nach dem Scrollen in der Header-Zeile festhängen. Stattdessen
     etwas deckenderes Dunkel, optisch nahezu identisch. */
  background: rgba(23, 19, 16, 0.96);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* Im installierten App-Modus: dezenter Verlauf oben, damit die
   Uhr/Statusleiste über dem Hero-Bild immer lesbar bleibt */
html.is-app .site-header:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(23, 19, 16, 0.75), transparent);
}

/* App-Modus: feste dunkle Leiste hinter Notch/Statusleiste — Inhalte
   scrollen nie sichtbar unter Uhr und Dynamic Island durch */
html.is-app body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--dark);
  z-index: 120;
  pointer-events: none;
}
.site-header.hidden { transform: translateY(-100%); }

/* Bei offenem Menü darf der Header NIEMALS transformiert, geblurrt oder
   gefiltert sein: jede dieser Eigenschaften macht ihn per CSS-Spec zum
   Positions-Anker (Containing Block) für das fixe Menü-Overlay — das Menü
   würde dann in der Header-Zeile kleben statt den Bildschirm zu füllen */
body.nav-open .site-header {
  transform: none;
  transition: none;
  filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.brand { display: flex; align-items: center; gap: 14px; z-index: 102; min-width: 0; }
.brand .brand-text { min-width: 0; }
.brand .brand-name, .brand .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)); transition: 0.3s; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand .brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.85);
  border-radius: 999px;
  transition: 0.3s;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav .nav-cta {
  margin-left: 12px;
  padding: 11px 24px;
  background: var(--gold);
  color: var(--white);
  font-weight: 500;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--white); color: var(--ink); }

.nav-toggle {
  display: none;
  z-index: 102;
  width: 44px;
  height: 44px;
  position: relative;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    flex-direction: column;
    /* Menüpunkte zentrieren sich im Raum UNTER dem Header (Padding-Box) —
       nie am Logo klebend, nie mit riesiger Lücke, auf jeder Bildschirmhöhe */
    justify-content: center;
    gap: clamp(2px, 1.2vh, 12px);
    background: rgba(23, 19, 16, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    /* visibility zusätzlich zu opacity: geschlossen ist das Menü auch für
       Tastatur/Screenreader wirklich weg */
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s, visibility 0.4s;
    /* Header-Zeile (Logo + X) freihalten — Höhe wird per JS am echten Gerät gemessen,
       der calc()-Wert ist nur der Fallback ohne JavaScript */
    padding-top: calc(var(--header-real, calc(var(--header-h) + env(safe-area-inset-top, 0px))) + 12px);
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Scrollen im Menü bleibt im Menü — nichts sickert zur Seite durch */
    overscroll-behavior: contain;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav a { font-size: 19px; padding: 10px 22px; flex: none; }
  .main-nav .nav-cta { margin: clamp(14px, 2.5vh, 26px) 0 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1080px) and (max-height: 700px) {
  .main-nav a { font-size: 17px; padding: 7px 22px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 24s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(to bottom, rgba(18, 15, 12, 0.55), rgba(18, 15, 12, 0.25) 45%, rgba(18, 15, 12, 0.72)),
    radial-gradient(ellipse at 25% 65%, rgba(18, 15, 12, 0.5), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; padding: 140px 0 120px; }
.hero h1 {
  font-size: clamp(48px, 8.4vw, 104px);
  font-weight: 600;
  margin: 20px 0 24px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: clamp(17px, 1.8vw, 21px);
  max-width: 620px;
  color: rgba(255, 253, 249, 0.88);
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.7);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scrollpulse 2s infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Sub-page hero */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-media { animation-duration: 30s; }
.page-hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom, rgba(18, 15, 12, 0.5), rgba(18, 15, 12, 0.2) 40%, rgba(18, 15, 12, 0.78));
}
.page-hero .container { position: relative; z-index: 2; padding: 160px 0 70px; }
.page-hero h1 { font-size: clamp(42px, 6.5vw, 78px); margin: 16px 0 14px; }
.page-hero p { max-width: 640px; font-size: 18.5px; color: rgba(255, 253, 249, 0.88); }

/* ---------- Stats ---------- */

.stats-strip { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.stat { padding: 44px 12px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat .label {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.65);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { padding: 30px 8px; border-top: 1px solid var(--line-light); }
  .stat:nth-child(-n+2) { border-top: none; }
}

/* ---------- Filter-Chips ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}
.chip {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: 0.3s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Restaurant-Karten ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1080px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .cards-grid { grid-template-columns: 1fr; } }

.r-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.r-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.r-card.hide { display: none; }

.r-card .media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.r-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.r-card:hover .media img { transform: scale(1.07); }
.r-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(23, 19, 16, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.r-card .body { padding: 28px 28px 24px; display: flex; flex-direction: column; flex: 1; }
.r-card h3 { font-size: 30px; }
.r-card .cuisine {
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 14px;
}
.r-card p { font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.r-card .actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: 0.3s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.r-card .actions .spacer { flex: 1; }
.r-card .menu-link { font-size: 12.5px; }

/* ---------- Restaurant-Detail (restaurants.html) ---------- */

.r-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: clamp(50px, 6vw, 90px) 0;
  border-bottom: 1px solid var(--line);
}
.r-detail:last-child { border-bottom: none; }
.r-detail:nth-child(even) .r-detail-media { order: 2; }
@media (max-width: 900px) {
  .r-detail { grid-template-columns: 1fr; }
  .r-detail:nth-child(even) .r-detail-media { order: 0; }
}
.r-detail-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.r-detail-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.9s var(--ease); }
.r-detail-media:hover img { transform: scale(1.05); }
.r-detail-media .badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(23, 19, 16, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.r-detail-body .cuisine {
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.r-detail-body h2 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 18px; }
.r-detail-body p { color: var(--ink-soft); font-size: 17px; max-width: 560px; }
.r-detail-body .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.r-detail-body .social-row { display: flex; gap: 8px; margin-top: 22px; }

/* ---------- Split-Sections (Über uns, Shop-Teaser etc.) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  /* Überlappendes Bild bleibt im Viewport — sonst lässt sich die Seite seitlich ziehen */
  .split-media .float-img { right: 0; }
}
.split-media { position: relative; }
.split-media .main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.split-media.wide .main-img { aspect-ratio: 16 / 11; }
.split-media .float-img {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 52%;
  border-radius: var(--radius-sm);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.bg-dark .split-media .float-img, .bg-alt .split-media .float-img { border-color: var(--cream-2); }
.split-body h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 14px 0 22px; }
.split-body p { color: var(--ink-soft); margin-bottom: 16px; }
.on-dark .split-body p { color: rgba(255, 253, 249, 0.75); }
.split-body .quote {
  font-family: var(--font-display);
  font-size: 23px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0;
}
.split-body .quote small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Feature-Grid (Service) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .f-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature .f-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 24px; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */

.testi-wrap { position: relative; max-width: 860px; margin-inline: auto; text-align: center; }
.testi-track { position: relative; min-height: 300px; }
.testi {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.testi.active { opacity: 1; transform: none; pointer-events: auto; }
.testi .stars { display: flex; gap: 5px; color: var(--gold-light); margin-bottom: 22px; }
.testi .stars svg { width: 19px; height: 19px; }
.testi blockquote {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 29px);
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
}
.testi .who {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.testi .who span { color: rgba(255, 253, 249, 0.6); letter-spacing: 0.08em; text-transform: none; display: block; margin-top: 4px; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.3);
  transition: 0.3s;
}
.testi-dots button.active { background: var(--gold-light); transform: scale(1.35); }

/* ---------- Hotels ---------- */

.hotel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .hotel-grid { grid-template-columns: 1fr; } }
.hotel-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.hotel-card .media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease);
}
.hotel-card:hover .media { transform: scale(1.06); }
.hotel-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(18, 15, 12, 0.88), rgba(18, 15, 12, 0.16) 60%);
}
.hotel-card .body { position: relative; z-index: 2; padding: 40px 38px; }
.hotel-card .tag {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hotel-card h3 { font-size: clamp(30px, 3.2vw, 42px); margin: 8px 0 12px; }
.hotel-card p { font-size: 16px; color: rgba(255, 253, 249, 0.85); max-width: 460px; margin-bottom: 22px; }

/* ---------- Team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-card .media { aspect-ratio: 4 / 5; overflow: hidden; }
.team-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.team-card:hover .media img { transform: scale(1.06); }
.team-card .body { padding: 26px 20px 30px; }
.team-card h3 { font-size: 28px; }
.team-card .role {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 10px;
}
.team-card p { font-size: 15px; color: var(--ink-soft); }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr; } }
.mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.mosaic img:hover { transform: scale(1.025); box-shadow: var(--shadow-md); }

/* ---------- Jobs ---------- */

.job-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.job-card:hover { box-shadow: var(--shadow-md); }
.job-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 34px;
  text-align: left;
}
.job-head .job-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-head .job-icon svg { width: 27px; height: 27px; }
.job-head h3 { font-size: clamp(22px, 2.6vw, 30px); flex: 1; }
.job-head .job-meta {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}
.job-head .chev { flex: none; transition: transform 0.4s var(--ease); color: var(--ink-soft); }
.job-card.open .chev { transform: rotate(180deg); }
.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}
.job-body-inner {
  padding: 6px 34px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 900px) { .job-body-inner { grid-template-columns: 1fr; } }
.job-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.job-col ul { display: grid; gap: 9px; }
.job-col li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.job-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.job-apply { padding: 0 34px 34px; }

/* ---------- Galerie ---------- */

.gallery-grid {
  columns: 3;
  column-gap: 22px;
}
@media (max-width: 980px) { .gallery-grid { columns: 2; } }
@media (max-width: 600px) { .gallery-grid { columns: 1; } }
.g-item {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 22px;
  break-inside: avoid;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: transform 0.7s var(--ease); }
.g-item::after {
  content: attr(data-label);
  position: absolute;
  top: auto; right: 0; bottom: 0; left: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(18, 15, 12, 0.78), transparent);
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s;
}
.g-item:hover::after { opacity: 1; }
.g-item:hover img { transform: scale(1.06); }
.g-item.hide { display: none; }

.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  overscroll-behavior: contain;
  background: rgba(14, 11, 9, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 253, 249, 0.85);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.lightbox button {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.lightbox button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox .lb-close { top: calc(26px + env(safe-area-inset-top, 0px)); right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox button svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .lightbox .lb-prev { left: 10px; }
  .lightbox .lb-next { right: 10px; }
}

/* ---------- PDF-Viewer (Speisekarten im Overlay) ---------- */

.pdf-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 210;
  background: #171310;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pdf-modal.open { opacity: 1; pointer-events: auto; }
.pdf-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(12px, 2.5vw, 28px) 10px;
  background: rgba(23, 19, 16, 0.97);
  border-bottom: 1px solid var(--line-light);
}
.pdf-bar .pdf-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 23px);
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.pdf-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, 0.35);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex: none;
}
.pdf-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pdf-btn svg { width: 17px; height: 17px; }
.pdf-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 8px 50px;
}
canvas.pdf-page {
  display: block;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  max-width: none;
}
.pdf-status {
  color: rgba(255, 253, 249, 0.75);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.pdf-status::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 249, 0.2);
  border-top-color: var(--gold-light);
  animation: pdfspin 0.9s linear infinite;
}
@keyframes pdfspin { to { transform: rotate(360deg); } }
.pdf-frame { flex: 1; width: 100%; border: none; background: #3a3a3a; }

/* ---------- Shop / Gutscheine ---------- */

.voucher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .voucher-grid { grid-template-columns: 1fr; } }
.voucher-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--gold);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.voucher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.voucher-card .v-tag {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.voucher-card h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.voucher-card p.lead { color: var(--ink-soft); margin-bottom: 22px; }
.voucher-card ul { display: grid; gap: 12px; margin-bottom: 30px; }
.voucher-card li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.voucher-card li svg {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.voucher-card .btn { align-self: flex-start; margin-top: auto; }
.voucher-card .consent { margin: 0 0 18px; }
.voucher-card .consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Hinweis-Animation, wenn ohne AGB-Häkchen bestellt werden soll */
.consent-error { color: #b3261e; animation: consentshake 0.4s; }
.consent-error a { color: #b3261e; }
@keyframes consentshake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.price-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.price-pills span {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- Hotel-Detailseiten ---------- */

.saison-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin: -20px auto 44px;
  padding: 14px 24px;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--ink-soft);
}
.saison-leiste svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
@media (max-width: 640px) { .saison-leiste { border-radius: var(--radius-sm); } }

/* Eingebettete Online-Buchung (Protel) — wird aktiv, sobald der Buchungslink
   im Admin hinterlegt und eingeschaltet ist */
.buchung-rahmen {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.buchung-rahmen iframe {
  display: block;
  width: 100%;
  height: min(760px, 80vh);
  border: 0;
}

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.contact-info-card h3 { font-size: 25px; margin-bottom: 14px; }
.contact-info-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.contact-info-card a.line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.3s;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-info-card a.line:hover { color: var(--gold); }
.contact-info-card a.line svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

.phone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
@media (max-width: 560px) { .phone-list { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 138, 62, 0.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 6px 0 24px; }
.consent input { margin-top: 5px; accent-color: var(--gold); }
.form-note {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

/* Rückmeldung nach dem Absenden des Kontaktformulars */
.form-status {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-status.ok { background: #e2f3e8; color: #1e7d43; border: 1px solid #bfe3cc; }
.form-status.fehler { background: #fbe9e7; color: #b3261e; border: 1px solid #f3c3bd; }

/* Honigtopf-Feld: für Menschen unsichtbar, nur Spam-Bots füllen es aus */
.hp-feld {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ---------- CTA-Banner ---------- */

.cta-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) clamp(28px, 6vw, 90px);
  color: var(--white);
  text-align: center;
  background-size: cover;
  background-position: center;
}
.cta-banner::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(120deg, rgba(18, 15, 12, 0.85), rgba(18, 15, 12, 0.55));
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(32px, 4.6vw, 56px); margin: 14px 0 18px; }
.cta-banner p { max-width: 640px; margin: 0 auto 34px; color: rgba(255, 253, 249, 0.85); font-size: 18px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Legal ---------- */

.legal-content {
  max-width: 860px;
  margin-inline: auto;
  /* Lange URLs/Wörter in Rechtstexten umbrechen — sonst wird die Seite
     auf dem Handy horizontal verschiebbar */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-content table { display: block; max-width: 100%; overflow-x: auto; }
.legal-content h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 30px; }
.legal-content h2 { font-size: clamp(24px, 3vw, 32px); margin: 42px 0 14px; }
.legal-content h3 { font-size: 22px; margin: 30px 0 10px; }
.legal-content h4 { font-size: 18px; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 14px; color: var(--ink-soft); }
.legal-content ul, .legal-content ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--ink); }
.legal-content strong { font-weight: 500; color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(255, 253, 249, 0.75); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: clamp(60px, 7vw, 90px) 0 50px;
}
@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; gap: 36px; } }

.footer-brand img { height: 74px; margin-bottom: 18px; }
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 15px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social .icon-btn { border-color: var(--line-light); color: rgba(255, 253, 249, 0.8); }
.footer-social .icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 15px; transition: 0.3s; width: fit-content; }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }

.footer-contact { display: grid; gap: 14px; }
.footer-contact a, .footer-contact .addr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  transition: color 0.3s;
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-light); flex: none; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 253, 249, 0.5);
}
.footer-bottom .legal-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal-Animationen ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

/* ---------- Mobile-Feinschliff ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .hero-inner { padding: 110px 0 60px; }
  .hero-actions .btn { width: 100%; }
  /* Im Browser ist weniger Platz (Safari-Leisten) — der Scroll-Hinweis
     würde mit den Buttons kollidieren */
  .hero-scroll { display: none; }
  .page-hero { min-height: 52vh; }
  .page-hero .container { padding: 130px 0 46px; }
  .site-header .container { gap: 14px; width: 92vw; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .brand .brand-name { font-size: 16px; }
  .brand .brand-sub { font-size: 8.5px; letter-spacing: 0.24em; }
  .section-head { margin-bottom: 36px; }
  .chip { padding: 9px 18px; font-size: 12px; }
  .filter-bar { gap: 8px; margin-bottom: 34px; }
  .r-card .body { padding: 22px 20px 20px; }
  .r-card h3 { font-size: 26px; }
  .r-card .actions { flex-wrap: wrap; }
  /* Sehr schmale Geräte: Button-Text darf umbrechen statt abgeschnitten zu werden */
  .btn { white-space: normal; }
  .split-media .float-img { right: 0; bottom: -9%; width: 46%; }
  .split-body .quote { font-size: 20px; padding-left: 16px; }
  .hotel-card { min-height: 360px; }
  .hotel-card .body { padding: 26px 22px; }
  .job-head { padding: 20px 18px; gap: 14px; }
  .job-head .job-icon { width: 48px; height: 48px; border-radius: 12px; }
  .job-body-inner { padding: 0 18px 24px; gap: 22px; }
  .job-apply { padding: 0 18px 24px; }
  .voucher-card { padding: 30px 22px; }
  .contact-info-card { padding: 26px 20px; }
  .cta-banner { border-radius: var(--radius-sm); }
  .to-top { width: 44px; height: 44px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .footer-main { gap: 30px; }
  .lightbox img { max-width: 96vw; }
  .lightbox .lb-prev, .lightbox .lb-next { width: 44px; height: 44px; }
}

/* ---------- Install-Hinweis („Zum Home-Bildschirm hinzufügen") ---------- */

.install-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  /* Unter Header/Menü (100+), Lightbox (200) und PDF-Viewer (210) —
     der Hinweis darf nie etwas verdecken */
  z-index: 92;
  max-width: 470px;
  margin-inline: auto;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 16px;
  background: var(--dark-2);
  color: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.55s var(--ease);
}
.install-banner.show { transform: none; }
/* Bei offenem Menü blendet sich der Hinweis aus */
body.nav-open .install-banner { opacity: 0; pointer-events: none; }
.install-banner { transition: transform 0.55s var(--ease), opacity 0.3s; }
.install-banner > img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.install-banner h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}
.install-banner p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 253, 249, 0.78);
}
.install-banner p svg {
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  color: var(--gold-light);
}
.install-banner strong { font-weight: 500; color: var(--white); }
.install-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.install-actions .btn { padding: 9px 20px; font-size: 11.5px; }

/* ---------- Fallbacks für ältere iOS-Versionen (kein aspect-ratio) ---------- */

@supports not (aspect-ratio: 1 / 1) {
  .r-card .media { position: relative; height: 0; padding-top: 62.5%; }
  .r-card .media img { position: absolute; top: 0; left: 0; }
  .r-detail-media img { position: static; height: auto; min-height: 220px; }
  .team-card .media { position: relative; height: 0; padding-top: 125%; }
  .team-card .media img { position: absolute; top: 0; left: 0; }
  .split-media .main-img, .g-item img, .mosaic img { height: auto; }
}

/* iOS-Formularfelder: Standard-Innenschatten/Optik von Safari entfernen */
.field input,
.field textarea {
  -webkit-appearance: none;
  appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { animation: none; }
}
