/* StAnTec Drives GmbH — Website-Stylesheet
   Design: Entwurf „Power Hell“ (CorpCon Solutions, 2026)
   Farben aus der bestehenden CI: Lila #9236CF · Magenta #C94E8E · Dunkellila #7014AD · Helllila #B458EF · Pink #DA5F9F */

:root {
  --bg: #F7F5FA;
  --surface: #FFFFFF;
  --text: #17131F;
  --text-2: #4E4859;
  --text-3: #736D80;
  --muted: #5E5769;
  --line: #E6E0EE;
  --chip-bg: #F7F3FB;
  --chip-line: #E2DBEB;
  --p: #9236CF;
  --m: #C94E8E;
  --l: #B458EF;
  --k: #DA5F9F;
  --d: #7014AD;
  --grad: linear-gradient(90deg, #9236CF, #C94E8E);
  --grad-box: linear-gradient(115deg, #3A1259 0%, #7014AD 55%, #C94E8E 130%);
  --shadow-card: 0 16px 40px rgba(60, 20, 90, .08);
  --shadow-img: 0 36px 80px rgba(60, 20, 90, .18);
  --radius: 26px;
  --pad: clamp(18px, 4vw, 26px);
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head: 'Sora', 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--p); text-decoration: none; }
a:hover { color: var(--m); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 0; color: var(--text); }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 16px; top: 16px; }

/* Label + Überschriften */
.label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--m); font-weight: 600; }
.label.l { color: var(--l); }
.label.d { color: var(--d); }
h1.hero-h { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.045em; line-height: 1.02; }
h2.sec-h { font-size: clamp(30px, 3.6vw, 50px); letter-spacing: -.04em; margin-top: 18px; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.62; color: var(--text-2); }
.muted { color: var(--muted); }

