/* =========================================================
   likeZ Group – Onepager (ohne CMS)
   Aufbau und Bausteine wie die neue Escape-Game-Solutions-Seite,
   Farben und Schrift aus der likeZ-CI:
   Navy #173948 · Blau #4598C3 · Petrol #2E6A87 · Futura PT (→ Jost)
   ========================================================= */

:root {
  --primary: #173948;       /* likeZ Navy: Überschriften, dunkle Flächen */
  --accent: #4598C3;        /* likeZ Blau: Kicker, Akzente, Hover */
  --accent-strong: #2E6A87; /* likeZ Petrol: Buttons und Links (besserer Kontrast) */
  --muted: #7A8A94;
  --surface: #F2F5F7;
  --card: #fff;
  --ink: #0E1A20;
  --text: #3B4A52;
  --line: #E1E7EB;
  --dark: #0B1C24;
  --on-dark: #CFDCE3;
  --on-dark-muted: #9DB1BC;

  --radius: 30px;
  --shadow: 0 4px 24px rgba(14, 26, 32, .07);
  --font: "futura-pt", "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --s1: 10px; --s2: 20px; --s3: 30px; --s4: 70px;
  --breite: 1440px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font); font-size: 18px; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3 { margin: 0; color: var(--primary); line-height: 1.15; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 68px); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0; }

