/* =========================================================
   Restaurant im Freibad Neumarkt — style.css
   Palette „Pur Interieur": Petrol · Holz · Sand · Creme
   ========================================================= */

/* ---------- Schriften (offline) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --petrol:      #2C6E70;
  --petrol-dark: #1d4f51;
  --petrol-hell: #5A9A98;
  --holz:        #C9A06A;
  --holz-dark:   #a97f48;
  --sand:        #E4D8BF;
  --creme:       #FAF7F1;
  --creme-2:     #F2ECE0;
  --anthrazit:   #2A2D2E;
  --ink:         #23312f;
  --muted:       #6a726f;
  --line:        #e3dccd;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Mulish", -apple-system, "Segoe UI", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(29,79,81,.07);
  --shadow: 0 18px 50px -18px rgba(29,79,81,.32);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--creme);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17.5px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--holz-dark); }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 540; line-height: 1.08; color: var(--ink); margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-weight: 560; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }

.kicker {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  font-weight: 700;
  color: #8a6636; /* dunkleres Holz – WCAG AA (≈4,7:1 auf Creme); var(--holz-dark) #a97f48 war zu hell */
  margin: 0 0 .9rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #3c4543; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--holz); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--ff-body); font-weight: 700; font-size: .96rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn-sm { padding: .62em 1.2em; font-size: .9rem; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 10px 24px -12px rgba(44,110,112,.8); }
.btn-primary:hover { background: var(--petrol-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s, padding .35s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
.site-header.is-scrolled {
  background: rgba(250,247,241,.9);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.is-scrolled .header-inner { padding-block: 11px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.site-header.is-scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--holz);
  box-shadow: inset 0 0 0 2px rgba(232,201,138,.25), 0 0 14px rgba(232,201,138,.45);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--ff-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; opacity: .95; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a { color: #fff; font-weight: 600; font-size: .96rem; position: relative; }
.site-header.is-scrolled .site-nav a { color: var(--ink); }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--holz); transition: width .3s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; padding: .5em 1.15em;
}
.site-header.is-scrolled .nav-cta { border-color: var(--petrol); color: var(--petrol); }
.nav-cta:hover { background: var(--holz); border-color: var(--holz); color: var(--anthrazit) !important; }

/* Sprachumschalter DE | IT */
.nav-lang {
  font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .4em .8em; line-height: 1; color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s, color .25s;
}
.nav-lang:hover { border-color: var(--petrol); color: var(--petrol); }
.site-header.is-scrolled .site-nav a.nav-lang { color: var(--ink); }
.site-nav a.nav-lang::after { display: none; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; background: var(--petrol-dark); }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.5s var(--ease);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1; transform: scale(1);
  transition: opacity 1.5s var(--ease), transform 7.5s ease-out;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,42,42,.86) 0%, rgba(20,42,42,.5) 42%, rgba(20,42,42,.12) 75%),
    linear-gradient(0deg, rgba(20,42,42,.5), rgba(20,42,42,0) 38%);
}
.hero-inner { position: relative; color: #fdfaf3; max-width: 680px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .76rem; font-weight: 700;
  color: #f0d39a; margin: 0 0 1.1rem;
  text-shadow: 0 1px 10px rgba(11,28,28,.75), 0 0 2px rgba(11,28,28,.6);
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.02; font-weight: 560; letter-spacing: -.02em;
  margin: 0; color: #fff;
  text-wrap: balance;
  font-style: italic;
}
.hero-lead { font-size: clamp(1.08rem, 1.8vw, 1.35rem); margin: 1.3rem 0 2rem; color: #f1ece1; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* Ghost-Button im Hero: leichter Glas-Hintergrund für Lesbarkeit auf wechselnden Slides */
.hero-actions .btn-ghost {
  background: rgba(20, 42, 42, .34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}
.hero-actions .btn-ghost:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.hero-meta {
  margin-top: 1.8rem; font-size: .9rem; letter-spacing: .03em; color: #f6f1e7;
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem;
  text-shadow: 0 1px 7px rgba(11,28,28,.7);
}
.hero-meta .nowrap { white-space: nowrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: #fff; font-size: 1.3rem; opacity: .8;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .4s linear; transform: none; }
  .hero-slide.is-active { transform: none; }
  .hero-scroll { animation: none; }
}

/* ---------- Über uns ---------- */
.ueber-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.ueber-text h2 { margin-bottom: 1rem; }
.ueber-text p { margin: 0 0 1.1rem; }
.feature-list {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: flex; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.feature-list li { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); font-weight: 600; }
.feature-num { font-family: var(--ff-display); font-size: 2rem; font-weight: 600; color: var(--petrol); line-height: 1; margin-bottom: .25rem; }
.ueber-figure { margin: 0; }
.ueber-stack { display: flex; flex-direction: column; gap: 16px; }
.ueber-shot { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.ueber-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.ueber-shot:hover img { transform: scale(1.05); }
.ueber-shot figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(250,247,241,.92); color: var(--ink);
  font-size: .8rem; font-weight: 600; padding: .4em .85em; border-radius: 999px;
  max-width: calc(100% - 28px);
}

/* ---------- Unsere Geschichte ---------- */
.story {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(228,216,191,.55) 0%, rgba(228,216,191,0) 55%),
    var(--creme);
  border-block: 1px solid var(--line);
}
.story-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 6vw, 72px);
  align-items: stretch;
}
.story-figure { margin: 0; position: relative; height: 100%; min-height: 380px; }
.story-figure img {
  width: 100%; height: 100%; max-height: none; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.story-figure figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(250,247,241,.92); color: var(--ink);
  font-size: .8rem; font-weight: 600; padding: .45em .9em; border-radius: 999px;
  width: fit-content; max-width: calc(100% - 32px);
}
.story-text h2 { margin-bottom: 1rem; }
.story-text p { margin: 0 0 1.1rem; }
.story-text p:last-of-type { margin-bottom: 0; }
.story-signature {
  margin-top: 1.6rem !important;
  font-family: var(--ff-display); font-style: italic;
  font-size: 1.12rem; color: var(--petrol); line-height: 1.3;
}

