/* Mecksite – Konzeptentwurf 2026, Version 2
   Layout: ruhige, gestapelte Abschnitte mit viel Luft; Bild und Text im Wechsel.
   Navy bleibt Markenfarbe (Logo, Buttons, Links). Überschriften dunkel.
   Eine warme Zweitfarbe für kleine Akzente, passend zu Holz und Licht der Fotos.
   Bewusst nur helles Thema, weil das Logo nur für hellen Grund vorliegt. */

:root {
  --ink: #1f2933;
  --text: #36424e;
  --muted: #5d6975;
  --line: #e2e6ea;
  --line-strong: #cbd2d9;
  --surface: #ffffff;
  --soft: #f5f6f7;
  --navy: #245274;
  --navy-deep: #1b3f5a;
  --on-dark: #ffffff;

  /* Zweitfarbe: Koralle */
  --accent: #e2694c;
  --accent-ink: #a63f27;
  --accent-soft: #fcede8;
  --accent-mark: rgba(226, 105, 76, .30);

  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(28px, 4vw, 64px);
  --sec: clamp(64px, 8vw, 112px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap {
  max-width: calc(var(--wrap) + 64px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
@media (min-width: 1300px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* ---------- Typografie ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.15rem, 1.3rem + 2.9vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.005em; }
.mark { background: linear-gradient(transparent 64%, var(--accent-mark) 64%, var(--accent-mark) 92%, transparent 92%); padding: 0 .06em; }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.26rem); line-height: 1.6; color: var(--text); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-lg { display: grid; gap: clamp(36px, 4vw, 56px); }
.sec-head { display: grid; gap: 14px; max-width: 44em; }
.sec-head.row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px; }
@media (max-width: 700px) { .sec-head.row { grid-template-columns: 1fr; } }

/* ---------- Kopfzeile ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo img { width: 164px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 1rem; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav a.todo { color: var(--muted); }
.nav a.btn { color: var(--on-dark); padding: .72em 1.15em; border-bottom: 2px solid var(--navy); }
.nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--on-dark); background: var(--navy-deep); border-color: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); font: 700 .92rem var(--body); padding: .55em .95em; cursor: pointer; border-radius: 0; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav a.btn { margin-top: 16px; justify-content: center; box-shadow: none; padding-left: 1.15em; }
}

/* ---------- Buttons und Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; background: var(--navy); color: var(--on-dark);
  border: 2px solid var(--navy); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: .92em 1.4em;
  text-decoration: none; border-radius: 0; cursor: pointer; font-family: var(--body);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--on-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.arrow::after { content: "→"; }
.more { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; color: var(--navy); }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Seitenkopf mit Bild ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: var(--gap); align-items: center; }
.hero-text { display: grid; gap: 24px; min-width: 0; }
.hero-img { aspect-ratio: 4 / 3.4; overflow: hidden; max-width: 100%; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 8px; background: var(--accent); }
.crumbs { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; color: var(--muted); padding-top: 4px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { order: -1; aspect-ratio: 16 / 10; } }

/* ---------- Abschnitte ---------- */
.sec { padding-block: var(--sec); }
.sec.soft { background: var(--soft); }
.sec.accent { background: var(--accent-soft); }

/* ---------- Leistungs-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.tile { display: grid; gap: 14px; align-content: start; color: inherit; text-decoration: none; }
.tile-img { aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile h3 { margin-top: 6px; }
.tile p { color: var(--muted); }
.tile .more { margin-top: 2px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; gap: 44px; } .tile-img { aspect-ratio: 16 / 9; } }

/* ---------- Projekte kompakt ---------- */
.projects { border-top: 1px solid var(--line-strong); }
.project {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 15rem) 28px; gap: 16px 32px; align-items: center;
  padding-block: 22px; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: inherit;
}
.project-thumb { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); max-width: 100%; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.project-text { display: grid; gap: 4px; min-width: 0; }
.project-text h3 { font-size: 1.1rem; }
.project-text p { color: var(--muted); font-size: .98rem; }
.project-kpi { font-family: var(--display); font-weight: 700; color: var(--accent-ink); font-size: 1.02rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.project-go { font-size: 1.3rem; color: var(--navy); transition: transform .15s; }
a.project:hover h3 { color: var(--navy); }
a.project:hover .project-go { transform: translateX(4px); }
@media (max-width: 760px) {
  .project { grid-template-columns: 110px minmax(0, 1fr); gap: 10px 18px; }
  .project-kpi { grid-column: 2; }
  .project-go { display: none; }
}

/* ---------- Bild und Text ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.flip .split-img { order: 2; }
.split-img { aspect-ratio: 4 / 3.6; overflow: hidden; max-width: 100%; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text { display: grid; gap: 22px; min-width: 0; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip .split-img { order: 0; } .split-img { aspect-ratio: 16 / 10; } }

/* ---------- Drei Punkte ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point { display: grid; gap: 8px; align-content: start; }
.point::before { content: ""; width: 32px; height: 3px; background: var(--accent); margin-bottom: 6px; }
.point h3 { font-size: 1.05rem; }
.point p { color: var(--muted); font-size: .98rem; }
@media (max-width: 700px) { .points, .points.two { grid-template-columns: 1fr; } }

/* ---------- Zitat ---------- */
.quote { display: grid; gap: 14px; border-left: 3px solid var(--accent); padding-left: 22px; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.4; }
.quote cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.quote cite strong { color: var(--ink); }

/* ---------- Auf einen Blick (Unterseiten) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--soft); }
.facts > div { padding: 22px 24px; display: grid; gap: 4px; align-content: start; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.4; }
.facts dd b { color: var(--accent-ink); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div { border-left: 0; } .facts > div + div { border-top: 1px solid var(--line); } }

/* ---------- Listen ---------- */
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.checks li::before { content: ""; width: 9px; height: 9px; background: var(--accent); margin-top: .62em; }

/* ---------- Schritte (echte Reihenfolge) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line-strong); padding-top: 16px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; color: var(--accent-ink); font-size: 1.6rem; line-height: 1; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .96rem; }
.steps.col { grid-template-columns: 1fr; gap: 0; }
.steps.col li { grid-template-columns: 2.4rem minmax(0, 1fr); padding-block: 18px; gap: 4px 12px; }
.steps.col li::before { grid-row: span 2; font-size: 1.35rem; }

/* ---------- Kennzahl vorher / heute ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { padding: 28px 30px; display: grid; gap: 6px; align-content: start; }
.kpi .eyebrow { color: var(--muted); }
.kpi b { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi.before { background: var(--soft); }
.kpi.after { background: var(--accent-soft); }
.kpi.after b { color: var(--accent-ink); }
.kpi span:last-child { color: var(--muted); }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* ---------- Bilder mit Unterschrift ---------- */
.shot { display: grid; gap: 10px; }
.shot img { border: 1px solid var(--line); width: 100%; }
.shot figcaption { font-size: .9rem; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 700px) { .shots { grid-template-columns: 1fr; } }

/* ---------- Häufige Fragen ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap); }
.cols > * { min-width: 0; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-family: var(--display); font-size: 1.5rem; color: var(--accent-ink); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--navy); }
.faq .answer { padding: 0 44px 22px 0; max-width: 42em; }

/* ---------- Kontaktband ---------- */
.cta-band { background: var(--accent-soft); }
.cta-band .wrap { padding-block: var(--sec); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap); align-items: center; }
.cta-band p { max-width: 34em; }
.contact-list { display: grid; gap: 18px; }
.contact-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); user-select: all; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.form legend, .form label.fl { font-weight: 700; font-size: .98rem; color: var(--ink); padding: 0; margin-bottom: 2px; }
.req { color: var(--accent-ink); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; border: 1px solid var(--line-strong); padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--ink); line-height: 1.3; background: var(--surface); }
.choice span small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid #a3adb7; border-radius: 0; padding: .75em .85em;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink); }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy); }
.note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 14px; font-size: .94rem; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gap); align-items: start; }
.aside-box { background: var(--soft); padding: 28px; display: grid; gap: 22px; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .choices, .field-row { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.site-foot { background: var(--soft); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 60px 40px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--navy); text-decoration: underline; }
.foot-grid .logo img { width: 146px; margin-bottom: 14px; }
.foot-grid p { color: var(--muted); max-width: 24em; }
.foot-bottom { border-top: 1px solid var(--line-strong); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .86rem; }
.foot-bottom a { color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Visuals: echte Screens und Schemata statt Stockfotos ---------- */
.frame { background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 26px 50px -30px rgba(31, 41, 51, .45); overflow: hidden; position: relative; }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 10px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: .72rem; color: var(--muted); }
.frame-bar::before { content: ""; flex: none; width: 32px; height: 8px; background: radial-gradient(circle, var(--line-strong) 3.4px, transparent 3.9px) 0 0 / 11px 8px repeat-x; }
.frame-bar span { flex: 1; background: var(--surface); border: 1px solid var(--line); padding: 0 10px; max-width: 200px; margin: 0 auto; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 18px; }
.frame-bar::after { content: ""; flex: none; width: 32px; }
.frame > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.tablet { background: #1f2933; padding: 9px; border-radius: 16px; box-shadow: 0 26px 50px -26px rgba(31, 41, 51, .55); }
.tablet img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top left; border-radius: 6px; }

.collage { position: relative; padding-top: 22px; padding-bottom: 16%; }
.collage::before { content: ""; position: absolute; top: 0; right: 0; width: 52%; height: 64%; background: var(--accent-soft); }
.collage::after { content: ""; position: absolute; top: 0; right: 0; width: 18%; height: 8px; background: var(--accent); }
.collage .frame { width: 90%; }
.collage .tablet { position: absolute; right: 0; bottom: 0; width: 44%; }

.visual { aspect-ratio: 4 / 3; background: var(--surface); display: grid; place-items: center; padding: 8% 7%; overflow: hidden; position: relative; max-width: 100%; }
.visual::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26%; height: 5px; background: var(--accent); }
.visual > * { width: 100%; }
.tile:hover .visual .frame, .tile:hover .visual .tablet { transform: translateY(-3px); }
.visual .frame, .visual .tablet { transition: transform .25s ease; }

