/* =====================================================================
   Über CCM (2026-10-30) — Kinokopf, Reise, Werte, Mannschaft, Fuhrpark, Abschluss-Band.
   Bilder nur aus der Werkstatt (Branding, Fuhrpark, Profilbilder).
   ===================================================================== */
.ue-kopf, .ue-band { --rot: var(--lx-red, #C8102E); --rot2: var(--lx-red-2, #E0233F); position: relative; isolation: isolate; overflow: hidden; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; color: #fff; background: #050506; }
.ue-kopf *, .ue-band * { box-sizing: border-box; }

/* ---------- Kopf ---------- */
.ue-kopf { display: grid; grid-template-rows: 1fr auto; margin-top: -3.5rem; min-height: clamp(620px, calc(100svh - 70px), 920px); }
.ue-kopf__bild { position: absolute; inset: 0; z-index: -2; background: var(--bild, none) center 55% / cover no-repeat, #0b0b0d; transform: scale(1.12); animation: ueHeran 16s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes ueHeran { to { transform: scale(1.02); } }
.ue-kopf__schleier { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .65) 40%, rgba(5, 5, 6, .25) 70%, rgba(5, 5, 6, .4) 100%), linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, transparent 25%, transparent 60%, #050506 100%); }
.ue-kopf__inhalt { align-self: center; width: 100%; max-width: 1320px; margin: 0 auto; padding: clamp(4rem, 12vh, 8rem) 16px 2rem; }
.ue-eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; color: var(--rot2, #E0233F); font-size: .7rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; animation: ueAuf .9s .1s ease-out both; }
.ue-eyebrow span { width: 2.6rem; height: 1px; background: currentColor; }
.ue-kopf .ue-titel { margin: 0; font: 300 clamp(3rem, 7.5vw, 7rem)/.95 var(--lx-serif, Georgia, serif); letter-spacing: -.015em; }
.ue-zeile { display: block; overflow: hidden; padding-bottom: .08em; }
.ue-zeile > * { display: inline-block; animation: ueZeile 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.ue-zeile:nth-child(2) > * { animation-delay: .15s; }
.ue-titel em { font-style: italic; color: rgba(255, 255, 255, .78); }
@keyframes ueZeile { from { transform: translateY(110%); } to { transform: none; } }
.ue-lead { max-width: 36rem; margin: 1.5rem 0 0; color: rgba(255, 255, 255, .72); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65; animation: ueAuf 1s .45s ease-out both; }
@keyframes ueAuf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ue-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 1320px; margin: 0 auto clamp(1.5rem, 4vh, 2.6rem); padding: 0 16px; animation: ueAuf 1s .7s ease-out both; }
.ue-zahlen > div { padding: 1.1rem 1.3rem; border: 1px solid rgba(255, 255, 255, .12); border-right: 0; background: rgba(5, 5, 6, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ue-zahlen > div:last-child { border-right: 1px solid rgba(255, 255, 255, .12); }
.ue-zahlen dt { display: flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .55); font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.ue-zahlen dd { margin: .5rem 0 0; color: #fff; font: 400 clamp(1.1rem, 1.8vw, 1.45rem)/1.15 var(--lx-serif, Georgia, serif); }
.ue-zahlen dd b { font-weight: 400; font-size: 1.5em; font-variant-numeric: lining-nums; }
.ue-ico { width: 1.1rem; height: 1.1rem; flex: none; }

/* ---------- Seite ---------- */
.ue { --line: rgba(255, 255, 255, .1); --muted: #9b9b9b; display: grid; gap: clamp(3.5rem, 8vw, 6rem); max-width: 1240px; margin: clamp(3rem, 7vw, 5rem) auto 0; padding: 0 16px; color: #f2f2f2; font-family: var(--lx-sans, system-ui, sans-serif); }
.ue > * { min-width: 0; }
.ue-kopfzeile { margin-bottom: 2rem; }
.ue-kopfzeile--zahl { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ue-kicker { margin: 0; color: var(--lx-red-2, #E0233F); font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.ue .ue-h2 { margin: .4rem 0 0; color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; }
.ue-anzahl { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.ue-anzahl b { color: #fff; font: 400 2rem/1 var(--lx-serif, Georgia, serif); letter-spacing: 0; margin-right: .3rem; }
[data-ue-zeige] { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
[data-ue-zeige].is-da { opacity: 1; transform: none; }

/* Reise */
.ue-route { display: flex; align-items: center; gap: .8rem; margin: -.6rem 0 2.5rem; color: rgba(255, 255, 255, .55); font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.ue-route__halt { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.ue-route__halt.is-heute { color: #fff; }
.ue-route__dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; }
.ue-route__halt.is-heute .ue-route__dot { background: var(--lx-red-2, #E0233F); border-color: var(--lx-red-2, #E0233F); box-shadow: 0 0 12px var(--lx-red-2, #E0233F); }
.ue-route__weg { flex: 1; min-width: 2rem; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px); }
.ue-kapitel { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.ue-kapitel__linie { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .08); }
.ue-kapitel__linie i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--fortschritt, 0) * 100%); background: linear-gradient(180deg, rgba(224, 35, 63, .2), var(--lx-red-2, #E0233F)); box-shadow: 0 0 14px rgba(224, 35, 63, .7); }
.ue-kap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 1fr); align-items: center; }
.ue-kap__punkt { grid-column: 2; justify-self: center; z-index: 1; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 1px solid rgba(255, 255, 255, .25); background: #0b0b0d; color: #fff; }
.ue-kap.is-heute .ue-kap__punkt { border-color: var(--lx-red-2, #E0233F); background: var(--lx-red, #C8102E); box-shadow: 0 0 30px -4px var(--lx-red-2, #E0233F); }
.ue-kap__punkt .ue-ico { width: 1.35rem; height: 1.35rem; }
.ue-kap__karte { grid-column: 1; grid-row: 1; position: relative; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(12, 12, 13, .9)); }
.ue-kap--rechts .ue-kap__karte { grid-column: 3; }
.ue-kap.is-heute .ue-kap__karte { border-color: rgba(224, 35, 63, .45); box-shadow: 0 0 60px -30px var(--lx-red-2, #E0233F); }
.ue-kap__nr { position: absolute; right: .6rem; top: -.6rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); font: 400 clamp(5rem, 10vw, 8rem)/1 var(--lx-serif, Georgia, serif); pointer-events: none; }
.ue-kap__kicker { margin: 0; color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.ue-kap__kicker b { color: var(--lx-red-2, #E0233F); }
.ue .ue-kap h3 { margin: .4rem 0 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ue-kap__sub { margin: .3rem 0 0; color: #fff; font-weight: 600; font-size: .92rem; }
.ue-kap__text { margin: .9rem 0 0; color: rgba(255, 255, 255, .7); font-size: .94rem; line-height: 1.65; }

/* Werte */
.ue-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--line); }
.ue-wert { position: relative; display: grid; align-content: start; gap: .8rem; padding: 1.8rem 1.4rem 1.6rem; background: #09090b; transition: background .4s; }
.ue-wert::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lx-red-2, #E0233F); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.ue-wert:hover { background: #111114; }
.ue-wert:hover::after { transform: scaleX(1); }
.ue-wert__nr { color: rgba(255, 255, 255, .3); font: 400 1rem/1 var(--lx-serif, Georgia, serif); }
.ue-wert .ue-ico { width: 1.8rem; height: 1.8rem; color: var(--lx-red-2, #E0233F); }
.ue-wert b { color: #fff; font: 400 1.5rem/1.1 var(--lx-serif, Georgia, serif); }
.ue-wert p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .88rem; line-height: 1.6; }

/* Mannschaft */
.ue-leitung { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); margin: 0 0 3rem; padding: 0; list-style: none; }
.ue-crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ue-person { display: grid; justify-items: center; gap: .45rem; text-align: center; }
.ue-person b { color: #fff; font-size: .95rem; }
.ue-person small { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.ue-person--leitung b { font: 400 1.4rem/1.1 var(--lx-serif, Georgia, serif); }
.ue-person--leitung small { color: #E8C468; }
.ue-person__rahmen { position: relative; display: grid; place-items: center; width: 11rem; height: 11rem; }
.ue-person__emblem { position: absolute; inset: 0; width: 100%; height: 100%; animation: ueDreh 40s linear infinite; opacity: .9; }
@keyframes ueDreh { to { transform: rotate(360deg); } }
.ue-portrait { display: grid; place-items: center; width: 6.2rem; height: 6.2rem; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #26262b, #0c0c0e); border: 1px solid rgba(255, 255, 255, .15); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.ue-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ue-portrait i { color: rgba(255, 255, 255, .8); font: 400 1.6rem/1 var(--lx-serif, Georgia, serif); font-style: normal; }
.ue-portrait--gross { width: 7.8rem; height: 7.8rem; border: 2px solid #E8C468; box-shadow: 0 0 40px -10px rgba(232, 196, 104, .6); }
.ue-person:hover .ue-portrait { transform: translateY(-6px) scale(1.04); box-shadow: 0 20px 40px -18px #000, 0 0 0 2px var(--lx-red-2, #E0233F); }
.ue-person--stufe2 .ue-portrait { border-color: rgba(224, 35, 63, .55); }
.ue-leer { padding: 2rem; color: var(--muted); text-align: center; border: 1px dashed var(--line); }

/* Fuhrpark */
.ue-pfeile { display: flex; gap: .4rem; }
.ue .ue-pfeil { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; min-height: 0 !important; padding: 0 !important; border: 1px solid rgba(255, 255, 255, .25) !important; background: transparent !important; color: #fff !important; font-size: 1.4rem !important; line-height: 1; cursor: pointer; box-shadow: none !important; }
.ue .ue-pfeil:hover { border-color: #fff !important; }
.ue-fuhrpark { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: 1rem; margin: 0 calc(50% - 50vw); padding: 0 max(16px, calc((100vw - 1240px) / 2 + 16px)) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(16px, calc((100vw - 1240px) / 2 + 16px)); list-style: none; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.ue-auto { position: relative; overflow: hidden; aspect-ratio: 16 / 10; scroll-snap-align: start; border: 1px solid var(--line); background: #0b0b0d; }
.ue-auto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.ue-auto.is-ohne-bild img { object-fit: contain; padding: 12%; opacity: .5; }
.ue-auto:hover img { transform: scale(1.06); }
.ue-auto__schleier { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85)); }
.ue-auto__nr { position: absolute; left: 1.1rem; top: .9rem; color: rgba(255, 255, 255, .7); font: 400 1rem/1 var(--lx-serif, Georgia, serif); }
.ue-auto__text { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; display: grid; gap: .3rem; }
.ue-auto__text b { color: #fff; font: 400 clamp(1.3rem, 2.4vw, 1.8rem)/1.1 var(--lx-serif, Georgia, serif); }
.ue-auto__text small { color: rgba(255, 255, 255, .72); font-size: .84rem; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.ue-auto:hover .ue-auto__text small { max-height: 6rem; }

/* Abschluss-Band */
.ue-band { display: grid; place-items: center; margin-top: clamp(4rem, 9vw, 7rem); min-height: clamp(380px, 55vh, 560px); text-align: center; }
.ue-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bild, none) center / cover no-repeat, #0b0b0d; filter: saturate(.8); }
.ue-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(5, 5, 6, .6), rgba(5, 5, 6, .95)), linear-gradient(180deg, #050506, transparent 25%, transparent 75%, #050506); }
.ue-band__inhalt { display: grid; justify-items: center; max-width: 46rem; padding: 3rem 16px; }
.ue-band .ue-eyebrow { justify-content: center; animation: none; }
.ue-band .ue-band__titel { margin: 0; font: 300 clamp(2.2rem, 5vw, 4rem)/1.05 var(--lx-serif, Georgia, serif); }
.ue-band__titel em { font-style: italic; color: rgba(255, 255, 255, .78); }
.ue-band .ue-lead { animation: none; margin-inline: auto; }
.ue-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.ue-knopf { display: inline-flex; align-items: center; gap: .6rem; height: 3.1rem; padding: 0 1.6rem; border: 1px solid #fff; background: #fff; color: #0b0b0d !important; font: 600 .72rem/1 var(--lx-sans, system-ui, sans-serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none !important; transition: background .2s, border-color .2s, color .2s; }
.ue-knopf:hover { background: var(--lx-red, #C8102E); border-color: var(--lx-red, #C8102E); color: #fff !important; }
.ue-knopf .ue-ico { width: 1rem; height: 1rem; }
.ue-knopf--leise { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .4); }

/* Recht */
.ue-recht { padding: 1.4rem 1.5rem; border: 1px solid var(--line); background: rgba(12, 12, 13, .7); color: rgba(255, 255, 255, .7); font-size: .86rem; line-height: 1.6; }
.ue .ue-recht h2 { margin: 0 0 .5rem; color: #fff; font-size: 1.05rem; }
.ue-recht p { margin: .4rem 0 0; }
.ue-recht a { color: #fff; }
.ue-recht__klein { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8A8A8A; }

/* Rund bleibt rund (globale Kanten-Regel des Kundenbereichs) */
body.ccm-public-body .ccm-page--public .ue .ue-portrait, body.ccm-public-body .ccm-page--public .ue .ue-portrait img, body.ccm-public-body .ccm-page--public .ue-route__dot { border-radius: 50% !important; }

@media (max-width: 860px) {
  .ue-kopf { margin-top: -2.5rem; }
  .ue-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ue-zahlen > div:nth-child(2) { border-right: 1px solid rgba(255, 255, 255, .12); }
  .ue-zahlen > div:nth-child(n+3) { border-top: 0; }
  .ue-route { flex-wrap: wrap; font-size: .58rem; letter-spacing: .16em; }
  .ue-kapitel__linie { left: 1.7rem; }
  .ue-kap { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; align-items: start; }
  .ue-kap__punkt { grid-column: 1; grid-row: 1; }
  .ue-kap__karte, .ue-kap--rechts .ue-kap__karte { grid-column: 2; }
  .ue-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ue-person__rahmen { width: 9rem; height: 9rem; }
  .ue-portrait--gross { width: 6.4rem; height: 6.4rem; }
}
@media (max-width: 480px) {
  .ue-werte { grid-template-columns: minmax(0, 1fr); }
  .ue-crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ue-kopf *, .ue * { animation: none !important; transition: none !important; }
  [data-ue-zeige] { opacity: 1; transform: none; }
}
