/* =====================================================================
   Zahnarztpraxis Patricia Kämmerer — Design System
   Marke: Königsblau #004899 (aus Logo) · ruhig, klar, vertrauensvoll
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue-900: #002a5c;
  --blue-800: #003a7a;
  --blue-700: #004899;   /* Primärblau (Logo) */
  --blue-600: #0057b8;
  --blue-500: #1f6fd6;
  --sky-500:  #2aa7e0;   /* heller Akzent (Logo-Herz) */
  --sky-100:  #e6f2fb;

  /* Neutrals (leicht kühl-blau getönt, nicht warm-cream) */
  --ink:      #14202e;
  --ink-soft: #384656;
  --muted:    #5c6b7d;
  --line:     #e4e9f0;
  --surface:  #ffffff;
  --bg:       #f6f9fc;
  --bg-tint:  #eef4fb;

  /* Effekte */
  --shadow-sm: 0 1px 2px rgba(20,32,46,.05), 0 2px 8px rgba(20,32,46,.04);
  --shadow-md: 0 10px 30px -12px rgba(0,72,153,.18);
  --shadow-lg: 0 30px 60px -24px rgba(0,72,153,.28);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tint { background: var(--bg-tint); }
.section--blue { background: linear-gradient(160deg, var(--blue-800), var(--blue-700) 55%, var(--blue-600)); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sky-500); border-radius: 2px; }
.section--blue .eyebrow { color: #bfe0f6; }
.section--blue .eyebrow::before { background: var(--sky-500); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; max-width: 60ch; }
.section--blue .section-head p { color: #cfe3f6; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 15px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn i { font-size: 1.15em; transition: transform .2s var(--ease); }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--blue-800); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary:hover i { transform: translateX(3px); }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,72,153,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .96rem; color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-700); background: var(--sky-100); }
.nav-links .caret { font-size: .8rem; opacity: .6; transition: transform .2s var(--ease); }
.has-drop:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.drop a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; }
.drop a i { color: var(--blue-700); font-size: 1.2rem; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* Mobile nav */
.nav-toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--blue-700); align-items: center; justify-content: center; font-size: 1.5rem;
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 28px; box-shadow: var(--shadow-lg);
    display: grid; gap: 4px; z-index: 99;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-menu a { padding: 14px 12px; border-radius: 12px; font-weight: 600; color: var(--ink-soft); }
  .mobile-menu a:hover { background: var(--sky-100); color: var(--blue-700); }
  .mobile-menu .sub { padding-left: 18px; font-size: .95rem; color: var(--muted); }
  .mobile-menu .mm-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 14px 12px 4px; font-weight: 700; }
  .mobile-menu .btn { margin-top: 12px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 12%, var(--sky-100), transparent 70%),
    radial-gradient(50% 60% at 8% 90%, #eaf1fb, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--blue-700); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--ink-soft); margin-top: 22px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-meta .item { display: flex; align-items: center; gap: 12px; }
.hero-meta .item i { font-size: 1.5rem; color: var(--blue-700); background: var(--sky-100); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.hero-meta .item b { display: block; font-size: .98rem; }
.hero-meta .item span { font-size: .84rem; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: var(--bg-tint);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: -22px; bottom: 34px;
  background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; max-width: 260px; border: 1px solid var(--line);
}
.hero-card .ring { width: 46px; height: 46px; border-radius: 50%; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.hero-card b { display: block; font-size: 1.35rem; color: var(--blue-700); line-height: 1.1; }
.hero-card span { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.hero-badge {
  position: absolute; top: 22px; right: -14px; background: var(--blue-700); color: #fff;
  border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 34px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item i { font-size: 1.8rem; color: var(--blue-700); }
.trust-item b { display: block; font-size: 1.05rem; }
.trust-item span { font-size: .86rem; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--sky-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 6px; }
.service-card h3 { font-size: 1.28rem; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-card .more { margin-top: auto; padding-top: 12px; color: var(--blue-700); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more i { transform: translateX(4px); }
.service-card .more i { transition: transform .2s var(--ease); }

/* ---------- Split (about / feature) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5/4; object-fit: cover; background: var(--bg-tint); }
.split-media.contain img { object-fit: contain; background: #fff; padding: 24px; border: 1px solid var(--line); }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.split .lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.split p + p { margin-top: 16px; color: var(--muted); }
.signature { margin-top: 26px; font-weight: 700; color: var(--blue-700); }
.signature span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }

/* Feature list */
.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list i { color: var(--blue-700); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feature-list b { display: block; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Why us (blue section) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--ease), background .3s var(--ease); }
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.why-card i { font-size: 2rem; color: #fff; background: rgba(255,255,255,.14); width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { color: #cfe3f6; font-size: .96rem; }

/* ---------- Invisalign gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1; background: var(--bg-tint); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-body { padding: 20px 22px; }
.team-body h3 { font-size: 1.18rem; }
.team-body .role { color: var(--blue-700); font-size: .9rem; font-weight: 600; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-inner p { color: #cfe3f6; margin-top: 14px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 820px){ .cta-actions{ justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.info-item i { font-size: 1.5rem; color: var(--blue-700); background: var(--sky-100); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.info-item .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-item a, .info-item p { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.info-item a:hover { color: var(--blue-700); }

.hours-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table th { text-align: left; background: var(--bg-tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-700); padding: 14px 20px; }
.hours-table td { padding: 14px 20px; border-top: 1px solid var(--line); font-size: .98rem; }
.hours-table td:first-child { font-weight: 700; width: 90px; }
.hours-table tr:hover td { background: var(--sky-100); }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--sky-100); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form .consent { font-size: .82rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.form .consent input { margin-top: 3px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 10%, var(--sky-100), transparent 70%), var(--bg-tint); }
.page-hero .crumbs { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: var(--blue-700); }
.page-hero .crumbs i { font-size: .8rem; }
.page-hero .icon-badge { width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--blue-700); display: grid; place-items: center; font-size: 2.4rem; box-shadow: var(--shadow-md); margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); font-size: 1.15rem; margin-top: 16px; max-width: 62ch; }

/* ---------- Prose / content blocks ---------- */
.content-blocks { display: grid; gap: clamp(24px, 3vw, 40px); }
.content-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
}
.content-block .cb-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; font-size: 2rem; }
.content-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.content-block p { color: var(--ink-soft); margin-top: 14px; }
.content-block p + p { margin-top: 14px; color: var(--muted); }
.content-block .cb-body > *:first-child { margin-top: 0; }

/* Aside contact card on subpages */
.subpage-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* ---------- Timeline (Praxis-Geschichte) ---------- */
.timeline { position: relative; display: grid; gap: 4px; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 58px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 8px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-700); display: grid; place-items: center; }
.tl-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-700); }
.tl-item.now .tl-dot { background: var(--blue-700); box-shadow: 0 0 0 5px var(--sky-100); }
.tl-item.now .tl-dot::after { background: #fff; }
.tl-year { font-weight: 800; color: var(--blue-700); font-size: .95rem; letter-spacing: .02em; }
.tl-item h3 { font-size: 1.16rem; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size: .98rem; }
.tl-item p em { color: var(--ink-soft); font-style: italic; }

.form-note { font-size: .9rem; color: var(--blue-700); margin-top: 14px; font-weight: 600; }
.quote-block { position: relative; background: var(--sky-100); border-radius: var(--radius); padding: 26px 28px 22px; margin-top: 18px; font-style: italic; color: var(--ink-soft); }
.quote-block::before { content: "\201C"; position: absolute; top: 6px; left: 18px; font-size: 3rem; line-height: 1; color: var(--blue-500); opacity: .35; font-family: Georgia, serif; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p { color: var(--ink-soft); margin-bottom: 12px; }
.legal a { color: var(--blue-700); font-weight: 600; }
.legal .note { background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e2; padding-block: clamp(52px, 6vw, 84px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 52px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 20px; background: #fff; padding: 10px 14px; border-radius: 12px; }
.footer-brand p { font-size: .95rem; color: #94a3b8; max-width: 36ch; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: .95rem; color: #94a3b8; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col .fi { display: flex; gap: 11px; align-items: flex-start; line-height: 1.5; }
.footer-col .fi i { color: var(--sky-500); margin-top: 2px; font-size: 1.1rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .86rem; color: #7b899c; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: #94a3b8; transition: color .2s var(--ease); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Cookie-Consent ---------- */
.consent-backdrop {
  position: fixed; inset: 0; z-index: 3000; background: rgba(10, 22, 38, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center; padding: clamp(12px, 3vw, 28px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.consent-backdrop.open { opacity: 1; visibility: visible; }
.consent {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 560px; padding: clamp(22px, 3vw, 32px);
  transform: translateY(16px); transition: transform .32s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.consent-backdrop.open .consent { transform: translateY(0); }
.consent-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 16px; }
.consent h2 { font-size: 1.3rem; margin-bottom: 10px; }
.consent > p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
.consent > p a { color: var(--blue-700); font-weight: 600; }
.consent-options { display: grid; gap: 10px; margin: 20px 0; }
.consent-opt {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
.consent-opt.locked { opacity: .85; }
.consent-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-700); flex-shrink: 0; }
.consent-opt .cx-title { font-weight: 700; font-size: .96rem; }
.consent-opt .cx-desc { font-size: .84rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.consent-opt .cx-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-700); background: var(--sky-100); padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { justify-content: center; padding: 13px 18px; font-size: .94rem; }
.consent-actions .full { grid-column: 1 / -1; }
.consent-links { margin-top: 16px; font-size: .8rem; color: var(--muted); text-align: center; }
.consent-links a { color: var(--blue-700); font-weight: 600; }
.consent-toggle-details { background: none; border: none; color: var(--blue-700); font-weight: 700; font-size: .9rem; padding: 4px 0; margin-top: 4px; text-decoration: underline; }
.consent[data-view="simple"] .consent-options { display: none; }
.consent[data-view="detailed"] .consent-intro-actions { display: none; }

/* Consent-Platzhalter (z. B. Karte) */
.consent-placeholder {
  display: grid; place-items: center; text-align: center; gap: 12px;
  background: var(--bg-tint); border: 1px dashed var(--border, var(--line)); border-radius: var(--radius-lg);
  padding: 40px 24px; color: var(--muted);
}
.consent-placeholder i { font-size: 2.4rem; color: var(--blue-700); }
.consent-placeholder p { max-width: 42ch; font-size: .95rem; }

@media (max-width: 520px) {
  .consent-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-backdrop, .consent { transition: none; }
  .consent { transform: none; }
}

/* ---------- Lightbox (Bilder vergrößern) ---------- */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 22, 38, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 90vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  transform: scale(.96); transition: transform .28s var(--ease); object-fit: contain; background: #fff;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center; font-size: 1.5rem; transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.26); transform: scale(1.06); }
.lightbox-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
  .lightbox img { transform: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .split, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cta-actions { justify-content: flex-start; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .services-grid, .why-grid, .gallery, .team-grid, .field-row { grid-template-columns: 1fr; }
  .content-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { left: 0; }
  .hero-badge { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .team-card, .why-card { transition: none; }
}