.wrap { width: min(var(--breite), 100% - 32px); margin-inline: auto; }
.sec { padding: var(--s4) 0; position: relative; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 10px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Bausteine ---------- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.head > div { max-width: 760px; }
.head p:not(.kicker) { color: var(--muted); margin-top: var(--s1); max-width: 62ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s1);
  font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 0 26px; border: 1px solid var(--accent-strong); border-radius: var(--radius);
  background: var(--accent-strong); color: #fff; font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 16px; }
.btn--light { background: #fff; border-color: #fff; color: var(--primary); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--outline-hell { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-hell:hover { background: #fff; border-color: #fff; color: var(--primary); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Kopfzeile: schwebende Pille ---------- */
.top { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.nav {
  display: flex; align-items: center; gap: var(--s2); padding: 10px 10px 10px 18px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(14, 26, 32, .1);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); }
.logo img { width: 38px; height: 38px; }
.logo span { font-size: 21px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
.logo span b { font-weight: 600; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a {
  display: block; padding: 8px 16px; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 17px; color: var(--primary);
}
.nav__links a:hover, .nav__links a.is-active { background: var(--surface); }
.nav__burger {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 12px 10px; border: 0; border-radius: 50%;
  background: var(--surface); cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: var(--primary); transition: transform .2s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__mobil {
  margin-top: 8px; padding: 12px; border-radius: 24px; background: #fff;
  box-shadow: 0 6px 24px rgba(14, 26, 32, .12); display: grid; gap: 2px;
}
.nav__mobil[hidden] { display: none; }
.nav__mobil a { padding: 12px 16px; border-radius: 16px; text-decoration: none; font-weight: 600; color: var(--primary); }
.nav__mobil a:hover { background: var(--surface); }

/* ---------- Hero: Bühne mit Kulisse ---------- */
.hero { padding-top: var(--s3); }
.hero__stage {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--primary);
  min-height: clamp(560px, 74vh, 800px); display: grid; align-items: end;
}
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 28, 36, .92) 0%, rgba(11, 28, 36, .62) 45%, rgba(11, 28, 36, .15) 80%),
    linear-gradient(0deg, rgba(11, 28, 36, .7), transparent 45%);
}
.hero__inhalt { max-width: 820px; padding: 90px 60px 80px; }
.hero h1 { color: #fff; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero__lead { margin-top: var(--s2); max-width: 54ch; color: #E3ECF1; font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.hero__zahlen { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; color: var(--on-dark); font-size: 15px; }
.hero__zahlen li { padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, .25); }
.hero__zahlen li:first-child { padding-left: 0; border-left: 0; }
.hero__zahlen strong { color: #fff; font-size: 19px; font-weight: 700; margin-right: 4px; }

/* ---------- Marken ---------- */
.marke { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
.marke__bild { position: relative; min-height: 440px; }
.marke__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.marke:hover .marke__bild img { transform: scale(1.03); }
.marke__text { display: grid; gap: 18px; align-content: center; justify-items: start; padding: 50px; }
.marke__text h3, .dansys h3 { font-size: clamp(26px, 2.8vw, 36px); }
.marke__text > p { color: var(--text); }
.marke__logo { width: 64px; height: 64px; border-radius: 16px; }

.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.haken li { position: relative; padding-left: 28px; font-weight: 600; color: var(--primary); }
.haken li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* DanSys: dunkler Block wie auf der EGS-Seite */
.dansys {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: var(--s3);
  margin-top: var(--s3); padding: 56px; border-radius: var(--radius); background: #070B0D; color: #DCE4E8; overflow: hidden;
}
.dansys h3 { color: #fff; }
.dansys .kicker { color: #B79CF2; }
.dansys__text { display: grid; gap: 18px; justify-items: start; }
.dansys__text > p { color: #C4CFD4; }
.dansys .haken li { color: #fff; }
.dansys .haken li::before { color: #B79CF2; }
.dansys__bild img { width: 100%; height: auto; }

/* ---------- Partner: Karten wie „Drei Wege“ ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.weg { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.weg:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(14, 26, 32, .1); }
.weg__bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.weg__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.weg:hover .weg__bild img { transform: scale(1.04); }
.tag {
  position: absolute; top: 16px; left: 16px; padding: 4px 14px; border-radius: var(--radius);
  background: var(--accent-strong); color: #fff; font-size: 14px; font-weight: 600;
}
.weg__text { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 24px; }
.weg__logo { height: 44px; display: flex; align-items: center; }
.weg__logo img { max-height: 40px; width: auto; max-width: 190px; }
.weg__text > p:not(.weg__fuss) { color: var(--text); font-size: 17px; }
.weg__fuss {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted);
}
.weg__link { color: var(--accent-strong); font-weight: 600; white-space: nowrap; }

/* ---------- Team (Raster wie EGS „Über uns“) ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3) var(--s2); }
.team__bild { aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, #1F4A5D, #0B1C24); }
.team__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team__person:hover .team__bild img { transform: scale(1.04); }
.team__name { margin-top: 14px; font-size: 20px; font-weight: 700; color: var(--primary); }
.team__rolle { font-size: 15px; font-weight: 600; color: var(--accent-strong); }

/* ---------- Kontakt-Band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s3); align-items: center; padding: 50px; border-radius: var(--radius); color: #fff;
  background: var(--primary) var(--bild) center / cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 57, 72, .97) 0%, rgba(23, 57, 72, .6) 100%); }
.cta h2 { color: #fff; }
.cta p { margin-top: var(--s1); max-width: 56ch; color: var(--on-dark); }
.cta__daten { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: var(--s2); font-size: 16px; color: var(--on-dark); }
.cta__daten a { color: #fff; text-decoration: none; font-weight: 600; }
.cta__daten a:hover { color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s1); }

/* ---------- Fußzeile: dunkles Band mit Kulisse ---------- */
.site-foot { padding: var(--s3) 0 40px; }
.foot {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 26px; padding: 30px 40px;
  border-radius: var(--radius); color: #fff; background: var(--primary) var(--bild) center / cover no-repeat;
}
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 28, 36, .84) 0%, rgba(11, 28, 36, .92) 100%); }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 14px 30px; flex-wrap: wrap; }
.foot .logo { color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; }
.foot__links a { color: var(--on-dark); text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__row--partner { justify-content: flex-start; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__row--partner > span { font-size: 15px; }
.foot__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__chips a {
  padding: 6px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 16px; font-weight: 500; text-decoration: none; transition: color .2s, background-color .2s;
}
.foot__chips a:hover { color: var(--accent); background: rgba(255, 255, 255, .16); }
.foot__row--legal { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__row--legal p { font-size: 14px; color: var(--on-dark-muted); }
.foot__links--klein { font-size: 14px; }
.foot__links--klein a { color: var(--on-dark-muted); }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 860px; margin-inline: auto; padding: 50px; }
.rechtstext h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: var(--s2); }
.rechtstext h2 { margin: 34px 0 10px; font-size: 22px; }
.rechtstext p { margin-bottom: 12px; color: var(--text); }
.rechtstext a:not(.btn) { color: var(--accent-strong); }

/* ---------- Dezente Partikel (wie EGS) ---------- */
.partikel { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.partikel i {
  position: absolute; display: block; width: var(--g); height: var(--g); border-radius: 50%;
  background: var(--f); opacity: var(--o); filter: blur(var(--b));
  animation: schweben var(--d) ease-in-out infinite alternate;
}
@keyframes schweben { to { transform: translate3d(var(--x), var(--y), 0); } }

/* ---------- Einblenden ---------- */
.js .aufbau { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .aufbau.is-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .aufbau { opacity: 1; transform: none; transition: none; }
  .partikel { display: none; }
  .weg, .weg__bild img, .team__bild img, .marke__bild img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inhalt { padding: 80px 40px 70px; }
  .marke { grid-template-columns: minmax(0, 1fr); }
  .marke__bild { min-height: 0; aspect-ratio: 16 / 9; }
  .marke__text { padding: 40px; }
  .dansys { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) and (min-width: 600px) {
  .weg { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .weg__bild { aspect-ratio: auto; }
}
@media (max-width: 767px) {
  :root { --s4: 50px; }
  body { font-size: 17px; }
  .top { top: 8px; margin-top: 8px; }
  .nav { padding: 8px 8px 8px 14px; }
  .logo img { width: 34px; height: 34px; }
  .logo span { font-size: 19px; }
  .hero { padding-top: var(--s2); }
  .hero__stage { min-height: 0; }
  .hero__inhalt { padding: 150px 20px 36px; }
  .hero__lead { font-size: 18px; }
  .hero__zahlen { margin-top: 28px; font-size: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .hero__zahlen li, .hero__zahlen li:first-child { padding: 0; border: 0; }
  .hero__zahlen strong { display: block; font-size: 18px; }
  .marke__text { padding: 26px 20px 30px; }
  .dansys { padding: 28px 20px; gap: var(--s2); }
  .weg__text { padding: 20px; }
  .team { grid-template-columns: 1fr 1fr; gap: var(--s2) 12px; }
  .team__name { font-size: 17px; }
  .team__rolle { font-size: 14px; }
  .cta { padding: 30px 22px; }
  .foot { padding: 26px 22px; }
  .foot__row--legal { flex-direction: column; align-items: flex-start; }
  .rechtstext { padding: 28px 20px; }
}
