/* Die Lebis – Webseite. Nur Systemschriften, keine externen Quellen. */
:root {
  --creme: #fff8ec;
  --creme-2: #fdeed6;
  --papier: #ffffff;
  --tinte: #1d2433;
  --tinte-2: #4a5468;
  --koralle: #ff6b4a;
  --koralle-dunkel: #e5502f;
  --orange: #ffb14a;
  --petrol: #1b7f8c;
  --tuerkis: #2fb7a6;
  --gruen: #7ccf6a;
  --nacht: #141c2b;
  --schatten: 0 18px 40px -18px rgba(29, 36, 51, .45);
  --rund: 18px;
  --titel: ui-rounded, 'SF Pro Rounded', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--tinte); font: 400 1.0625rem/1.65 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); }
h1, h2, h3 { font-family: var(--titel); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.breite { width: min(1180px, 100% - 32px); margin-inline: auto; }
.schmal { width: min(760px, 100% - 32px); }
.mitte { text-align: center; }
.klein { font-size: .9rem; color: var(--tinte-2); }
.akzent { background: linear-gradient(90deg, var(--orange), var(--koralle)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oberzeile { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--petrol); margin-bottom: .5em; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.4em; border-radius: 999px; background: var(--koralle); color: #fff; font: 700 1rem/1 var(--titel); text-decoration: none; box-shadow: 0 10px 24px -10px rgba(229, 80, 47, .8); transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.knopf:hover { background: var(--koralle-dunkel); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(229, 80, 47, .9); }
.knopf:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, img[data-gross]:focus-visible, input:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.knopf-gross { font-size: 1.3rem; padding: .95em 1.9em; }
.knopf-klein { font-size: .95rem; padding: .65em 1.15em; }
.knopf-hell { background: var(--papier); color: var(--tinte); box-shadow: var(--schatten); }
.knopf-hell:hover { background: #fff; color: var(--koralle-dunkel); box-shadow: var(--schatten); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 1em; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 236, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(29, 36, 51, .08); }
.kopf-innen { display: flex; align-items: center; gap: 20px; height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); font: 700 1.35rem var(--titel); }
.marke img { border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--tinte); text-decoration: none; font-weight: 700; padding: .5em .8em; border-radius: 999px; }
.nav a:hover { background: var(--creme-2); color: var(--koralle-dunkel); }
.menue-knopf { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 10px; }
.menue-knopf span { display: block; height: 3px; background: var(--tinte); border-radius: 2px; margin: 4px 0; }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(47, 183, 166, .22), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(255, 177, 74, .25), transparent 60%),
  linear-gradient(180deg, var(--creme) 0%, var(--creme-2) 100%); overflow: hidden; }
