/* =====================================================================
   TOM NITZSCHE IMMOBILIEN – Design System
   Immobilienbewertung Dresden & Umgebung
   Farbwelt: Grün (Logo/Wachstum), Navy (Seriosität), Royalblau (Vertrauen)
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Marke */
  --green-800: #23623d;
  --green-700: #2f7d4f;
  --green-600: #3d9b57;
  --green-500: #4faa5d;
  --green-400: #7bc142;
  --green-050: #eef6ee;

  --navy-900: #16222e;
  --navy-800: #1e2b38;
  --navy-700: #2a3a49;

  --blue-700: #1d3f8f;
  --blue-600: #2a52b0;

  /* Neutrale */
  --ink: #1e2b38;
  --ink-soft: #47566a;
  --muted: #6b7889;
  --line: #e4eae4;
  --line-soft: #eef2ee;
  --surface: #f6f9f6;
  --surface-2: #f0f4f0;
  --white: #ffffff;
  --gold: #d4a53a;

  /* Verläufe */
  --grad-green: linear-gradient(135deg, var(--green-600) 0%, var(--green-400) 100%);
  --grad-hero: linear-gradient(160deg, #16222e 0%, #1e3352 55%, #23623d 140%);

  /* Radius & Schatten */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 2px 8px rgba(22, 34, 46, .06);
  --shadow-md: 0 10px 30px rgba(22, 34, 46, .10);
  --shadow-lg: 0 24px 60px rgba(22, 34, 46, .16);

  /* Layout */
  --maxw: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { color: var(--navy-800); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-050);
  padding: .4rem .9rem; border-radius: 999px;
}
.eyebrow.on-dark { color: #cdeccf; background: rgba(123,193,66,.14); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head p { margin-top: .8rem; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy-900); color: #dfe6ee; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.grid { display: grid; gap: var(--gap); }
@media (min-width: 720px){ .grid-2 { grid-template-columns: repeat(2,1fr);} .grid-3{grid-template-columns:repeat(3,1fr);} .grid-4{grid-template-columns:repeat(4,1fr);} }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 24px rgba(61,155,87,.32); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(61,155,87,.42); filter: brightness(1.04); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-outline { background: transparent; border: 2px solid var(--line); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.08rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand img { height: 46px; width: auto; }
.brand-text { font-weight: 800; color: var(--navy-800); font-size: 1.05rem; line-height: 1.05; letter-spacing: -.01em; }
.brand-text span { display: block; font-size: .72rem; font-weight: 700; color: var(--green-700); letter-spacing: .18em; }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a { color: var(--navy-800); font-weight: 600; font-size: .97rem; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.tel-link { display: none; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-800); }
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg);}
.burger.open span:nth-child(2){ opacity: 0;}
.burger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg);}

.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  transform: translateY(-120%); transition: transform .3s ease; z-index: 99;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { padding: 1rem clamp(1rem,4vw,2rem) 1.6rem; display: grid; gap: .2rem; }
.mobile-menu a { display: block; padding: .85rem .4rem; font-weight: 600; color: var(--navy-800); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 1rem; }

@media (min-width: 940px){
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .tel-link { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; }
.hero::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(123,193,66,.22), transparent 60%);
  pointer-events:none;
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem,5vw,3rem); align-items: center; }
@media (min-width: 900px){ .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--green-400); }
.hero .lead { color: #d7e0ea; margin-top: 1.1rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; }
.hero-trust li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: #cdd7e2; font-weight: 600; }
.hero-trust svg { flex: none; color: var(--green-400); }

/* ---------- Valuation Card ---------- */
.valuation-card {
  background: #fff; color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 3vw, 2.1rem);
}
.valuation-card h2 { font-size: 1.4rem; }
.vc-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .3rem; }
.vc-head .badge { background: var(--green-050); color: var(--green-700); font-weight: 700; font-size: .72rem; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em; }
.progress { height: 6px; background: var(--line-soft); border-radius: 999px; margin: 1rem 0 1.4rem; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad-green); width: 20%; transition: width .35s ease; border-radius: 999px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field > label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: .4rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.input, select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
.input:focus, select:focus, textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(79,170,93,.14); outline: none; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px){ .field-row.two { grid-template-columns: 1fr 1fr; } }

