/* ===== MediZe Aalen — Design System ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0e9b8e;
  --secondary: #0b5c63;
  --accent: #7bd0c2;
  --dark: #10302f;
  --light: #f4faf8;
  --text: #1d2b2a;
  --white: #ffffff;
  --muted: #6b817f;
  --line: rgba(14,155,142,.14);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -24px rgba(11,60,55,.45);
  --shadow-soft: 0 10px 40px -20px rgba(11,60,55,.35);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
  font-size: 16px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.12; color: var(--dark); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
p { color: var(--text); }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }
.center { text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 100px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .35s var(--ease);
  font-family: 'Manrope', sans-serif;
}
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 30px -12px var(--primary); }
.btn--primary:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: 0 18px 36px -12px var(--primary); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--secondary); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); }

.link-arrow { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: .4rem; }

.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--primary); margin-bottom: .9rem; }
.kicker--light { color: var(--accent); }

/* ===== Störer ===== */
.stoerer { background: var(--st-bg); color: var(--st-color); font-size: .92rem; font-weight: 600; }
.stoerer__inner { width: min(var(--maxw), 92%); margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .6rem 0; flex-wrap: wrap; text-align: center; }
.stoerer__btn { background: rgba(255,255,255,.2); padding: .25rem 1rem; border-radius: 100px; font-weight: 700; transition: background .3s; }
.stoerer__btn:hover { background: rgba(255,255,255,.35); }

