/* ==========================================================================
   Haus Irene — Ferienwohnungen Bodenmais
   Originalgetreues Design — Migration von WordPress/Kadence
   ========================================================================== */

/* --- Fonts (lokal, DSGVO-konform — kein Google-Server-Aufruf) --- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/open-sans-italic-latin.woff') format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-italic-latin.woff') format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Custom Properties --- */
:root {
  /* Colors — exakt wie Original */
  --green: #0b8e36;
  --green-dark: #0a6e2b;
  --green-light: #e8f5ec;
  --orange: #ffa500;
  --orange-dark: #e69500;

  --text-color: #2d3748;
  --text-muted: #4a5568;
  --white: #fff;
  --border: #e2e8f0;
  --bg-light: #f7f7f7;

  /* Typography */
  --font-heading: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --bg-subtle: #f7fafc;

  /* Layout */
  --container-max: 1290px;   /* Original: 1290px */
  --container-pad: 1.5rem;   /* Original: 24px */
  --header-height: 6.2rem;   /* ~99px wie Original */

  /* Radius */
  --radius: 3px;
  --img-radius: 10px;          /* Original: Bilder haben 10px */

  /* Transitions */
  --duration: 0.25s;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px wie Original */
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-color);
  background: var(--white);
}

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

ul, ol { list-style: none; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--duration);
}
a:hover { color: var(--green-dark); }
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--green-light);
  color: var(--green-dark);
}


/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}


/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}


/* --- Typography — exakt wie Original --- */
h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;       /* Original: H1 = Source Sans Pro, weight 400 */
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 0.625rem;
}

h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;     /* 20px wie Original */
  font-weight: 700;       /* Original: H2 = Open Sans bold */
  line-height: 1.5;
  color: var(--green);
  margin-bottom: 0.625rem;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;     /* 20px wie Original */
  font-weight: 400;       /* Original: H3 = Open Sans normal */
  line-height: 1.5;
  color: var(--green);
  margin-top: 1.875rem;   /* Original: ~30px */
  margin-bottom: 0.625rem;
}
h3:first-child,
h2 + h3 { margin-top: 0; }

h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--green);
  margin-bottom: 0.625rem;
}

@media (min-width: 768px) {
  h1 { font-size: 2.3125rem; } /* 37px wie Original */
  h2 { font-size: 1.25rem; }
}

p { margin-bottom: 2rem; }         /* Original: 32px */
p:last-child { margin-bottom: 0; }


/* ==========================================================================
   HEADER — weißer Hintergrund wie Original
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration),
              box-shadow var(--duration);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--duration);
}
.logo:hover { opacity: 0.85; }

.logo-img {
  width: 200px;        /* exakt wie Original */
  height: auto;
  max-width: 200px;
}

/* Desktop Nav — wie Original: Open Sans, 600, grau */
.nav-list {
  display: none;
  gap: 0.5rem;
}

.nav-list a {
  display: block;
  padding: 0.875rem;      /* 13.8px wie Original */
  font-size: 1.4375rem;   /* 23px wie Original */
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--duration);
}
.nav-list a:hover {
  color: var(--green);
}
.nav-list a[aria-current="page"] {
  color: var(--green);
}

@media (min-width: 768px) {
  .nav-list { display: flex; }
  .nav-toggle { display: none !important; }
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
}

.nav-toggle-icon {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--text-color);
  border-radius: 2px;
  transition: background var(--duration);
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-color);
  border-radius: 2px;
  transition: transform var(--duration);
}
.nav-toggle-icon::before { transform: translateY(-7px); }
.nav-toggle-icon::after  { transform: translateY(7px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 1rem var(--container-pad) 1.5rem;
}
.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--duration);
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav a[aria-current="page"] {
  color: var(--green);
}

.mobile-nav-cta {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--orange);
  border-radius: var(--radius);
  transition: background var(--duration);
}
.mobile-nav-cta:hover {
  background: var(--orange-dark);
  color: #fff;
}

@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}


/* ==========================================================================
   FOOTER — minimal wie Original
   ========================================================================== */
.site-footer {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 1.0625rem;         /* 17px wie Original */
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--text-muted);
  transition: color var(--duration);
}
.site-footer a:hover { color: var(--green); }

.footer-separator {
  margin: 0 0.25rem;
}


