/* ===========================================================
   MT Pflegeberatung Nord GbR — Modernes Stylesheet
   Marke: Blau (1:1 aus Original) + Marine/Türkis-Erweiterung
   Schriften: Fraunces (Display) · Plus Jakarta Sans (UI/Body)
   =========================================================== */

:root {
  /* Markenpalette */
  --brand-900: #0b3a5c;
  --brand-700: #0f5d8f;
  --brand: hsl(204.39, 79.49%, 38.24%);   /* Original-Primärblau */
  --brand-400: #3a9bd6;
  --brand-300: #8ec7e9;
  --teal: #14b8a6;
  --teal-soft: #d6f5f0;

  --ink: #122230;
  --muted: #586573;
  --line: rgba(18, 34, 48, .08);
  --bg: #f5f8fc;
  --bg-2: #eef4fa;
  --surface: #ffffff;
  --white: #ffffff;

  --maxw: 1280px;
  --pad: 5vw;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 34px;
  --r-xl: 44px;

  --shadow-sm: 0 2px 10px rgba(15, 50, 80, .06);
  --shadow: 0 14px 40px rgba(15, 50, 80, .10);
  --shadow-lg: 0 30px 70px rgba(12, 45, 75, .16);

  --grad: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 55%, var(--brand-400) 100%);
  --grad-soft: linear-gradient(135deg, #eaf3fb 0%, #eef9f7 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* dezente Farbverlauf-Blobs im Seitenhintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 110% -5%, rgba(58, 155, 214, .14), transparent 60%),
    radial-gradient(34rem 26rem at -10% 18%, rgba(20, 184, 166, .12), transparent 60%),
    radial-gradient(40rem 30rem at 50% 120%, rgba(15, 93, 143, .10), transparent 60%);
}

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -.015em;
}
h3, h4 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
a { color: var(--brand-700); text-decoration: none; transition: color .2s ease; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding: 6.5rem 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section--soft { background: var(--grad-soft); }
.section--blue { background: var(--grad); color: #fff; overflow: hidden; }
.section--blue h1, .section--blue h2, .section--blue h3, .section--blue h4 { color: #fff; }
.section--blue a { color: #fff; }
.section--blue::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(30rem 30rem at 85% -10%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--brand-700);
  background: rgba(17, 123, 191, .09);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.section--blue .eyebrow { color: #fff; background: rgba(255,255,255,.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: .98rem;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(17, 123, 191, .35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17, 123, 191, .45); filter: saturate(1.05); text-decoration: none; }
.btn::after { content: "→"; font-weight: 700; transition: transform .22s ease; }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.7);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; color: var(--brand-700) !important; box-shadow: var(--shadow); }
.btn--plain::after { content: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__bg, .blob { animation: none !important; }
}

/* ===========================================================
   Schwebender Glas-Header
   =========================================================== */
.site-header { position: sticky; top: 0; z-index: 60; padding: .9rem 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: .55rem .8rem .55rem 1.2rem;
  max-width: 1180px;
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled .container { box-shadow: var(--shadow); background: rgba(255,255,255,.85); }
.nav { display: contents; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 52px; width: auto; }
.brand span {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--brand-900);
  letter-spacing: -.01em;
}
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links li:last-child { margin-left: .4rem; }
.nav-links a {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink);
  padding: .55rem .95rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { color: var(--brand-700); background: rgba(17,123,191,.08); text-decoration: none; }
.nav-links a.active { color: #fff; background: var(--brand); }
.nav-links a.nav-cta { color: #fff; background: var(--ink); }
.nav-links a.nav-cta:hover { background: var(--brand-900); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ===========================================================
   Hero
   =========================================================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,30,48,.46) 0%, rgba(8,30,48,.27) 35%, rgba(8,30,48,.72) 100%),
    linear-gradient(110deg, rgba(11,58,92,.42), rgba(20,184,166,.15) 80%);
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; padding: 7rem var(--pad); }
.hero__logo { height: 188px; width: auto; margin: 0 auto 1.6rem; filter: drop-shadow(0 8px 22px rgba(0,0,0,.4)); animation: pop .8s cubic-bezier(.16,.8,.3,1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; margin-bottom: 1.2rem; text-shadow: 0 4px 40px rgba(0,15,30,.4); animation: rise .8s .1s cubic-bezier(.16,.8,.3,1) both; }
.hero h1 em { font-style: italic; color: var(--brand-300); }
.hero p.lead { font-size: clamp(1.1rem, 2vw, 1.42rem); font-weight: 500; max-width: 720px; margin: 0 auto 2.2rem; color: rgba(255,255,255,.95); animation: rise .8s .25s cubic-bezier(.16,.8,.3,1) both; }
.hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: rise .8s .4s cubic-bezier(.16,.8,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Vertrauens-Badges */
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.4rem; animation: rise .8s .55s cubic-bezier(.16,.8,.3,1) both; }
.trust-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  padding: .5rem 1rem;
  border-radius: 999px;
}
.trust-badge svg { width: 16px; height: 16px; stroke: var(--brand-300); }

/* Wellen-Übergang */
.wave-divider { position: relative; line-height: 0; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; height: 80px; }

/* Page-Hero (Unterseiten) */
.page-hero { position: relative; color: #fff; text-align: center; padding: 7rem var(--pad) 6rem; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,30,48,.58), rgba(11,58,92,.78)); }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero .eyebrow { color: #fff; background: rgba(255,255,255,.16); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); text-shadow: 0 4px 30px rgba(0,15,30,.35); }
.page-hero p { color: rgba(255,255,255,.95); font-size: 1.18rem; margin: .4rem 0 0; }

/* ===========================================================
   Content
   =========================================================== */
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.lead-row .frame { position: relative; }
.lead-row img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; transition: transform .5s ease; }
.lead-row .frame::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border-radius: var(--r-xl); background: var(--grad-soft); z-index: -1;
}
.lead-row:hover img { transform: translateY(-5px); }
.lead-row--reverse .text { order: 2; }

.section-title { text-align: center; max-width: 760px; margin: 0 auto 3.4rem; }
.section-title .eyebrow { justify-content: center; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-title p { color: var(--muted); font-size: 1.1rem; }

/* Feature/Bento-Kacheln (Themen) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(17,123,191,.25); }
.feature__ico {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--brand-700); margin-bottom: 1.2rem;
}
.feature__ico svg { width: 26px; height: 26px; stroke: var(--brand-700); }
.feature h3 { font-size: 1.12rem; margin: 0; }

/* Check-Liste */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2.4rem; margin-bottom: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .12em;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: rgba(17,123,191,.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f5d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--blue .check-list li::before {
  background-color: rgba(255,255,255,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.bullet-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2.4rem; box-shadow: var(--shadow); }

/* Stat-/Trust-Streifen */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat .num { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1; }
.stat .lbl { font-size: .98rem; color: rgba(255,255,255,.88); margin-top: .4rem; }

/* Pflegegrad-Karten */
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.6rem; }
.grade-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 2.2rem; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease; overflow: hidden;
}
.grade-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.grade-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.grade-card h3 { color: var(--brand-900); font-size: 1.3rem; }
.grade-card .badge { display: inline-block; font-family: "Plus Jakarta Sans", sans-serif; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.badge--opt { background: var(--teal-soft); color: #0c7c6f; }
.badge--req { background: var(--grad); color: #fff; }

/* Werte (warum-wir) */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.value { text-align: center; padding: 2.8rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.value:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.value .ico { width: 76px; height: 76px; margin: 0 auto 1.3rem; border-radius: 22px; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(17,123,191,.32); }
.value .ico svg { width: 34px; height: 34px; stroke: #fff; }
.value h3 { font-size: 1.22rem; margin: 0; }

/* Marquee */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 1.3rem 0; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee span { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.35rem; letter-spacing: .02em; display: inline-block; animation: scroll 26s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.6rem; max-width: 880px; margin: 0 auto; }
.team-card { text-align: center; }
.team-card .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 1.3rem; position: relative; }
.team-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,30,48,.35)); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.team-card:hover img { transform: scale(1.06); }
.team-card h4 { font-size: 1.35rem; margin-bottom: .15rem; }
.team-card .role { color: var(--brand-700); font-weight: 700; }

/* Preis */
.price-tag { display: inline-block; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.5rem; color: #fff; background: var(--grad); padding: .35rem 1.2rem; border-radius: 14px; box-shadow: 0 10px 22px rgba(17,123,191,.32); }

/* Zitat-Karten */
.quote-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 3.2rem 2.4rem 2.4rem; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quote-card::before { content: "\201C"; position: absolute; top: .2rem; left: 1.6rem; font-family: "Fraunces", Georgia, serif; font-size: 5.5rem; color: var(--brand-300); line-height: 1; }
.quote-card p { font-family: "Fraunces", serif; font-style: italic; font-size: 1.25rem; color: var(--ink); margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: 1rem; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow .3s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.5rem;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand);
  flex: none; transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .answer { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq details .answer p { margin: 0; }

/* ===========================================================
   Kontakt
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.8rem; box-shadow: var(--shadow-lg); }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.form-field input, .form-field textarea { width: 100%; padding: .95rem 1.1rem; border: 1.5px solid #dde3ea; border-radius: 14px; font-family: inherit; font-size: 1rem; background: #fbfdff; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(17,123,191,.12); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-result { margin: 1.1rem 0 0; padding: .85rem 1.1rem; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-result.ok { background: var(--teal-soft); color: #0c7c6f; }
.form-result.err { background: #fdecea; color: #c0392b; }

.contact-info-card { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: 2.8rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.contact-info-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(20rem 20rem at 110% -10%, rgba(255,255,255,.16), transparent 60%); pointer-events: none; }
.contact-info-card h3 { color: #fff; }
.contact-info-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-info-card .row { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; position: relative; z-index: 1; }
.contact-info-card .row .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.contact-info-card .row .ic svg { width: 20px; height: 20px; stroke: #fff; }

/* ===========================================================
   Impressum
   =========================================================== */
.legal { max-width: 820px; margin: 0 auto; }
.legal dl { margin: 2rem 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 2.4rem; box-shadow: var(--shadow); }
.legal dt { font-weight: 700; color: var(--brand-700); margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.legal dl dt:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal dd { margin: .3rem 0 0; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: linear-gradient(180deg, #0c2230 0%, #081821 100%); color: #b9c6d1; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.6rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #b9c6d1; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 .5rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand strong { font-family: "Fraunces", serif; font-weight: 600; color: #fff; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; color: #7e8c98; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ===========================================================
   Passwortschutz-Overlay
   =========================================================== */
html.gate body { display: none !important; }
#gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background:
    linear-gradient(160deg, rgba(8,30,48,.92), rgba(11,58,92,.92)),
    url("../images/IMG_0546.jpg") center / cover no-repeat;
}
.gate__card {
  width: 100%; max-width: 420px; text-align: center;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-lg);
}
.gate__logo { height: 110px; width: auto; margin: 0 auto 1.2rem; }
.gate__title { font-size: 1.5rem; margin-bottom: .4rem; }
.gate__sub { color: var(--muted); font-size: .98rem; margin-bottom: 1.6rem; }
.gate__form { display: flex; gap: .6rem; }
.gate__form input {
  flex: 1; padding: .9rem 1.1rem; font-size: 1rem; font-family: inherit;
  border: 1.5px solid #dde3ea; border-radius: 999px; background: #fbfdff; text-align: center;
}
.gate__form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(17,123,191,.12); }
.gate__form .btn { padding: .9rem 1.6rem; }
.gate__error { color: #c0392b; font-size: .9rem; margin: 1rem 0 0; }
.gate__card.shake { animation: gateShake .4s; }
@keyframes gateShake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-8px); }
  40%,80% { transform: translateX(8px); }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 940px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + .6rem); left: var(--pad); right: var(--pad);
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: var(--r); padding: .8rem;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 1rem; }
  .lead-row, .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .lead-row--reverse .text { order: 0; }
  .grade-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4.5rem 0; }
  .hero { min-height: 84vh; }
}
@media (max-width: 540px) {
  .feature-grid, .values-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .hero .cta-row { flex-direction: column; align-items: center; }
}
