/* =============================================================
   Kinder- & Jugendarztpraxis Dr. Lindenmaier & Dr. Porsche
   styles.css — Mobile First, DSGVO-freundlich (lokale Schriften)
   ============================================================= */

/* ---------- Lokale Schriften (keine externen CDNs) ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/figtree-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/figtree-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/figtree-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/figtree-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/notosans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/notosans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/notosans-700.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  /* Farbwelt: vertrauensvolles Medizin-Blau + warmer Akzent */
  --brand-50:  #eaf3fb;
  --brand-100: #d3e6f7;
  --brand-300: #7cb8e6;
  --brand-500: #2b8fd6;
  --brand-600: #1c74c9;
  --brand-700: #14568f;
  --brand-800: #103f68;

  --teal-500:  #14a89a;
  --teal-600:  #0e8a7e;

  --accent-400: #ff9a63;
  --accent-500: #ff7a4c;
  --accent-600: #ef5f32;

  --ink:       #10233b;
  --ink-soft:  #33475e;
  --muted:     #5a6b7f;
  --bg:        #f6f9fc;
  --surface:   #ffffff;
  --surface-2: #f1f6fb;
  --border:    #e2e9f1;
  --border-strong: #cfdcea;

  --ok:        #1f9d57;
  --danger:    #d64545;

  --wowobot:   #22b8e0;

  /* Typo */
  --font-head: 'Figtree', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Radius & Schatten */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 35, 59, 0.06), 0 2px 6px rgba(16, 35, 59, 0.05);
  --shadow-md: 0 6px 18px rgba(16, 35, 59, 0.08), 0 2px 6px rgba(16, 35, 59, 0.05);
  --shadow-lg: 0 18px 48px rgba(16, 35, 59, 0.12), 0 6px 16px rgba(16, 35, 59, 0.06);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: var(--brand-700);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
}

h2.section-title {
  font-size: clamp(1.75rem, 4.4vw, 2.6rem);
}
.section-head p.lead {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-align: center;
  line-height: 1.1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 116, 201, 0.28);
}
.btn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 12px 26px rgba(28, 116, 201, 0.34); }

.btn--accent {
  background: var(--accent-500);
  color: #43210f;
  box-shadow: 0 8px 20px rgba(255, 122, 76, 0.3);
}
.btn--accent:hover { background: var(--accent-600); color: #fff; }

.btn--ghost {
  background: var(--surface);
  color: var(--brand-700);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }

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

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}
.brand:hover { color: var(--ink); }
.brand__logo { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 1.02rem; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }

.nav__links { display: none; }
.nav__cta { display: none; }

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}
.nav__list a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__list a:hover { color: var(--brand-700); background: var(--brand-50); }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: var(--surface);
  padding: 1.5rem var(--gutter) 2.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu a.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.mobile-link:hover { color: var(--brand-600); }
.mobile-menu a.mobile-link svg { width: 20px; height: 20px; color: var(--brand-300); }
.mobile-menu .btn { margin-top: 1.4rem; }
.mobile-menu__contact {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
.mobile-menu__contact a { font-weight: 600; }

.scroll-lock { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 85% 8%, rgba(43, 143, 214, 0.14), transparent 70%),
    radial-gradient(50% 50% at 8% 90%, rgba(20, 168, 154, 0.12), transparent 70%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.95rem 0.45rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-family: var(--font-head);
  margin-bottom: 1.4rem;
}
.hero__badge .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-500);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__badge .dot svg { width: 15px; height: 15px; color: #fff; }

.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
  letter-spacing: -0.025em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand-600), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34ch;
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero__facts {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  max-width: 460px;
}
.hero__fact { display: flex; flex-direction: column; }
.hero__fact b {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--brand-700);
  line-height: 1;
}
.hero__fact span { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(16, 35, 59, 0.12)); }

/* ---------- Trust bar ---------- */
.trust {
  margin-top: clamp(2rem, 5vw, 3rem);
}
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.trust__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__item b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 0.98rem; }
.trust__item span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-50), #e4f5f1);
  color: var(--brand-600);
  margin-bottom: 1.1rem;
}
.service-card__icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.16rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--muted); }
.service-card .badge-new {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #43210f;
  background: var(--accent-400);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__text p { color: var(--ink-soft); }
.about__text p + p { margin-top: 1rem; }
.about__list {
  list-style: none;
  padding: 0;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.85rem;
}
.about__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.about__list svg {
  flex: none;
  width: 24px; height: 24px;
  color: var(--teal-600);
  margin-top: 1px;
}

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--teal-500));
  box-shadow: 0 8px 18px rgba(28, 116, 201, 0.25);
}
.team-card--staff .team-card__avatar {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
}
.team-card h3 { font-size: 1.08rem; }
.team-card .role { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }

