/* ==========================================================================
   Lingo House DACH – Strict Specification Stylesheet (v2)
   Approved Palette ONLY:
     Navy:      #0B2A4A
     Blue:      #1D5FA7
     White:     #FFFFFF
     Surface:   #F4F7FB
     Alert:     #B91C1C (single alert tone only)
   Typography: Sans-Serif only, Body >= 16px, Line-height 1.6
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Strict Client Palette */
  --navy: #0B2A4A;
  --blue: #1D5FA7;
  --white: #FFFFFF;
  --surface: #F4F7FB;
  --alert: #B91C1C;
  --alert-bg: rgba(185, 28, 28, 0.08);

  /* Tints derived strictly from Navy & Blue */
  --ink-body: rgba(11, 42, 74, 0.86);
  --ink-muted: rgba(11, 42, 74, 0.68);
  --border: rgba(11, 42, 74, 0.14);
  --border-strong: rgba(11, 42, 74, 0.28);
  --blue-tint: rgba(29, 95, 167, 0.08);
  --blue-border: rgba(29, 95, 167, 0.26);

  /* Concentric Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(11, 42, 74, 0.05);
  --shadow-md: 0 10px 28px -10px rgba(11, 42, 74, 0.12);

  /* Layout & Timing */
  --container-max: 1180px;
  --container-narrow: 860px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem; /* >= 16px */
  line-height: 1.6;
  color: var(--ink-body);
  background-color: var(--white);
  padding-top: var(--header-h);
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.admin-bar {
  padding-top: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar {
    padding-top: calc(var(--header-h) + 46px);
  }
}

.site-main {
  flex: 1 0 auto;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.lh-hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Containers & Alternating Sections (#FFFFFF / #F4F7FB) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.25rem);
}

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

.section--surface {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

/* Headings & Editorial Copy */
.section-header {
  max-width: 760px;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section-heading--light {
  color: var(--white);
}

.section-lead {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-body);
  text-wrap: pretty;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  padding-block: clamp(3rem, 5vw, 4.25rem);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Buttons (WCAG AA compliant) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
  text-align: center;
  transition-property: background-color, border-color, color, transform;
  transition-duration: var(--dur-fast);
  transition-timing-function: var(--ease-out);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* Primary: #1D5FA7 on white (#FFFFFF text -> contrast 6.57:1 WCAG AA) */
.btn--primary {
  background-color: var(--blue);
  color: var(--white);
}

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

.btn--primary:active {
  transform: scale(0.985);
}

/* White button for Navy CTA section (#0B2A4A text on #FFFFFF -> contrast 14.1:1) */
.btn--light {
  background-color: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background-color: var(--surface);
}

/* Text link button without filled background */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition-property: color;
  transition-duration: var(--dur-fast);
}

.text-link:hover {
  color: var(--navy);
}

/* ==========================================================================
   Fixed Header (Logo + Max 5 Items + 1 Visible CTA Button on Desktop & Mobile)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo-img {
  height: 36px;
  width: auto;
}

@media (min-width: 480px) {
  .brand-logo-img {
    height: 44px;
  }
}

.primary-nav {
  display: none;
}

.primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding-block: 0.4rem;
  white-space: nowrap;
  transition-property: color;
  transition-duration: var(--dur-fast);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

/* Keep CTA visible on mobile starting 360px! */
.header-cta {
  display: inline-flex;
  min-height: 38px;
  padding: 0.4rem 0.68rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .header-cta {
    min-height: 42px;
    padding: 0.5rem 1.05rem;
    font-size: 0.9375rem;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding-block: 1rem 1.5rem;
  z-index: 99;
}

body.admin-bar .mobile-drawer {
  top: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .mobile-drawer {
    top: calc(var(--header-h) + 46px);
  }
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu-list a {
  display: block;
  padding: 0.8rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--surface);
}

.mobile-menu-list li:last-child a {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: block;
  }
  .mobile-menu-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background-color: var(--white);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 820px;
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 720px;
  text-wrap: pretty;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-bottom: 1.35rem;
}

.hero-dsgvo-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.hero-dsgvo-icon {
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Card Grids (Pilot, Services, Industries, Why Us)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.section--white .card {
  background-color: var(--surface);
}

.card--white {
  background-color: var(--white) !important;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--blue-tint);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.55rem;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-body);
  text-wrap: pretty;
}

.card-example {
  margin-top: 0.65rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-body);
}

