/* ============================================
   Havelberg-Apartments.de – Design System
   Phase 1: Fundament
   Colors from Havelberger Stadtwappen + Gold accent
   No Google Fonts – system font stack
   ============================================ */

:root {
  /* Primary palette */
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fb;
  --color-bg-muted: #eef2f5;
  --color-text: #1b1918;
  --color-text-muted: #4a4644;
  --color-text-light: #6b6562;

  --color-blue: #0090d4;
  --color-blue-dark: #0077b0;
  --color-blue-light: #e6f5fc;

  --color-red: #e30016;
  --color-red-dark: #c10012;

  --color-gold: #c9a227;
  --color-gold-light: #f5edcf;

  /* Borders & shadows */
  --border-color: #e2e6ea;
  --shadow-sm: 0 1px 3px rgba(27, 25, 24, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 25, 24, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 25, 24, 0.12);

  /* Typography – system fonts only */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;

  /* Spacing scale (approx. golden ratio inspired) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  /* Layout */
  --max-width: 72rem; /* ~1152px */
  --header-height: 4.75rem;
  --radius: 0.5rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  /* Transitions */
  --transition: 180ms ease;
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-blue-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* Typography hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: var(--space-5);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.1rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin-bottom: var(--space-4);
  padding-left: 1.35em;
}

li + li {
  margin-top: 0.35em;
}

strong {
  font-weight: 600;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: var(--space-7);
}

.section--soft {
  background-color: var(--color-bg-soft);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-text);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  z-index: 1000;
  border-radius: var(--radius);
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
  position: relative;
}

h1[id], h2[id], h3[id], h4[id], section[id], details[id] {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.logo:hover {
  color: var(--color-blue);
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  border-radius: 0.35rem;
  flex-shrink: 0;
}

.logo-mark-img {
  display: block;
  height: 2.85rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: var(--header-height);
  }
  .header-inner {
    gap: 0.5rem;
    padding-block: 0.4rem;
    position: static;
  }
  .logo {
    white-space: normal;
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .logo-mark-img {
    height: 2.55rem;
  }
}

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
  min-width: 0;
}

.nav-main a {
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-main a:hover,
.nav-main a:focus-visible,
.nav-main a[aria-current="page"] {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
}
.header-search input[type="search"] {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}
.header-search.is-open input[type="search"] {
  width: 14rem;
  opacity: 1;
  pointer-events: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.4rem 0.65rem;
  margin-right: 0.25rem;
  font: inherit;
  font-size: 0.95rem;
}
@media (min-width: 901px) {
  .site-header.is-searching .nav-aux {
    display: none;
  }
}
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--color-text);
}
.search-toggle:hover,
.search-toggle:focus-visible {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
}
.lang-switch {
  display: flex;
  align-items: center;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.2rem;
  padding: 0 0.55rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lang-switch a:hover,
.lang-switch a:focus-visible {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
}
.page-search {
  display: flex;
  gap: 0.5rem;
  margin: var(--space-4) 0 var(--space-5);
  flex-wrap: wrap;
}
.page-search input[type="search"] {
  flex: 1 1 16rem;
  min-width: 12rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}
.search-empty {
  max-width: 40rem;
}
.search-empty .btn {
  margin-top: 0.25rem;
}
.search-results {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
}
.search-results li {
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}
.search-results a {
  font-weight: 600;
}
.search-hit-lead {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}
.search-hit-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
@media (max-width: 640px) {
  .search-hit-lead {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
    box-shadow: var(--shadow-md);
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    width: 100%;
    padding: var(--space-3) var(--space-4);
  }

  .header-search.is-open input[type="search"] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0.85rem 1.1rem;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: #fff;
    font-size: 1rem;
    z-index: 120;
    box-shadow: var(--shadow-md);
  }
}

/* ========== HERO / MAIN ========== */
main {
  flex: 1;
  padding-bottom: var(--space-7);
}

.hero {
  padding-block: var(--space-8) var(--space-7);
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
  text-align: center;
}

