/* ═══════════════════════════════════════════════════════════════════════
   social-media-abmahnung.de: palette of the WordPress draft / skupin.law
   (navy #25486c, light blue #e4f2fb, text #232527), graphic language of skupin.de
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --law:        #25486c;
    --law-dark:   #1a3550;
    --law-deep:   #10243a;
    --law-mid:    #3a6a98;
    --law-light:  #e4f2fb;
    --law-soft:   #f1f8fd;
    --sky:        #74b3e0;
    --signal:     #b8323a;   /* warnings, sparingly */
    --signal-light: #fbecec;
    --bg:         #fbfaf8;
    --bg-alt:     #f3f1ed;
    --card:       #ffffff;
    --text:       #232527;
    --muted:      #5a6370;
    --line:       #e3e0da;
    --radius:     14px;
    --shadow:     0 10px 30px rgba(22, 39, 58, .08);
    --shadow-lg:  0 20px 50px rgba(16, 36, 58, .18);
    --serif:      Georgia, "Times New Roman", "Liberation Serif", serif;
    --sans:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h:   76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--law-deep); } /* dark like top bar and footer: no white edge when the page bounces */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--law); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--text); margin: 0 0 .5em; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--law); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 17px; height: 17px; }

/* ── Top bar & header ─────────────────────────────────────────────────── */
.topbar { background: var(--law-deep); color: #b9c8d8; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar-left { display: flex; gap: 24px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 20px; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { stroke: var(--sky); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .94); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--law) 0 62%, var(--sky) 62% 100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.brand-text { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; color: var(--law); }
.brand-text small { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--law); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--law); border-radius: 2px; }
.site-nav .nav-cta { color: #fff; background: var(--law); padding: 10px 18px; border-radius: 8px; font-weight: 600; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--law-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; font: 600 .97rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-primary { background: var(--law); color: #fff; box-shadow: 0 6px 18px rgba(37,72,108,.28); }
.btn-primary:hover { background: var(--law-dark); }
.btn-law { background: var(--law); color: #fff; }
.btn-law:hover { background: var(--law-dark); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--law); color: var(--law); }
.btn-light { background: #fff; color: var(--law-deep); }
.btn-light:hover { background: var(--law-light); }
.btn-block { width: 100%; }

/* ── Hero (start page) ────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 120px; overflow: hidden;
    background: radial-gradient(ellipse 55% 70% at 88% 35%, rgba(228,242,251,.95), transparent 70%),
                radial-gradient(ellipse 40% 50% at 0% 100%, rgba(228,242,251,.6), transparent 70%), var(--bg); }
.hero-sub { padding: 40px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--law); margin-bottom: 14px; }
.hero .eyebrow, .detail-hero .eyebrow, .page-hero .eyebrow { background: var(--law-light); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.lead.lead-wide { max-width: none; }
/* Overview pages: heading and intro use the full content width */
.page-hero h1, .page-hero .lead { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.center-actions { justify-content: center; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--law-dark); }
.hero-checks .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--law); stroke: #fff; stroke-width: 2.6; }

.hero-visual { position: relative; padding: 24px 24px 24px 64px; }
.portrait-frame { position: relative; aspect-ratio: 1; }
.portrait-frame::before, .portrait-frame::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.portrait-frame::before { background: var(--law-light); transform: rotate(-5deg); }
.portrait-frame::after { background: var(--law); opacity: .12; transform: rotate(3deg); }
.portrait-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); background: #fff; }
.hero-phone { position: absolute; z-index: 3; left: -8px; bottom: -40px; width: 150px; transform: rotate(-8deg); filter: drop-shadow(0 22px 30px rgba(16,36,58,.35)); }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); line-height: 1.2; animation: float 6s ease-in-out infinite; }
.float-card small { display: block; color: var(--muted); font-size: .75rem; }
.float-card strong { font-family: var(--serif); font-size: 1.15rem; color: var(--law-deep); }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--law-light); color: var(--law); }
.float-letter { top: 14%; right: -6px; }
.float-time { top: 52%; right: -26px; animation-delay: -3s; }
.hero-name { position: absolute; z-index: 4; right: 40px; bottom: 0; background: var(--law); color: #fff; padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); line-height: 1.25; }
.hero-name strong { display: block; font-family: var(--serif); }
.hero-name span { font-size: .8rem; color: #c8daeb; }
.hero-visual-simple { padding: 24px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* ── Finder ───────────────────────────────────────────────────────────── */
.finder-wrap { position: relative; z-index: 5; margin-top: -72px; }
.finder { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end; background: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--law); }
.finder label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; color: var(--law-dark); }
.finder-row { display: flex; gap: 10px; }
.finder select, .finder input { flex: 1; width: 100%; padding: 13px 14px; font: 400 1rem var(--sans); border: 1px solid #cfd6de; border-radius: 8px; background: #fff; color: var(--text); }
.finder select:focus, .finder input:focus { outline: none; border-color: var(--law); box-shadow: 0 0 0 3px rgba(37,72,108,.15); }
.finder-or { align-self: end; padding-bottom: 2px; }
.finder-or span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--law-light); color: var(--law); font-weight: 700; font-size: .85rem; }
.finder-search { position: relative; }
.finder-results { position: absolute; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 10; max-height: 320px; overflow: auto; }
.finder-results a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.finder-results a:hover, .finder-results a:focus { background: var(--law-soft); outline: none; }
.finder-results small { color: var(--muted); }
.finder-results .no-hit { padding: 10px 12px; color: var(--muted); font-size: .93rem; }