/* Chip / segmented choices */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem .95rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--navy-800); background: #fff; transition: .15s;
}
.chip input:checked + span { border-color: var(--green-500); background: var(--green-050); color: var(--green-800); box-shadow: inset 0 0 0 1px var(--green-500); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.step { display: none; }
.step.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.step-nav { display: flex; gap: .8rem; margin-top: 1.2rem; }
.step-nav .btn { flex: 1; }

.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); margin-top: .6rem; }
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--green-600); flex: none; }
.error-msg { color: #c0392b; font-size: .85rem; margin-top: .3rem; display: none; }
.field.invalid .input, .field.invalid select { border-color: #e07a6f; }
.field.invalid .error-msg { display: block; }

/* ---------- Result ---------- */
.result-wrap { display: none; }
.result-price {
  text-align: center; background: var(--grad-hero); color: #fff;
  border-radius: var(--r-lg); padding: 2rem 1.4rem; margin-bottom: 1.2rem;
}
.result-price .range { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.result-price .per-sqm { color: #cfe8d3; margin-top: .4rem; font-weight: 600; }
.result-meta { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.result-meta .row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; background: var(--surface); border-radius: var(--r-sm); font-size: .92rem; }
.result-meta .row b { color: var(--navy-800); }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: .8rem; line-height: 1.5; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--green-050); color: var(--green-700); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card.dark { background: var(--navy-800); border-color: transparent; color: #d3dbe4; }
.card.dark h3 { color: #fff; }
.card.highlight { border: 2px solid var(--green-500); box-shadow: var(--shadow-md); position: relative; }
.tag-top { position: absolute; top: -13px; left: 1.6rem; background: var(--grad-green); color: #fff; font-size: .74rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .04em; }

/* Steps / how it works */
.steps-flow { counter-reset: s; display: grid; gap: 1.2rem; }
@media (min-width:720px){ .steps-flow { grid-template-columns: repeat(3,1fr);} }
.flow-item { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.flow-item::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 1.4rem; width: 40px; height: 40px; background: var(--grad-green); color: #fff; font-weight: 800; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(61,155,87,.3); }
.flow-item h3 { margin: .6rem 0 .4rem; font-size: 1.15rem; }

/* ---------- Comparison table ---------- */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--navy-800); color: #fff; font-size: .9rem; }
.compare thead th.win { background: var(--green-700); }
.compare td.yes { color: var(--green-700); font-weight: 700; }
.compare td.no { color: #b04a3f; }
.compare tbody tr:last-child td { border-bottom: none; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
@media (min-width:820px){ .about-grid { grid-template-columns: .8fr 1.2fr; } }
.about-img { position: relative; }
.about-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: -18px; right: -10px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.about-badge b { font-size: 1.4rem; color: var(--green-700); }
.credentials { display: grid; gap: .7rem; margin-top: 1.2rem; }
.credentials li { display: flex; gap: .7rem; align-items: flex-start; }
.credentials svg { color: var(--green-600); flex: none; margin-top: 3px; }

/* ---------- Booking ---------- */
.booking-grid { display: grid; gap: 1.4rem; }
@media (min-width: 860px){ .booking-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head strong { font-size: 1.05rem; color: var(--navy-800); }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy-800); }
.cal-nav button:hover { border-color: var(--green-500); color: var(--green-700); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: .3rem 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: .92rem; color: var(--navy-800); background: var(--surface); border: 1.5px solid transparent; transition: .12s; }
.cal-day.avail:hover { border-color: var(--green-500); background: var(--green-050); }
.cal-day.disabled { color: #c3ccc3; background: transparent; cursor: not-allowed; }
.cal-day.selected { background: var(--grad-green); color: #fff; box-shadow: 0 6px 14px rgba(61,155,87,.35); }
.cal-day.empty { background: transparent; }
.slots { margin-top: 1.2rem; }
.slots h4 { font-size: .9rem; color: var(--navy-800); margin-bottom: .6rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(84px,1fr)); gap: .5rem; }
.slot { padding: .6rem; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--navy-800); background: #fff; text-align: center; transition: .12s; }
.slot:hover { border-color: var(--green-500); }
.slot.selected { background: var(--grad-green); color: #fff; border-color: transparent; }
.booking-summary { background: var(--green-050); border: 1px solid #d5e8d5; border-radius: 12px; padding: .9rem 1.1rem; margin: 1rem 0; font-size: .92rem; color: var(--green-800); display: none; }
.booking-summary.show { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--navy-800); font-size: 1.02rem; }
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Areas / local SEO ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 600; color: var(--navy-700); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
@media (min-width:720px){ .stats { grid-template-columns: repeat(4,1fr);} }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(1.9rem,5vw,2.6rem); color: var(--green-400); font-weight: 800; }
.stat span { color: #b9c4cf; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .7rem; }
.quote p { color: var(--ink); font-size: 1rem; }
.quote .who { margin-top: 1rem; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.quote .who span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-hero); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem,5vw,3.4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e0ea; max-width: 40rem; margin: .8rem auto 1.6rem; }
.cta-band .btn { margin: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb9c5; padding-block: clamp(2.5rem,6vw,4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width:720px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #aeb9c5; }
.site-footer a:hover { color: #fff; }
.footer-grid ul { display: grid; gap: .6rem; font-size: .93rem; }
.footer-brand img { height: 54px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { color: #94a1af; font-size: .92rem; margin-top: 1rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { color: var(--green-400); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; color: #8593a1; }
.footer-bottom a { color: #8593a1; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 460px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.3rem 1.4rem;
  transform: translateY(160%); transition: transform .4s cubic-bezier(.16,.84,.44,1);
}
.cookie.show { transform: translateY(0); }
.cookie h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.cookie p { font-size: .88rem; margin-bottom: 1rem; }
.cookie .cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn { padding: .7rem 1.1rem; font-size: .9rem; flex: 1; min-width: 120px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-160%);
  background: var(--navy-800); color: #fff; padding: .9rem 1.4rem; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: 300; font-weight: 600; font-size: .95rem;
  max-width: 90vw; text-align: center;
  /* vollständig unsichtbar, solange keine Meldung aktiv ist */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s ease, opacity .25s ease, visibility .25s;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.toast.ok { background: var(--green-700); }
.toast.err { background: #c0392b; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding-block: clamp(2.5rem,7vw,4rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d7e0ea; max-width: 46rem; margin-top: .8rem; }
.breadcrumb { font-size: .85rem; color: #b9c4cf; margin-bottom: 1rem; }
.breadcrumb a { color: #cfe8d3; }

/* Legal / prose */
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { margin: 2rem 0 .8rem; font-size: 1.4rem; }
.prose h3 { margin: 1.4rem 0 .5rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: .8rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose a { word-break: break-word; }

/* Utilities */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mb-0{margin-bottom:0}
.hidden { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:.6rem 1rem; z-index:500; border-radius:0 0 8px 0; }
.skip-link:focus { left:0; }

@media (prefers-reduced-motion: reduce){ * { animation: none !important; scroll-behavior: auto; transition: none !important; } }
