/* Vision Compass · pages.css (nur Unterseiten, zusätzlich zu style.css) */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-panel);
  background: var(--blue-hero); color: var(--on-dark);
  padding: 128px clamp(18px, 2.6vw, 44px) clamp(40px, 6vw, 88px);
  min-height: clamp(460px, 62svh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 70% at 85% 90%, oklch(0.66 0.15 245 / .5), transparent 70%), radial-gradient(50% 60% at 0% 0%, oklch(0.42 0.17 266 / .55), transparent 70%);
}
.page-hero .hero__map { transform: none; }
.page-hero--short { min-height: clamp(360px, 46svh, 480px); }
.page-hero__content { position: relative; z-index: 3; max-width: min(58rem, 72%); }
@media (max-width: 759px) { .page-hero__content { max-width: none; } }
.page-hero__title { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.5rem); font-weight: 500; line-height: 0.99; letter-spacing: -0.045em; text-wrap: balance; }
.page-hero--short .page-hero__title { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.75rem); }
.page-hero__title .mask { display: block; }
.page-hero__title .mask > span { animation: mask-up 1.1s var(--ease) .12s both; }
.page-hero__title .mask:nth-child(2) > span { animation-delay: .24s; }
.page-hero__title .mask:nth-child(3) > span { animation-delay: .36s; }
.page-hero__lead { margin-top: 20px; max-width: 36rem; font-size: 1.125rem; line-height: 1.5; animation: fade-up .9s var(--ease) .45s both; }
.page-hero .hero__actions { animation-delay: .58s; }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 22px; font-size: var(--fs-small); animation: fade-up .9s var(--ease) .5s both; }
.page-hero__meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.page-hero__compass {
  position: absolute; z-index: 1; pointer-events: none;
  width: clamp(240px, 38vw, 540px); aspect-ratio: 1;
  right: clamp(-150px, -7vw, -40px); top: clamp(70px, 9vw, 120px);
}
.page-hero__compass .dial { animation: dial-in 2.2s var(--ease) .1s both; rotate: none; }
.page-hero__compass .needle { height: 92%; }
@media (max-width: 759px) {
  .page-hero__compass { opacity: .3; right: -32%; top: 60px; }
}

/* Abschnitte */
.split { display: grid; gap: var(--gap); }
.split__text { display: flex; flex-direction: column; gap: 18px; }
.split__text > p { color: var(--ink-soft); max-width: 56ch; }
.split__visual { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: 440px; background: var(--navy); }
.split__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .split__visual[data-reveal-img] { clip-path: inset(18% 0 0 0 round var(--r-panel)); }
.js .split__visual[data-reveal-img].is-in { clip-path: inset(0 0 0 0 round var(--r-panel)); }
.js .split__visual .maps-card { opacity: 0; transform: translateY(26px); }
.js .split__visual.is-in .maps-card { opacity: 1; transform: none; transition: opacity .9s var(--ease) .45s, transform 1.1s var(--ease) .45s; }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(26px, 3.6vw, 52px); }
.section-head p { color: var(--ink-soft); max-width: 48ch; }

.rows { border-bottom: 1px solid var(--line); counter-reset: r; }
.row {
  counter-increment: r;
  display: grid; grid-template-columns: 1.6rem 1fr; gap: 6px 16px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.row::before { content: ""; grid-row: 1 / span 2; width: 12px; height: 12px; margin-top: 10px; border-radius: 50%; background: var(--neon-blue); box-shadow: 0 0 0 4px oklch(0.72 0.17 252 / .18); }
.row h3 { font-size: var(--fs-title); font-weight: 550; letter-spacing: -0.02em; }
.row p { color: var(--ink-soft); font-size: var(--fs-small); max-width: 62ch; }

.steps3 { display: grid; gap: var(--gap); counter-reset: s; }
.step3 { counter-increment: s; position: relative; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); background: var(--canvas); display: grid; gap: 10px; align-content: start; }
.step3::before { content: ""; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 8px; background: radial-gradient(circle at 50% 50%, var(--c, var(--blue)) 0 5px, transparent 6px), linear-gradient(160deg, oklch(0.3 0.05 262), oklch(0.17 0.035 262)); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--c, var(--blue)) 60%, transparent); }
.step3 h3 { font-size: var(--fs-title); font-weight: 550; letter-spacing: -0.02em; }
.step3 p { color: var(--ink-soft); font-size: var(--fs-small); }