/* ==========================================================================
   BUTTONS — wie Original: 3px Radius, Orange CTA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--duration), color var(--duration), box-shadow var(--duration);
  text-decoration: none;
  cursor: pointer;
}

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

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
}
.btn-outline:hover {
  background: var(--bg-light);
  color: var(--green);
  border-color: var(--green);
}

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

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}


/* ==========================================================================
   SECTIONS & SPACING
   ========================================================================== */
.section {
  padding: 3rem 0 1.5rem;      /* Standard: 48px/24px wie Original */
}

.section.bg-gradient {
  padding: 5rem 0;              /* Original bg-gradient: 81px/80px */
}

.section--md {
  padding: 4rem 0 3rem;         /* Mehr Luft für Text-Sektionen */
}

.section--lg {
  padding: 5rem 0;             /* Große Sektionen: 80px wie Original */
}

.section--xl {
  padding: 8rem 0;             /* FAQ-Sektion: 128px wie Original */
}

.section--pb {
  padding-bottom: 4rem;           /* Nur unten mehr: 64px */
}

.section--highlight {
  padding: 3rem 0 4rem;
}

.section--service {
  padding: 8rem 0;                /* Original: 128px 24px */
}

.section-header {
  margin-bottom: 2rem;
}
.section-header p {
  margin-bottom: 0;
}

/* Kadence-Gradient-Overlay — wie Original */
.bg-gradient {
  position: relative;
}
.bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(18deg, rgba(219, 225, 225, 0.27) 55%, rgba(219, 225, 225, 0.4) 60%);
  pointer-events: none;
  z-index: 0;
}
.bg-gradient > .container {
  position: relative;
  z-index: 1;
}

.bg-subtle { background: var(--bg-subtle); }
.bg-light { background: var(--bg-light); }
.bg-green {
  background: var(--green);
  color: #fff;
}
.bg-green h2,
.bg-green h3,
.bg-green h4 { color: #fff; }
.bg-green a { color: #fff; text-decoration: underline; }
.bg-green a:hover { color: rgba(255,255,255,.8); }


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

.flow > * + * {
  margin-top: 0;             /* Spacing via element-eigene margins (p, h3) */
}

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


/* ==========================================================================
   HERO — wie Original: Text links, Bild rechts
   ========================================================================== */
.hero {
  padding: 5rem 0;            /* Original: 81px/80px */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;               /* Original: 32px */
  }
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.hero-lead:last-of-type {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--img-radius);
}


/* ==========================================================================
   TWO-COL LAYOUT
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem;           /* Original: 32px row, 80px column */
  }
}


/* ==========================================================================
   MEDIA + TEXT — Bild neben Text
   ========================================================================== */
.media-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .media-text {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem;           /* Original: 32px row, 80px column */
  }
  .media-text--reverse .media-text-image {
    order: -1;
  }
}

.media-text-image img {
  width: 100%;
  height: auto;
  border-radius: var(--img-radius);
}

.media-text-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0;           /* Override p margin */
  font-style: italic;
}


/* ==========================================================================
   HIGHLIGHT CARDS — weiße Karten mit Icon links, Text rechts (wie Original)
   ========================================================================== */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;                   /* Original: 32px */
  }
}

.highlight-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;              /* Original: 24px */
  background: var(--white);
  color: var(--text-color);
  border: 1px solid rgba(113, 128, 150, 0.27);
  border-radius: 1.25rem;       /* Original: 20px */
  box-shadow: #edf2f7 0 20px 9px -8px;
  text-decoration: none;
  transition: box-shadow var(--duration);
}
.highlight-card:hover {
  box-shadow: #edf2f7 0 20px 12px -6px;
  color: var(--text-color);
}

.highlight-card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
}
.highlight-card-icon img {
  width: 100%;
  height: 100%;
}

.highlight-card h3 {
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}


