/* Dancing Script für die Vorteilsliste – auf allen Geräten dieselbe Schrift.
   local() zuerst: Android hat die Schrift bereits installiert und lädt dann
   nichts nach. Alle anderen holen die Datei von der eigenen Domain, damit
   keine Besucher-IP an Google geht. */
@font-face {
  font-family: "Dancing Script";
  src: local("Dancing Script"), local("DancingScript-Regular"),
       url("/fonts/dancing-script-v29-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: local("Dancing Script Bold"), local("DancingScript-Bold"),
       url("/fonts/dancing-script-v29-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Scrollleisten-Platz dauerhaft reservieren, damit der zentrierte
     Hintergrund beim Tab-Wechsel (kurze vs. lange Inhalte) nicht springt. */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

:root {
  --bg: #fff5f9;
  --overlay: rgba(255, 246, 250, 0.80);
  --card: rgba(255, 255, 255, 0.92);
  --card-strong: #fff;
  --card-soft: #fff0f5;
  --text: #624c56;
  --text-muted: #836b75;
  --heading: #4d3240;
  --accent: #bd567f;
  --accent-dark: #963b61;
  --accent-soft: #f5d0df;
  --border: #e9c6d5;
  --border-soft: #f3dce6;
  --shadow: rgba(110, 55, 79, 0.14);
  --danger: #a74f4f;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-bg {
  min-height: 100vh;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url('/Bilder/HomeBilder/1.jpeg') center/cover no-repeat;
  /* Am Viewport fixieren: der Hintergrund bleibt unabhängig von der
     Inhaltshöhe der Tabs stehen und springt beim Wechsel nicht mehr. */
  background-attachment: fixed;
}

.layout {
  display: flex;
  min-height: calc(100vh - 88px);
  gap: 24px;
  padding: 24px;
}

.simple-center {
  justify-content: center;
  align-items: center;
}

.admin-layout {
  align-items: flex-start;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 20px 50px var(--shadow);
  backdrop-filter: blur(6px);
}

.logo-wrap {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  text-align: center;
}

.logo-circle {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--accent-soft);
  background: linear-gradient(145deg, #fff, #f9deea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-title {
  margin-top: 16px;
  font-size: 30px;
  color: var(--accent-dark);
  font-weight: 300;
}

.logo-subtitle {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo picture {
  display: block;
}

.logo img {
  width: min(100%, 240px);
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 6px;
  background: #fff;
}

.nav {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--heading);
  font-weight: bold;
}

.construction-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(77, 50, 64, 0.34);
  backdrop-filter: blur(7px);
}

.construction-popup.is-hidden {
  display: none;
}

.construction-popup__box {
  position: relative;
  width: min(92vw, 560px);
  padding: 34px;
  border: 1px solid var(--accent-soft);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(110, 55, 79, 0.28);
  color: var(--text);
  text-align: left;
}

.construction-popup__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.construction-popup__close:hover {
  color: var(--heading);
  border-color: var(--accent-soft);
}

.construction-popup__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.construction-popup h2 {
  margin: 0 42px 14px 0;
  color: var(--heading);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 300;
}

.construction-popup p:not(.construction-popup__eyebrow) {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.construction-popup__button {
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.construction-popup__button:hover {
  background: var(--heading);
}

body.popup-open {
  overflow: hidden;
}

/* ===== Ankündigung: Band oben ===== */
.announcement-banner {
  position: relative;
  z-index: 900;
  background: linear-gradient(120deg, var(--accent-dark), #b5658a);
  color: #fff;
}

.announcement-banner.is-hidden {
  display: none;
}

.announcement-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 56px 13px 24px;
}

.announcement-banner__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.announcement-banner__text strong {
  margin-right: 6px;
  font-weight: 700;
}

.announcement-banner__cta {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.announcement-banner__cta:hover {
  background: var(--accent-soft);
}

.announcement-banner__close {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.announcement-banner__close:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* ===== Ankündigung: Pop-up ===== */
.announcement-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(77, 50, 64, 0.34);
  backdrop-filter: blur(7px);
}

.announcement-popup.is-hidden {
  display: none;
}

.announcement-popup__box {
  position: relative;
  width: min(92vw, 560px);
  padding: 34px;
  border: 1px solid var(--accent-soft);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(110, 55, 79, 0.28);
  color: var(--text);
  text-align: left;
}

.announcement-popup__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.announcement-popup__close:hover {
  color: var(--heading);
  border-color: var(--accent-soft);
}

.announcement-popup__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.announcement-popup h2 {
  margin: 0 42px 14px 0;
  color: var(--heading);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 300;
}

.announcement-popup__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.announcement-popup__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.announcement-popup__cta {
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.announcement-popup__cta:hover {
  background: var(--heading);
}

.announcement-popup__button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 24px;
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.announcement-popup__button:hover {
  color: var(--heading);
  border-color: var(--accent-soft);
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
}

.content-card {
  width: 100%;
  max-width: 860px;
  background: var(--card);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 20px 50px var(--shadow);
  backdrop-filter: blur(8px);
}

.admin-card {
  max-width: 520px;
}

.admin-wide {
  max-width: 1200px;
}

.legal-card {
  max-width: 900px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.hero-reservation {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.eyebrow {
  margin: 28px 0 10px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.booking-eyebrow {
  margin-top: 0;
  margin-bottom: 8px;
}

h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--heading);
  font-weight: 300;
}

h2 { color: var(--heading); }

.lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
}

.feature-grid,
.booking-grid,
.info-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.admin-grid {
  grid-template-columns: 1fr 1fr;
}

.feature-box,
.booking-panel,
.side-box {
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(110, 55, 79, 0.06);
}

.feature-box {
  display: block;
  background: var(--card-soft);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a.feature-box:hover,
a.feature-box:focus-visible {
  background: #fff;
  box-shadow: 0 12px 28px rgba(110, 55, 79, 0.12);
  transform: translateY(-2px);
}

a.feature-box:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.feature-box h2,
.side-box h3,
.booking-panel h4 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
}

.feature-box p,
.side-box p,
.plain-text,
.booking-copy,
.legal-text p,
.legal-text li {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
}

.info-grid {
  grid-template-columns: 1.4fr 0.9fr;
  margin-top: 32px;
  gap: 32px;
}

.side-box {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border-soft);
}

.feature-grid + .side-box {
  margin-top: 32px;
}

.studio-detail-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 24px;
}

.studio-section {
  margin-top: 32px;
}

.side-box ul {
  padding-left: 18px;
  margin: 18px 0 0;
  line-height: 1.9;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(189, 86, 127, 0.35);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.full-width {
  width: 100%;
  text-align: center;
}

.booking-section {
  margin-top: 40px;
  padding: 28px;
  border-radius: 30px;
  background: #f7efe6;
}

.booking-header,
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.booking-title {
  margin: 8px 0 0;
  font-size: 34px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--heading);
}

.booking-grid {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 32px;
}

.booking-panel {
  background: var(--card-strong);
}

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.dot.selected { background: var(--accent); }
.dot.free { background: #dcebd8; border: 1px solid #b7d1b0; }
.dot.request { background: #fbe0eb; border: 1px solid #e2a8c0; }
.dot.full { background: #f0dede; border: 1px solid #ddb9b9; }
.dot.blocked { background: #f0e1e8; border: 1px solid var(--border); }
.dot.normal { background: #fff; border: 1px solid var(--border); }

/* Mehrere Formularfelder nebeneinander */
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 130px;
}

/* Wochentag-Auswahl als anklickbare Chips (Slot-Serie) */
.weekday-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.weekday-chip {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.weekday-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-muted);
  transition: all .12s ease;
}

.weekday-chip:hover span {
  border-color: var(--accent);
}

.weekday-chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: #fff;
}

/* Notiz-Zeile in der Anfragen-Liste */
.li-notes {
  font-style: italic;
}

/* Checkbox mit Text in einer Zeile (z. B. "Nur auf Anfrage buchbar") */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: normal;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

/* Storno-Formular im Admin: kleines optionales Grund-Feld */
.cancel-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cancel-reason-input {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  width: 150px;
  color: var(--text);
  background: #fff;
}

/* ---------- Buchungs-Kalender (Monatsraster) ---------- */

.booking-calendar {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 14px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--heading);
  letter-spacing: 0.5px;
}

.cal-nav {
  border: 1px solid var(--border-soft);
  background: var(--card-soft);
  color: var(--accent-dark);
  border-radius: 12px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) {
  background: var(--accent-soft);
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-weekday {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 6px 0;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
}

.cal-day.empty { border: none; }

.cal-day.past,
.cal-day.none {
  color: #cbbfb3;
}

.cal-day.free {
  background: #dcebd8;
  border-color: #b7d1b0;
  color: #4d6a46;
  cursor: pointer;
  font-weight: bold;
}

.cal-day.free:hover {
  background: #cde3c7;
}

.cal-day.request {
  background: #fbe0eb;
  border-color: #e2a8c0;
  color: #9c3f65;
  cursor: pointer;
  font-weight: bold;
}

.cal-day.request:hover {
  background: #f1dcae;
}

.cal-day.full {
  background: #f0dede;
  border-color: #ddb9b9;
  color: #8f3b3b;
  text-decoration: line-through;
}

.cal-day.blocked {
  background: #f0e1e8;
  border-color: var(--border);
  color: var(--text-muted);
  text-decoration: line-through;
}

.cal-day.selected {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: #fff;
}

.form-group { margin-top: 18px; }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fffdfb;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-btn {
  border: 1px solid var(--border-soft);
  background: #fff;
  border-radius: 18px;
  padding: 14px 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.time-btn.selected {
  border-color: var(--accent);
  background: #f9dfeb;
  color: var(--accent-dark);
}

.time-btn.request {
  background: #fbe0eb;
  border-color: #e2a8c0;
  color: #9c3f65;
}

.time-btn.request.selected {
  border-color: var(--accent);
  background: #f9dfeb;
  color: var(--accent-dark);
}

.time-btn.is-full {
  background: #f2f2f2;
  border-color: var(--border-soft);
  color: #8a8a8a;
  cursor: not-allowed;
  text-decoration: line-through;
}

.summary-box,
.error-box {
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: #fff2f7;
  font-size: 14px;
  line-height: 1.8;
}

.error-box {
  border: 1px solid #e4bcbc;
  color: #8f3b3b;
}

.summary-box strong {
  color: var(--accent-dark);
}

.legal-text h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 22px;
  color: var(--heading);
}

.slot-list {
  min-height: 80px;
}

.table-wrap {
  overflow-x: auto;
}

/* Nur für Screenreader sichtbar (Tabellenbeschriftungen). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.price-table {
  max-width: 520px;
}

.price-table td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-table th[scope="row"] {
  font-weight: 400;
}

.price-table-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.price-includes {
  margin: 0 0 14px;
  padding-left: 20px;
  line-height: 1.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.footer {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  margin-left: 15px;
  text-decoration: none;
  color: var(--text);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* dezenter Team-Login-Link im Footer */
.footer-links .staff-link {
  opacity: 0.55;
  font-size: 13px;
}
.footer-links .staff-link:hover {
  opacity: 1;
}

.admin-section {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .main {
    align-items: stretch;
  }

  .content-card {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  h1 { font-size: 38px; }

  .feature-grid,
  .info-grid,
  .booking-grid,
  .time-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-image { height: auto; }
  .booking-title { font-size: 28px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 12px;
  }
}

@media (max-width: 560px) {
  .construction-popup {
    padding: 16px;
  }

  .construction-popup__box {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .construction-popup h2 {
    font-size: 26px;
    margin-right: 38px;
  }

  .announcement-popup {
    padding: 16px;
  }

  .announcement-popup__box {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .announcement-popup h2 {
    font-size: 26px;
    margin-right: 38px;
  }

  .announcement-popup__actions .announcement-popup__cta,
  .announcement-popup__actions .announcement-popup__button {
    flex: 1 1 100%;
    text-align: center;
  }

  .announcement-banner__inner {
    padding: 12px 48px 12px 16px;
  }

  .announcement-banner__text {
    font-size: 15px;
  }

  .layout { padding: 14px; }
  .content-card, .sidebar, .booking-section { padding: 18px; }
  .nav { grid-template-columns: 1fr; }
}


.admin-filters {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.filter-buttons {
  margin-top: 0;
}

@media (max-width: 900px) {
  .admin-filters {
    grid-template-columns: 1fr;
  }
}

/* backdrop-filter (von .content-card geerbt) verursacht beim ersten Rendern
   einen minimalen Pixel-Versatz, der sich erst nach einem Repaint korrigiert.
   Im Admin-Dashboard daher abschalten – der Blur ist auf dem nahezu einfarbigen
   Hintergrund ohnehin nicht sichtbar. */
.admin-shell { overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none; }
.admin-topbar-polished { margin-bottom: 24px; align-items: flex-start; }
.admin-subtitle { margin-top: 10px; max-width: 720px; color: var(--text-muted); line-height: 1.7; }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.admin-stat-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(110, 55, 79, 0.05);
}

.admin-stat-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-stat-value {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1;
  color: var(--heading);
  font-weight: 700;
}

.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.admin-chip {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--accent-dark);
  font-size: 13px;
}

.admin-chip:hover { background: #fff2f7; }

.admin-grid-polished { grid-template-columns: 1fr 1fr; gap: 18px; }

.admin-panel-highlight {
  background: linear-gradient(180deg, rgba(255,250,245,0.98), rgba(248,241,232,0.96));
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-section-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.admin-counter-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--accent-dark);
  font-size: 12px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge-soft {
  background: #fff2f7;
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.admin-badge-success {
  background: #eef7ee;
  color: #2e7d32;
  border: 1px solid #cde7cf;
}

.admin-badge-warning {
  background: #fff5e8;
  color: #9c3f65;
  border: 1px solid #f4c9da;
}

.admin-badge-danger {
  background: #fdeeee;
  color: #a13737;
  border: 1px solid #efc2c2;
}

.admin-badge-muted {
  background: #f2f2f2;
  color: #666;
  border: 1px solid #ddd;
}

.admin-table-wrap { margin-top: 4px; }

.admin-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.72);
  position: sticky;
  top: 0;
}

.admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.55); }

.admin-status-form { display: grid; gap: 8px; }

.admin-flash { margin-bottom: 22px; }

.admin-filters-polished {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 18px;
}

@media (max-width: 1200px) {
  .admin-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .admin-stats-grid, .admin-grid-polished { grid-template-columns: 1fr; }
}

/* ===== Admin v2: Tabs & Komponenten ===== */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.admin-tab-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--accent-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.admin-tab-btn:hover { background: #fff2f7; }
.admin-tab-btn.is-active {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.admin-tab-btn .tab-count {
  display: inline-block;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
}
.admin-tab-panel { display: none; }
.admin-tab-panel.is-active { display: block; }

.btn-sm { padding: 7px 11px; font-size: 13px; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }

.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
}
.admin-list-item .li-main { display: flex; flex-direction: column; gap: 2px; }
.admin-list-item .li-title { font-weight: 700; color: var(--heading); }
.admin-list-item .li-sub { font-size: 13px; color: var(--text-muted); }
.admin-empty { color: var(--text-muted); padding: 14px 0; }

.occ-wrap { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.occ-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--border-soft); overflow: hidden; }
.occ-bar > span { display: block; height: 100%; background: var(--accent); }
.occ-bar.is-full > span { background: var(--danger); }
.occ-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-pagination { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.admin-pagination .page-info { color: var(--text-muted); font-size: 13px; }

.admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
textarea.admin-textarea { width: 100%; min-height: 130px; resize: vertical; }

/* Bedienfelder mit vielen Feldern brauchen die volle Breite. */
.admin-panel-wide { grid-column: 1 / -1; }

.announcement-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.announcement-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.announcement-form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.announcement-form__check input {
  width: 18px;
  height: 18px;
}

.announcement-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.announcement-form input[type="text"],
.announcement-form input[type="date"],
.announcement-form select,
.announcement-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--text);
}

.announcement-form textarea {
  resize: vertical;
}

.announcement-form .btn {
  justify-self: start;
}

.voucher-amount {
  position: relative;
  display: block;
  max-width: 260px;
}

.voucher-amount input {
  width: 100%;
  padding-right: 38px;
  font-size: 22px;
  font-weight: 700;
}

.voucher-amount__unit {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
  pointer-events: none;
}

.voucher-amount__hint {
  margin-top: 8px;
}

.voucher-presets {
  margin-top: 10px;
  gap: 8px;
}

.announcement-form__hint {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 900px) {
  .admin-settings-grid { grid-template-columns: 1fr; }
  .announcement-form__grid { grid-template-columns: 1fr; }
  .announcement-form .btn { justify-self: stretch; text-align: center; }
}
/* ===== Cookie consent ===== */
.footer-cookie-settings {
  appearance: none;
  border: 0;
  margin-left: 15px;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  text-decoration: underline;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--accent-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(77, 50, 64, 0.28);
  backdrop-filter: blur(10px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__content {
  max-width: 650px;
}

.cookie-consent__eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 400;
}

.cookie-consent p:not(.cookie-consent__eyebrow) {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-consent a {
  color: var(--accent-dark);
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

@media (max-width: 800px) {
  .footer-cookie-settings {
    margin-left: 0;
    margin-right: 12px;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px;
  }

  .cookie-consent h2 {
    font-size: 21px;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .cookie-consent__actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* ===== FAQ ===== */
.faq-card {
  max-width: 960px;
}

.faq-intro {
  max-width: 720px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-soft);
  box-shadow: 0 10px 28px rgba(110, 55, 79, 0.08);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 62px 18px 22px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--accent-dark);
}

.faq-answer {
  padding: 0 22px 22px;
  border-top: 1px solid var(--border-soft);
}

.faq-answer p,
.faq-answer li {
  font-size: 15px;
  line-height: 1.75;
}

.faq-answer p {
  margin: 16px 0 0;
}

.faq-answer ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.faq-cta h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
}

.faq-cta p {
  margin-bottom: 0;
}

.faq-cta .button-row {
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 800px) {
  .faq-item summary {
    padding: 16px 56px 16px 18px;
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .faq-cta .button-row {
    flex-direction: column;
  }

  .faq-cta .btn {
    width: 100%;
    text-align: center;
  }
}
/* ===== Mobile Workshops ===== */
.mobile-workshop-card {
  max-width: 960px;
}

.mobile-section {
  margin-top: 38px;
}

.mobile-section-title {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

.mobile-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: mobile-step;
}

.mobile-steps li {
  position: relative;
  min-height: 72px;
  padding: 16px 18px 16px 70px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  counter-increment: mobile-step;
}

.mobile-steps li::before {
  content: counter(mobile-step);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.mobile-steps strong,
.mobile-steps span {
  display: block;
}

.mobile-steps strong {
  color: var(--heading);
  line-height: 1.5;
}

.mobile-steps span {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.mobile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.mobile-list {
  margin: 16px 0 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.mobile-list--two-columns {
  columns: 2;
  column-gap: 28px;
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.equipment-list li {
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--card-soft);
  color: var(--heading);
  font-size: 14px;
  text-align: center;
}

.mobile-workshop-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
}

.mobile-workshop-cta h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
}

.mobile-workshop-cta .button-row {
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 800px) {
  .mobile-section-title {
    font-size: 25px;
  }

  .mobile-info-grid,
  .equipment-list {
    grid-template-columns: 1fr;
  }

  .mobile-list--two-columns {
    columns: 1;
  }

  .mobile-workshop-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-workshop-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== Bildergalerie ===== */
.gallery-card {
  max-width: 1040px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 20px;
  margin-top: 32px;
}

.gallery-item {
  width: 100%;
  margin: 0 0 20px;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(110, 55, 79, 0.08);
  break-inside: avoid;
}

.gallery-link {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.gallery-link:hover .gallery-image,
.gallery-link:focus-visible .gallery-image {
  transform: scale(1.02);
}

.gallery-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 650px) {
  .gallery-grid {
    column-count: 1;
  }
}
/* ===== Keramik-bemalen-Galerie ===== */
.pottery-gallery {
  margin-top: 40px;
}

.pottery-gallery-title {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

@media (max-width: 800px) {
  .pottery-gallery-title {
    font-size: 25px;
  }
}

/* ===== Startseite: Willkommen & Bildergeschichte ===== */
.home-card {
  max-width: 960px;
}

.home-welcome {
  margin-top: 44px;
}

.home-welcome h1 {
  max-width: 800px;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  text-transform: none;
}

.home-story {
  margin-top: 32px;
}

.home-story-copy,
.home-story-finale {
  max-width: 780px;
  margin: 38px auto 0;
  font-size: 17px;
  line-height: 1.85;
}

.home-story > .home-story-copy:first-child {
  margin-top: 0;
  font-size: 19px;
}

.home-story-media,
.home-carousel {
  width: min(100%, 780px);
  margin: 22px auto 0;
}

.home-story-media,
.home-carousel-stage {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(110, 55, 79, 0.1);
}

.home-story-media img,
.home-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  border-radius: 18px;
}

.home-carousel-stage {
  position: relative;
}

.home-carousel-slide {
  margin: 0;
}

.home-carousel-slide[hidden] {
  display: none;
}

.home-carousel-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(77, 50, 64, 0.72);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-carousel-arrow:hover,
.home-carousel-arrow:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-50%) scale(1.04);
}

.home-carousel-arrow:focus-visible,
.home-carousel-dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-carousel-arrow--prev {
  left: 24px;
}

.home-carousel-arrow--next {
  right: 24px;
}

.home-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}

.home-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.home-carousel-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.home-story-finale {
  color: var(--heading);
  font-size: 22px;
  text-align: center;
}

.home-story-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

@media (max-width: 800px) {
  .home-welcome {
    margin-top: 34px;
  }

  .home-story-copy,
  .home-story-finale {
    font-size: 16px;
    line-height: 1.75;
  }

  .home-story > .home-story-copy:first-child {
    font-size: 17px;
  }

  .home-story-finale {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .home-welcome h1 {
    font-size: 34px;
  }

  .home-story-media,
  .home-carousel-stage {
    padding: 7px;
    border-radius: 20px;
  }

  .home-story-media img,
  .home-carousel-slide img {
    border-radius: 14px;
  }

  .home-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .home-carousel-arrow--prev {
    left: 15px;
  }

  .home-carousel-arrow--next {
    right: 15px;
  }
}
/* Hochformatbilder bekommen statt leerer Seitenflächen einen ruhigen,
   farblich passenden Hintergrund aus dem jeweiligen Foto. */
.home-story-media.is-portrait,
.home-carousel-slide.is-portrait {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f3dce6;
}

.home-story-media.is-portrait::before,
.home-carousel-slide.is-portrait::before {
  content: "";
  position: absolute;
  inset: -32px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(77, 50, 64, 0.18), rgba(255, 255, 255, 0.22)),
    var(--home-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px);
  opacity: 0.58;
  transform: scale(1.12);
}

.home-story-media.is-portrait::after,
.home-carousel-slide.is-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.28);
}

.home-story-media.is-portrait {
  padding: 18px;
}

.home-carousel-slide.is-portrait {
  padding: 18px;
  border-radius: 18px;
}

.home-carousel-slide.is-portrait[hidden] {
  display: none;
}

.home-story-media.is-portrait img,
.home-carousel-slide.is-portrait img {
  width: auto;
  max-width: 100%;
  max-height: min(680px, 72vh);
  margin: 0 auto;
  background: var(--card-soft);
  box-shadow: 0 14px 38px rgba(77, 50, 64, 0.24);
}

@media (max-width: 560px) {
  .home-story-media.is-portrait,
  .home-carousel-slide.is-portrait {
    padding: 10px;
  }

  .home-story-media.is-portrait img,
  .home-carousel-slide.is-portrait img {
    max-height: 70vh;
  }
}
/* ===== Website-SEO- und Navigationsüberarbeitung 2026-08-05 ===== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.logo-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
}

.logo-wrap:focus-visible,
.nav a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.home-card {
  max-width: 1120px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.home-hero-copy .eyebrow {
  margin-top: 0;
}

.home-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.06;
  text-transform: none;
}

.home-hero-copy .lead {
  margin-top: 20px;
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.home-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Fallbacks greifen nur, falls die Schriftdatei fehlt. Namentlich
     aufgezählt, weil Chrome unter Windows für "cursive" sonst Comic Sans
     nimmt. */
  font-family: "Dancing Script", "Monotype Corsiva", "Snell Roundhand",
               "Apple Chancery", "Lucida Handwriting", cursive;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent-dark);
}

.home-benefits .benefit-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.home-hero-actions {
  margin-top: 26px;
}

.home-welcome {
  margin-top: 64px;
  padding-top: 46px;
  border-top: 1px solid var(--border-soft);
}

.home-welcome h2 {
  max-width: 780px;
  margin: 0;
  color: var(--heading);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.footer-inner {
  align-items: flex-start;
}

.footer-business p {
  margin: 0 0 7px;
  line-height: 1.5;
}

.footer-business a,
.footer-links a {
  color: var(--text);
}

/* Öffnungszeiten: als Definitionsliste, damit Tag und Zeit zusammengehören. */
.footer-hours {
  margin-top: 14px;
}

.footer-hours__title {
  margin: 0 0 4px;
  font-weight: 600;
}

.footer-hours dl,
.home-hours {
  margin: 0;
  display: grid;
  gap: 2px 18px;
}

.footer-hours dl > div,
.home-hours > div {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  max-width: 320px;
}

.footer-hours dt,
.home-hours dt {
  margin: 0;
}

.footer-hours dd,
.home-hours dd {
  margin: 0;
  white-space: nowrap;
}

/* Inhaltsabschnitte der Startseite unter dem Hero. */
.home-intro {
  max-width: 820px;
  margin-top: 44px;
}

.home-intro h2 {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  font-weight: 400;
}

.home-intro p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.home-intro .home-hours {
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  max-width: 680px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  margin-left: 0;
}


@media (max-width: 800px) {
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .home-hero-copy h1 {
    font-size: 34px;
  }

  .home-benefits {
    grid-template-columns: 1fr;
  }

  .home-hero-actions .btn,
  .home-story-cta .btn {
    width: 100%;
    text-align: center;
  }

  .home-welcome {
    margin-top: 42px;
    padding-top: 34px;
  }
}
/* ===== Conversion-Links auf Angebotsseiten ===== */
.event-offer-grid .feature-box,
.pottery-cta,
.event-cta {
  scroll-margin-top: 24px;
}

.feature-box > a {
  display: inline-flex;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.4;
  text-underline-offset: 3px;
}

.event-offer-grid .feature-box {
  display: flex;
  flex-direction: column;
}

.pottery-cta,
.event-cta {
  margin-top: 30px;
}
/* ===== Moderne Bildformate und stabile Bildrahmen ===== */
@supports (background-image: image-set(url("/Bilder/Optimiert/home-background.webp") type("image/webp"))) {
  .page-bg {
    background-image:
      linear-gradient(var(--overlay), var(--overlay)),
      image-set(
        url("/Bilder/Optimiert/home-background.webp") type("image/webp"),
        url("/Bilder/HomeBilder/1.jpeg") type("image/jpeg")
      );
  }
}

.home-story-media picture,
.home-carousel-slide picture {
  display: block;
  width: 100%;
}
/* ===== Optimierte Galerie-Vorschauen ===== */
.gallery-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== Mitscrollender Direktkontakt ===== */
.floating-contact {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 28px);
  pointer-events: none;
}

.floating-contact__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
  min-height: 58px;
  padding: 10px 17px 10px 12px;
  border: 1px solid rgba(189, 86, 127, 0.28);
  border-radius: 999px;
  color: var(--heading);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(77, 50, 64, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.floating-contact__link:hover {
  transform: translateY(-2px);
  border-color: rgba(189, 86, 127, 0.58);
  box-shadow: 0 16px 38px rgba(77, 50, 64, 0.25);
}

.floating-contact__link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.floating-contact__link--whatsapp {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: #287a4b;
}

.floating-contact__link--whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: #226a41;
}

.floating-contact__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(189, 86, 127, 0.13);
}

.floating-contact__link--whatsapp .floating-contact__icon {
  fill: currentColor;
  stroke: none;
  background: rgba(255, 255, 255, 0.15);
}

.floating-contact__text {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.floating-contact__text strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.floating-contact__text small {
  color: var(--text-muted);
  font-size: 12px;
}

.floating-contact__link--whatsapp small {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 560px) {
  .floating-contact {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 46px);
    gap: 8px;
  }

  .floating-contact__link {
    justify-content: center;
    width: 46px;
    min-width: 0;
    height: 46px;
    min-height: 0;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(77, 50, 64, 0.18);
    touch-action: manipulation;
  }

  .floating-contact__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .floating-contact__text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact__link {
    transition: none;
  }
}
/* ===== Über uns und telefonische Buchung ===== */
.home-phone-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-phone-note a {
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.home-about-teaser {
  max-width: 820px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}

.home-about-teaser .eyebrow {
  margin-top: 0;
}

.home-about-teaser h2,
.booking-phone-option h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.15;
  font-weight: 400;
}

.home-about-image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 24px;
}

.home-about-teaser .lead {
  max-width: 720px;
  margin-top: 16px;
}

.about-page h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  text-transform: none;
}

