/* Lenke Engineering – Farben & Schrift laut Vorgabe */

/* Montserrat lokal eingebunden (SIL Open Font License, siehe assets/fonts/OFL-LICENSE.txt) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0A2747;
  --navy-2: #0F3159;
  --blue: #1E88D9;
  --grey: #6B7480;
  --light: #F2F4F7;
  --white: #FFFFFF;
  --line: #DDE2E8;
  --max: 1160px;
  --radius: 4px;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 46px; height: auto; }
.logo .divider { width: 1.5px; align-self: stretch; background: var(--grey); }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word strong { font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; }
.logo .word span { font-size: .55rem; font-weight: 500; letter-spacing: .52em; color: var(--grey); margin-top: 4px; }
.logo--light .word strong { color: var(--white); }
.logo--light .word span { color: #A9B3C1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  text-decoration: none; font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.nav a:hover { color: var(--blue); }
.nav .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--radius);
  background: var(--blue); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--blue); transition: background .2s, color .2s;
}
.btn:hover { background: #156fb5; border-color: #156fb5; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.nav .btn { padding: 10px 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 120px 0 140px;
}
.hero::after { /* blauer Streifen wie auf Fahrzeug & Jacke */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--blue);
}
.hero-shape { /* Bildmarke als großes Hintergrundmotiv */
  position: absolute; right: -80px; bottom: 10px; width: 640px; opacity: .08; pointer-events: none;
}
.hero-shape path { fill: #fff; }
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.12; font-weight: 800;
  margin: 0 0 24px; max-width: 820px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 1.1rem; color: #C3CCD8; max-width: 620px; margin: 0 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.phases {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 64px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #A9B3C1;
}
.phases span:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--blue); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; font-weight: 800; margin: 0 0 16px; }
.section-head p { color: var(--grey); margin: 0; font-size: 1.05rem; }
.section-head p.eyebrow { color: var(--blue); }
.bg-light { background: var(--light); }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; position: relative; transition: transform .2s, box-shadow .2s;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 64px; height: 4px; background: var(--blue);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,39,71,.10); }
.card .num { font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.card h3 { font-size: 1.35rem; font-weight: 700; margin: 12px 0 14px; }
.card p { color: var(--grey); margin: 0 0 20px; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: .92rem; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 6px;
  background: var(--blue); transform: skewX(-38deg);
}

/* ---------- Serviceleistungen im Detail ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
  display: flex; flex-direction: column; background: var(--white);
}
.svc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.svc-num {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-weight: 800; border-radius: var(--radius);
  border-bottom: 4px solid var(--blue);
}
.svc h3 { font-size: 1.25rem; margin: 0; }
.svc > p { color: var(--grey); margin: 0 0 18px; }
.svc ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.svc li { position: relative; padding: 7px 0 7px 22px; font-size: .93rem; border-top: 1px solid var(--line); }
.svc li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 6px;
  background: var(--blue); transform: skewX(-38deg);
}
.svc .svc-result {
  margin: 0; padding: 14px 16px; background: var(--light); border-left: 3px solid var(--blue);
  font-size: .9rem; color: var(--navy);
}

/* ---------- Ablauf ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 18px;
}
.step::after {
  content: ""; position: absolute; top: 20px; left: 72px; right: 20px; height: 2px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--grey); font-size: .93rem; margin: 0; }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
/* Logo-Fläche beginnt auf Höhe des Porträts (unter der Zeile „Über uns“) */
.about-visual { margin-top: calc(.75rem * 1.6 + 18px); }
.about-visual {
  background: var(--navy); border-radius: var(--radius); aspect-ratio: 4 / 3.4;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.about-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--blue); }