.hero-raster { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-logo { width: min(440px, 100%); margin: 0 0 22px -6px; }
.einleitung { font-size: 1.2rem; color: var(--tinte-2); max-width: 34em; }
.hero-bild { position: relative; }
.rahmen { margin: 0; background: var(--papier); border-radius: var(--rund); padding: 8px; box-shadow: var(--schatten); }
.rahmen img { border-radius: calc(var(--rund) - 6px); width: 100%; }
.rahmen figcaption { font-size: .9rem; color: var(--tinte-2); padding: 8px 6px 2px; }
.schraeg { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .5s; }
.schraeg:hover { transform: none; }
.chip { position: absolute; background: var(--papier); padding: .55em 1em; border-radius: 999px; font-weight: 800; box-shadow: var(--schatten); font-size: .95rem; animation: schweben 5s ease-in-out infinite; white-space: nowrap; }
.c1 { left: -24px; top: 12%; }
.c2 { right: -10px; top: 46%; animation-delay: -1.6s; }
.c3 { left: 12%; bottom: -18px; animation-delay: -3.2s; }
@keyframes schweben { 50% { transform: translateY(-8px); } }

/* Zahlen */
.zahlen { background: var(--tinte); color: #fff; padding: 26px 0; }
.zahlen-raster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.zahlen b { display: block; font: 700 2rem/1.1 var(--titel); color: var(--orange); }
.zahlen span { font-size: .9rem; opacity: .85; }

/* Abschnitte */
.abschnitt { padding: 88px 0; }
.breitbild { margin-top: 36px; }
.feature { padding: 72px 0; }
.feature:nth-of-type(even) { background: var(--papier); }
.feature-raster { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.gedreht .feature-text { order: 2; }
.feature-bilder { position: relative; }
.doppel { display: grid; grid-template-columns: 1fr; }
.doppel .rahmen:first-child { width: 82%; }
.doppel .versetzt { width: 66%; margin: -22% 0 0 auto; position: relative; }
.liste { padding-left: 1.2em; margin: 0 0 1em; }
.liste li { margin-bottom: .5em; }
.liste li::marker { color: var(--koralle); }
.hinweis { background: #e7f6f3; border-left: 5px solid var(--tuerkis); padding: .9em 1.1em; border-radius: 12px; font-size: .95rem; }
.haeuser, .berufe { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.haeuser li { display: flex; gap: 12px; align-items: flex-start; background: var(--creme); border-radius: 12px; padding: .55em .9em; }
.feature:nth-of-type(odd) .haeuser li { background: var(--papier); }
.haeuser span { font-size: 1.3rem; line-height: 1.3; }
.haeuser span { flex: 0 0 1.6em; text-align: center; }
.berufe { grid-template-columns: 1fr 1fr; }
.berufe li { background: var(--creme); border-radius: 12px; padding: .55em .9em; font-size: .98rem; }
.berufe span { display: block; font-size: .85rem; color: var(--tinte-2); }
.galerie { display: grid; gap: 22px; margin-top: 40px; }
.galerie.drei { grid-template-columns: repeat(3, 1fr); }
.galerie.zwei { grid-template-columns: repeat(2, 1fr); }
img[data-gross] { cursor: zoom-in; }

/* Öffnungszeiten */
.zeiten { width: 100%; border-collapse: collapse; background: var(--papier); border-radius: 14px; overflow: hidden; box-shadow: var(--schatten); }
.zeiten caption { text-align: left; font: 600 1.05rem var(--titel); padding-bottom: .5em; }
.zeiten td { padding: .6em 1em; border-bottom: 1px solid #f1e6d4; }
.zeiten tr:last-child td { border-bottom: 0; }
.zeiten td:last-child { text-align: right; font-weight: 800; color: var(--petrol); white-space: nowrap; }

/* Nacht */
.nacht { background: linear-gradient(180deg, #1d2740 0%, var(--nacht) 100%) !important; color: #e9edf5; }
.nacht .oberzeile { color: var(--orange); }
.nacht .klein { color: #aab3c5; }
.nacht .rahmen { background: #263149; }
.nacht figcaption { color: #c6cedd; }
.vergleich { position: relative; overflow: hidden; padding: 8px; }
.vergleich > img, .vergleich-nacht img { border-radius: 12px; }
.vergleich-nacht { position: absolute; inset: 8px; clip-path: inset(0 0 0 var(--pos)); }
.vergleich-nacht img { width: 100%; height: 100%; object-fit: cover; }
.vergleich-linie { position: absolute; top: 8px; bottom: 8px; left: calc(8px + (100% - 16px) * var(--pos-zahl, .5)); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); pointer-events: none; }
.vergleich-schild { position: absolute; top: 20px; background: rgba(20, 28, 43, .75); color: #fff; padding: .3em .8em; border-radius: 999px; font-weight: 800; font-size: .85rem; pointer-events: none; }
.vergleich-schild.links { left: 20px; }
.vergleich-schild.rechts { right: 20px; }
.vergleich input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Film */
.film { background: radial-gradient(800px 400px at 50% 0%, rgba(47, 183, 166, .18), transparent 70%), var(--creme-2); }
.video-rahmen { max-width: 980px; margin-top: 28px; background: var(--tinte); padding: 10px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(29, 36, 51, .7); }
.video-rahmen video { width: 100%; display: block; border-radius: 14px; aspect-ratio: 16 / 9; background: #000; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.schritte li { background: var(--papier); border-radius: var(--rund); padding: 26px 22px 18px; box-shadow: var(--schatten); position: relative; }
.nr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--koralle)); color: #fff; font: 700 1.3rem var(--titel); margin-bottom: 14px; }
.schritte p { font-size: .98rem; color: var(--tinte-2); margin: 0; }
.tasten { margin-top: 40px; background: var(--papier); border-radius: var(--rund); padding: 24px 28px; box-shadow: var(--schatten); }
.tasten ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
kbd { display: inline-block; min-width: 1.9em; text-align: center; padding: .15em .5em; margin-right: .25em; border-radius: 7px; background: var(--creme); border: 1px solid #e3d3b8; border-bottom-width: 3px; font: 700 .85rem var(--text); }

/* FAQ */
.faq { background: var(--papier); }
details { border-bottom: 1px solid #efe3cf; }
summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 4px; font: 600 1.15rem var(--titel); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--creme-2); color: var(--koralle-dunkel); font: 700 1.3rem/1 var(--text); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 4px 12px; color: var(--tinte-2); }

/* Schluss & Fuß */
.schluss { padding: 90px 0; background: linear-gradient(135deg, var(--tuerkis), var(--petrol)); color: #fff; }
.schluss-icon { margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.schluss p { font-size: 1.15rem; opacity: .92; margin-bottom: 1.6em; }
.fuss { background: var(--nacht); color: #aab3c5; padding: 28px 0; font-size: .92rem; }
.fuss-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fuss .marke { color: #fff; font-size: 1.15rem; }
.fuss p { margin: 0; }

/* Lupe */
.lupe { position: fixed; inset: 0; z-index: 50; background: rgba(12, 16, 26, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lupe[hidden] { display: none; }
.lupe img { max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lupe p { color: #dfe5ef; margin: 14px 0 0; text-align: center; max-width: 60em; }
.lupe-zu { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.8rem; cursor: pointer; }

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

/* Tablet */
@media (max-width: 980px) {
  .hero-raster, .feature-raster { grid-template-columns: 1fr; gap: 36px; }
  .gedreht .feature-text { order: 0; }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .zahlen-raster { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 36px; }
  .schraeg { transform: none; }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .menue-knopf { display: block; }
  .kopf-innen { gap: 10px; }
  .kopf .knopf-klein { margin-left: auto; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--creme); border-bottom: 1px solid rgba(29, 36, 51, .1); padding: 8px 16px 16px; display: none; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); }
  .nav.offen { display: flex; }
  .nav a { padding: .8em .6em; border-radius: 10px; }
  .marke span { font-size: 1.2rem; }
  .einleitung { font-size: 1.08rem; }
  .knopfreihe .knopf { flex: 1 1 100%; }
  .chip { font-size: .8rem; }
  .c1 { left: -4px; top: -14px; }
  .c2 { right: -4px; top: auto; bottom: 22%; }
  .c3 { left: 8px; bottom: -16px; }
  .zahlen-raster { grid-template-columns: repeat(2, 1fr); }
  .zahlen-raster div:last-child { grid-column: 1 / -1; }
  .abschnitt { padding: 64px 0; }
  .feature { padding: 56px 0; }
  .galerie.drei, .galerie.zwei { grid-template-columns: 1fr; }
  .berufe { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; }
  .doppel .rahmen:first-child { width: 92%; }
  .doppel .versetzt { width: 78%; margin-top: -16%; }
  .tasten { padding: 20px; }
  summary { font-size: 1.05rem; }
}
@media (max-width: 340px) {
  .marke span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
}

/* ---------- Spielstart-PopUp ---------- */