.usp { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp li { display: flex; align-items: center; gap: 14px; }
.usp-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--law-light); color: var(--law); flex-shrink: 0; }
.usp strong { display: block; font-size: .96rem; line-height: 1.3; }
.usp small { color: var(--muted); font-size: .85rem; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.015em; max-width: 24em; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 46em; margin-bottom: 40px; }
.sub-title { font-size: 1.5rem; margin: 64px 0 28px; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.band-law { background: var(--law-light); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.band-head .section-lead { margin-bottom: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* Letter types */
.letter-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.letter-types-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.letter-type { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px 26px; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.letter-type:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,39,58,.13); }
.letter-media { margin: 0 -26px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--law); }
.letter-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.letter-type:hover .letter-media img { transform: scale(1.04); }
.letter-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--law); }
.letter-type h3 { font-size: 1.35rem; margin-top: 6px; }
.letter-type p { color: var(--muted); }
.mini-tips { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.mini-tips li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .93rem; }
.mini-tips .icon { color: var(--law); }

/* Works band (dark) */
.works-band { background: linear-gradient(160deg, var(--law-dark) 0%, var(--law-deep) 100%); color: #c8d6e5; position: relative; overflow: hidden; }
.works-band::before { content: "♪"; position: absolute; right: -20px; top: -60px; font-size: 380px; line-height: 1; color: rgba(255,255,255,.04); font-family: var(--serif); }
.works-band .eyebrow { color: var(--sky); }
.works-band .section-title { color: #fff; }
.works-band .section-lead { color: #b3c4d6; }
.band-stats { display: flex; gap: 12px; }
.band-stats div { display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.band-stats strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: #fff; }
.band-stats span { font-size: .82rem; color: #9fb3c8; margin-top: 4px; }
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 16px; text-decoration: none; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .15s, transform .15s, border-color .15s; }
.work-card:hover { background: rgba(255,255,255,.11); border-color: rgba(116,179,224,.6); transform: translateY(-3px); }
.work-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.work-disc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--law-deep) 0 18%, var(--sky) 19% 22%, var(--law-mid) 23% 100%); color: #fff; }
.work-disc .icon { width: 20px; height: 20px; }
.work-disc-lg { width: 64px; height: 64px; }
.work-disc-lg .icon { width: 28px; height: 28px; }
.work-platforms { display: flex; gap: 6px; }
.work-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.work-artist { color: #9fb3c8; font-size: .93rem; }
.work-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.work-holder { font-size: .85rem; color: #b3c4d6; }
.work-amount { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #fff; white-space: nowrap; }
.work-amount.is-type { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); white-space: normal; text-align: right; }
.work-amount small { font-family: var(--sans); font-size: .75rem; font-weight: 400; color: #9fb3c8; }
.band-more { margin: 32px 0 0; }

/* Platform badges */
.pf { display: inline-block; padding: 3px 9px; margin: 0 4px 2px 0; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; background: var(--law-light); color: var(--law); }
.works-band .pf { background: rgba(255,255,255,.12); color: #fff; }

/* Parties */
.party-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.party-heading { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: var(--law); margin-bottom: 18px; }
.party-grid { display: grid; gap: 12px; }
.page-hero + .section .party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.party-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); box-shadow: 0 4px 12px rgba(22,39,58,.05); transition: border-color .15s, transform .15s, box-shadow .15s; }
.party-card:hover { border-color: var(--law); transform: translateY(-2px); box-shadow: var(--shadow); }
.monogram { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--law-mid), var(--law-dark)); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.monogram-lg { width: 64px; height: 64px; font-size: 1.4rem; border-radius: 16px; }
.party-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.party-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--law); }
.party-body strong { font-family: var(--serif); font-size: 1.12rem; }
.party-body small { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }
.party-arrow { color: var(--law); opacity: .5; transition: opacity .15s, transform .15s; }
.party-card:hover .party-arrow { opacity: 1; transform: translateX(3px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps:not(.steps-vertical)::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; border-top: 2px dashed rgba(37,72,108,.3); }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow); text-align: center; }
.step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--law); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; box-shadow: 0 0 0 5px var(--law-light); }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 8px auto 14px; border-radius: 50%; background: var(--law-light); color: var(--law); }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .94rem; }
.step-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #e6f4ea; color: #1e6b3a; }
.step-badge.is-pro { background: var(--law); color: #fff; }
.steps-vertical { grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
.steps-vertical .step { display: flex; gap: 18px; text-align: left; padding: 18px 20px 14px 20px; box-shadow: none; border: 1px solid var(--line); }
.steps-vertical .step-num { position: static; transform: none; flex-shrink: 0; box-shadow: 0 0 0 4px var(--law-light); }
.steps-vertical h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.05rem; margin-bottom: 4px; }
.steps-vertical p { margin: 0 0 6px; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--law); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,39,58,.13); }
.case-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; margin-bottom: 10px; }
.case-card h3 { font-size: 1.15rem; line-height: 1.35; }
.case-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.case-more { font-weight: 600; color: var(--law); font-size: .93rem; }
.case-more::after { content: " →"; }
.tag { display: inline-flex; align-items: center; gap: 4px; background: var(--law-light); color: var(--law); font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-decoration: none; }
.tag-alt { background: #eef0f3; color: #3c4653; }
.tag-work { background: var(--law); color: #fff; }

/* About & quotes */
.portrait-small { max-width: 380px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 8px; font-weight: 600; color: var(--law); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--law); border-bottom: 3px solid var(--law); transform: rotate(-45deg); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 28px 26px 22px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; right: 18px; top: -6px; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--law-light); }
.stars { color: #e3a32c; letter-spacing: 2px; font-size: .95rem; }
.stars-off { color: #d9dde2; }
.quotes { grid-auto-rows: 1fr; }
.quote h4 { font-size: 1.12rem; margin: 8px 0; }
.quote blockquote { margin: 0 0 16px; color: var(--muted); font-size: .94rem; flex: 1; }
.quote figcaption { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption span { color: var(--muted); font-size: .85rem; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item[open] { border-color: rgba(37,72,108,.4); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--law-light); color: var(--law); display: grid; place-items: center; font: 700 1.1rem var(--sans); }
.faq-item[open] summary::after { content: "−"; background: var(--law); color: #fff; }
.faq-answer { padding: 0 22px 8px; color: #3a424d; }

/* ── Detail pages ─────────────────────────────────────────────────────── */
.detail-hero, .page-hero { padding: 32px 0 64px; background: radial-gradient(ellipse 55% 80% at 95% 20%, rgba(228,242,251,.95), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1, .detail-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; max-width: 20em; }
.article-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem) !important; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { margin: 0 4px; }
.detail-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: start; }
.fact-card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--law); }
.fact-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.fact-head strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.fact-head div span { color: var(--muted); font-size: .9rem; }
.fact-card dl { margin: 0; }
.fact-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fact-card dt { color: var(--muted); font-size: .9rem; }
.fact-card dd { margin: 0; font-weight: 600; text-align: right; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fact-card dt { flex-shrink: 0; }
.fact-card dd .icon { display: none; }
.fact-amount { font-family: var(--serif); font-size: 1.3rem; color: var(--signal); }
.fact-card .lawyer-box { margin-top: 18px; }

.lawyer-box { display: flex; gap: 14px; align-items: center; background: var(--law-soft); border-radius: 14px; padding: 14px 16px; }
.lawyer-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.1); flex-shrink: 0; }
.lawyer-box p { margin: 0 0 4px; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--law-dark); line-height: 1.45; }
.lawyer-box strong { font-size: .88rem; margin-right: 6px; }
.lawyer-box span { font-size: .82rem; color: var(--muted); }

