/* ==========================================================================
   Hotel & Pension Putze — Design System (Apple HIG-inspired, WCAG 2.2 AA)
   Zero external fonts, zero trackers, light & dark mode, reduced-motion safe
   ========================================================================== */

:root {
  /* Typography — Apple System Stack */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;

  /* Surfaces (Light Mode) */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #ececef;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-glass-strong: rgba(255, 255, 255, 0.92);

  /* Ink & Text (WCAG AAA/AA compliant on light surfaces) */
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-tertiary: #6e6e73;

  /* Brand Accent — inspired by Pension Putze's signature crimson canopy */
  --accent: #9e2a2b;
  --accent-hover: #7f1d1d;
  --accent-soft: rgba(158, 42, 43, 0.1);
  --accent-text: #8c2324;
  --on-accent: #ffffff;

  /* Borders & Focus */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --focus-ring: #0071e3;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1120px;
  --header-height: 64px;
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 240ms;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary: #000000;
    --bg-secondary: #161617;
    --bg-tertiary: #232325;
    --bg-elevated: #1c1c1e;
    --bg-glass: rgba(22, 22, 23, 0.78);
    --bg-glass-strong: rgba(28, 28, 30, 0.94);

    --text-primary: #f5f5f7;
    --text-secondary: #c7c7cc;
    --text-tertiary: #98989d;

    --accent: #c43235;
    --accent-hover: #ad282b;
    --accent-soft: rgba(217, 76, 78, 0.18);
    --accent-text: #ff8587;
    --on-accent: #ffffff;

    --border-subtle: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.22);
    --focus-ring: #2997ff;

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
  }
}

:root[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #161617;
  --bg-tertiary: #232325;
  --bg-elevated: #1c1c1e;
  --bg-glass: rgba(22, 22, 23, 0.78);
  --bg-glass-strong: rgba(28, 28, 30, 0.94);

  --text-primary: #f5f5f7;
  --text-secondary: #c7c7cc;
  --text-tertiary: #98989d;

  --accent: #c43235;
  --accent-hover: #ad282b;
  --accent-soft: rgba(217, 76, 78, 0.18);
  --accent-text: #ff8587;
  --on-accent: #ffffff;

  --border-subtle: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.22);
  --focus-ring: #2997ff;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
}

@media (prefers-contrast: more) {
  :root {
    --border-subtle: rgba(0, 0, 0, 0.35);
    --border-strong: rgba(0, 0, 0, 0.6);
    --text-secondary: #1d1d1f;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-text);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease-apple);
}

a:hover {
  color: var(--accent-hover);
}

/* Accessible Focus Ring (WCAG 2.2 AA) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: top 160ms var(--ease-apple);
}

.skip-link:focus {
  top: 16px;
  color: var(--bg-primary);
}

/* Screen-reader only utility */
.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;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container--narrow {
  max-width: 780px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  letter-spacing: -0.032em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ==========================================================================
   Header & Navigation (Apple Frosted Glass Bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.brand:hover {
  color: var(--text-primary);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--duration) var(--ease-apple), background-color var(--duration) var(--ease-apple);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--duration) var(--ease-apple), border-color var(--duration) var(--ease-apple);
}

.icon-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--border-strong);
}

.menu-toggle {
  display: inline-flex;
}

@media (min-width: 920px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  background: var(--bg-glass-strong);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.mobile-nav-list a:hover {
  background: var(--bg-secondary);
}

.mobile-nav-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Buttons (Apple Pill Controls, min 44px touch target)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-apple), background-color var(--duration) var(--ease-apple), border-color var(--duration) var(--ease-apple), color var(--duration) var(--ease-apple), box-shadow var(--duration) var(--ease-apple);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn--secondary:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn--sm {
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-size: 0.9375rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(460px, 64vh, 620px);
  display: flex;
  align-items: flex-end;
  background-color: #1d1d1f;
  box-shadow: var(--shadow-lg);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 12, 14, 0.88) 0%,
    rgba(12, 12, 14, 0.56) 48%,
    rgba(12, 12, 14, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

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

.hero-content .hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
  max-width: 60ch;
}

/* Quick Facts Strip */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.fact-tile {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.fact-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sections & Surfaces
   ========================================================================== */
.section {
  padding-block: var(--section-py);
}

.section--alt {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}

/* Split Layout */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split--reverse .split-media {
    order: -1;
  }
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--bg-tertiary);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.media-caption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Bento Highlights Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section--alt .bento-card {
  background: var(--bg-elevated);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ==========================================================================
   Rooms Showcase
   ========================================================================== */
.rooms-grid {
  display: grid;
  gap: 1.75rem;
}

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

.room-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.room-media {
  position: relative;
  background: var(--bg-tertiary);
}

.room-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.room-count-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, 0.84);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.room-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-body h3 {
  margin-bottom: 0.6rem;
}

.room-variants {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.variant-box {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.variant-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.variant-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  white-space: nowrap;
}

.variant-box p {
  font-size: 0.875rem;
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.55rem 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-text);
}

.room-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

/* Included Amenities Banner */
.amenities-panel {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.amenities-panel h3 {
  margin-bottom: 1rem;
}

.amenities-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.amenities-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   Gallery & Accessible Native Dialog Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.gallery-trigger img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 350ms var(--ease-apple);
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

dialog.lightbox {
  max-width: min(92vw, 980px);
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lightbox-stage {
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.lightbox-stage img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.lightbox-caption {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Location & DSGVO 2-Click Map
   ========================================================================== */
.distances-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.distances-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.distance-place {
  font-weight: 600;
  color: var(--text-primary);
}

.distance-km {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent-text);
  white-space: nowrap;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.map-placeholder {
  flex: 1;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 85% 20%, var(--accent-soft), transparent 48%),
    var(--bg-elevated);
}

.map-privacy-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.map-embed-wrap {
  width: 100%;
  height: 380px;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   Contact & Inquiry Assistant (Zero-Backend mailto Composer)
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.contact-card,
.inquiry-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-list strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-list a:hover {
  color: var(--accent-text);
}

/* Form Controls */
.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration) var(--ease-apple), background-color var(--duration) var(--ease-apple);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--focus-ring);
  background: var(--bg-elevated);
}

.form-hint {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent-text);
  min-height: 1.4em;
}

/* ==========================================================================
   Legal & Subpages
   ========================================================================== */
.page-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prose {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose ul {
  color: var(--text-secondary);
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.legal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-block: 3rem 2.25rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Reduced Motion (WCAG 2.2 / Apple HIG)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