/* Schema-Elemente */
.mock-body { padding: 16px 18px 18px; display: grid; gap: 12px; text-align: left; }
.mock-q { justify-self: end; background: var(--soft); border: 1px solid var(--line); padding: 7px 12px; font-size: .82rem; color: var(--ink); max-width: 88%; line-height: 1.35; }
.mock-tag { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.bars { display: grid; gap: 7px; }
.bars i { display: block; height: 7px; background: var(--line); }
.mock-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.mock-src em { font-style: normal; display: inline-block; min-width: 54px; height: 20px; background: var(--soft); border: 1px solid var(--line); }
.mock-src em.hit { min-width: 0; height: auto; padding: 1px 8px; background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.mock-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.mbtn { font-size: .76rem; font-weight: 700; padding: 5px 12px; border: 1px solid var(--line-strong); color: var(--ink); }
.mbtn.go { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }

/* Ablauf-Grafik */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); padding: clamp(18px, 3vw, 30px); position: relative; }
.flow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26%; height: 6px; background: var(--accent); }
.flow-col { display: grid; gap: 7px; }
.flow-h { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.flow-col i { font-style: normal; font-size: .92rem; font-weight: 600; color: var(--ink); background: var(--soft); border: 1px solid var(--line); padding: 7px 10px; }
.flow-col.out i { background: var(--accent-soft); border-color: transparent; }
.flow-core { display: grid; grid-auto-flow: column; place-items: center; gap: 10px; color: var(--muted); font-size: 1.4rem; }
.flow-core b { font-family: var(--display); font-size: .95rem; color: var(--on-dark); background: var(--navy); padding: 16px 14px; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .04em; }
.flow-cap { font-size: .86rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .flow-core { grid-auto-flow: column; }
  .flow-core b { writing-mode: horizontal-tb; transform: none; padding: 10px 16px; }
  .flow-core .arr { transform: rotate(90deg); }
}

/* Zeitleiste */
.timeline { background: var(--surface); padding: clamp(24px, 4vw, 40px); display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline li:last-child { border-bottom: 0; }
.timeline b { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline li:last-child b { color: var(--accent-ink); }
.timeline span { color: var(--muted); }
.timeline li:last-child span { color: var(--ink); font-weight: 600; }
.timeline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26%; height: 6px; background: var(--accent); }

/* Kontaktkarte */
.contact-card { background: var(--accent-soft); padding: clamp(28px, 4vw, 48px); display: grid; gap: 26px; position: relative; }
.contact-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30%; height: 6px; background: var(--accent); }
.contact-card dd { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.contact-card dd.addr { font-family: var(--body); font-weight: 600; font-size: 1.1rem; }
.hero-visual, .split-vis { min-width: 0; }
.split.flip .split-vis { order: 2; }
@media (max-width: 900px) { .split.flip .split-vis { order: 0; } }
.visual.on-white { background: var(--soft); }

/* ---------- v5: weitere Bausteine ---------- */
/* Vergleich zweier Wege */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare > div { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; border-top: 4px solid var(--line-strong); }
.compare > div.pick { border-top-color: var(--accent); }
.compare h3 { font-size: 1.15rem; }
.compare .checks { gap: 10px; font-size: .98rem; }
.sec:not(.soft) .compare > div { background: var(--soft); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Projekt ohne Bild / Status */
.project-thumb.empty { display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 6px; }
.status { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
div.project { cursor: default; }

/* Wissen */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; background: var(--surface); text-decoration: none; color: inherit; }
.feature-img { aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature:hover .feature-img img { transform: scale(1.03); }
.feature-text { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.feature-text h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.feature:hover h3 { color: var(--navy); }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }
.topics { border-top: 1px solid var(--line-strong); }
.topics li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding-block: 20px; border-bottom: 1px solid var(--line-strong); align-items: baseline; }
.topics h3 { font-size: 1.08rem; }
.topics p { color: var(--muted); font-size: .98rem; grid-column: 1; }
.topics .tag { grid-column: 2; grid-row: 1; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .topics li { grid-template-columns: 1fr; } .topics .tag { grid-column: 1; grid-row: auto; } }

/* Artikel */
.article-grid { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 3.5fr); gap: var(--gap); align-items: start; }
.article-grid > * { min-width: 0; }
.toc { position: sticky; top: 104px; display: grid; gap: 24px; }
.toc nav { display: grid; gap: 6px; font-size: .95rem; border-left: 3px solid var(--accent); padding-left: 16px; }
.toc nav a { color: var(--text); text-decoration: none; }
.toc nav a:hover { color: var(--navy); text-decoration: underline; }
.toc .aside-box { padding: 22px; gap: 12px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .toc { position: static; order: -1; } }
.article { display: grid; gap: 1.1em; font-size: 1.06rem; max-width: 42em; }
.article h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); margin-top: 1.4em; scroll-margin-top: 100px; }
.article h3 { margin-top: .6em; }
.article ul.checks, .article ol { margin-block: .2em; }
.article ol.numbered { counter-reset: n; display: grid; gap: 12px; }
.article ol.numbered li { counter-increment: n; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 10px; }
.article ol.numbered li::before { content: counter(n); font-family: var(--display); font-weight: 700; color: var(--accent-ink); }
.article .note { font-size: 1rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); }
.table-wrap { overflow-x: auto; max-width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 480px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-strong); }
.table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.table td:last-child { font-weight: 600; color: var(--ink); }
.sources { display: grid; gap: 8px; font-size: .95rem; }