.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; overflow: hidden; }
.tip::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--law), var(--sky)); }
.tip-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--law-light); color: var(--law); margin-bottom: 14px; flex-shrink: 0; }
.tip h3 { font-size: 1.08rem; }
.tip p { color: var(--muted); font-size: .93rem; margin: 0; }

/* "Auf einen Blick": compact facts for readers, search snippets and AI assistants */
.tldr { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--law); border-radius: 14px; padding: 22px 26px; margin-bottom: 36px; box-shadow: var(--shadow); }
.tldr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.prose .tldr h2 { font-size: 1.25rem; margin: 0; }
.tldr-date { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.tldr dl { margin: 0; }
.tldr dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.tldr dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--law); padding-top: 3px; }
.tldr dd { margin: 0; }
@media (max-width: 640px) { .tldr dl > div { grid-template-columns: 1fr; gap: 2px; } }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin: -4px 0 16px; }
.byline img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--law); }
.prose ul.link-chips, .prose ul.tip-list, .prose ul.report-list { padding: 0; }
.prose ul.link-chips li::before, .prose ul.tip-list li::before, .prose ul.report-list li::before { display: none; }
.prose .article { font-size: 1.05rem; }
.article h2 { font-size: 1.45rem; }
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chips li { padding: 0 !important; margin: 0 !important; }
.link-chips a, .link-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.link-chips a:hover { border-color: var(--law); }
.link-chips span { color: var(--muted); }
.tip-list li { display: flex; gap: 14px; align-items: flex-start; padding: 0 !important; margin-bottom: 14px !important; }
.tip-list .tip-icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.report-list li { padding: 0 !important; margin: 0 !important; border-bottom: 1px solid var(--line); }
.report-list a { display: flex; gap: 16px; padding: 12px 0; text-decoration: none; font-weight: 600; }
.report-list a span { color: var(--muted); font-weight: 400; min-width: 90px; }
.amount-box { display: flex; gap: 16px; align-items: center; background: #fff; border-left: 5px solid var(--signal); border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.amount-box .icon { width: 34px; height: 34px; color: var(--signal); }
.amount-box p { margin: 0; font-weight: 600; font-size: 1.05rem; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--law); color: #dbe7f2; border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.aside-card::after { content: "§"; position: absolute; right: -8px; bottom: -40px; font-family: var(--serif); font-size: 170px; line-height: 1; color: rgba(255,255,255,.06); }
.aside-card h3 { color: #fff; font-size: 1.25rem; }
.aside-card p { font-size: .94rem; }
.aside-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.aside-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .94rem; color: #fff; }
.aside-list .icon { color: #fff; stroke-width: 2.6; }
.aside-card .btn-primary { background: #fff; color: var(--law-deep); box-shadow: none; position: relative; z-index: 1; }
.aside-card .btn-primary:hover { background: var(--law-light); }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: #fff; text-decoration: none; font-weight: 600; position: relative; z-index: 1; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 32px 0; padding: 22px 26px; border-radius: 14px; background: var(--law-light); border-left: 5px solid var(--law); }
.inline-cta strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--law-dark); }
.inline-cta span { color: var(--muted); font-size: .95rem; }
.inline-cta.wide { margin-top: 36px; }

/* Works table */
.table-tools { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.search-field { flex: 1; max-width: 440px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border: 1px solid #cfd6de; border-radius: 10px; color: var(--muted); }
.search-field:focus-within { border-color: var(--law); box-shadow: 0 0 0 3px rgba(37,72,108,.15); }
.search-field input { flex: 1; border: 0; padding: 13px 0; font: 400 1rem var(--sans); background: transparent; outline: none; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pills button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .9rem var(--sans); cursor: pointer; color: var(--text); }
.filter-pills button.is-active { background: var(--law); border-color: var(--law); color: #fff; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.works-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.works-table th { text-align: left; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--law-soft); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.works-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.works-table tr:last-child td { border-bottom: 0; }
.works-table tbody tr:hover { background: #fafcfe; }
.work-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.work-link strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.work-link small { color: var(--muted); }
.work-link:hover strong { color: var(--law); }
.work-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--law-light); color: var(--law); flex-shrink: 0; }
.work-icon .icon { width: 18px; height: 18px; }
.works-table td[data-label="Forderung"] strong { white-space: nowrap; }
.work-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.cases-count { display: block; font-size: .8rem; }
.prose .table-wrap { margin: 0 0 28px; }
.cases-table td { font-size: .93rem; }
.case-detail { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.note-small { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.empty-note { background: #fff; border: 1px dashed var(--line); border-radius: 12px; padding: 22px; color: var(--muted); margin-top: 16px; }

/* Pricing */
.free-banner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 16px; background: linear-gradient(135deg, var(--law), var(--law-dark)); color: #dbe7f2; margin-bottom: 32px; box-shadow: var(--shadow-lg); }
.free-banner > div { flex: 1; min-width: 240px; }
.free-banner strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.free-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.free-banner .btn-primary { background: #fff; color: var(--law-deep); }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.price-card.is-highlight { border: 2px solid var(--law); }
.price-flag { position: absolute; top: -13px; left: 26px; background: var(--law); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--law-light); color: var(--law); margin-bottom: 16px; }
.price-card h2 { font-size: 1.3rem; }
.price-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.office-card h3 { display: flex; align-items: center; gap: 10px; color: var(--law); }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--law-light); color: var(--law); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; }

/* ── Contact band & form ──────────────────────────────────────────────── */
.band-contact { background: linear-gradient(160deg, var(--law) 0%, var(--law-dark) 70%, var(--law-deep) 100%); color: #d5e2ee; position: relative; overflow: hidden; }
.band-contact::before { content: "§"; position: absolute; left: -30px; bottom: -120px; font-family: var(--serif); font-size: 420px; line-height: 1; color: rgba(255,255,255,.04); }
.band-contact .eyebrow { color: var(--sky); }
.band-contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; position: relative; }
.contact-checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.contact-checks li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.contact-checks .icon { padding: 3px; border-radius: 50%; background: rgba(255,255,255,.16); stroke-width: 2.6; }
.contact-direct { display: flex; flex-direction: column; gap: 8px; margin: 28px 0; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.contact-direct span { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sky); font-weight: 700; }
.contact-direct a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-direct a:hover { text-decoration: underline; }
.band-contact .lawyer-box { background: rgba(255,255,255,.08); }
.band-contact .lawyer-box p { color: #fff; }
.band-contact .lawyer-box strong { color: #fff; }
.band-contact .lawyer-box span { color: #b3c4d6; }

.form-card { color: var(--text); padding: 32px; border: 0; box-shadow: var(--shadow-lg); border-radius: 18px; }
.form-card a { color: var(--law); }
.form-title { font-size: 1.45rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .95rem; }
.form-step { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form-step legend { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.form-step legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--law); color: #fff; font: 700 .85rem var(--sans); }
.field { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--text); background: #fff; border: 1px solid #cdd4dc; border-radius: 8px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--law); box-shadow: 0 0 0 3px rgba(37,72,108,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row > * { min-width: 0; }
.field input, .field select, .field textarea { max-width: 100%; min-width: 0; }
/* iOS/Safari ignore the width of native date fields: reset the native look so the field stays inside the form */
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; line-height: 1.3; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #cdd4dc; background: #fff; font-weight: 600; font-size: .88rem; transition: background .15s, border-color .15s, color .15s; }
.choice input:checked + span { background: var(--law); border-color: var(--law); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; padding: 24px 18px; border: 2px dashed #b9c8d8; border-radius: 12px; background: var(--law-soft); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--law); background: var(--law-light); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-icon { width: 34px; height: 34px; color: var(--law); }
.dropzone-text { font-weight: 400; }
.dropzone-text strong { color: var(--law); }
.dropzone-hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
.dropzone-files { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 6px; }
.dropzone-files span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: .82rem; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 400; margin: 4px 0 6px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--law); }
.field-error { display: block; color: var(--signal); font-weight: 600; font-size: .85rem; margin-top: 6px; }
.form-alert { background: var(--signal-light); color: #8a1f26; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.form-note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .84rem; margin: 14px 0 0; }
.form-note .icon { color: var(--law); margin-top: 2px; }
.form-card .btn-block { margin-top: 10px; }
.form-success { text-align: center; padding: 20px 0; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: #e6f4ea; color: #1e6b3a; }
.success-icon .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.form-success h3 { color: var(--law); font-size: 1.45rem; }
.success-mail { display: flex; gap: 8px; align-items: flex-start; justify-content: center; background: var(--law-soft); border-radius: 10px; padding: 12px 16px; font-size: .95rem; }
.success-mail .icon { color: var(--law); margin-top: 3px; }
.success-tips { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: left; }
.success-tips li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .94rem; }
.success-tips .icon { color: var(--law); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Abmahncheck page */
.check-hero { padding-bottom: 72px; }
.check-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.check-form { position: sticky; top: calc(var(--header-h) + 20px); }

/* Legal pages */
.legal { padding-top: 56px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 32px; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #333b47; overflow-wrap: anywhere; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--law-deep); color: #a9bacb; padding: 64px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { width: 150px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.site-footer nav a { display: block; color: #e0e8f0; text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-contact a { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7f93a8; }
.footer-legal a { color: #c8d6e5; text-decoration: none; margin-left: 20px; }
.footer-legal a:hover { text-decoration: underline; }
.mobile-cta { display: none; }

/* Reveal on scroll (added by JS only) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .topbar-left > span:nth-child(2) { display: none; }
}
@media (max-width: 1340px) {
    .brand-text { display: none; }
    .site-nav { gap: 18px; }
}
@media (max-width: 1100px) {
    .site-nav { gap: 14px; }
    .site-nav a { font-size: .86rem; }
}
@media (max-width: 960px) {
    .hero-inner, .split, .contact-grid, .detail-hero-inner, .content-layout, .check-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .hero-visual { max-width: 440px; margin: 0 auto; }
    .letter-types, .work-cards, .case-grid, .quotes, .pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tips { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .steps:not(.steps-vertical)::before { display: none; }
    .party-columns { grid-template-columns: minmax(0, 1fr); }
    .finder { grid-template-columns: minmax(0, 1fr); }
    .finder-or { padding: 0; justify-self: center; }
    .usp { grid-template-columns: 1fr 1fr; }
    .sticky-aside, .check-form { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
    .site-header.scrolled .site-nav { top: var(--header-h); }
    .nav-open .site-nav { display: flex; }
    .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .site-nav a[aria-current="page"]:not(.nav-cta)::after { display: none; }
    .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .topbar-inner > span:first-child { display: none; }
    .topbar-inner { justify-content: center; }
    .page-hero + .section .party-grid { grid-template-columns: minmax(0, 1fr); }
    /* Table → cards */
    .works-table thead { display: none; }
    .works-table, .works-table tbody, .works-table tr, .works-table td { display: block; width: 100%; }
    .works-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .works-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
    .works-table td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; }
    .works-table td:first-child::before { display: none; }
    .works-table td:first-child { padding-bottom: 8px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    /* The CTA bar hides over the footer, so no extra space below the page is needed */
    .site-footer { padding-bottom: env(safe-area-inset-bottom); }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
    .footer-legal a { margin: 0; padding: 8px 0; display: inline-block; }
    .container { padding: 0 18px; }
    .hero { padding: 36px 0 100px; }
    .hero-visual { padding: 16px 16px 16px 40px; }
    .hero-phone { width: 104px; left: -4px; bottom: -24px; }
    .float-card { padding: 8px 12px; }
    .float-card strong { font-size: 1rem; }
    .float-time { right: -8px; }
    .hero-name { right: 16px; }
    .section { padding: 64px 0; }
    .letter-types, .work-cards, .case-grid, .quotes, .pricing, .tips, .steps, .usp { grid-template-columns: minmax(0, 1fr); }
    .field-row { grid-template-columns: minmax(0, 1fr); }
    .form-card { padding: 22px 18px; }
    .band-stats { width: 100%; }
    .band-stats div { flex: 1; min-width: 0; }
    .finder { padding: 20px; }
    .finder-row { flex-direction: column; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .footer-legal a { margin: 0 16px 0 0; }
    .fact-card dl > div { flex-direction: column; gap: 2px; }
    .fact-card dd { justify-content: flex-start; text-align: left; }
    .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -4px 18px rgba(0,0,0,.1); transition: transform .25s ease; }
    /* Out of the way while the footer (Impressum, Datenschutz, …) is on screen */
    .footer-visible .mobile-cta { transform: translateY(110%); }
    .mobile-cta .btn { padding: 12px 10px; font-size: .92rem; }
}
