/* =========================================================
   Planwerx – Design „Graphit & Glas“
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-2: #111317;
  --text: #f1f2f4;
  --muted: #a6acb5;
  --dim: #707782;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  --glass-flat: rgba(28, 31, 36, 0.55);
  --glass-solid: rgba(22, 24, 28, 0.82);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --red: #f03a3a;
  --red-hover: #ff5252;
  --red-soft: rgba(240, 58, 58, 0.14);
  --ok: #3ccf8e;
  --warn: #f2b44c;
  --radius: 24px;
  --radius-s: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Hintergrund: Lichtflecken + feines Planraster */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 8% 12%, rgba(150, 160, 175, 0.16), transparent 60%),
    radial-gradient(50vw 40vw at 92% 40%, rgba(240, 58, 58, 0.09), transparent 60%),
    radial-gradient(70vw 50vw at 50% 110%, rgba(120, 130, 145, 0.14), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Glas ---------- */
.glass {
  background: var(--glass), var(--glass-flat);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--highlight), var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass), var(--glass-solid); }
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.h-xl { font-size: clamp(40px, 7vw, 84px); font-weight: 750; letter-spacing: -0.035em; }
.h-l { font-size: clamp(32px, 4.6vw, 54px); font-weight: 720; letter-spacing: -0.03em; }
.h-m { font-size: clamp(22px, 2.4vw, 28px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.grad-text {
  background: linear-gradient(100deg, #fff 30%, #9aa1ab);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid var(--b); color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(240, 58, 58, 0.7); }
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow svg { width: 16px; height: 16px; color: var(--red); transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding: 0 var(--gutter);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 66px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(18, 20, 24, 0.45);
  border: 1px solid var(--line);
  box-shadow: var(--highlight), 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  transition: background 0.3s, height 0.3s var(--ease);
}
.nav.scrolled .nav-inner { background: rgba(18, 20, 24, 0.72); height: 58px; }
.nav-logo img { height: 34px; width: auto; }
@media (max-width: 400px) { .nav-logo img { height: 28px; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; white-space: nowrap; border-radius: 999px;
  font-size: 15px; font-weight: 550; color: var(--muted); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-links .nav-new { position: relative; }
.nav-links .nav-new::after {
  content: attr(data-new); position: absolute; top: -2px; right: -2px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--red); color: #fff; border-radius: 999px; padding: 2px 6px; line-height: 1.2;
}
.nav-links .nav-lang { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; border: 1px solid var(--line-strong); padding: 6px 11px; margin-left: 4px; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 15px; white-space: nowrap; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--text); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 76px; left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    border-radius: var(--radius); border: 1px solid var(--line);
    background: rgba(18, 20, 24, 0.86);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    box-shadow: var(--highlight), var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .nav-links .nav-new::after { top: 50%; right: 14px; transform: translateY(-50%); }
  .nav-links .nav-mobile-cta { display: block; margin-top: 6px; background: var(--red); color: #fff; text-align: center; }
}
@media (min-width: 1121px) { .nav-mobile-cta { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 140px 0 clamp(40px, 7vh, 80px); isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.15) 35%, rgba(11, 12, 14, 0.75) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 12, 14, 0.7), transparent 60%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { max-width: 600px; color: #c9ced5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 8px; gap: 0; }
.stat { padding: 18px 20px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2):not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px;
}
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scrollHint 2s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}

/* ---------- Kunden-Laufband ---------- */
.clients { padding: 28px 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, 0.015); }
.clients-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.clients-track span { font-size: 20px; font-weight: 650; letter-spacing: 0.04em; color: #7c838e; white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
.clients-track span::after { content: "✕"; font-size: 12px; color: var(--red); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 16px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.intro-visual { position: relative; aspect-ratio: 4 / 3.4; }
.intro-visual .img-a, .intro-visual .img-b { position: absolute; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.intro-visual .img-a { inset: 0 18% 18% 0; }
.intro-visual .img-b { inset: 42% 0 0 38%; }
.intro-visual img { width: 100%; height: 100%; object-fit: cover; }
.intro-badge { position: absolute; left: 6%; bottom: 4%; padding: 16px 20px; display: flex; gap: 14px; align-items: center; }
.intro-badge b { font-size: 34px; font-weight: 780; letter-spacing: -0.03em; line-height: 1; }
.intro-badge span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f03a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(240, 58, 58, 0.35);
}
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro-visual { order: -1; } }

/* Leistungen – Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
a.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--highlight), 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 45%);
}
a.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(21px, 2vw, 25px); }
.card p { color: var(--muted); font-size: 16px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong); box-shadow: var(--highlight);
}
.card-icon svg { width: 24px; height: 24px; color: #fff; }
.card-tag { font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: #c6cbd2; }
.card ul li { padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 2px; background: var(--red); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.card-photo { min-height: 340px; justify-content: flex-end; }
.card-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.card-photo { isolation: isolate; }
.card-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 12, 14, 0.1) 0%, rgba(11, 12, 14, 0.55) 40%, rgba(11, 12, 14, 0.94) 85%); }
a.card-photo:hover > img { transform: scale(1.04); }
@media (max-width: 980px) { .span-2, .span-3, .span-4 { grid-column: span 3; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4 { grid-column: auto; } }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.step { padding: 28px; position: relative; }
.step-no { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--red); }
.step h3 { font-size: 20px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step-line { position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent); border-radius: 2px; transform-origin: left; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref { overflow: hidden; display: flex; flex-direction: column; }
.ref-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ref:hover .ref-img img { transform: scale(1.04); }
.ref-chip {
  position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 650; background: rgba(15, 16, 19, 0.55); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ref-body { padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.ref-body h3 { font-size: clamp(22px, 2.2vw, 27px); }
.ref-meta { font-size: 14.5px; font-weight: 600; color: #d3d7dd; }
.ref-body p { color: var(--muted); font-size: 15.5px; }
.ref-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ref-facts span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: #c6cbd2; background: rgba(255, 255, 255, 0.04); }
@media (max-width: 860px) { .refs { grid-template-columns: 1fr; } }

/* Strom-Rechner Teaser */
.teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 64px); overflow: hidden; position: relative; }
.teaser::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(240, 58, 58, 0.22), transparent 65%); pointer-events: none; }
.badge-new svg { width: 16px; height: 16px; }
.badge-new { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--red-soft); color: #ff8a8a; border: 1px solid rgba(240, 58, 58, 0.35); }
.mini-calc { padding: 22px; display: grid; gap: 14px; background: rgba(10, 11, 13, 0.55); }
.mini-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: 14.5px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06); }
.mini-row b { font-weight: 650; color: #d6dae0; }
.mini-result { padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(240, 58, 58, 0.22), rgba(240, 58, 58, 0.06)); border: 1px solid rgba(240, 58, 58, 0.35); }
.mini-result small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb0b0; }
.mini-result strong { font-size: 24px; font-weight: 760; letter-spacing: -0.02em; }
.phase-bars { display: grid; gap: 8px; }
.pbar { display: grid; grid-template-columns: 26px 1fr 54px; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.pbar i { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.pbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, #3ccf8e, #8ee6bb); border-radius: 8px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.in .pbar i::after { transform: scaleX(1); }
.pbar span:last-child { text-align: right; color: #d6dae0; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.portrait { position: relative; padding: 12px; }
.portrait img { border-radius: calc(var(--radius) - 8px); aspect-ratio: 1; object-fit: cover; width: 100%; filter: grayscale(0.15) contrast(1.03); }
.portrait-card { position: absolute; right: -14px; bottom: 28px; padding: 14px 18px; }
.portrait-card b { display: block; font-size: 17px; }
.portrait-card span { font-size: 14px; color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.value { padding: 22px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 420px; } .portrait-card { right: 10px; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact-tiles { display: grid; gap: 12px; margin-top: 28px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none; border-radius: 18px; transition: border-color 0.3s, transform 0.3s var(--ease); }
a.tile:hover { border-color: var(--line-strong); transform: translateX(3px); }
.tile .card-icon { width: 46px; height: 46px; flex: none; border-radius: 13px; }
.tile .card-icon svg { width: 20px; height: 20px; }
.tile small { display: block; font-size: 13px; color: var(--muted); }
.tile b { font-size: 16.5px; font-weight: 650; }
.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: #d3d7dd; }
.field label .opt { color: var(--dim); font-weight: 500; }
.input, .field input, .field textarea, .field select {
  width: 100%; font: 16px/1.4 var(--font); color: var(--text);
  padding: 13px 15px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .input:focus { outline: none; border-color: rgba(240, 58, 58, 0.7); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 4px rgba(240, 58, 58, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: #6a717c; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border-radius: 13px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.captcha-box { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; color: #d3d7dd; }
.captcha-box input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); cursor: pointer; display: grid; place-items: center; transition: border-color 0.2s, background 0.2s; }
.captcha-box input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(240, 58, 58, 0.25); }
.captcha-box input:checked { background: #2fb57a; border-color: #2fb57a; }
.captcha-box input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.captcha.laeuft .captcha-box input { border-color: transparent; border-top-color: var(--red); border-right-color: var(--red); border-radius: 50%; animation: captchaDreh 0.8s linear infinite; }
.captcha.fehler { border-color: rgba(240, 58, 58, 0.45); }
.captcha.ok { border-color: rgba(60, 207, 142, 0.4); }
.captcha-info { font-size: 12.5px; color: var(--dim); }
@keyframes captchaDreh { to { transform: rotate(360deg); } }
.form-note { font-size: 13.5px; color: var(--dim); }
.form-note a { color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 13px; font-size: 15px; }
.form-status.ok { display: block; background: rgba(60, 207, 142, 0.12); border: 1px solid rgba(60, 207, 142, 0.4); color: #a8f0cd; }
.form-status.err { display: block; background: var(--red-soft); border: 1px solid rgba(240, 58, 58, 0.45); color: #ffb0b0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* CTA-Band */
.cta-band { padding: clamp(32px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; left: -120px; bottom: -260px; background: radial-gradient(circle, rgba(240, 58, 58, 0.25), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 640px; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; padding: 170px 0 70px; isolation: isolate; overflow: hidden; }
.page-hero .hero-bg::after { background: linear-gradient(180deg, rgba(11, 12, 14, 0.7), rgba(11, 12, 14, 0.82) 60%, var(--bg)); }
.page-hero h1 { margin: 18px 0 18px; max-width: 900px; }
.page-hero .lead { max-width: 720px; color: #c9ced5; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 16px; }
.prose p { color: #c6cbd2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.list-panel { padding: clamp(24px, 3.5vw, 40px); }
.list-panel h3 { font-size: 22px; margin-bottom: 6px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { padding: 26px; }
.feature h3 { font-size: 19px; margin: 16px 0 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.legal { padding: clamp(24px, 4vw, 48px); max-width: 880px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #c6cbd2; font-size: 16px; }
.legal a { color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 40px; background: rgba(0, 0, 0, 0.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer img { height: 40px; width: auto; margin-bottom: 20px; }
.footer h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 650; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Hero und Seitenkopf: immer per CSS einblenden, unabhängig vom Scrollen */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: fadeUp 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .hero-bg img { animation: none; transform: none; }
}
