/* =========================================
   SCHRIFTEN – LOKAL (keine Google-Fonts)
   Lege die .woff2-Dateien in assets/fonts/ ab:
   - assets/fonts/Inter-Variable.woff2
   - assets/fonts/Quicksand-Variable.woff2
   Wenn diese Dateien fehlen, verwendet der Browser automatisch System-Schriften.
========================================= */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('assets/fonts/Quicksand-Variable.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   BASIS
========================================= */

:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #0f766e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.row {
  display: flex;
  gap: 12px;
}

.center {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

/* kleine Helfer */
.gap {
  gap: 28px;
}

.w-full {
  width: 100%;
}

/* Typografie */
h1 {
  font-size: 34px;
  margin: 0 0 10px;
}

@media (min-width: 900px) {
  h1 {
    font-size: 38px;
  }
}

.lead {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

.meta {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.fineprint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ecfeff;
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.4);
}

.btn-primary:hover {
  background: #115e59;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.5);
}

.btn-ghost {
  background: #ffffff;
  color: #0f172a;
  border-color: #0f172a;
}

.btn-ghost:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #0f172a;
  border-color: var(--accent);
}

.btn-outline:hover {
  background: rgba(15, 118, 110, 0.06);
  transform: translateY(-1px);
}

.btn.small {
  padding: 6px 12px;
  font-size: 13px;
}

/* Aktionen z. B. im Hero-Bereich */
.actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
    font-size: 15px;
    padding: 11px 18px;
  }
}

/* -------------------------------
   Buttons im ANFRAGE-Bereich
-------------------------------- */

#anfrage .buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 18px;
}

/* Anfrage-Buttons: kompakt, aber gleiche Optik wie sonst */
#anfrage .btn {
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 999px;  /* gleiche Form wie der Anfrage-Button im Header */
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;        /* NICHT über die ganze Breite strecken */
}

/* Primary im Anfragebereich – leicht abgeschwächter Schatten */
#anfrage .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

#anfrage .btn-primary:hover {
  background: #115e59;
}

/* Outline-Variante im Anfragebereich */
#anfrage .btn-outline {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

#anfrage .btn-outline:hover {
  background: rgba(15, 118, 110, 0.08);
}

/* Mobile: Buttons im Anfragebereich 100% breit */
@media (max-width: 600px) {
  #anfrage .btn {
    width: 100%;
    max-width: none;
  }
}

/* =========================================
   HEADER – DESKTOP
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo & Wortmarke */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 30px;
  width: auto;
  margin-bottom: -2px;
}

/* "hardtstay" + "Apartment Tostedt" in einer Zeile */

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: "Quicksand", system-ui, sans-serif;
  white-space: nowrap;
}

.brand-text .marke {
  display: inline-flex;
}

.brand-text .hardt,
.brand-text .stay {
  font-size: 22px;
}

.brand-text .hardt {
  font-weight: 300; /* light */
}

.brand-text .stay {
  font-weight: 500; /* etwas dicker */
}

.subline {
  font-size: 16px;
  font-weight: 400;
  color: #475569;
}

/* Navigation + CTA */

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;      /* schiebt die Nav nach rechts */
}

.nav a {
  font-size: 15px;
  white-space: nowrap;
}

/* Textlinks mit leichter „Button“-Optik beim Hover */
.nav a {
  position: relative;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(15, 118, 110, 0.08);
}

/* Anfrage-Button sitzt immer direkt rechts neben der Nav */
.header-cta {
  margin-left: 18px;      /* fester Abstand zwischen Nav und Button */
  padding: 8px 18px;
  border-width: 2px;
}

/* =========================================
   HEADER – MOBILE
========================================= */

@media (max-width: 768px) {
  .site-header {
    padding: 6px 0;
  }

  /* Zeile 1: Logo links, Anfrage rechts
     Zeile 2: Navigation */
  .header-bar {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-logo {
    height: 26px;
    margin-bottom: -1px;
  }

  .brand-text {
    gap: 6px;
  }

  .brand-text .hardt,
  .brand-text .stay {
    font-size: 20px;
  }

  .subline {
    font-size: 14px;
  }

  .header-cta {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 6px 16px;
  }

  .nav {
    order: 2;
    width: 100%;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 12px;
    font-size: 14px;
    margin-top: 4px;
  }

  .nav a {
    padding: 3px 8px;
  }
}

/* ========================================= 
   HERO
========================================= */

.hero {
  position: relative;
  padding: 110px 0 90px;
  color: var(--fg);
  overflow: hidden;
}

/* Bild vollflächig im Hintergrund */
.hero-lcp-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-lcp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Verlauf über dem Bild (statt background-image in .hero-image) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.45),
      rgba(15, 23, 42, 0.18)
  );
}

/* hero-image-Klasse bleibt für HTML, macht aber optisch nichts mehr */
.hero-image {
}