.about-visual svg { width: 52%; }
.about-visual svg path:first-child { fill: #fff; }
.about h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0 0 6px; }
.about .role { color: var(--grey); font-size: 1.05rem; margin: 0 0 24px; }
.about p { margin: 0 0 18px; }
.person { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.person .role { margin: 0; }
.portrait {
  flex: none; width: 112px; height: 112px; object-fit: cover;
  border-radius: var(--radius); border-bottom: 4px solid var(--blue);
  box-shadow: 0 10px 24px rgba(10,39,71,.12);
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.fact { border-left: 3px solid var(--blue); padding-left: 14px; }
.fact strong { display: block; font-size: 1rem; }
.fact span { font-size: .85rem; color: var(--grey); }

/* ---------- Werdegang ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 36px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px;
  background: var(--blue); transform: skewX(-38deg);
}
.timeline .year { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.timeline h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.timeline p { color: var(--grey); margin: 0; max-width: 760px; font-size: .95rem; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.tools span {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: .82rem; font-weight: 500; background: var(--light);
}

/* ---------- Kontakt ---------- */
.contact { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--blue); }
.contact .section-head p { color: #C3CCD8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list b { color: var(--blue); width: 20px; font-weight: 700; }
.contact-list a { text-decoration: none; font-size: 1.1rem; display: inline-block; padding: 8px 0; margin: -8px 0; }
.contact-list a:hover { color: var(--blue); }
.contact-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 40px;
}
.contact-logo { margin-bottom: 28px; }
.contact-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.contact-card p { color: #C3CCD8; margin: 0 0 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #071D36; color: #A9B3C1; padding: 48px 0; font-size: .85rem; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.site-footer a:hover { color: var(--white); }

/* ---------- Turnover Management über alle Phasen ---------- */
.tm { background: var(--light); position: relative; overflow: hidden; }
.tm .eyebrow { color: var(--blue); }
.tm-flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -28px 0 36px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.tm-flow span:not(:last-child)::after { content: "→"; margin-left: 10px; color: var(--blue); }
.tm-phases { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tm-phases > li {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--radius); padding: 24px 20px; transition: transform .2s, box-shadow .2s;
}
.tm-phases > li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,39,71,.10); }
.tm-num { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.tm-phases h3 { font-size: 1.05rem; margin: 8px 0 12px; }
.tm-phases ul { list-style: none; padding: 0; margin: 0; }
.tm-phases ul li { position: relative; padding: 6px 0 6px 18px; font-size: .86rem; color: var(--grey); border-top: 1px solid var(--line); }
.tm-phases ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 5px; background: var(--blue); transform: skewX(-38deg);
}
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.bg-light .tools span { background: var(--white); }
.tm-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Seitliche Turnover-Phasen auf der Unterseite */
.phase-block { border-left: 3px solid var(--blue); padding: 4px 0 4px 24px; margin: 0 0 36px; }
.content .phase-block h3 { margin: 0 0 4px; font-size: 1.2rem; }
.phase-block .phase-label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.phase-block p { margin: 6px 0 10px; }

/* ---------- Footer mit Linkspalten ---------- */
.site-footer .container.footer-wrap { display: block; }
.site-footer .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start;
  padding-bottom: 32px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { margin: 12px 0 0; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col strong {
  color: var(--white); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px;
}
.site-footer .footer-col a { padding: 4px 0; margin: 0; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Sprachumschalter ---------- */
.nav a.lang {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; letter-spacing: .1em;
}
.nav a.lang:hover { border-color: var(--blue); }

/* ---------- Links „Mehr erfahren“ ---------- */
.more {
  display: inline-block; margin-top: 18px; padding: 6px 0; font-weight: 700; font-size: .85rem;
  color: var(--blue); text-decoration: none; letter-spacing: .02em;
}
.more::after { content: " →"; }
.svc .more { align-self: flex-start; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.more:hover { text-decoration: underline; }

/* ---------- Unterseiten ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 72px 0 84px;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--blue); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; font-weight: 800; margin: 0 0 20px; max-width: 860px; }
.page-hero .lead { font-size: 1.08rem; color: #C3CCD8; max-width: 720px; margin: 0 0 32px; }
.breadcrumb { font-size: .8rem; color: #A9B3C1; margin-bottom: 28px; }
.breadcrumb a { color: #C3CCD8; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: var(--blue); }

.content .container { max-width: 860px; }
.content h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.25; font-weight: 800; margin: 56px 0 16px; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.content p { color: #33465C; margin: 0 0 16px; }
.content ul.check { list-style: none; padding: 0; margin: 0 0 16px; }
.content ul.check li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); }
.content ul.check li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 6px;
  background: var(--blue); transform: skewX(-38deg);
}
.content ol.steps { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: s; }
.content ol.steps li { position: relative; padding: 0 0 22px 56px; counter-increment: s; }
.content ol.steps li::before {
  content: "0" counter(s); position: absolute; left: 0; top: -2px;
  font-weight: 800; font-size: 1.3rem; color: var(--blue);
}
.content ol.steps b { display: block; }
.content .svc-result { margin: 32px 0 0; padding: 18px 20px; background: var(--light); border-left: 3px solid var(--blue); }

.related { background: var(--light); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.related-grid a {
  display: block; padding: 20px 22px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; font-weight: 700; transition: border-color .2s, transform .2s;
}
.related-grid a:hover { border-color: var(--blue); transform: translateY(-2px); }
.related-grid small { display: block; font-weight: 500; color: var(--grey); margin-top: 4px; }
.cta-box {
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border-bottom: 6px solid var(--blue);
}
.cta-box h2 { margin: 0 0 6px; font-size: 1.5rem; }
.cta-box p { margin: 0; color: #C3CCD8; max-width: 560px; }

/* ---------- FAQ ---------- */
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 0;
  font-weight: 700; font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--blue);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--blue); }