.hero--photo {
  position: relative;
  overflow: hidden;
  background: #f5f5f4;
  padding-block: var(--space-9) var(--space-8);
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg picture,
.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

/* Heller Schleier als eigenes Element – Stadtinsel schimmert durch */
.hero-veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.84) 0%,
    rgba(255, 255, 255, 0.78) 40%,
    rgba(255, 255, 255, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 48rem;
  margin-inline: auto;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

@media (max-width: 640px) {
  .hero--photo {
    padding-block: var(--space-7) var(--space-6);
  }
  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.82) 50%,
      rgba(255, 255, 255, 0.92) 100%
    );
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 120ms ease;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--color-blue-light);
}

.btn--gold {
  background: var(--color-gold);
  color: #1b1918;
  border-color: var(--color-gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: #b8911f;
  border-color: #b8911f;
  color: #1b1918;
}

.btn--red {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.btn--red:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  overflow: hidden;
  padding: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0; /* parent .card clips via overflow:hidden + border-radius */
}

.card-body {
  padding: var(--space-5);
}

.card-title {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--color-blue);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-5);
  padding-top: var(--space-5);
  line-height: 1.4;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.25rem;
  line-height: 1.4;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--color-text-light);
  font-weight: 400;
  line-height: 1;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-blue);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* Placeholder image boxes */
.placeholder-img {
  background: linear-gradient(135deg, var(--color-bg-muted), var(--color-bg-soft));
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: var(--space-4);
}

.placeholder-img--panorama {
  aspect-ratio: 21 / 9;
  width: 100%;
}

.placeholder-img--detail {
  aspect-ratio: 4 / 3;
}

/* Real accommodation images/videos – Desktop & Mobile identisch, 21:9 */
.accommodation-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  line-height: 0;
}

.accommodation-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.accommodation-hero img,
.accommodation-hero video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--radius-lg);
}



/* Panorama / article figures: always rounded on all viewports */
.article-figure {
  margin: 0 0 var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  max-width: none;
}
.article-figure img,
.article-figure picture,
.article-figure picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Globale Absicherung: alle Inhaltsbilder abgerundet */
.container figure img,
.container .card-grid img,
.container .card-image img {
  border-radius: var(--radius-lg);
}
.container figure {
  overflow: hidden;
}

/* Über-uns Familienfoto 4:3 */
.about-photo {
  margin: 0 0 var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-muted);
  line-height: 0;
  aspect-ratio: 4 / 3;
  max-width: 42rem;
}

.about-photo picture,
.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-text);
  color: #e8e6e4;
  padding-block: var(--space-7) var(--space-5);
  margin-top: auto;
}

.site-footer a {
  color: #c9c5c2;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

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

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

.footer-brand p {
  font-size: 0.95rem;
  color: #a9a5a2;
  margin-top: var(--space-3);
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: var(--space-3);
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: var(--space-4);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #c9c5c2;
  transition: color var(--transition);
}

.social-links a:hover {
  color: #fff;
}

.social-links svg {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  border-top: 1px solid #3a3735;
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: #8a8582;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ========== FORM ELEMENTS ========== */
.form-group {
  margin-bottom: var(--space-4);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 144, 212, 0.15);
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-3);
}