/* Verlaufstext */
.grad-text { background: linear-gradient(90deg, #9236CF, #DA5F9F, #B458EF, #9236CF); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 8s linear infinite; }
@keyframes flow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: scale(1.04) translateY(0); } 100% { transform: scale(1.1) translateY(-14px); } }
@keyframes arc { to { transform: rotate(360deg); } }
.up { animation: up .85s both; }
.up-1 { animation-delay: .08s; } .up-2 { animation-delay: .18s; } .up-3 { animation-delay: .26s; } .up-4 { animation-delay: .34s; }
/* Einblenden beim Scrollen (Klasse wird per JavaScript gesetzt, ohne JavaScript bleibt alles sichtbar) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .up, .grad-text, .hero-bg img, .ring::after { animation: none !important; } .reveal { opacity: 1; transform: none; transition: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 600; font-size: 16px; padding: 16px 28px; border: 1px solid transparent; cursor: pointer; transition: box-shadow .25s, transform .25s, border-color .25s; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 16px 40px rgba(146, 54, 207, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 44px rgba(201, 78, 142, .45); }
.btn-ghost { border-color: rgba(23, 19, 31, .2); background: rgba(255, 255, 255, .55); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--m); color: var(--text); }
.btn-white { background: #fff; color: #3A1259; }
.btn-white:hover { background: #FBEFF6; color: #3A1259; }
.btn-outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-sm { font-size: 14.5px; padding: 11px 20px; }
.btn svg { flex: 0 0 auto; }

/* Navigation – drei Glas-Kapseln mit Mega-Menü */
.nav-wrap { position: sticky; top: 0; z-index: 70; padding: 14px var(--pad); pointer-events: none; }
/* Eine durchgehende Leiste: Logo · Menü · Notdienst + Anfrage */
.nav { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1280px; margin: 0 auto; background: rgba(255, 255, 255, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 30px rgba(60, 20, 90, .14); border-radius: 999px; padding: 8px 8px 8px 12px; }
.pill { display: flex; align-items: center; gap: 6px; }
.logo-pill { padding: 4px 22px 4px 12px; flex: 0 0 auto; }
.logo-pill img { height: 40px; width: auto; }
.menu-pill ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu-pill li { position: static; display: flex; align-items: center; }
.menu-pill li > a { display: flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background .2s, color .2s; }
.menu-pill li > a:hover { color: var(--d); background: linear-gradient(90deg, rgba(146, 54, 207, .12), rgba(201, 78, 142, .12)); }
.menu-pill li > a[aria-current="page"] { background: linear-gradient(90deg, rgba(146, 54, 207, .13), rgba(201, 78, 142, .13)); color: var(--d); font-weight: 600; }
/* Leistungen: Link + Pfeil bilden gemeinsam die farbige Pille */
.has-mega { border-radius: 999px; transition: background .2s; }
.has-mega > a { padding-right: 4px; }
.menu-pill .has-mega > a:hover, .menu-pill .has-mega:hover > a, .menu-pill .has-mega.open > a, .menu-pill .has-mega.aktiv > a { background: transparent; }
.has-mega:hover, .has-mega.open, .has-mega.aktiv { background: linear-gradient(90deg, rgba(146, 54, 207, .13), rgba(201, 78, 142, .13)); }
.has-mega:hover > a, .has-mega.open > a, .has-mega.aktiv > a { color: var(--d); font-weight: 600; }
.mega-toggle { background: none; border: 0; cursor: pointer; color: var(--text); padding: 11px 16px 11px 2px; display: inline-flex; align-items: center; transition: transform .25s, color .2s; }
.has-mega:hover .mega-toggle, .has-mega.open .mega-toggle, .has-mega.aktiv .mega-toggle { color: var(--d); }
.has-mega:hover .mega-toggle, .has-mega.open .mega-toggle { transform: rotate(180deg); }
.cta-pill { flex: 0 0 auto; padding-left: 8px; border-left: 1px solid var(--line); margin-left: 6px; }
.hot { display: flex; flex-direction: column; line-height: 1.15; padding: 0 16px 0 12px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.hot b { font-family: var(--head); font-size: 15px; color: var(--text); margin-top: 2px; }
.hot:hover b { color: var(--d); }
.hot i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2ECC8A; box-shadow: 0 0 0 3px rgba(46, 204, 138, .22); margin-right: 6px; vertical-align: middle; }
/* Mega-Menü (Desktop) */
.mega { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%) translateY(-6px); width: 860px; max-width: calc(100vw - 2 * var(--pad)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(23, 19, 31, .08); border-radius: 22px; box-shadow: 0 30px 70px rgba(60, 20, 90, .22); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, #7014AD, #9236CF, #C94E8E, #DA5F9F); }
.mega::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mg-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.mg-item:hover { background: var(--chip-bg); color: var(--text); }
.mg-no { font-family: var(--head); font-size: 11.5px; font-weight: 600; color: var(--m); width: 20px; flex: 0 0 auto; }
.mega-foot { margin-top: 12px; padding: 13px 16px; border-radius: 14px; background: var(--grad-box); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.mega-foot:hover { color: #fff; filter: brightness(1.08); }
.mega-foot b { font-family: var(--head); }
/* Burger */
.burger { display: none; flex: 0 0 auto; background: var(--chip-bg); border: 1px solid var(--line); border-radius: 999px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: transform .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .hot { display: none; } }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; align-items: center; border-radius: 24px; padding: 8px; }
  .burger { display: inline-flex; order: 2; }
  .logo-pill { order: 1; margin-right: auto; padding-left: 8px; }
  .menu-pill, .cta-pill { display: none; width: 100%; }
  .nav.open .menu-pill { display: block; order: 3; padding: 10px 4px 4px; margin-top: 8px; border-top: 1px solid var(--line); }
  .nav.open .cta-pill { display: flex; order: 4; justify-content: space-between; padding: 10px 4px 6px 8px; border-left: 0; margin-left: 0; border-top: 1px solid var(--line); }
  .nav.open .hot { display: flex; }
  .menu-pill ul { flex-direction: column; gap: 2px; }
  .menu-pill li { flex-wrap: wrap; }
  .menu-pill .has-mega, .menu-pill .has-mega:hover, .menu-pill .has-mega.open { background: transparent; border-radius: 12px; }
  .menu-pill .has-mega.open > a, .menu-pill .has-mega.aktiv > a { background: linear-gradient(90deg, rgba(146, 54, 207, .13), rgba(201, 78, 142, .13)); }
  .menu-pill li > a { flex: 1; padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .mega-toggle { padding: 12px 14px; }
  .mega { position: static; transform: none; width: 100%; max-width: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 8px; display: none; opacity: 1; visibility: visible; }
  .mega::before, .mega::after { display: none; }
  .has-mega.open .mega { display: block; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; } .has-mega.open:hover .mega, .has-mega.open:focus-within .mega { display: block; }
  .has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mg-item { white-space: normal; padding: 9px 12px; }
  .mega-foot { display: none; }
}

/* Hero Startseite */
.hero { position: relative; margin-top: -76px; min-height: 720px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: drift 18s ease-in-out infinite alternate; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 245, 250, .96) 0%, rgba(247, 245, 250, .8) 36%, rgba(247, 245, 250, .18) 68%, rgba(247, 245, 250, .05) 100%); }
.hero-ov2 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247, 245, 250, .35) 0%, rgba(247, 245, 250, 0) 30%, rgba(247, 245, 250, .92) 100%); }
.ring { position: absolute; right: -180px; top: -120px; width: 720px; height: 720px; pointer-events: none; opacity: .9; border-radius: 50%; border: 1px solid rgba(146, 54, 207, .12); }
.ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(146, 54, 207, 0) 0deg, rgba(201, 78, 142, .45) 40deg, rgba(146, 54, 207, 0) 80deg); animation: arc 22s linear infinite; }
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: 90px; }
.hero-inner { max-width: 660px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(146, 54, 207, .22); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #B458EF, #DA5F9F); box-shadow: 0 0 12px rgba(201, 78, 142, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.triple { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-family: var(--head); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--d); }
.triple i { width: 6px; height: 6px; border-radius: 50%; background: var(--m); }
.triple i:last-of-type { background: var(--l); }
@media (max-width: 720px) { .hero { min-height: 0; } .hero .wrap { padding-top: 120px; padding-bottom: 60px; } .hero-ov { background: linear-gradient(180deg, rgba(247,245,250,.92) 0%, rgba(247,245,250,.85) 60%, rgba(247,245,250,.6) 100%); } .ring { display: none; } }

/* Fakten */
.facts { margin-top: -40px; position: relative; z-index: 2; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); }
.fact { background: var(--surface); padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--head); font-size: 26px; font-weight: 600; letter-spacing: -.03em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { font-size: 14.5px; color: var(--text-3); }
@media (max-width: 860px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sektionen */
.sec { padding-top: clamp(70px, 9vw, 120px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 30px; }
.sec-head > div:first-child { max-width: 620px; }
.sec-head p { max-width: 38ch; font-size: 16.5px; color: var(--muted); }
.sec-center { text-align: center; max-width: 640px; margin: 0 auto; }

/* Karten (Kompetenzfelder / Leistungen) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 52px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: border-color .25s, transform .25s; color: var(--text); }
a.card:hover { border-color: var(--m); transform: translateY(-5px); color: var(--text); }
.card-img { position: relative; height: 240px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 22, 0) 45%, rgba(255, 255, 255, .96) 100%); }
.card-no { position: absolute; left: 22px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; color: #fff; font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 7px 13px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.card-body p { font-size: 16px; color: var(--muted); }
.chips { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; border: 1px solid var(--chip-line); background: var(--chip-bg); border-radius: 999px; color: var(--muted); padding: 6px 13px; }
.card-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--p); display: inline-flex; gap: 8px; align-items: center; }
.cards.three .card-img { height: 190px; }
.cards.three .card-body h3 { font-size: 19px; }
.cards.three .card-body p { font-size: 15px; }
@media (max-width: 960px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cards, .cards.three { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; } .card-img, .cards.three .card-img { height: 200px; } }

/* Zweispalter */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.split-text h2 { max-width: 20ch; }
.split-text .lead { max-width: 48ch; }
.img-frame { position: relative; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-img); aspect-ratio: 16 / 11; }
.img-frame.wide { aspect-ratio: 16 / 9; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-cap { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 14px 18px; color: #fff; }
.img-cap small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #E9C4F5; }
.img-cap b { display: block; margin-top: 3px; font-family: var(--head); font-size: 16px; }
.img-cap i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #9236CF, #DA5F9F); display: grid; place-items: center; }
.img-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 22, 0) 55%, rgba(18, 18, 22, .7) 100%); pointer-events: none; }
.img-frame.plain::after { display: none; }
.pin { position: absolute; left: 20px; top: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: rgba(18, 18, 22, .72); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: #fff; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.rev > :first-child { order: 0; } }

/* Timeline */
.timeline { position: relative; padding-left: 34px; margin-top: 8px; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #9236CF, #C94E8E, rgba(201, 78, 142, .05)); }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -34px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--tl-c, #9236CF); }
.tl b { font-family: var(--head); font-size: 18px; font-weight: 600; letter-spacing: -.02em; display: block; }
.tl p { margin-top: 5px; max-width: 46ch; font-size: 15.5px; color: var(--muted); }
.tl small { display: block; margin-top: 5px; font-size: 13.5px; font-weight: 500; color: var(--tl-c, #9236CF); }

/* Vor-Ort-Band */
.band { position: relative; margin-top: clamp(70px, 9vw, 120px); min-height: 520px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 20, .9) 0%, rgba(14, 10, 20, .7) 45%, rgba(112, 20, 173, .35) 100%); }
.band .wrap { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.band h2 { color: #fff; max-width: 18ch; }
.band .label { color: #E9A6CF; }
.band .lead { color: rgba(255, 255, 255, .8); }
.glass-list { display: grid; gap: 12px; }
.glass { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 14px 18px; color: #fff; }
.glass:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.glass i { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 12.5px; font-weight: 600; font-style: normal; }
.glass b { display: block; font-family: var(--head); font-size: 16px; }
.glass span { display: block; margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .74); }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; gap: 30px; } .band-ov { background: linear-gradient(180deg, rgba(14,10,20,.9), rgba(14,10,20,.8)); } }

/* Leistungs-Liste (Startseite) */
.rows { margin-top: 44px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px 54px minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 24px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--line); border-radius: 18px; color: var(--text); transition: background .2s; }
.row:hover { background: rgba(146, 54, 207, .06); color: var(--text); }
.row-img { height: 92px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-no { font-family: var(--head); font-size: 14px; font-weight: 600; }
.row h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.22; }
.row p { font-size: 15.5px; color: var(--muted); }
.row-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
@media (max-width: 900px) { .row { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 16px; } .row-img { grid-row: 1 / 3; height: 76px; } .row-no, .row-arrow { display: none; } .row h3 { font-size: 17px; } .row p { font-size: 14.5px; } }

/* Kompakte Leistungs-Kacheln (Startseite) */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.mini { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 22px; color: var(--text); box-shadow: var(--shadow-card); transition: border-color .25s, transform .25s; }
.mini:hover { border-color: var(--m); transform: translateY(-4px); color: var(--text); }
.mini-no { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.mini h3 { font-size: 18.5px; letter-spacing: -.02em; }
.mini p { font-size: 15px; color: var(--muted); }
.mini-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--p); }
@media (max-width: 960px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .minis { grid-template-columns: 1fr; } }

/* Verlaufsbox (CTA / Gebrauchtmaschinen) */
.gbox { position: relative; border-radius: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: var(--grad-box); color: #fff; box-shadow: 0 30px 70px rgba(112, 20, 173, .3); }
.gbox.two { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.gbox-text { padding: clamp(36px, 5vw, 60px) clamp(24px, 4.5vw, 54px); display: flex; flex-direction: column; gap: 18px; }
.gbox h2 { color: #fff; max-width: 20ch; }
.gbox .label { color: #F2C6E2; }
.gbox p { color: rgba(255, 255, 255, .82); max-width: 46ch; font-size: 17px; }
.gbox-img { position: relative; min-height: 340px; }
.gbox-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gbox-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #7014AD 0%, rgba(112, 20, 173, 0) 40%); }
.gbox.cta { padding: clamp(32px, 5vw, 56px) clamp(24px, 4.5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.gbox.cta h2 { max-width: 26ch; font-size: clamp(26px, 3.2vw, 42px); }
.gbox.cta .bgimg { position: absolute; right: 0; top: 0; height: 100%; width: 42%; object-fit: cover; opacity: .3; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.gbox.cta > * { position: relative; }
.gbox .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .gbox.two { grid-template-columns: 1fr; } .gbox-img { min-height: 240px; } .gbox-img::after { background: linear-gradient(180deg, #7014AD 0%, rgba(112,20,173,0) 40%); } .gbox.cta .bgimg { display: none; } }

/* Team */
.team { display: grid; gap: 12px; margin-top: 6px; }
.member { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow-card); }
.avatar { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 17px; font-weight: 600; color: #fff; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member b { display: block; font-family: var(--head); font-size: 16.5px; letter-spacing: -.02em; }
.member span { display: block; margin-top: 3px; font-size: 14px; color: var(--text-3); }

/* Kontakt-Formular */
.form-box { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 60px); box-shadow: var(--shadow-card); }
.form-box::before { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 78, 142, .2), rgba(146, 54, 207, 0) 68%); pointer-events: none; }
.form-box > * { position: relative; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 40px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; }
label.f > span { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
label.f > span em { color: var(--m); font-style: normal; }
.f input, .f textarea, .f select { margin-top: 8px; width: 100%; background: #fff; border: 1px solid #DDD5E6; border-radius: 14px; color: var(--text); font-family: var(--sans); font-size: 16px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--m); box-shadow: 0 0 0 4px rgba(201, 78, 142, .12); }
.f textarea { resize: vertical; min-height: 120px; }
.f select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23736D80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.f input:user-invalid, .f textarea:user-invalid { border-color: #C0325E; }
.form.sendet .btn-primary { opacity: .6; pointer-events: none; }
.detail .form-box { min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); margin-top: 20px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--p); flex: 0 0 auto; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.form-foot .direct { font-size: 15px; color: var(--text-3); }
.form-foot .direct a { font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-top: 24px; }
.alert.ok { background: #EAF7EE; border: 1px solid #BFE5CB; color: #1E5A31; }
.alert.err { background: #FBEDF3; border: 1px solid #F0C4D7; color: #7A1F4A; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* Unterseiten-Hero */
.sub-hero { position: relative; margin-top: -76px; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.sub-hero .bg { position: absolute; inset: 0; }
.sub-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sub-hero .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 20, .42) 0%, rgba(14, 10, 20, .58) 45%, rgba(24, 12, 36, .86) 100%); }
.sub-hero .wrap { position: relative; width: 100%; padding-top: 160px; padding-bottom: 54px; display: flex; flex-direction: column; gap: 20px; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #E6E0EE; }
.crumb a { color: #E6E0EE; } .crumb a:hover { color: var(--k); }
.crumb b { color: var(--k); font-weight: 500; }
.sub-hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -.045em; max-width: 22ch; }
.sub-hero .lead { color: #ECE8F2; max-width: 58ch; }
.sub-hero.short { min-height: 420px; }
/* Motiv liegt im unteren Bilddrittel (Fahrzeuge) - Ausschnitt nach unten ziehen */
.sub-hero.tief .bg img { object-position: center 66%; }
.sub-hero.plain { min-height: 0; }
.sub-hero.plain .ov { background: linear-gradient(180deg, #17131F 0%, #2A1140 100%); }
@media (max-width: 720px) { .sub-hero { min-height: 440px; } .sub-hero .wrap { padding-top: 130px; } }

/* Leistungs-Detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.detail > * { min-width: 0; }
.detail-main h2 { font-size: clamp(24px, 2.6vw, 34px); }
.detail-main .lead { max-width: 62ch; }
.tick { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tick li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 12px; font-size: 15.5px; line-height: 1.4; color: var(--text); box-shadow: 0 6px 18px rgba(60, 20, 90, .05); transition: border-color .2s, transform .2s; }
.tick li:hover { border-color: rgba(201, 78, 142, .5); transform: translateX(3px); }
.tick li::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), linear-gradient(135deg, #9236CF, #C94E8E); background-size: 13px 13px, 100% 100%; background-position: center, center; background-repeat: no-repeat; box-shadow: 0 4px 10px rgba(146, 54, 207, .3); }
.tick.one { grid-template-columns: 1fr; }
.tick.one li { max-width: 720px; }
.callout { border: 1px solid rgba(201, 78, 142, .45); background: linear-gradient(135deg, rgba(146, 54, 207, .1), rgba(201, 78, 142, .08)); border-radius: 22px; padding: 26px 28px; font-size: 17px; line-height: 1.6; color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose h3 { font-size: 20px; margin-top: 26px; margin-bottom: 8px; }
aside.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px; box-shadow: var(--shadow-card); }
.side-box h3 { font-size: 17px; margin-bottom: 12px; }
.side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-box ul a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; }
.side-box ul a:hover { background: var(--chip-bg); color: var(--text); }
.side-box ul a[aria-current="page"] { background: rgba(146, 54, 207, .08); color: var(--p); font-weight: 600; }
.side-box.cta { background: var(--grad-box); color: #fff; border: 0; }
.side-box.cta h3 { color: #fff; }
.side-box.cta p { color: rgba(255, 255, 255, .82); font-size: 15px; margin-bottom: 16px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } aside.side { position: static; } .tick { grid-template-columns: 1fr; } }

/* Tabelle */
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.pol { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
table.pol th, table.pol td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.pol th { font-family: var(--head); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: var(--chip-bg); }
table.pol tr:last-child td { border-bottom: 0; }
table.pol td:nth-child(n+3) { font-variant-numeric: tabular-nums; }

/* Ablauf-Kacheln */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; min-height: 250px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.step i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 15px; font-weight: 600; font-style: normal; color: #fff; }
.step h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.step small { margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 500; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* Notdienst-Leiste */
.hotline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; padding: 18px 22px; border-radius: 18px; background: #17131F; color: #fff; }
.hotline b { font-family: var(--head); font-size: 22px; letter-spacing: -.02em; }
.hotline a { color: #fff; }
.hotline span { color: #C8C2D2; font-size: 14.5px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #6CD0B3; box-shadow: 0 0 0 0 rgba(108, 208, 179, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 208, 179, .7); } 70% { box-shadow: 0 0 0 10px rgba(108, 208, 179, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 208, 179, 0); } }

/* Rechtstexte */
.legal { max-width: 800px; }
.legal h2 { font-size: 24px; margin-top: 40px; margin-bottom: 10px; }
.legal h3 { font-size: 18px; margin-top: 24px; margin-bottom: 6px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; color: var(--text-2); }
.legal address { font-style: normal; line-height: 1.7; }

/* AGB */
.agb { gap: 26px; }
.agb-hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.agb-hinweis > div { max-width: 60ch; }
.agb-sec { scroll-margin-top: 110px; padding-top: 10px; border-top: 1px solid var(--line); }
.agb-sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(20px, 2.2vw, 26px); margin: 14px 0 12px; }
.agb-para { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #fff; background: var(--grad); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.agb-sec p, .agb-ol li { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.agb-ol { margin: 0; padding-left: 26px; display: grid; gap: 10px; }
.agb-ol li::marker { font-family: var(--head); font-weight: 600; color: var(--m); }
.agb-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.agb-toc ol a { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; line-height: 1.35; }
.agb-toc ol a span { flex: 0 0 34px; font-family: var(--head); font-size: 12px; font-weight: 600; color: var(--m); }
.agb-toc ol a:hover { background: var(--chip-bg); color: var(--text); }

/* Footer */
footer { margin-top: clamp(80px, 10vw, 130px); background: #17131F; color: #B3AEBF; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-line { height: 3px; background: linear-gradient(90deg, #7014AD, #9236CF, #C94E8E, #DA5F9F); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 28px; }
.foot-grid img { height: 36px; width: auto; }
.foot-grid p { margin-top: 18px; max-width: 32ch; font-size: 14.5px; line-height: 1.62; }
.foot-grid h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #8E8B9A; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.foot-grid ul a { font-size: 14.5px; color: #B3AEBF; overflow-wrap: anywhere; }
.foot-grid ul a:hover { color: var(--k); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: #77747F; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } .foot-leer { display: none; } .foot-leer + ul { margin-top: -20px; } }

/* Logo-Laufband und Logo-Platzhalter */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-grid { align-items: stretch; }
.logo-grid .logo-ph.big, .logo-grid .logo-kachel.big { height: auto; aspect-ratio: 2.4 / 1; width: 100%; min-width: 0; max-width: none; }
.logo-grid .logo-kachel.big img { max-height: 100%; max-width: 100%; }
/* Logo-Kacheln: Höhe fest, Breite folgt dem Logo – so werden hohe Logos nicht winzig */
.logo-kachel { flex: 0 0 auto; height: 132px; min-width: 190px; max-width: 300px; margin-right: 16px; border: 1px solid var(--chip-line); border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 14px 20px; overflow: hidden; }
.logo-kachel img { max-height: 104px; width: auto; max-width: 100%; object-fit: contain; }
.logo-kachel.big { height: 190px; min-width: 240px; max-width: 380px; margin: 0; padding: 22px 30px; }
.logo-kachel.big img { max-height: 146px; }
.logo-reihe .logo-kachel, .logo-reihe .logo-ph { margin-right: 0; }
.logo-ph { flex: 0 0 auto; width: 210px; height: 96px; margin-right: 16px; border: 1.5px dashed var(--chip-line); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.logo-ph b { font-family: var(--head); font-size: 15px; letter-spacing: -.01em; text-transform: none; color: var(--text-2); }
.logo-ph.big { width: auto; height: 130px; margin: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-kachel { height: 104px; min-width: 150px; padding: 10px 14px; } .logo-kachel img { max-height: 84px; } .logo-grid .logo-kachel.big { padding: 12px 16px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Kontakt-Info-Kacheln */
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.info .label { display: block; margin-bottom: 8px; }
.info b { font-family: var(--head); font-size: 17px; display: block; }
.info p, .info a { font-size: 15px; color: var(--text-2); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* Firmengelaende als drehender Wuerfel */
.wuerfel-buehne { position: relative; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-img); background: #0C0C0F; perspective: 3600px; }
.wuerfel { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: wuerfel-dreh 20s infinite cubic-bezier(.76, 0, .24, 1); }
.wuerfel figure { position: absolute; inset: 0; margin: 0; overflow: hidden; backface-visibility: hidden; }
.wuerfel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-s1 { transform: translateZ(var(--kante, 0px)); }
.w-s2 { transform: rotateY(90deg) translateZ(var(--kante, 0px)); }
.w-s3 { transform: rotateY(180deg) translateZ(var(--kante, 0px)); }
.w-s4 { transform: rotateY(270deg) translateZ(var(--kante, 0px)); }
@keyframes wuerfel-dreh {
  0%, 21% { transform: translateZ(calc(-1 * var(--kante, 0px))) rotateY(0deg); }
  25%, 46% { transform: translateZ(calc(-1 * var(--kante, 0px))) rotateY(-90deg); }
  50%, 71% { transform: translateZ(calc(-1 * var(--kante, 0px))) rotateY(-180deg); }
  75%, 96% { transform: translateZ(calc(-1 * var(--kante, 0px))) rotateY(-270deg); }
  100% { transform: translateZ(calc(-1 * var(--kante, 0px))) rotateY(-360deg); }
}
.wuerfel-buehne .pin { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .wuerfel { animation: none; transform: translateZ(calc(-1 * var(--kante, 0px))); } }

/* Ansprechpartner als Portraetkarten */
.team-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; max-width: 720px; margin-inline: auto; }
.pers { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.pers:hover { transform: translateY(-3px); box-shadow: var(--shadow-img); }
.pers-bild { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.pers-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pers-bild .silhouette { width: 40%; height: 40%; opacity: .9; }
.pers-ini { position: absolute; left: 16px; top: 16px; font-family: var(--head); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: #fff; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .2); }
.pers-folgt { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; padding: 8px 0; color: #F0ECF6; background: rgba(12, 12, 15, .55); backdrop-filter: blur(6px); }
.pers-text { padding: 16px 18px 18px; }
.pers-text b { display: block; font-family: var(--head); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pers-rolle { display: block; margin-top: 3px; font-size: 14px; color: var(--text-3); }
.pers-kontakt { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13.5px; }
.pers-kontakt a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.pers-kontakt a:hover { text-decoration: underline; }
.pers-kontakt svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (max-width: 620px) { .team-karten { grid-template-columns: 1fr; gap: 16px; } .pers-bild { aspect-ratio: 3 / 2; } }