.faq-list .answer { padding: 0 0 22px; }
.faq-list .answer p:last-child { margin-bottom: 0; }
.contact-more { margin: 24px 0 0; color: #C3CCD8; }
.contact-more a { color: var(--white); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 80px 0 110px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 2.2rem; font-weight: 800; margin: 0 0 32px; }
.legal h2 { font-size: 1.15rem; margin: 36px 0 8px; }
.legal p { color: #33465C; }
.placeholder { background: #FFF6D6; padding: 2px 6px; border-radius: 3px; }

/* ---------- Formen der Zusammenarbeit ---------- */
.modes-section { padding: 96px 0; background: var(--white); }
.modes { scroll-margin-top: 90px; }
.modes-head { max-width: 760px; margin-bottom: 40px; }
.modes-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin: 0 0 14px; }
.modes-head p:not(.eyebrow) { color: var(--grey); margin: 0; }
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { background: var(--light); border-radius: var(--radius); border-top: 4px solid var(--navy); padding: 30px 26px; }
.mode:nth-child(2) { border-top-color: var(--blue); }
.mode:nth-child(3) { border-top-color: #6F98C4; }
.mode-num { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.mode h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.mode { transition: transform .2s, box-shadow .2s; }
.mode:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,39,71,.10); }

/* Hinweis-Leiste im Einstiegsbereich */
.hero-formats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-formats a {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.04);
  color: #DCE4EE; text-decoration: none; font-size: .86rem; transition: border-color .2s, background .2s;
}
.hero-formats a:hover { border-color: var(--blue); background: rgba(30,136,217,.12); }
.hero-formats a::before { content: ""; width: 10px; height: 6px; background: var(--blue); transform: skewX(-38deg); }
.hero-formats b { color: var(--white); font-weight: 700; }
.mode > p { color: var(--grey); font-size: .93rem; margin: 0 0 16px; }
.mode ul { list-style: none; padding: 0; margin: 0; }
.mode li { position: relative; padding: 7px 0 7px 20px; font-size: .88rem; border-top: 1px solid var(--line); }
.mode li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 5px; background: var(--blue); transform: skewX(-38deg); }
.mode-note { margin: 20px 0 0; padding: 14px 18px; border: 1px dashed #B9C6D6; border-radius: var(--radius); font-size: .93rem; color: var(--navy); }
.mode-note a { color: var(--blue); }
@media (max-width: 960px) { .modes-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .modes-section { padding: 72px 0; } .hero-formats a { font-size: .8rem; } }

/* ---------- Kontakt speichern (vCard) ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--vcard { display: inline-flex; align-items: center; gap: 10px; }
.btn--vcard::before { /* kleines Visitenkarten-Symbol */
  content: ""; width: 16px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) 3px 3px / 4px 4px no-repeat,
              linear-gradient(currentColor, currentColor) 9px 4px / 4px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) 9px 7px / 3px 1.5px no-repeat;
}
.contact-hint { margin: 14px 0 0; font-size: .8rem; color: #A9B3C1; }

/* ---------- Highlight 1: R&I-Linienzeichnung im Einstieg ---------- */
.hero-pid {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: min(58vw, 780px); height: auto; pointer-events: none; opacity: .55;
  /* links weich ausblenden, damit der Text frei bleibt */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
          mask-image: linear-gradient(to right, transparent 0%, #000 42%);
}
.hero-pid .pid-ln, .hero-pid .pid-main {
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: pid-draw 1.6s ease-out forwards;
}
.hero-pid .pid-ln { stroke: #4C76A3; stroke-width: 1.4; }
.hero-pid .pid-main { stroke: var(--blue); stroke-width: 2; }
.hero-pid .d1 { animation-delay: .2s; }
.hero-pid .d2 { animation-delay: .9s; }
.hero-pid .d3 { animation-delay: 1.6s; }
.hero-pid .d4 { animation-delay: 2.3s; }
.hero-pid .pid-sig { fill: none; stroke: #4C76A3; stroke-width: 1.2; stroke-dasharray: 5 5; }
.hero-pid .pid-inst circle, .hero-pid .pid-inst path { fill: none; stroke: #6F98C4; stroke-width: 1.4; }
.hero-pid .pid-tag text { fill: #8FAACB; font-family: var(--font); font-size: 11px; font-weight: 600; text-anchor: middle; letter-spacing: .04em; }
.hero-pid .pid-arrow path { fill: var(--blue); }
.hero-pid .pid-sig, .hero-pid .pid-inst, .hero-pid .pid-tag, .hero-pid .pid-arrow {
  opacity: 0; animation: pid-fade .9s ease forwards 3.2s;
}
@keyframes pid-draw { to { stroke-dashoffset: 0; } }
@keyframes pid-fade { to { opacity: 1; } }
@media (min-width: 821px) { .hero-shape { display: none; } }
@media (min-width: 821px) and (max-width: 1199px) { .hero-pid { right: -170px; width: 640px; opacity: .45; } }
@media (max-width: 820px) { .hero-pid { display: none; } }

/* ---------- Highlight 2: Interaktive Turnover-Grafik ---------- */
.to-board {
  margin: 0 0 48px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 4px solid var(--navy); padding: 28px 28px 20px;
}
.to-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.to-title { display: block; font-weight: 700; font-size: 1.05rem; }
.to-sub { display: block; font-size: .85rem; color: var(--grey); margin-top: 2px; }
.to-count { font-size: .85rem; color: var(--grey); }
.to-count strong { font-size: 1.9rem; font-weight: 800; color: var(--blue); margin-right: 6px; font-variant-numeric: tabular-nums; vertical-align: -3px; }
.to-grid { display: grid; gap: 6px; }
.to-row { display: grid; grid-template-columns: minmax(150px, 1.6fr) repeat(5, 1fr); gap: 6px; align-items: center; border-radius: var(--radius); }
.to-row--head span { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); padding: 0 0 4px; }
.to-row--head span[title] { cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
.to-sys { font-size: .86rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.to-sys b { font-weight: 700; color: var(--grey); margin-right: 6px; font-variant-numeric: tabular-nums; transition: color .3s; }
.to-cell { position: relative; height: 26px; background: var(--light); border-radius: 3px; overflow: hidden; }
.to-cell::before {
  content: ""; position: absolute; inset: 0; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.to-cell::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translate(-50%, -70%) rotate(-45deg) scale(.4); opacity: 0;
  transition: opacity .25s ease .3s, transform .25s ease .3s;
}
.to-cell.done::before { transform: scaleX(1); }
.to-cell.done::after { opacity: 1; transform: translate(-50%, -70%) rotate(-45deg) scale(1); }
.to-row .to-cell:last-child.done::before { background: var(--navy); }
.to-row.handed .to-sys, .to-row.handed .to-sys b { color: var(--blue); }
.to-row:not(.to-row--head):hover { background: var(--light); }
.to-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.to-abbr { font-size: .78rem; color: var(--grey); }
.to-replay {
  font-family: var(--font); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; cursor: pointer; transition: border-color .2s, color .2s;
}
.to-replay:hover { border-color: var(--blue); }
.to-replay:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) {
  .to-board { padding: 20px 14px 16px; }
  .to-row { grid-template-columns: minmax(96px, 1.5fr) repeat(5, 1fr); gap: 4px; }
  .to-row--head span { font-size: .56rem; letter-spacing: .06em; }
  .to-sys { font-size: .74rem; white-space: normal; overflow: visible; hyphens: auto; -webkit-hyphens: auto; line-height: 1.25; }
  .to-sys b { display: block; margin: 0; font-size: .66rem; }
  .to-cell { height: 22px; }
}

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-pid .pid-ln, .hero-pid .pid-main { animation: none; stroke-dashoffset: 0; }
  .hero-pid .pid-sig, .hero-pid .pid-inst, .hero-pid .pid-tag, .hero-pid .pid-arrow { animation: none; opacity: 1; }
  .to-cell::before, .to-cell::after { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services, .svc-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { margin-top: 0; }
  .tm-phases { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 821px) and (max-width: 1140px) {
  .nav { gap: 18px; }
  .nav a { font-size: .7rem; letter-spacing: .1em; }
  .nav .btn { padding: 9px 14px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--white); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  section { padding: 80px 0; }
  .hero { padding: 80px 0 100px; }
  .hero-shape { width: 420px; right: -140px; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .facts { grid-template-columns: 1fr; }
  .person { gap: 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .tm-phases { grid-template-columns: 1fr; }
  .tm-flow { margin-top: -36px; }
  .cta-box { padding: 28px; }
  .page-hero { padding: 48px 0 60px; }
  .content ol.steps li { padding-left: 44px; }
  .portrait { width: 88px; height: 88px; }
  .contact-card { padding: 28px; }
  .svc { padding: 28px 20px; }
  .logo .word strong { font-size: 1.2rem; }
  .logo .mark { width: 38px; }
}