/* ---------- v6: strenger, ruhiger (Richtung Audi / Apple) ---------- */
:root { --sec: clamp(72px, 9vw, 136px); --stage: #0f1820; }
h1, h2 { font-weight: 600; }
h1 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.9rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em; }
.sec-head { gap: 18px; }
.hero-img::after, .visual::after { display: none; }
.hero-img { aspect-ratio: 4 / 3.6; }
.tile-img { aspect-ratio: 4 / 4.4; }
.tile h3 { font-size: 1.3rem; font-weight: 600; margin-top: 10px; }
@media (max-width: 900px) { .tile-img { aspect-ratio: 16 / 10; } }

.stage-text { padding-block: clamp(48px, 7vw, 112px) clamp(36px, 4.5vw, 64px); display: grid; gap: clamp(22px, 3vw, 36px); }
.stage h1 { font-size: clamp(2.5rem, 1rem + 5.2vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; }
.stage-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--gap); align-items: end; }
.stage-row .actions { justify-content: flex-end; }
.stage-img { position: relative; height: clamp(300px, 44vw, 620px); overflow: hidden; background: var(--stage); }
.stage-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.stage-facts { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(10, 18, 26, .82), rgba(10, 18, 26, 0)); padding-block: clamp(48px, 8vw, 110px) clamp(18px, 2.4vw, 32px); }
.stage-facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; color: var(--on-dark); }
.stage-facts li { display: grid; gap: 2px; font-size: .92rem; border-top: 1px solid rgba(255, 255, 255, .45); padding-top: 12px; }
.stage-facts b { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, .9rem + .9vw, 1.6rem); letter-spacing: -0.02em; }
@media (max-width: 820px) {
  .stage-row { grid-template-columns: 1fr; } .stage-row .actions { justify-content: flex-start; }
  .stage-img { height: auto; display: grid; }
  .stage-img img { height: 240px; }
  .stage-facts { position: static; background: var(--stage); padding-block: 22px; }
  .stage-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.refgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.ref { display: grid; gap: 10px; align-content: start; color: inherit; text-decoration: none; }
.ref-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); max-width: 100%; margin-bottom: 8px; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s ease; }
.ref:hover .ref-img img { transform: scale(1.03); }
.ref h3 { font-size: 1.2rem; font-weight: 600; }
.ref:hover h3 { color: var(--navy); }
.ref p { color: var(--muted); font-size: .98rem; }
.more.ext::after { content: "↗"; }
@media (max-width: 900px) { .refgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .refgrid { grid-template-columns: 1fr; } }