/* Grid-Layout bleibt wie gehabt */

.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .grid2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.hero-layout {
  align-items: center;
}

/* linke Karte */

.hero-panel {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  padding: 24px 24px 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(2px);
  max-width: 480px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-bullets {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* Kurzüberblick wie das transparente Hero-Panel machen */
.hero-card {
  background: rgba(255, 255, 255, 0.86);      /* gleiche Transparenz */
  border: none;                               /* keine harte Linie */
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22); /* gleiche Tiefenwirkung */
  backdrop-filter: blur(2px);                 /* leichter Glas-Effekt */
}

/* Kurzüberblick-Grid */

.kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-top: 12px;
}

.kv-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Kurzüberblick-Icons (Airbnb-ähnlicher, einheitlicher Stil) */
.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a; /* Iconfarbe Kurzüberblick: dunkel */
}

.kv-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kv-main {
  font-size: 14px;
  font-weight: 600;
}

.kv-sub {
  font-size: 13px;
  color: var(--muted);
}

/* Hero responsive */

@media (max-width: 700px) {
  h1 {
    font-size: 30px;
  }

  .hero {
    padding: 60px 0;
  }

  .kv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .kv-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   SECTIONS & CARDS
========================================= */

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
}

/* Anfrage-Bereich: Text volle Breite auf Desktop */
#anfrage .section-lead {
  max-width: none;
}

.section.alt {
  background: #f8fafc;
}

/* generische Card */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.card.small {
  padding: 16px;
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

/* Spezialfall: Cards in .section.alt (z. B. Anfrage, Bewertungen)
   – etwas „paneliger“ */
.section.alt .card {
  border-radius: 24px;
  padding: 24px;
}

/* Grid-Layouts */

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

/* Listen / Zitate */

.bullets {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 14px;
  color: #475569;
}

.bullets li + li {
  margin-top: 4px;
}

.bullets.compact li + li {
  margin-top: 2px;
}

.quote {
  font-size: 14px;
  color: #475569;
  margin: 8px 0 0;
}

/* =========================================
   GALLERY
========================================= */

.gallery,
.highlight-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.highlight-gallery {
  margin-top: 24px;
  margin-bottom: 12px;
}

.gallery a,
.highlight-gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.gallery img,
.highlight-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery a:hover img,
.highlight-gallery a:hover img {
  transform: scale(1.03);
}

.gallery .label,
.highlight-gallery .label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  font-size: 12px;
}

/* zusätzliche Grid-Variante für alle Fotos */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.gallery-hidden {
  display: none;
}

@media (max-width: 900px) {
  .gallery img,
  .highlight-gallery img {
    height: 190px;
  }
}

@media (max-width: 600px) {
  .gallery,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery img,
  .highlight-gallery img {
    height: 150px;
  }

  .highlight-gallery {
    margin-top: 16px;
    margin-bottom: 8px;
  }
}

/* =========================================
   AMENITIES
========================================= */

.amenities {
  margin-top: 28px;
}

.amenities h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 24px;
  margin-top: 10px;
}

.amenity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #475569;
}

/* Amenities-Icons + gemeinsame SVG-Optik für alle kleinen Icons */
.amenity-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent); /* Petrol für Ausstattung */
}

/* Einheitlicher Stil für alle Icon-SVGs im Kurzüberblick & bei Amenities */
.icon-circle svg,
.amenity-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-label {
  font-size: 14px;
  color: #475569;
}

.amenities-toggle {
  margin-top: 14px;
}

/* =========================================
   KALENDER / PREISBLOCK
========================================= */

.calendar-header {
  margin-top: 16px;
  margin-bottom: 8px;
}

.cal-label {
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.calendar-grid button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 0;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
}

.calendar-grid button.past {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Tage im Kalender: bereits gebucht (Airbnb) */
.calendar-grid button.booked {
  background: #e5e7eb;           /* hellgrau */
  color: #9ca3af;                /* Text heller */
  text-decoration: line-through; /* Datum durchgestrichen */
  cursor: not-allowed;           /* klar: nicht klickbar */
  position: relative;
  box-shadow: none;
}

/* dezente diagonale Linie, damit es "blockiert" wirkt */
.calendar-grid button.booked::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  border-top: 2px solid rgba(148, 163, 184, 0.7);
  transform: rotate(-15deg);
  pointer-events: none;
}

.calendar-grid button.selected-start,
.calendar-grid button.selected-end {
  background: var(--accent);
  color: #ecfeff;
}

.calendar-grid button.selected-range {
  background: #ccfbf1;
  color: #0f766e;
}

.price-line {
  margin-top: 12px;
  font-size: 14px;
  color: #0f172a;
}