.about-page > .lead {
  max-width: 800px;
}

.booking-phone-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(110, 55, 79, 0.08);
}

.booking-phone-option__copy {
  max-width: 660px;
}

.booking-phone-option .eyebrow {
  margin: 0 0 7px;
}

.booking-phone-option h2 {
  font-size: clamp(23px, 3vw, 31px);
}

.booking-phone-option p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.booking-phone-option .btn {
  flex-shrink: 0;
  text-align: center;
}

@media (max-width: 800px) {
  .booking-phone-option {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .home-about-teaser {
    margin-top: 38px;
    padding-top: 30px;
  }

  .home-about-teaser .btn,
  .booking-phone-option .btn {
    width: 100%;
    text-align: center;
  }

  .booking-phone-option {
    padding: 19px;
  }
}
/* ===== Preisliste ===== */
.price-list-card {
  max-width: 980px;
}

.price-list-intro {
  max-width: 760px;
}

.price-list-sheet {
  width: min(100%, 760px);
  margin: 34px auto 0;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(77, 50, 64, 0.14);
}

.price-list-sheet a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.price-list-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.price-list-sheet figcaption {
  margin: 11px 8px 2px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.price-list-actions {
  justify-content: center;
}

@media (max-width: 560px) {
  .price-list-sheet {
    margin-top: 26px;
    padding: 6px;
    border-radius: 20px;
  }

  .price-list-sheet a {
    border-radius: 15px;
  }

  .price-list-actions .btn {
    width: 100%;
    text-align: center;
  }
}