/* ==========================================================================
   SERVICE ICONS — 6er Reihe wie Original
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;                       /* Original: 32px */
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));  /* Original: 6 gleiche Spalten */
    gap: 2rem;                     /* Original: 32px */
  }
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;                     /* Original: 80px */
  height: 5rem;                    /* Original: 80px */
  margin: 0 auto 0.75rem;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item p {
  font-size: 0.875rem;            /* Original: ~14px */
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.service-item p strong {
  color: var(--text-color);
  font-weight: 600;
}


/* ==========================================================================
   GUTI SECTION — Single Column, Logo + Heading + Text (wie Original)
   ========================================================================== */
.guti-section {
  padding: 4rem 0 5rem;          /* Original: 64px 0 80px */
  text-align: center;            /* Original: alles zentriert */
}

.guti-logo {
  width: 200px;                   /* Original: 200px */
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.guti-section h3 {
  font-weight: 700;
  font-size: 1.5625rem;          /* Original: 25px */
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.guti-section p {
  margin-bottom: 0;
}


/* ==========================================================================
   CARD GRID — Ferienwohnungen-Übersicht
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--duration);
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

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

.card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-img img {
  transform: scale(1.03);
}

.card-body {
  padding: 1rem;
}
.card-body h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.card-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ==========================================================================
   FAQ ACCORDION — wie Original mit Toggle-Buttons
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 4rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-list {
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1.125rem;        /* Original: 18px */
  font-weight: 400;           /* Original: normal weight */
  color: #1a202c;             /* Original: rgb(26, 32, 44) — dunkel */
  cursor: pointer;
  list-style: none;
  text-align: left;
  transition: color var(--duration);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--green); }

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--duration);
}

details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-answer {
  padding-bottom: 1.25rem;
  line-height: 1.7;
}
.faq-answer p {
  margin-bottom: 0;
}


/* ==========================================================================
   FERIENWOHNUNGEN OVERVIEW — Cards wie Original
   ========================================================================== */
.fewo-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .fewo-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.fewo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration);
}
.fewo-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  color: inherit;
}

.fewo-card-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--img-radius);
  margin-bottom: 1.25rem;
}
.fewo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.fewo-card:hover .fewo-card-image img {
  transform: scale(1.03);
}

.fewo-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1rem;
  margin-top: 0;
}

.fewo-card-btn {
  margin-top: auto;
}


/* ==========================================================================
   FEATURE LIST — Übersichts-Seite Bullet-Liste mit Pfeilen
   ========================================================================== */
.feature-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.feature-arrow {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  color: var(--orange);
}


/* ==========================================================================
   GALLERY — Grid mit Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-item {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--img-radius);
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--bg-subtle);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}


/* ==========================================================================
   LIGHTBOX — Vollbild-Overlay für Galerie
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.9);
  z-index: 200;
}
.lightbox::backdrop {
  background: transparent;
}

.lightbox-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
  transition: opacity 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
}
.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}
.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
}


/* ==========================================================================
   BOOKING FORM — wie Original: Labels oben, grüner Submit
   ========================================================================== */
.container--narrow {
  max-width: 780px;
}

.booking-form {
  margin-top: 2rem;
  padding: 2rem;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: var(--img-radius);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.required {
  color: #e53e3e;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--duration);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 142, 54, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-group--checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--green);
}
.form-group--checkbox label {
  font-weight: 400;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.0625rem;
}


/* ==========================================================================
   CONTACT GRID — Form links, Info rechts
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.contact-info address {
  font-style: normal;
}
.contact-info h3 {
  margin-top: 2rem;
}


/* ==========================================================================
   SERVICE DETAIL GRID — Icons mit Text
   ========================================================================== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
}

.service-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--green);
}
.service-detail-icon img,
.service-detail-icon svg {
  width: 100%;
  height: 100%;
}

.service-detail-item h2 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.service-detail-item p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}


/* ==========================================================================
   CONTENT LIST — Listen mit Aufzählungszeichen
   ========================================================================== */
.content-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.content-list li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.content-list li:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   LEGAL PAGES — Impressum, Datenschutz
   ========================================================================== */
.legal-page h1 {
  margin-bottom: 2rem;
}
.legal-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.legal-page h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.legal-page h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.375rem;
}
.legal-page p {
  margin-bottom: 1rem;
}
.legal-page p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   SLIDER / CAROUSEL
   ========================================================================== */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-subtle);
}
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
.slider-slide {
  min-width: 100%;
  position: relative;
}
.slider-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--duration), transform var(--duration);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.slider-btn--prev { left: 0.75rem; }
.slider-btn--next { right: 0.75rem; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background var(--duration);
}
.slider-dot.is-active {
  background: var(--green);
}

@media (min-width: 768px) {
  .slider-slide img {
    height: 480px;
  }
}