.checkbox-group input {
  margin-top: 0.3rem;
  width: auto;
  flex-shrink: 0;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

/* Feedback form (compact at bottom of pages) */
.feedback-section {
  background: transparent;
  border-top: 1px solid var(--border-color);
  padding-block: var(--space-5);
}

.feedback-box {
  max-width: 40rem;
  margin-inline: auto;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.feedback-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.15rem;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--color-dark, #1B1918);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  text-align: center;
}

.feedback-toggle:hover .feedback-toggle-action,
.feedback-toggle:focus-visible .feedback-toggle-action {
  color: var(--color-blue, #0090D4);
  text-decoration-thickness: 2px;
}

.feedback-toggle:focus-visible {
  outline: 2px solid var(--color-blue, #0090D4);
  outline-offset: 4px;
  border-radius: 2px;
}

.feedback-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #C9A227;
  color: #1B1918;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.feedback-toggle-text {
  color: var(--color-dark, #1B1918);
}

.feedback-toggle-action {
  color: var(--color-blue, #0090D4);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: inherit;
  white-space: nowrap;
}


.feedback-panel {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.feedback-panel[hidden] {
  display: none !important;
}

.feedback-intro {
  font-size: 1rem;
  color: var(--color-text-muted, #666);
  margin: 0 0 1rem;
}

#feedback-success {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-blue-light, #e8f5fc);
  border-radius: var(--radius);
}

.feedback-hidden {
  display: none;
}

.feedback-hidden.is-visible {
  display: block;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Lead text under panorama – full content width */
.accommodation-lead {
  font-size: 1.1rem;
  max-width: none;
  margin-bottom: var(--space-5);
}

/* Affiliate notice (optional, smaller) */
.affiliate-notice {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: var(--space-3);
}

/* Combined disclaimer for foreign accommodations */
.operator-disclaimer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-gold);
  margin-block: var(--space-5);
}

/* Long-form Artikel */
.article-body {
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-body > h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.article-body > h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.article-body > h4 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-size: 1.05rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: var(--space-4);
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.article-body .article-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.article-figure {
  margin: var(--space-5) 0;
  background: transparent;
  line-height: 1.4;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
}

.article-figure figcaption {
  line-height: 1.4;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-1) 0;
  margin: 0;
}

/* YouTube / Video Embed */
.video-embed {
  position: relative;
  width: 100%;
  margin: var(--space-4) 0 var(--space-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Hochformat (Shorts / Handy-Clips), zentriert */
.video-embed--short {
  aspect-ratio: 9 / 16;
  max-width: 22.5rem;
  margin-inline: auto;
}

.article-figure--video {
  background: transparent;
}

.video-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.article-cta {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-blue);
}

.faq-list details {
  border-bottom: 1px solid var(--color-border, #e5e2df);
  padding: var(--space-3) 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: var(--color-blue);
}

.faq-list details p {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .feedback-section,
  .nav-toggle {
    display: none !important;
  }
}

/* Article quote / testimonial */
.article-quote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
  border-left: 4px solid var(--color-blue);
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
}
.article-quote p {
  margin: 0 0 var(--space-2);
  font-style: italic;
  color: var(--color-dark);
}
.article-quote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--color-text-muted);
}

.download-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--color-blue);
}
.download-link:hover {
  text-decoration: underline;
}


/* --- Leaflet map (Restaurants) --- */
.map-section {
  margin: var(--space-6) 0;
}
.map-section h2 {
  margin-bottom: var(--space-3);
}
#map-restaurants,
#map-unterkuenfte,
#map-supermaerkte {
  height: 420px;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border, #e5e5e5);
  z-index: 1;
}
@media (max-width: 640px) {
  #map-restaurants,
  #map-unterkuenfte,
  #map-supermaerkte {
    height: 320px;
  }
}
.map-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: var(--space-2);
}

/* Kompakte Camping-Kachel unter den 3 Kategorie-Karten */
.uk-card-camping {
  grid-template-columns: minmax(140px, 28%) 1fr;
}
@media (max-width: 640px) {
  .uk-card-camping {
    grid-template-columns: 1fr !important;
  }
  .uk-card-camping > a {
    min-height: 160px !important;
  }
}

/* Leaflet DivIcon: weißer Standardrahmen abschalten für unsere Pins */
.leaflet-div-icon.ha-map-pin-red {
  background: transparent;
  border: none;
}

/* Lightbox for galleries */
.js-lightbox img { cursor: zoom-in; }
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(27,25,24,0.88);
  padding: 1.25rem;
}
.lb-overlay.is-open { display: flex; }
.lb-overlay img {
  max-width: min(1600px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
}
.lb-overlay button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Share bar: immer so breit wie .container, auch als direktes Kind von main */
.share-bar {
  width: 100%;
  max-width: var(--max-width);
  margin: var(--space-6) auto var(--space-5);
  padding: var(--space-5);
  padding-inline: var(--space-5);
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}
.share-bar__lead {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--color-text);
}
.share-bar__hint {
  margin: 0 0 var(--space-4);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.share-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.share-bar__btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}
.share-bar__status {
  margin: var(--space-3) 0 0;
  font-size: 0.9rem;
  color: var(--color-blue-dark);
}