/* ---------- Why us ---------- */
.why {
  color: #eaf3fb;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(20, 168, 154, 0.35), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-700));
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 6vw, 4rem);
  box-shadow: var(--shadow-lg);
}
.why .section-head { margin-bottom: 2.25rem; }
.why h2 { color: #fff; }
.why .lead { color: #c6ddf1; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.why__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why__num {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.why__num svg { width: 24px; height: 24px; }
.why__item h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.why__item p { color: #bcd6ec; font-size: 0.95rem; }

/* ---------- Process / Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step__n {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-600);
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Hours / Accordion (mobile-friendly) ---------- */
.hours-wrap {
  display: grid;
  gap: 1.1rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.15rem;
  padding: 1.3rem 1.4rem 0.4rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.75rem 1.4rem;
  font-size: 0.96rem;
  border-top: 1px solid var(--border);
}
.hours-table th { font-weight: 600; color: var(--ink); width: 38%; }
.hours-table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-table tr:first-of-type th, .hours-table tr:first-of-type td { border-top: none; }
.hours-table tr.is-today {
  background: var(--brand-50);
}
.hours-table tr.is-today th { color: var(--brand-700); }
.hours-note {
  padding: 1rem 1.4rem 1.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Accordion */
.accordion { display: grid; gap: 0.8rem; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.15rem 1.3rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  min-height: 44px;
}
.acc-trigger .chev {
  flex: none;
  width: 22px; height: 22px;
  color: var(--brand-500);
  transition: transform 0.3s var(--ease);
}
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc-panel[hidden] { display: grid; } /* keep grid animation; JS toggles aria/attr */
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel__inner {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
}
.acc-panel__inner > div { padding: 0 1.3rem 1.3rem; }
.acc-panel__inner p + p { margin-top: 0.7rem; }

/* Emergency callout */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff6f2;
  border: 1px solid #ffd9c9;
  border-left: 4px solid var(--accent-500);
  border-radius: var(--r-md);
  padding: 1.2rem 1.35rem;
}
.callout svg { flex: none; width: 26px; height: 26px; color: var(--accent-600); margin-top: 2px; }
.callout h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.callout p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Location ---------- */
.location__grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 260px;
}
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card__overlay {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.map-card__overlay b { font-family: var(--font-head); color: var(--ink); display: block; }
.map-card__overlay span { font-size: 0.88rem; color: var(--muted); }
.map-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.contact-info {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.contact-line svg { flex: none; width: 24px; height: 24px; color: var(--brand-600); margin-top: 2px; }
.contact-line .lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-line a, .contact-line b { font-family: var(--font-head); color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.contact-line a:hover { color: var(--brand-600); }

/* ---------- Contact form ---------- */
.contact__grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.5rem);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.field label .req { color: var(--accent-600); }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(43, 143, 214, 0.15);
}
.field .help { font-size: 0.8rem; color: var(--muted); }
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); background: #fdf3f3; }
.field .error-msg { font-size: 0.82rem; color: var(--danger); display: none; }
.field.has-error .error-msg { display: block; }

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}
.consent input[type="checkbox"] {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 1px;
  accent-color: var(--brand-600);
  cursor: pointer;
}
.consent label { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent.has-error { border-color: var(--danger); background: #fdf3f3; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #eaf7ef; color: #16663a; border: 1px solid #b9e4ca; }
.form-status.err { background: #fdf3f3; color: #a12a2a; border: 1px solid #f2c4c4; }

.contact-aside {
  align-content: start;
  display: grid;
  gap: 1rem;
}
.contact-aside .info-card { padding: 1.4rem; }
.contact-aside .info-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b7c4d3;
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8598ab; }
.footer__brand p { margin-top: 1rem; font-size: 0.9rem; color: #91a3b6; max-width: 34ch; }
.footer h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: #b7c4d3; font-size: 0.94rem; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 0.94rem; line-height: 1.7; color: #b7c4d3; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cdd8e4;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.socials a:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.footer__bar .copyright { font-size: 0.85rem; color: #8598ab; }
.powered {
  font-size: 0.9rem;
  color: #8598ab;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.powered a {
  color: var(--wowobot);
  font-weight: 700;
  font-family: var(--font-head);
}
.powered a:hover { color: var(--wowobot); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
}
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: 0.7rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal .placeholder {
  background: #fff8ec;
  border: 1px dashed #f0c674;
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  color: #8a5a12;
  font-size: 0.92rem;
  margin: 1rem 0 1.6rem;
}
.legal .back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 2rem; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* ============================================================
   Responsive — Mobile First scaling up
   ============================================================ */
@media (min-width: 600px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { min-width: 190px; }
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav__links { display: block; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 2.4rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .location__grid { grid-template-columns: 1.4fr 1fr; }
  .contact__grid { grid-template-columns: 1.3fr 1fr; }
  .hours-wrap { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
  .footer__bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .team__grid.team--staff { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .service-card:hover, .team-card:hover, .step:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .hero__media, .site-footer .socials, .burger { display: none; }
  body { background: #fff; color: #000; }
}