.section-footer-link {
  margin-top: 1.75rem;
}

/* ==========================================================================
   Workflow Diagram (3 Circles Connected by Arrows) + 3 Numbered Steps
   ========================================================================== */
.workflow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.workflow-circle-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--blue);
  color: var(--navy);
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.workflow-circle-icon {
  color: var(--blue);
  display: inline-flex;
}

.workflow-circle-word {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.workflow-arrow {
  color: var(--blue);
  display: inline-flex;
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .workflow-diagram {
    flex-direction: row;
    gap: 1.5rem;
    padding: 2rem;
  }
  .workflow-arrow {
    transform: none;
  }
}

.step-card {
  padding: 1.5rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

/* ==========================================================================
   Section 6: Calculation Factors + Flexible "Beispiel" Formula Calculator
   ========================================================================== */
.calc-note-bar {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.calc-panel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 920px) {
  .calc-panel {
    grid-template-columns: 1.2fr 0.95fr;
    align-items: stretch;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.calc-badge {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill);
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  align-self: flex-start;
}

.calc-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.calc-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.calc-label-row .calc-label {
  margin-bottom: 0;
}

.calc-value-pill {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  color: var(--blue);
  background-color: var(--surface);
  border: 1px solid var(--blue-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.calc-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--slider-pct, 10%), var(--border-strong) var(--slider-pct, 10%), var(--border-strong) 100%);
  outline: none;
  cursor: pointer;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 0 2px 6px rgba(11, 42, 74, 0.25);
  cursor: pointer;
}

.calc-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  cursor: pointer;
}

.calc-scale-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.calc-options-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.calc-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition-property: border-color, background-color, color;
  transition-duration: var(--dur-fast);
}

.calc-option-btn:hover {
  border-color: var(--blue);
}

.calc-option-btn.is-active {
  background-color: var(--blue-tint);
  border-color: var(--blue);
  color: var(--navy);
}

.calc-option-factor {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-result-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.calc-formula-box {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--white);
  overflow-wrap: break-word;
}

.calc-metrics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.calc-metric-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-metric-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.calc-metric-val {
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.calc-metric-val--highlight {
  font-size: 1.55rem;
}

.calc-disclaimer {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   FAQ Accordion (One Question Per Row)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 880px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.section--white .faq-item {
  background-color: var(--surface);
}

.faq-trigger {
  width: 100%;
  min-height: 54px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--blue);
  transition-property: transform;
  transition-duration: var(--dur-fast);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 1.25rem 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-body);
}

/* ==========================================================================
   Bottom Navy CTA Strip
   ========================================================================== */
.bottom-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .bottom-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bottom-cta-copy {
  max-width: 680px;
}

/* ==========================================================================
   Subpages (Leistungen, Über uns, Erstgespräch buchen, Legal)
   ========================================================================== */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-body);
}

.info-list-icon {
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
}

/* Booking Form (9 Ordered Fields) & Direct Contact */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .booking-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.booking-form-card,
.booking-sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .booking-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-field--full {
    grid-column: 1 / -1;
  }
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--navy);
  background-color: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-body);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.consent-label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.form-feedback.is-success {
  background-color: var(--surface);
  color: var(--navy);
  border-color: var(--blue);
}

.form-feedback.is-error {
  background-color: var(--alert-bg);
  color: var(--alert);
  border-color: var(--alert);
}

.direct-contact-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.direct-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

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

.contact-item-card {
  padding: 1.1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 0;
  overflow-wrap: break-word;
}

.contact-item-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-item-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-word;
}

.contact-item-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.booking-widget-inner {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  padding: 1.5rem;
  text-align: center;
}

.booking-widget-inner.is-loaded {
  display: block;
  padding: 0;
  border-style: solid;
  background-color: var(--white);
  overflow: hidden;
}

.booking-iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer & Legal Content
   ========================================================================== */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding-block: 2.75rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-meta-col {
    text-align: right;
  }
}

.footer-tagline {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer-legal-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 820px) {
  .footer-legal-list {
    justify-content: flex-end;
  }
}

.footer-legal-list a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition-property: color;
  transition-duration: var(--dur-fast);
}

.footer-legal-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copyright {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Legal Inner Pages */
.legal-updated {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--ink-muted);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
}

.legal-content p,
.legal-content ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--ink-body);
}

.legal-content ul {
  padding-left: 1.35rem;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