/* Tage, die noch nicht zur Buchung freigeschaltet sind (nach 90 Tagen) */
.calendar-grid button.not-released {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

/* Tage im Kalender: verfügbar */
.calendar-grid button.available {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Tage im Kalender: bereits gebucht (Airbnb) */
.calendar-grid button.booked {
  background: #e5e7eb;
  color: #9ca3af;
  text-decoration: line-through;
  cursor: not-allowed;
  position: relative;
  box-shadow: none;
}

.calendar-grid button.booked::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  border-top: 2px solid rgba(148, 163, 184, 0.7);
  transform: rotate(-15deg);
  pointer-events: none;
}

/* Tage, die noch nicht zur Buchung freigeschaltet sind (nach 90 Tagen) */
.calendar-grid button.not-released {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.85;
  box-shadow: none;
  position: relative;
}

/* Auswahl im Kalender immer klar hervorheben – überschreibt available/booked */
.calendar-grid button.selected-start,
.calendar-grid button.selected-end {
  background: var(--accent) !important;
  color: #ecfeff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.35);
}

.calendar-grid button.selected-range {
  background: #ccfbf1 !important;
  color: #0f766e !important;
  border-color: #5eead4 !important;
}

/* =========================================
   FORMULAR
========================================= */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font: inherit;
  background: #fff;
}

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 8px;
}

@media (max-width: 600px) {
  .address-grid {
    grid-template-columns: 1fr;
  }
}

.error-text {
  min-height: 16px;
  margin: 2px 0 0;
  font-size: 12px;
  color: #b91c1c;
}

/* Sammel-Fehlerhinweis unter dem Button */
#form-error {
  grid-column: 1 / -1;   /* über die ganze Formularbreite wie .field.wide */
  margin-top: 6px;
  font-size: 13px;
}

/* Auf sehr kleinen Bildschirmen darf er wieder umbrechen */
@media (max-width: 600px) {
  #form-error {
    white-space: normal;
  }
}

/* Datenschutz & Hausregeln */

/* Kompaktere Boxen für Datenschutz & Hausregeln */
#field-privacy,
#field-rules {
  margin-top: 6px !important;      /* weniger Abstand nach oben */
  padding: 8px 10px !important;    /* weniger Innenabstand */
  background: #f1f5f9;
  border-radius: 10px;             /* moderner & kleiner */
  border: 1px solid #d1d5db;
}

/* Checkbox + Text kompakter */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  line-height: 1.3;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.checkbox-text {
  font-size: 13px;
  line-height: 1.35;
  color: #475569;
}

.form-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.form-link:hover {
  color: #0b4f4a;
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.35);
}

/* =========================================
   MODAL (Hausregeln)
========================================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #ffffff;
  max-width: 640px;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  padding: 20px 22px;
  overflow: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: 20px;
  margin: 0;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-body p {
  font-size: 14px;
  color: var(--muted);
}

.modal-body h3 {
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 15px;
}

.modal-body ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 14px;
  color: #475569;
}

.modal-body li + li {
  margin-top: 3px;
}

/* =========================================
   LIGHTBOX (Fotos)
========================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.lb-close {
  top: 8px;
  right: 8px;
}

.lb-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  font-size: 13px;
  color: #64748b;
}

/* Mehr Luft zwischen Textblock und Galerie */
.gallery,
.highlight-gallery {
  margin-top: 32px; /* statt 20px */
}

/* Mehr Abstand zwischen Galerie und Button */
#photos-toggle {
  margin-top: 20px;
}

/* Breitere Abstände zwischen den Bildern */
.gallery,
.highlight-gallery {
  gap: 14px; /* statt 10px */
}

/* Etwas sanfterer Schatten für hochwertige Optik */
.gallery a,
.highlight-gallery a {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* =========================================
   MOBILE: Highlight-Galerie als Slider
========================================= */
@media (max-width: 600px) {
  .highlight-gallery {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    margin-top: 20px;
    scroll-snap-type: x mandatory;
  }

  .highlight-gallery a {
    flex: 0 0 72%;        /* breite Karten, fast bildschirmfüllend */
    max-width: 72%;
    height: 200px;
    scroll-snap-align: start;
  }

  .highlight-gallery img {
    height: 100%;
    object-fit: cover;
  }

  /* Scrollbar etwas dezenter */
  .highlight-gallery::-webkit-scrollbar {
    height: 4px;
  }
  .highlight-gallery::-webkit-scrollbar-track {
    background: transparent;
  }
  .highlight-gallery::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 999px;
  }
}

/* MOBILE: Bewertungs-Cards untereinander statt nebeneinander */
@media (max-width: 700px) {
  .grid3 {
    grid-template-columns: 1fr;  /* statt 2 Spalten */
    gap: 16px;
  }
}

/* Bewertungs-Karten etwas kompakter */
#bewertungen .card {
  padding: 18px 16px 16px;  /* unten ein bisschen weniger */
}