/* ---------- Speisekarte ---------- */
.speisekarte { background: var(--creme-2); }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 56px); }
.section-head h2 { margin-bottom: .6rem; }
.menu-note {
  font-size: .86rem; color: #7a6a4a; background: rgba(201,160,106,.16);
  border: 1px dashed var(--holz); border-radius: var(--radius-sm);
  padding: .7em 1em; margin: 0;
}
.menu-grid { columns: 2; column-gap: clamp(28px, 5vw, 64px); }
.menu-cat { break-inside: avoid; margin-bottom: clamp(30px, 4vw, 52px); }
.menu-cat-title {
  font-size: 1.35rem; color: var(--petrol); margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--sand);
  display: flex; align-items: baseline; gap: .5em;
}
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item-head { display: flex; align-items: baseline; gap: .5rem; }
.menu-item-name { font-weight: 700; color: var(--ink); }
.menu-dots { flex: 1; border-bottom: 2px dotted #cfc6b1; transform: translateY(-3px); }
.menu-item-price { font-family: var(--ff-display); font-weight: 600; color: var(--petrol); white-space: nowrap; }
.menu-item-desc { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.menu-unit { font-family: var(--ff-body); font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: .4rem; white-space: nowrap; }
.menu-item-prices { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: .1rem .7rem; text-align: right; }
.menu-variant { white-space: nowrap; font-family: var(--ff-display); font-weight: 600; color: var(--petrol); }
.menu-variant .mv-label { font-family: var(--ff-body); font-weight: 600; font-size: .78rem; color: var(--muted); margin-right: .25rem; }
.menu-note--legend { margin-top: clamp(30px, 5vw, 52px); }
/* Preistabelle für Weine (mehrere Größen je Position) */
.menu-price-table { width: 100%; border-collapse: collapse; }
.menu-price-table th, .menu-price-table td { padding: .6rem .35rem; vertical-align: baseline; }
.menu-price-table thead th {
  font-family: var(--ff-body); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  text-align: right; border-bottom: 1px solid var(--line); padding-bottom: .4rem;
}
.menu-price-table .mpt-name { text-align: left; }
.menu-price-table tbody th.mpt-name { font-weight: 700; color: var(--ink); padding-left: 0; }
.menu-price-table tbody td {
  font-family: var(--ff-display); font-weight: 600; color: var(--petrol);
  text-align: right; white-space: nowrap;
}
.menu-price-table tbody td:last-child { padding-right: 0; }
.menu-price-table tbody tr:not(:last-child) th,
.menu-price-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
@media (max-width: 420px) {
  .menu-price-table th, .menu-price-table td { padding: .5rem .2rem; }
  .menu-price-table tbody td { font-size: .9rem; }
}
/* ---------- Galerie ---------- */
.galerie { padding-bottom: clamp(48px, 7vw, 96px); }
/* Raster der Galerie (4 in einer Reihe) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-dots { display: none; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--petrol); color: #eaf2f0; }
.kontakt h2, .kontakt .info-h { color: #fff; }
.kontakt .kicker { color: var(--sand); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.kontakt-info { max-width: 460px; }
.info-block { margin-top: 1.7rem; }
.info-h { font-size: 1.02rem; letter-spacing: .02em; margin-bottom: .4rem; }
.kontakt-info p { margin: 0 0 .4rem; color: #d9e6e3; }
.kontakt-info a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.kontakt-info a:hover { text-decoration-color: var(--holz); }
.info-hours { display: flex; justify-content: space-between; max-width: 320px; border-bottom: 1px dotted rgba(255,255,255,.25); padding-bottom: .35rem; }
.info-season { font-weight: 700; color: #fff; }
.info-hint { font-size: .8rem; color: #bcd0cc; font-style: italic; }
.info-contact { display: flex; gap: 12px; margin-top: .8rem; }
.info-contact .btn-primary { background: var(--holz); color: var(--anthrazit); box-shadow: none; }
.info-contact .btn-primary:hover { background: #d8b178; }
.info-contact .btn-ghost { color: #fff; }
.info-contact .btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.kontakt-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #cdd8d5; min-height: 360px; display: flex; flex-direction: column; }
.map-note { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; margin: 0; padding: .6em .9em; font-size: .82rem; }
.map-note a { color: var(--petrol); text-decoration: none; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); color: #c9cfce; padding-block: clamp(46px, 6vw, 72px) 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(26px, 4vw, 56px); }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; font-family: var(--ff-body); font-weight: 800; margin-bottom: .8rem; }
.site-footer a { color: #d7dcdb; }
.site-footer a:hover { color: var(--holz); }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-name { font-family: var(--ff-display); font-size: 1.3rem; color: #fff; margin: 0 0 .2rem; }
.footer-tagline { font-style: italic; color: var(--sand); margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem;
  font-size: .82rem; color: #9aa3a1;
}
.footer-bottom a { color: #9aa3a1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-figure { order: -1; }
  .story-grid { grid-template-columns: 1fr; }
  .story-figure img { max-height: 340px; }
  .menu-grid { columns: 1; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  /* Mobile-Navigation */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; z-index: 120;
  }
  .nav-toggle span { display: block; height: 2px; width: 24px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
  .site-header.is-scrolled .nav-toggle span { background: var(--ink); }
  .site-header.nav-open .nav-toggle span { background: #fff; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 110;
    background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-dark) 100%);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    transform: translateX(100%); transition: transform .4s var(--ease), visibility .4s;
    visibility: hidden;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  /* Wichtig: backdrop-filter am Header erzeugt sonst einen Containing-Block,
     wodurch das fixed-Overlay am Header statt am Viewport klebt. */
  .site-header.nav-open {
    background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-nav a, .site-header.is-scrolled .site-nav a { color: #fff; font-size: 1.5rem; font-family: var(--ff-display); }
  .nav-cta, .site-header.is-scrolled .nav-cta { border-color: var(--holz); color: var(--holz); font-family: var(--ff-body); font-size: 1.05rem; }

  .hero { min-height: 86vh; }
  .hero-overlay { background: linear-gradient(90deg, rgba(20,42,42,.82), rgba(20,42,42,.45) 80%), linear-gradient(0deg, rgba(20,42,42,.55), rgba(20,42,42,0) 45%); }

  /* Galerie: Wisch-Galerie mit Scroll-Snap */
  .gallery {
    display: flex; grid-template-columns: none; grid-auto-rows: auto;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 84%; scroll-snap-align: start; height: 300px; }
  .gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
  .dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--sand); padding: 0; cursor: pointer; transition: background .25s, transform .25s; }
  .dot.active { background: var(--petrol); transform: scale(1.35); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================
   Welle 2: Badges · Open-Status · WhatsApp · Floating-Call · Karte · Rechtsseiten
   ========================================================= */

/* Kontext-Badges */
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 1.5rem 0 0; }
.badges li {
  font-size: .8rem; font-weight: 700; color: var(--petrol);
  background: rgba(44,110,112,.08); border: 1px solid rgba(44,110,112,.22);
  padding: .4em .9em; border-radius: 999px;
}

/* Open-Status-Pille */
.open-pill {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: .28em .8em .28em .7em; border-radius: 999px; margin-right: .5em;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3);
  vertical-align: middle;
}
.open-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #bbb; flex: none;
}
.open-pill.is-open { background: rgba(60,150,100,.92); border-color: transparent; }
.open-pill.is-open::before { background: #d6ffe4; animation: pulse 2s infinite; }
.open-pill.is-closed::before { background: #e3a06a; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,255,228,.6); } 70% { box-shadow: 0 0 0 7px rgba(214,255,228,0); } 100% { box-shadow: 0 0 0 0 rgba(214,255,228,0); } }
@media (prefers-reduced-motion: reduce) { .open-pill.is-open::before { animation: none; } }

/* WhatsApp-Button */
.btn-wa { background: #25D366; color: #0b3d1e; }
.btn-wa:hover { background: #1fbb59; color: #0b3d1e; transform: translateY(-2px); }

/* Schwebender Anruf-Button (nur mobil sichtbar) */
.floating-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--petrol); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(29,79,81,.7);
  transition: transform .25s var(--ease), background .25s;
}
.floating-call:hover { background: var(--petrol-dark); color: #fff; transform: scale(1.06); }

/* Karte: erst auf Klick laden */
.map-embed { width: 100%; flex: 1; min-height: 320px; position: relative; display: flex; background: linear-gradient(135deg, #dfe7e4, #cdd8d5); }
.map-embed iframe { flex: 1; width: 100%; min-height: 320px; border: 0; display: block; }
.map-load {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  border: 0; cursor: pointer; background: transparent; color: var(--petrol-dark); padding: 24px; text-align: center;
}
.map-load:hover { background: rgba(44,110,112,.06); }
.map-load-icon { font-size: 1.8rem; }
.map-load-title { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 600; }
.map-load small { color: var(--muted); max-width: 32ch; }

/* Rechts-/Inhaltsseiten (Impressum, Datenschutz, 404) */
.legal { padding-top: clamp(48px, 8vw, 96px); }
.legal-wrap { max-width: 760px; }
.legal-center { text-align: center; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.2rem; color: var(--petrol); margin: 2rem 0 .5rem; }
.legal p { margin: 0 0 1rem; }
.legal-back { margin-top: 2.2rem; }

@media (max-width: 720px) {
  .floating-call { display: flex; }
}
