/* =========================================================
   MAK IT GmbH – Stylesheet
   Farben aus dem Logo: Navy #14425f, Petrol #229a91
   Keine externen Schriften oder CDNs (DSGVO)
   ========================================================= */

:root {
  --navy: #14425f;
  --ink: #0f2a3d;
  --ink-soft: #4d6273;
  --teal: #229a91;
  --teal-dark: #1a7d76;
  --teal-bright: #34b8ad;
  --tint: #e5f3f1;
  --tint-2: #eef4f7;
  --line: #dde6eb;
  --white: #fff;
  --grad: linear-gradient(135deg, #14425f 0%, #17607a 45%, #229a91 100%);
  --grad-text: linear-gradient(90deg, #14425f 0%, #1d7f88 60%, #229a91 100%);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(15, 42, 61, .28);
  --shadow-sm: 0 6px 24px -10px rgba(15, 42, 61, .2);
  --max: 1240px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.center { text-align: center; }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro.center { margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.eyebrow { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 14px; }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Platz für Unterlängen (g, p, y): der Verlauf wird nur innerhalb der Box gemalt */
  padding-bottom: .14em; margin-bottom: .36em;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Icons */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--sm { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  transition: transform .25s;
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn__icon .i { width: 18px; height: 18px; }
.btn--primary { background: var(--teal-dark); color: #fff; }
.btn--primary:hover { background: #156761; }
.btn--primary .btn__icon { background: rgba(255,255,255,.18); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--dark .btn__icon { background: rgba(255,255,255,.14); }
.btn--outline { border-color: var(--ink); color: var(--ink); padding-right: 26px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white .btn__icon { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 22px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 14px; z-index: 50; padding: 0 16px; margin-top: 14px; }
.nav-shell {
  max-width: var(--max); margin: 0 auto; height: 68px; padding: 0 14px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(15,42,61,.06);
}
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav__item > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.nav > a:not(.btn):hover, .nav__item > a:hover { background: var(--tint-2); }
.nav [aria-current="page"]:not(.btn) { color: var(--teal-dark); font-weight: 600; }
.nav__cta { margin-left: 8px; }

.nav__item { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: 360px; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
  border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.subnav::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.subnav a:hover { background: var(--tint-2); }
.subnav strong { display: block; font-size: .97rem; }
.subnav small { color: var(--ink-soft); font-size: .85rem; }
.subnav__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; flex: none; }
.subnav__icon .i { width: 20px; height: 20px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tint-2); cursor: pointer; padding: 0 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Startseite: Header schwebt im Hero (Abstand oben 28px + Höhe 68px) */
.home .site-header { margin-top: 28px; margin-bottom: -96px; }
.home main { display: flow-root; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; margin: 14px 16px 0; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(34,154,145,.55), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(23,96,122,.7), transparent 60%),
    linear-gradient(160deg, #14425f 0%, #0b2536 100%);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,38,.75) 0%, rgba(8,26,38,.2) 70%); pointer-events: none; }
.hero__bars { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); display: flex; gap: clamp(14px, 2vw, 26px); align-items: center; z-index: 1; }
.hero__bars span { width: clamp(22px, 3vw, 42px); border-radius: 12px; background: var(--teal); opacity: .9; animation: bar 5s ease-in-out infinite; }
.hero__bars span:nth-child(1) { height: clamp(70px, 10vw, 130px); margin-top: 80px; }
.hero__bars span:nth-child(2) { height: clamp(150px, 20vw, 270px); margin-top: 90px; animation-delay: .5s; }
.hero__bars span:nth-child(3) { height: clamp(150px, 20vw, 270px); margin-top: -120px; animation-delay: 1s; }
.hero__bars span:nth-child(4) { height: clamp(70px, 10vw, 130px); margin-top: -150px; animation-delay: 1.5s; }
@keyframes bar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__content { position: relative; z-index: 2; padding: 160px clamp(24px, 5vw, 64px) clamp(48px, 7vw, 88px); max-width: 940px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 32px; }

/* ---------- Info-Band ---------- */
.band { background: var(--tint); padding: clamp(48px, 6vw, 72px) 0; text-align: center; }
.band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.band p { max-width: 760px; margin: 0 auto 28px; color: var(--ink-soft); }
.band .btn-row { justify-content: center; }

/* ---------- Split / Collage ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }

.collage { position: relative; height: 520px; }
.tile {
  position: absolute; border-radius: var(--r); overflow: hidden; background: var(--grad);
  display: grid; place-items: center; color: rgba(255,255,255,.9);
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.tile .i { width: 64px; height: 64px; stroke-width: 1.4; }
.tile--a { left: 0; top: 0; width: 46%; height: 300px; }
.tile--b { right: 4%; top: 120px; width: 50%; height: 360px; background: linear-gradient(160deg, #1d7f88, #14425f); }
.block { position: absolute; border-radius: var(--r); background: var(--teal); z-index: -1; }
.block--a { left: -16px; top: 40px; width: 46%; height: 300px; }
.block--b { right: 0; top: 156px; width: 50%; height: 360px; background: var(--navy); }
.collage .tile-label { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; opacity: .7; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.fact {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-sm);
  background: var(--tint-2); font-weight: 600; font-size: .97rem;
}
.fact .i { color: var(--teal); }

/* ---------- Partner-Laufband ---------- */
.partners-strip { display: flex; align-items: center; gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.partners-strip h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin: 0; flex: none; max-width: 240px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track img { height: 32px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee__track img.logo--tall { height: 46px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leistungen auf Verlauf ---------- */
.services {
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
}
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 90% 10%, rgba(255,255,255,.12), transparent 70%);
}
.services .container { position: relative; }
.services h2, .services .eyebrow { color: #fff; }
.services__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.services__head p { color: rgba(255,255,255,.85); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; color: var(--ink); border-radius: var(--r); padding: 32px;
  display: flex; flex-direction: column; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); }
.card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; margin-bottom: 26px; }
.card__icon .i { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card .link-arrow { align-self: flex-end; margin-top: 8px; }
.card ul { margin: 0; padding: 0; list-style: none; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--teal); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- Vorteile ---------- */
.benefits { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.benefits__intro { position: sticky; top: 120px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit { background: var(--tint-2); border-radius: var(--r); padding: 30px; }
.benefit--accent { background: var(--teal-dark); color: #fff; }
.benefit--accent h3 { color: #fff; }
.benefit--dark { background: var(--ink); color: rgba(255,255,255,.85); }
.benefit--dark h3 { color: #fff; }
.benefit__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--teal); margin-bottom: 22px; }
.benefit--accent .benefit__icon { color: var(--teal); }
.benefit--dark .benefit__icon { background: var(--teal); color: #fff; }
.benefit p { margin: 0; font-size: .97rem; }
.benefit:nth-child(even) { transform: translateY(40px); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; font-weight: 600; margin-bottom: 18px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-dark); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 980px; }
.page-head .lead { max-width: 820px; margin-bottom: 30px; }
.page-head .lead strong { color: var(--ink); }
.page-head + .section--tight { padding-top: 8px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { border-radius: var(--r); overflow: hidden; background: var(--tint-2); }
.person__photo { aspect-ratio: 4 / 3.4; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 3rem; font-weight: 700; letter-spacing: .02em; }
.person__photo:has(img) { aspect-ratio: 1 / 1; background: var(--tint-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s ease; }
.person:hover .person__photo img { transform: scale(1.04); }
.person:nth-child(3n+2) .person__photo { background: linear-gradient(160deg, #1d7f88, #14425f); }
.person:nth-child(3n) .person__photo { background: linear-gradient(160deg, #229a91, #17607a); }
.person__body { padding: 22px 24px 26px; }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--teal-dark); }
.person__contact { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.person__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; overflow-wrap: anywhere; }
.person__contact a:hover { color: var(--teal-dark); }
.person__contact .i { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Partner ---------- */
.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner-card { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; }
.partner-card__logo { height: 52px; display: flex; align-items: center; margin-bottom: 20px; }
.partner-card__logo img { max-height: 44px; max-width: 170px; width: auto; height: auto; }
.partner-card__logo img[src*="schwarte"] { max-height: 52px; }
.partner-card__name { font-size: 1.3rem; margin-bottom: 4px; }
.partner-card__type { color: var(--teal-dark); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.partner-card p { color: var(--ink-soft); flex: 1; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border-radius: var(--r); padding: clamp(28px, 4vw, 40px); background: var(--tint-2); }
.contact-card--dark { background: var(--ink); color: rgba(255,255,255,.85); }
.contact-card--dark h2, .contact-card--dark h3 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; flex: none; }
.contact-list small { display: block; font-size: .85rem; opacity: .7; }
.contact-list a, .contact-list strong { color: inherit; font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact-card--dark .contact-list a, .contact-card--dark .contact-list strong { color: #fff; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--teal-dark); }
.hours tr.is-today td:first-child::after { content: "Heute"; margin-left: 10px; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--teal-dark); color: #fff; vertical-align: 2px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 600; font-size: .92rem; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa9b4; }
.status.is-open::before { background: #2ec27e; box-shadow: 0 0 0 4px rgba(46,194,126,.2); }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--r); background: var(--tint-2); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 2.4rem; font-weight: 700; margin-bottom: 14px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); background: var(--grad); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl { border-radius: var(--r); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dl h3 { margin: 0; }
.dl p { color: var(--ink-soft); flex: 1; }

/* ---------- Rechtstexte ---------- */
.prose > * { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.note { padding: 18px 22px; border-radius: var(--r-sm); background: #fff6e0; border: 1px solid #f2dc9b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: clamp(72px, 10vw, 128px); padding: clamp(56px, 8vw, 96px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 32px; }
.footer-claim h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 440px; }
.footer-claim { grid-row: span 2; }
.footer-claim p { max-width: 440px; margin-bottom: 0; }
/* Button mittig unter den Spalten Leistungen, Unternehmen, Kontakt */
.footer-cta { grid-column: 2 / -1; justify-self: center; align-self: start; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer .btn--white { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bars span, .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-claim { grid-column: 1 / -1; grid-row: auto; }
  .footer-cta { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav__item > a { padding: 14px 16px; }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; padding: 0 0 0 8px; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { transform: none; }
  .subnav a { padding: 8px 12px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split, .benefits { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .benefits__intro { position: static; }
  .collage { height: 420px; max-width: 560px; }
  .tile--a { height: 240px; } .block--a { height: 240px; }
  .tile--b { height: 280px; top: 110px; } .block--b { height: 280px; top: 146px; }
  .hero__bars { opacity: .35; right: -10px; }
  .partners-strip { flex-direction: column; align-items: flex-start; gap: 24px; }
  .partners-strip .marquee { width: 100%; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .partner-list, .dl-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .site-header { padding: 0 10px; }
  .nav-shell { padding: 0 8px 0 18px; height: 62px; }
  .brand img { height: 28px; }
  .home .site-header { margin-bottom: -90px; }
  .hero { margin: 10px 10px 0; min-height: 640px; }
  .hero__content { padding-top: 130px; }
  .cards, .cards--3, .benefit-grid, .team-grid, .steps, .facts { grid-template-columns: 1fr; }
  .benefit:nth-child(even) { transform: none; }
  .collage { height: 340px; }
  .tile--a { width: 52%; height: 200px; } .block--a { width: 52%; height: 200px; }
  .tile--b { width: 54%; height: 220px; top: 100px; } .block--b { width: 54%; height: 220px; top: 130px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Ergänzungen ---------- */
.benefit--dark a, .benefit--accent a { color: #fff; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.dl .card__icon { margin-bottom: 14px; }
.dl .btn { align-self: flex-start; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
@media (max-width: 960px) { .steps--3 { grid-template-columns: 1fr; } }

/* ---------- Telefonie / STARFACE ---------- */
.card { position: relative; }
.card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: 720px; }
.card__badge { position: absolute; top: 24px; right: 28px; height: 72px; width: auto; }
.tag + .tag { margin-left: 6px; }
.partner-card__logo img[src*="starface"] { max-height: 56px; }

.expert { position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 440px; justify-self: center; width: 100%; }
.expert__photo { aspect-ratio: 4 / 3; background: var(--tint-2); }
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.expert__body { position: relative; padding: 26px 28px 30px; }
.expert__body .eyebrow { margin-bottom: 6px; font-size: .9rem; color: var(--teal-dark); }
.expert__body h3 { font-size: 1.5rem; margin-bottom: .1em; }
.expert__body > p { color: var(--ink-soft); margin: 0; }
.expert__badge { position: absolute; top: -48px; right: 24px; height: 96px; width: auto; filter: drop-shadow(0 8px 18px rgba(15, 42, 61, .25)); }
@media (max-width: 640px) {
  .card__badge { height: 56px; top: 20px; right: 20px; }
  .expert__badge { height: 80px; top: -40px; }
}

/* ---------- Partner-Verlinkung ---------- */
.partners-strip h2 a { color: inherit; text-decoration: none; }
.partners-strip h2 a:hover { color: var(--teal-dark); }
.marquee__track a { display: block; flex: none; }
.partner-card { scroll-margin-top: 110px; transition: border-color .3s, box-shadow .3s; }
.partner-card:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34, 154, 145, .18); }