/* ===== Header / Nav ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s, padding .3s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(11,60,55,.4); }
.header__inner { width: min(var(--maxw), 94%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-family: 'Fraunces', serif; font-weight: 600; display: grid; place-items: center; font-size: 1.25rem; box-shadow: var(--shadow-soft); }
.brand__img { height: 50px; width: auto; max-width: 220px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--dark); line-height: 1; }
.brand__text small { font-family: 'Manrope', sans-serif; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--text); position: relative; padding: .3rem 0; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); transition: width .3s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--primary); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav__cta { background: var(--primary); color: #fff !important; padding: .6rem 1.3rem !important; border-radius: 100px; transition: all .3s var(--ease); }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--secondary); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ===== Loader ===== */
.loader { position: fixed; inset: 0; z-index: 999; background: var(--dark); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__logo { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.loader__mark { width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-family: 'Fraunces', serif; font-size: 2.3rem; display: grid; place-items: center; animation: pulse 1.4s var(--ease) infinite; box-shadow: 0 0 60px -10px var(--primary); }
.loader__logo-img { width: min(300px, 78vw); height: auto; object-fit: contain; margin: 0 auto 1rem; background: #fff; padding: clamp(14px, 4vw, 20px) clamp(16px, 5vw, 26px); border-radius: 18px; box-shadow: 0 0 60px -10px var(--primary); animation: pulse 1.4s var(--ease) infinite; }
.loader__name { color: #fff; font-family: 'Fraunces', serif; font-size: 1.6rem; letter-spacing: .04em; }
.loader__bar { width: 160px; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; margin: 1.4rem auto 0; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 4px; animation: load 1.1s var(--ease) infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: -10% 0; background: linear-gradient(135deg, #0c4f54, #0e9b8e 60%, #12b3a3); background-size: cover; background-position: center; z-index: 0; will-change: transform; }
.hero__bg::after { content:''; position:absolute; inset:0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.16), transparent 40%), radial-gradient(circle at 80% 70%, rgba(123,208,194,.25), transparent 45%); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: translateZ(0); backface-visibility: hidden; }
@media (max-width: 760px) { .hero__video { display: none; } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,40,42,.78), rgba(8,40,42,.25)); z-index: 1; }

/* Zähler-Band */
.stats-band { position: relative; background: linear-gradient(135deg, var(--secondary), var(--primary)); color: #fff; padding: clamp(4.5rem, 7vw, 6rem) 0; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; position: relative; z-index: 1; }
.stat-block strong { display: block; font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; }
.stat-block span { display: block; margin-top: .7rem; color: rgba(255,255,255,.85); font-weight: 600; font-size: .98rem; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; } }

/* Wellen-Trenner */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 2; pointer-events: none; }
.wave svg { width: 100%; height: 58px; display: block; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: rotate(180deg); }
.hero__content { position: relative; z-index: 2; width: min(var(--maxw), 92%); margin-inline: auto; max-width: 760px; padding: 6rem 0; }
.hero__eyebrow { letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; font-weight: 700; color: var(--accent); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.4rem); color: #fff; line-height: 1; margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ===== Page hero (inner) ===== */
.pagehero { position: relative; padding: 8rem 0 4.5rem; color: #fff; overflow: hidden; }
.pagehero__bg { position: absolute; inset: -10% 0; background: linear-gradient(135deg, var(--secondary), var(--primary)); background-size: cover; background-position: center; z-index: 0; will-change: transform; }
.pagehero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,40,42,.55), rgba(8,40,42,.78)); z-index: 1; }
.pagehero__content { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .8rem; }
.pagehero p { color: rgba(255,255,255,.88); max-width: 620px; font-size: 1.1rem; }
.breadcrumb { margin-top: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.7); display: flex; gap: .5rem; }
.breadcrumb a:hover { color: #fff; }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tint { background: var(--light); }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__intro { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--form { align-items: start; }
.split__text h2 { margin-bottom: 1.2rem; }
.split__text .lead { margin-bottom: 1.4rem; }
.lead { font-size: 1.18rem; color: var(--text); }
.split__media { position: relative; }
.stat-card { position: absolute; bottom: -26px; left: -26px; background: #fff; padding: 1.1rem 1.5rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stat-card strong { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--primary); }
.stat-card span { font-size: .82rem; color: var(--muted); }

/* ===== Zoom image ===== */
.zoom-img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.zoom-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.zoom-img:hover img { transform: scale(1.08); }
.split__media .zoom-img { aspect-ratio: 4/3.4; }

/* ===== Cards ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }

.feature-card { background: #fff; padding: 2.2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--light); color: var(--primary); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.2rem; }
.feature-card h3 { margin-bottom: .6rem; }
.feature-card p { color: var(--muted); }

.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 16/10; border-radius: 0; box-shadow: none; }
.service-card__icon { position: absolute; bottom: 12px; left: 12px; background: #fff; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow-soft); z-index: 2; }
.service-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card__body p { color: var(--muted); flex: 1; }

.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 1.2rem 1.2rem 1.8rem; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-card__media { aspect-ratio: 1/1; border-radius: 18px; margin-bottom: 1.1rem; }
.team-card h3 { margin-bottom: .2rem; }
.team-card__role { color: var(--primary); font-weight: 600; font-size: .92rem; }
.team-card__bio { color: var(--muted); font-size: .95rem; margin-top: .8rem; }

.info-card { background: #fff; padding: 2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); }
.info-card--highlight { background: linear-gradient(160deg, var(--primary), var(--secondary)); color: #fff; }
.info-card--highlight h3, .info-card--highlight p { color: #fff; }
.info-card h3 { margin-bottom: .8rem; }
.info-card p { color: var(--muted); }

/* ===== Lists ===== */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; max-width: 880px; margin: 0 auto; }
.check-grid li, .check-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; list-style: none; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.check-list { margin-bottom: 2rem; }
.check { width: 26px; height: 26px; min-width: 26px; border-radius: 50%; background: var(--light); color: var(--primary); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* ===== CTA banner (parallax) ===== */
.cta-banner { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; color: #fff; overflow: hidden; text-align: center; }
.cta-banner__bg { position: absolute; inset: -15% 0; background: linear-gradient(135deg, var(--secondary), var(--primary)); z-index: 0; will-change: transform; }
.cta-banner__bg::after { content:''; position:absolute; inset:0; background-image: radial-gradient(circle at 70% 30%, rgba(123,208,194,.3), transparent 50%); }
.cta-banner__overlay { position: absolute; inset: 0; background: rgba(8,40,42,.45); z-index: 1; }
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner__content h2 { color: #fff; margin-bottom: .8rem; }
.cta-banner__content p { color: rgba(255,255,255,.9); margin-bottom: 1.8rem; font-size: 1.1rem; }

/* ===== Carousel ===== */
.carousel { position: relative; overflow: hidden; padding: 18px 0; }
.carousel__track { display: flex; gap: 1.2rem; transition: transform .6s var(--ease); }
.carousel__slide { min-width: calc((100% - 2.4rem) / 3); }
.carousel__slide .zoom-img { aspect-ratio: 4/3; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--secondary); font-size: 1.6rem; cursor: pointer; box-shadow: var(--shadow-soft); z-index: 3; transition: all .3s; display: grid; place-items: center; }
.carousel__btn:hover { background: var(--primary); color: #fff; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: all .3s; }
.carousel__dots button.active { background: var(--primary); width: 28px; border-radius: 6px; }

/* ===== Price table ===== */
.price-table { max-width: 760px; margin: 3.5rem auto 0; background: #fff; border-radius: var(--radius); padding: 2.2rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.price-table h3 { margin-bottom: 1.2rem; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table td { padding: .95rem .4rem; border-bottom: 1px solid var(--line); }
.price-table .price { text-align: right; font-weight: 800; color: var(--primary); white-space: nowrap; }
.price-table__note { margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }

/* ===== Prose / legal ===== */
.prose p { margin-bottom: 1.1rem; color: var(--text); }
.prose.legal p { margin-bottom: .35rem; }
.legal__gap { height: 1rem; }
.narrow .btn { margin-top: 1.5rem; }

/* ===== Forms ===== */
.form { margin-top: 1.6rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row, .form__grid { margin-bottom: 1rem; }
.form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--secondary); }
.form input, .form textarea { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: #fff; transition: border .25s, box-shadow .25s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14,155,142,.12); }
.form__hint { font-size: .82rem; color: var(--muted); margin-top: .9rem; font-weight: 400; }
.form__hint a { color: var(--primary); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.patient-toggle { display: flex; gap: .8rem; margin-bottom: 1.4rem; }
.patient-opt { flex: 1; cursor: pointer; }
.patient-opt input { position: absolute; opacity: 0; }
.patient-opt span { display: block; text-align: center; padding: .9rem; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; color: var(--secondary); transition: all .25s; }
.patient-opt input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 600; }
.alert--success { background: #e3f6f1; color: #0a6b5e; }
.alert--error { background: #fdecec; color: #b3261e; }
.alert--info { background: #fff6e6; color: #8a5a00; border: 1px solid #f0d9a8; }

/* ===== Contact / map ===== */
.contact-box, .apply-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-box h3, .apply-card h3 { margin-bottom: 1.2rem; }
.contact-box h4 { margin: 1.5rem 0 .8rem; font-family: 'Manrope'; font-weight: 800; color: var(--secondary); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--text); font-weight: 600; }
.hours-list, .footer__hours { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.hours-list li, .footer__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }

.map-section { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 460px; }
.map-section__info { background: var(--dark); color: #fff; padding: clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.map-section__info h2 { color: #fff; margin-bottom: 1.5rem; }
.map-section__info .kicker { color: var(--accent); }
.map-section__info .contact-list strong { color: rgba(255,255,255,.55); }
.map-section__info .contact-list a, .map-section__info .contact-list span { color: #fff; }
.map-section__map { min-height: 360px; }
.map-section__map iframe { width: 100%; height: 100%; min-height: 360px; filter: grayscale(.2); }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.78); padding: 4rem 0 0; }
.footer__inner { width: min(var(--maxw), 92%); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-family: 'Manrope'; font-weight: 800; font-size: 1rem; margin-bottom: 1.1rem; }
.footer a { color: rgba(255,255,255,.78); transition: color .25s; }
.footer a:hover { color: var(--accent); }
.brand--footer .brand__text { color: #fff; }
.footer__slogan { margin-top: 1.2rem; font-size: .95rem; color: rgba(255,255,255,.6); }
.footer__hint { margin-top: .6rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer__nav { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
.footer__bottom { width: min(var(--maxw), 92%); margin-inline: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer__legal { display: flex; gap: 1.4rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  /* backdrop-filter am Header würde sonst das fixed-Menü einsperren (containing block) */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.97); }
  .nav {
    position: fixed; inset: 0; width: 100%; margin: 0;
    background: rgba(13, 42, 41, .96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    flex-direction: column; align-items: center; justify-content: center; gap: 1.7rem;
    padding: 5rem 1.5rem;
    opacity: 0; visibility: hidden; transform: scale(1.06);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 55;
  }
  .nav.open { opacity: 1; visibility: visible; transform: scale(1); }
  .nav a { color: #fff; font-size: 1.5rem; font-weight: 600; padding: .2rem .8rem; }
  .nav a::after { background: var(--accent); }
  .nav__cta { background: var(--primary); color: #fff !important; padding: .85rem 2.2rem !important; font-size: 1.25rem; border-radius: 100px; margin-top: .4rem; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.open span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
  .split { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .map-section { grid-template-columns: 1fr; }
  .carousel__slide { min-width: 100%; }
  .form__grid, .check-grid { grid-template-columns: 1fr; }
  .carousel__btn--prev { left: 6px; } .carousel__btn--next { right: 6px; }
  .stat-card { left: 12px; bottom: -18px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
}
