/* Niedersachsens Immobilienverwaltung, Theme-Stylesheet */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/HankenGrotesk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/SchibstedGrotesk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Konzept: helle, ruhige Seite mit tiefem Petrol als Anker, Amber nur für Markierungen und Fristen.
   Große Typografie, weiche Karten, ein Portal-Mock als Blickfang statt Stockfoto. */
:root {
  --bg: #f5f8f8;
  --surface: #ffffff;
  --ink: #0d1f2a;
  --muted: #526470;
  --line: #dbe4e5;
  --tint: #e3eeed;
  --teal-900: #072f31;
  --teal-800: #0a4143;
  --teal-700: #0e5f5c;
  --teal-500: #1f8a83;
  --amber: #f4a93c;
  --amber-soft: #fdeccd;
  --ok: #1b8a5a;
  --ok-soft: #dff3e8;

  --head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 1px 2px rgba(13,31,42,.05), 0 12px 32px -8px rgba(13,31,42,.14);
  --shadow-lg: 0 2px 4px rgba(13,31,42,.06), 0 32px 64px -16px rgba(7,47,49,.30);

  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
.draft { background: var(--amber-soft); border-bottom: 1.5px dashed #b97a14; padding: 0 4px; border-radius: 3px; font-size: .92em; }

/* Entwurfsleiste */
.banner { background: var(--teal-900); color: #cfe3e1; font-size: .82rem; line-height: 1.4; padding: 9px 0; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245,248,248,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.05rem/1.15 var(--head); letter-spacing: -.01em; }
.brand svg { flex: none; }
.brand small { display: block; font: 500 .72rem/1.3 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { text-decoration: none; font: 600 .95rem var(--head); padding: 9px 14px; border-radius: 999px; color: var(--muted); transition: background .15s, color .15s; }
nav a:hover { background: var(--tint); color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--teal-700); color: #fff; text-decoration: none; cursor: pointer; border: 0;
  font: 600 1rem var(--head); padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(14,95,92,.7);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--teal-800); transform: translateY(-1px); }
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn.small { padding: 10px 20px; font-size: .92rem; box-shadow: none; white-space: nowrap; }
.btn.light { background: #fff; color: var(--teal-900); box-shadow: none; }
.btn.light:hover { background: var(--amber-soft); }
.ghost { font: 600 1rem var(--head); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 15px 6px; }
.ghost:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 96px) clamp(72px, 9vw, 130px); }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 68%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, #d3e8e5 0%, rgba(211,232,229,0) 72%); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 8px; font: 600 .84rem var(--head); color: var(--teal-800); margin-bottom: 26px; box-shadow: 0 1px 2px rgba(13,31,42,.04); }
.pill i { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-700); display: grid; place-items: center; }
h1 { font-weight: 800; font-size: clamp(2.9rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 26px; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--amber) 62%, var(--amber) 92%, transparent 92%); padding: 0 .06em; margin: 0 -.06em; }
.lede { font-size: 1.28rem; line-height: 1.55; color: #2b3f4b; max-width: 31em; margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-bottom: 30px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 600 .92rem var(--head); color: var(--muted); }
.checks li { display: inline-flex; gap: 8px; align-items: center; }
.checks svg { color: var(--ok); flex: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .wrap > div:first-child > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > div:first-child > *:nth-child(2) { animation-delay: .06s; }
.hero .wrap > div:first-child > *:nth-child(3) { animation-delay: .12s; }
.hero .wrap > div:first-child > *:nth-child(4) { animation-delay: .18s; }
.hero .wrap > div:first-child > *:nth-child(5) { animation-delay: .24s; }
.mock-wrap { animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both; }

/* Portal-Mock */
.mock-wrap { position: relative; padding: 0 0 44px 0; }
.win { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(13,31,42,.06); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eef3f3; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d5d6; }
.win-bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 999px; padding: 3px 14px; }
.win-body { padding: 22px 22px 44px; }
.win-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.win-head h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.win-head small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.tag { font: 700 .68rem var(--head); letter-spacing: .06em; text-transform: uppercase; background: var(--amber-soft); color: #8a5300; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.kpi b { display: block; font: 700 1.25rem/1.2 var(--head); letter-spacing: -.02em; }
.kpi span { font-size: .74rem; color: var(--muted); line-height: 1.3; display: block; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.35; }
.list .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--teal-700); }
.list .txt { flex: 1; min-width: 0; }
.list .txt small { display: block; color: var(--muted); font-size: .76rem; }
.st { font: 700 .7rem var(--head); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st.ok { background: var(--ok-soft); color: #0f6a42; }
.st.run { background: #dfeaf7; color: #1d4f8a; }
.st.fr { background: var(--amber-soft); color: #8a5300; }

.phone { position: absolute; right: -14px; bottom: 6px; width: 250px; background: var(--teal-900); color: #fff; border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.phone .row { display: flex; gap: 12px; align-items: flex-start; }
.phone .dot { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--teal-900); display: grid; place-items: center; }
.phone b { font: 700 .88rem/1.3 var(--head); display: block; }
.phone span { font-size: .8rem; line-height: 1.4; color: #b9d3d0; display: block; margin-top: 2px; }

/* Skyline unten im Hero */
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0; color: #dbe8e7; }
.skyline svg { width: 100%; height: 100%; display: block; }

/* Fakten */
.facts { background: var(--surface); border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 700 1.15rem/1.3 var(--head); letter-spacing: -.015em; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: .95rem; line-height: 1.5; display: block; }

/* Abschnitte */
section.s { padding-block: clamp(64px, 9vw, 120px); }
.kicker { font: 700 .8rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 14px; display: block; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 20px; max-width: 18em; }
.intro { max-width: 40em; color: #2b3f4b; font-size: 1.12rem; margin-bottom: 44px; }

/* Zielgruppen */
.two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .art { background: var(--tint); height: 190px; display: flex; align-items: flex-end; justify-content: center; padding-top: 18px; }
.card.alt .art { background: #f6e8cd; }
.card .art svg { height: 100%; width: auto; max-width: 100%; display: block; }
.card .in { padding: 30px 32px 34px; }
.card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: #33474f; }
.card p:last-child { margin-bottom: 0; }
.aside { margin-top: 24px; background: var(--surface); border-radius: var(--r-md); border: 1px dashed #b4c7c8; padding: 20px 26px; display: flex; gap: 16px; align-items: center; color: #33474f; }
.aside svg { flex: none; color: var(--teal-700); }
.aside p { margin: 0; }

/* Wechsel (dunkel) */
.dark { background: var(--teal-900); color: #fff; position: relative; overflow: hidden; }
.dark::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,138,131,.35), rgba(31,138,131,0) 70%); }
.dark .wrap { position: relative; z-index: 1; }
.dark .kicker { color: var(--amber); }
.dark .intro { color: #b9d3d0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); padding: 26px 24px 28px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--teal-900); font: 800 1.1rem var(--head); margin-bottom: 20px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 700; }
.steps p { color: #b9d3d0; font-size: .98rem; margin: 0; }
.rule { margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 22px 26px; max-width: 52em; }
.rule svg { flex: none; color: var(--teal-700); margin-top: 3px; }
.rule p { margin: 0; }

/* Leistungen (Bento) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--surface); border-radius: var(--r-lg); padding: 28px 28px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 8px; }
.tile h3 { font-size: 1.25rem; font-weight: 700; }
.tile p { margin: 0; color: #3b4f59; font-size: 1rem; }
.t-4 { grid-column: span 4; } .t-3 { grid-column: span 3; } .t-2 { grid-column: span 2; } .t-6 { grid-column: span 6; }
.tile.accent { background: var(--teal-700); color: #fff; }
.tile.accent .ico { background: rgba(255,255,255,.14); color: #fff; }
.tile.accent p { color: #cfe6e3; }
.tile.wide { flex-direction: row; align-items: center; gap: 28px; }
.tile.wide .ico { margin: 0; flex: none; width: 58px; height: 58px; }
.price { margin-top: 26px; color: var(--muted); max-width: 46em; }

/* Region */
.region { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.map { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px; }
.map svg { width: 100%; height: auto; display: block; border-radius: 18px; background: #eaf2f1; }
.map text { font-family: var(--head); font-weight: 700; font-size: 15px; fill: var(--ink); }
.map .km { font-family: var(--body); font-weight: 600; font-size: 12px; fill: var(--teal-800); }
.map-note { font-size: .84rem; color: var(--muted); margin: 12px 8px 4px; }
.order { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.order li { display: flex; gap: 14px; align-items: baseline; }
.order b { font: 700 .72rem var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--teal-800); flex: none; min-width: 112px; text-align: center; }

/* Wir */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; }
.big { background: var(--amber-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.big h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.big p { max-width: 34em; color: #3c3a2c; }
.people { display: grid; gap: 18px; }
.person { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 28px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; }
.av { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; font: 700 1.2rem var(--head); grid-row: span 2; }
.av.empty { background: var(--tint); color: var(--teal-700); border: 2px dashed #9fbdbb; }
.person .role { font: 700 .72rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-500); align-self: end; }
.person h3 { font-size: 1.3rem; font-weight: 700; align-self: start; }
.person p { grid-column: 1 / -1; margin: 14px 0 0; color: #33474f; font-size: 1rem; }

/* Kontakt */
.contact { background: var(--teal-900); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; left: -15%; bottom: -45%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31,138,131,.4), rgba(31,138,131,0) 70%); pointer-events: none; }
.contact > * { position: relative; z-index: 1; }
.contact .kicker { color: var(--amber); }
.contact h2 { color: #fff; }
.contact > div:first-child p { color: #b9d3d0; max-width: 28em; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.direct li { display: flex; gap: 14px; align-items: flex-start; }
.direct .ci { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--amber); }
.direct small { display: block; font: 700 .7rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: #8fb3b0; }
.direct span { color: #fff; }
form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; box-shadow: var(--shadow-lg); }
form .full { grid-column: 1 / -1; }
label { display: block; font: 600 .86rem var(--head); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 1rem var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, background .15s; }
input:hover, select:hover, textarea:hover { border-color: #b4c7c8; }
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--teal-500); outline: none; box-shadow: 0 0 0 4px rgba(31,138,131,.15); }
textarea { min-height: 112px; resize: vertical; }
#hinweis { font-size: .88rem; color: var(--muted); margin-top: 12px; min-height: 1.4em; }
form .btn { width: 100%; }

footer { padding-block: 40px 48px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
footer strong { color: var(--ink); font-family: var(--head); }
footer .legal { font-size: .84rem; line-height: 1.6; max-width: 46em; margin: 6px 0 0; }
footer a { text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .hero .wrap, .two, .region, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .t-4, .t-3 { grid-column: span 6; } .t-2 { grid-column: span 3; }
  .phone { right: 12px; }
}

@media (max-width: 600px) {
  .steps, .kpis { grid-template-columns: minmax(0, 1fr); }
  .t-2 { grid-column: span 6; }
  .tile.wide { flex-direction: column; align-items: flex-start; }
  form { grid-template-columns: minmax(0, 1fr); }
  .facts .wrap { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .mock-wrap { padding-bottom: 0; }
  .phone { position: relative; right: 0; bottom: 0; width: auto; margin-top: 14px; }
  .win-body { padding-bottom: 12px; }
  .order li { flex-direction: column; gap: 6px; }
  .aside { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Theme-Ergänzungen ---------- */
.top .wrap { position: relative; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
nav li { margin: 0; }
.nav-cta { margin-left: 8px; }
.menu-toggle { display: none; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font: 600 .92rem var(--head); color: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
@media (max-width: 760px) {
  .brand small { display: none; }
  .menu-toggle { display: inline-flex; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow); padding: 12px 16px 18px; }
  #site-nav.is-open { display: flex; }
  #site-nav ul { flex-direction: column; align-items: stretch; }
  #site-nav ul a { display: block; padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; }
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal-700); }
.consent label { font: 400 .9rem/1.5 var(--body); margin: 0; }
.form-status { border-radius: 12px; padding: 12px 16px; font-size: .95rem; margin-bottom: 4px; }
.form-status.ok { background: var(--ok-soft); color: #0f6a42; }
.form-status.err { background: #fde3df; color: #8a2113; }
.page-wrap { padding-block: clamp(40px, 6vw, 88px); }
.page-wrap .entry { max-width: 46rem; }
.page-wrap h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin-bottom: 28px; }
.page-wrap .entry h2 { font-size: 1.6rem; margin: 2em 0 .6em; max-width: none; }
.page-wrap .entry h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.page-wrap .entry a { color: var(--teal-700); text-underline-offset: 3px; }
.page-wrap .entry ul, .page-wrap .entry ol { padding-left: 1.3em; }
.page-wrap .entry li { margin-bottom: .4em; }
.screen-reader-text { position: absolute; left: -9999px; }
.posts article { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 24px 28px; margin-bottom: 18px; }
.posts h2 { font-size: 1.4rem; margin-bottom: 8px; }
.posts h2 a { text-decoration: none; }
footer ul.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.contact .draft, .dark .draft, footer .draft { color: var(--ink); }
.page-wrap .entry a.btn { color: #fff; text-decoration: none; margin-top: 8px; }
.page-wrap .entry .lead { font-size: 1.25rem; line-height: 1.55; color: #2b3f4b; }

.more-p { margin: 18px 0 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 700 .98rem var(--head); color: var(--teal-700); text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.more:hover svg { transform: translateX(3px); }
.more svg { transition: transform .15s; }
.dark .more { color: #fff; }

h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.card h3 { font-size: clamp(1.3rem, 5.4vw, 1.6rem); }
.posts .kicker, .entry .kicker { margin-bottom: 8px; }
.posts > h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 28px; }

.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.guide { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px 28px 26px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guide .kicker { margin: 0; }
.guide h3 { font-size: 1.3rem; line-height: 1.2; }
.guide p { margin: 0; color: #3b4f59; font-size: 1rem; flex: 1; }
.guide .read { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--head); color: var(--teal-700); margin-top: 6px; }
.guide:hover .read svg { transform: translateX(3px); }
.guide .read svg { transition: transform .15s; }
@media (max-width: 1000px) { .guides { grid-template-columns: minmax(0, 1fr); } }
