/* GrenzWerk – Website-Stil
   Idee: ein klares, helles Raster wie das Roll-up. Weiß und Lila, eine dunkle "Grenzlinie" als Gliederung,
   Barlow Condensed für Überschriften, Barlow für Text. Eine Hell-Variante, bewusst. */
:root {
  --ink: #18131F;
  --muted: #554F60;
  --paper: #FFFFFF;
  --mist: #F5F3FA;
  --tint: #ECE8F5;
  --line: #E1DCEB;
  --accent: #5B3FA0;
  --accent-deep: #44317E;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --radius: 18px;
  color-scheme: light;
}

@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('fonts/barlow-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 8vw, 104px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 16px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* Grenzlinie */
.rule { display: flex; gap: 14px; height: 6px; margin: 0; }
.rule::before { content: ""; flex: 1 1 auto; background: var(--ink); }
.rule::after { content: ""; flex: 0 0 22%; background: var(--accent); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.hero-center { text-align: center; align-items: center; }
.hero-center .lead { margin: 0 auto; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-center .actions { justify-content: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; font-family: var(--font-body); }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--tint); color: var(--accent-deep); border-color: var(--accent-deep); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { font-weight: 600; font-size: 17px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* Abschnitte */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; max-width: 760px; }

/* Startseiten-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 40px 38px 36px; border-radius: var(--radius); background: var(--mist); color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile::before { content: ""; position: absolute; left: 38px; top: 0; width: 64px; height: 6px; background: var(--accent); border-radius: 0 0 3px 3px; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(68,49,126,0.45); border-color: var(--accent); color: var(--ink); }
.tile h2 { font-size: clamp(32px, 3.6vw, 44px); }
.tile p { color: var(--muted); font-size: 18px; max-width: 40ch; }
.tile .more { margin-top: auto; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.tile .more svg { transition: transform .2s ease; }
.tile:hover .more svg { transform: translateX(4px); }
.tile-feature { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile-feature::before { background: #fff; }
.tile-feature p, .tile-feature .more, .tile-feature .eyebrow { color: #fff; }
.tile-feature:hover { color: #fff; border-color: var(--accent-deep); background: var(--accent-deep); }

/* Karten auf Landingpages */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--ink); }
.section-mist .card { background: var(--paper); }
.card p { color: var(--muted); }
.card .tag { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card-accent { border-top-color: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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/14px no-repeat; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1; }
.steps p { color: var(--muted); }

/* Faktenbox (Ausbildung) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.fact { padding: 26px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact span { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact b { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 30px; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Anfrage */
.cta { background: var(--accent); color: #fff; border-radius: 26px; padding: 56px 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 24px; } }
.cta .eyebrow { color: #fff; opacity: .9; }
.cta h2 { color: #fff; }
.cta p { color: #F0ECF8; }
.cta a { color: #fff; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: #fff; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { background: #fff; color: var(--accent); border-color: #fff; grid-column: 1 / -1; justify-self: start; }
.form .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-note { grid-column: 1 / -1; font-size: 15px; }
.form-status { grid-column: 1 / -1; font-size: 16px; font-weight: 600; background: rgba(255,255,255,0.14); border-radius: 12px; padding: 12px 14px; }
.form-status[hidden] { display: none; }

/* Weitere Bereiche */
.more-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.more-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; }
.more-links a:hover { border-color: var(--accent); color: var(--accent); }

/* Fußzeile */
.site-footer { background: var(--ink); color: #D9D4E3; padding: 56px 0 40px; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer a { color: #fff; }
.site-footer .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand b { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; color: #fff; }

/* Hero mit Bild */
.hero-media .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-media .hero-text { display: flex; flex-direction: column; gap: 26px; }
.hero-media h1 { font-size: clamp(44px, 6vw, 78px); }
.hero-media h1 em { font-style: normal; color: var(--accent); }
.hero-media figure { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
@media (max-width: 860px) { .hero-media .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* Methode: Bild + Text im Wechsel */
.pillars { display: flex; flex-direction: column; gap: 72px; }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pillar:nth-child(even) > figure { order: 2; }
.pillar figure { margin: 0; }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.pillar .stack { gap: 14px; }
.pillar .num { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .08em; color: var(--accent); }
.pillar p { color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .pillar { grid-template-columns: 1fr; gap: 24px; } .pillar:nth-child(even) > figure { order: 0; } }

/* Zitate */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.quote figcaption { font-size: 15px; font-weight: 600; color: var(--muted); }
.quote figcaption span { display: block; font-weight: 400; }

/* Team */
.team-photo { margin: 0 0 44px; }
.team-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 22px; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 3px solid var(--ink); }
.founder .role { color: var(--accent); font-weight: 700; font-size: 16px; }
.founder p { color: var(--muted); }
.pull { margin: 52px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; max-width: 30ch; text-wrap: balance; }

/* Presse */
.press { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.press a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.press a:hover { color: var(--accent); }
.press small { display: block; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