/* ---------- v7: Livegang ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note.ok { background: #e9f4ef; border-left-color: #2f7d5f; }
.note.err { background: var(--accent-soft); border-left-color: var(--accent); }
.legal-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.legal { padding-bottom: var(--sec); }
.legal .article { font-size: 1rem; max-width: 46em; }
.legal .article h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin-top: 1.6em; }
.legal .article h3 { font-size: 1.05rem; font-family: var(--body); margin-top: .8em; }
.legal .article ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.legal .article a { overflow-wrap: anywhere; }
.legal .article { overflow-wrap: anywhere; hyphens: auto; }
.legal .article > * { min-width: 0; }
.legal-head h1 { font-size: clamp(1.55rem, 1rem + 2.6vw, 3rem); overflow-wrap: anywhere; hyphens: auto; }
/* ---------- v9: Kundenliste ---------- */
.clients-block { display: grid; gap: 20px; border-top: 1px solid var(--line-strong); padding-top: clamp(28px, 4vw, 44px); }
.clients-h { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.clients li { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); padding-block: 13px; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }

/* Wissen: Beitragsraster */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.post { display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 8px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post-img img { transform: scale(1.03); }
.post h3 { font-size: 1.2rem; }
.post:hover h3 { color: var(--navy); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.topics h3 a { color: inherit; text-decoration: none; }
.topics h3 a:hover { color: var(--navy); text-decoration: underline; }
.related { border-top: 1px solid var(--line); }
.article code { font-size: .9em; background: var(--surface); padding: 1px 5px; overflow-wrap: anywhere; }

/* Systemschrift (Arial unter Windows, Helvetica auf dem Mac): scharfe Kanten auf jedem Bildschirm, keine Schriftdateien */
html { font-synthesis: none; }
body { font-size: 17px; -webkit-font-smoothing: auto; }
h1, h2, h3, h4 { font-weight: 700; }
h1 { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.025em; }
h3 { letter-spacing: -0.01em; }
.stage h1 { letter-spacing: -0.04em; line-height: 1; }
.lead { letter-spacing: -0.005em; }