.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--blue-text); margin-top: 3px; }
.checks strong { display: block; }
.checks span { color: var(--ink-soft); font-size: var(--fs-small); }

/* Fließtext: Blog + Recht */
.prose { max-width: 39rem; font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.prose h3 { margin-top: 1.8em; font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--navy); }
.prose a { color: var(--blue-text); text-underline-offset: 3px; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: o; }
.prose ol li { counter-increment: o; position: relative; padding-left: 2em; }
.prose ol li::before { content: counter(o) "."; position: absolute; left: 0; color: var(--blue-text); font-weight: 650; font-variant-numeric: tabular-nums; }
.prose blockquote { padding: 18px 22px; border-radius: var(--r-card); background: var(--canvas); color: var(--navy); font-size: 1.125rem; }
.prose figure img { border-radius: var(--r-card); }
.prose figcaption { margin-top: 8px; font-size: var(--fs-label); color: var(--ink-meta); }
.prose address { font-style: normal; }
.prose .note { padding: 16px 18px; border-radius: var(--r-field); background: var(--blue-tint); color: var(--navy); font-size: var(--fs-small); }

.article { display: grid; gap: clamp(28px, 4vw, 56px); }
.article__aside { display: grid; gap: 18px; align-content: start; }
.author { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--ink-soft); }
.author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--navy); }
.article__cta { padding: 24px; border-radius: var(--r-card); background: var(--blue-hero); color: var(--on-dark); display: grid; gap: 14px; justify-items: start; }
.article__cta p { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.article__img { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 21 / 9; background: var(--navy); }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.js .article__img[data-reveal-img] { clip-path: inset(18% 0 0 0 round var(--r-panel)); }
.js .article__img[data-reveal-img].is-in { clip-path: inset(0 0 0 0 round var(--r-panel)); }

.posts { display: grid; gap: var(--gap); }
.post { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-panel); overflow: hidden; background: var(--panel); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -34px oklch(0.21 0.05 262 / .6); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.post:hover .post__img img { scale: 1.05; }
.post__body { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.post__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.post__body p { color: var(--ink-soft); font-size: var(--fs-small); }
.post__meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-label); color: var(--ink-meta); }
.post__meta .i { color: var(--blue-text); transition: transform .4s var(--ease); }
.post:hover .post__meta .i { transform: translate(3px, -3px); }

.legal { display: grid; gap: clamp(24px, 4vw, 56px); }
.legal__toc { display: none; }

.thanks { display: grid; gap: 18px; justify-items: start; }

@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__visual { order: -1; }
  .steps3 { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .section-head p { justify-self: end; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post:first-child { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; grid-template-rows: none; }
  .posts .post:first-child .post__img { aspect-ratio: auto; min-height: 380px; }
  .posts .post:first-child .post__body { justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); }
  .posts .post:first-child .post__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.6rem); }
  .posts .post:first-child .post__meta { margin-top: 12px; }
}
@media (min-width: 1040px) {
  .article { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .article__aside { position: sticky; top: 100px; }
  .legal { grid-template-columns: 240px minmax(0, 1fr); }
  .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 64px); }
  .legal__toc { display: grid; gap: 10px; align-content: start; position: sticky; top: 100px; font-size: var(--fs-small); }
  .legal__toc a { text-decoration: none; color: var(--ink-soft); }
  .legal__toc a:hover { color: var(--blue-text); }
}

/* Blog: Zeilen um 75 Zeichen, Text und Seitenleiste mittig, keine Einzelwort-Zeilen */
.article .prose { max-width: 38rem; }
.article .prose :is(p, li), .page-hero__lead, .post__body p { text-wrap: pretty; }
.article .prose :is(h2, h3) { text-wrap: balance; }
.article__cta p { line-height: 1.3; }
@media (min-width: 1040px) {
  .article { grid-template-columns: minmax(0, 38rem) 300px; justify-content: center; column-gap: clamp(56px, 6vw, 96px); }
}
