/* Paulper.com – Apple-inspiriertes Design über dem Mercedes-Hintergrund */
:root {
  --acc: #2997FF;
  --acc2: #0071E3;
  --purple: #BF5AF2;
  --orange: #FF7A5C;
  --green: #30D158;
  --heading: #F5F5F7;
  --body: #C9C9CE;
  --grey: #86868B;
  --dim: #6E6E73;
  --line: rgba(255, 255, 255, .09);
  --panel: linear-gradient(180deg, rgba(20, 20, 26, .42), rgba(10, 10, 14, .5));
  --radius: 28px;
  --fs: 17px;
  --w-md: 980px;
  --w-lg: 1180px;
  --content-w: var(--w-lg);
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, .8, .3, 1);
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: scale(1.015); filter: blur(6px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #000; }
body {
  margin: 0;
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs);
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--acc); color: #fff; }
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(41, 151, 255, .08), transparent 60%),
    linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .5)),
    var(--page-bg) center / cover no-repeat;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 6px; }

/* ------------------------------------------------ Navigation (Apple-Glas) */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--w-lg); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 16px; min-height: 52px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--heading);
}
.nav-brand img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .3s var(--ease);
}
.nav-brand:hover img { transform: scale(1.12); }
.nav-menu { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; text-decoration: none; color: var(--grey); font-size: 13px; padding: 6px 11px; border-radius: 8px;
  transition: color .22s, background .22s; white-space: nowrap;
}
.nav-link:hover { color: var(--heading); }
.nav-link[aria-current] { color: var(--heading); background: rgba(255, 255, 255, .1); }
.nav-buttons { display: flex; gap: 8px; }
.nav-btn {
  text-decoration: none; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 100px;
  color: var(--acc); border: 1px solid rgba(41, 151, 255, .45); transition: background .22s, color .22s, transform .22s;
  white-space: nowrap;
}
.nav-btn:first-child { background: var(--acc2); border-color: var(--acc2); color: #fff; }
.nav-btn:hover { transform: scale(1.04); }
.nav-btn:first-child:hover { background: #0077ED; }
.nav-btn:not(:first-child):hover { background: rgba(41, 151, 255, .12); }
.nav-btn[aria-current] { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--heading); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ------------------------------------------------ Karten als Glas-Panels */
main { padding: clamp(20px, 4vh, 40px) 0 80px; }
.card { position: relative; padding: 0 var(--pad); margin: 0 0 clamp(20px, 3vh, 32px); }
.card-inner {
  position: relative; max-width: var(--content-w); margin: 0 auto;
  display: flex; align-items: stretch; gap: 0;
  background: var(--panel);
  backdrop-filter: blur(6px) saturate(140%); -webkit-backdrop-filter: blur(6px) saturate(140%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .95);
}
.card-inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(41, 151, 255, .7), rgba(191, 90, 242, .6), transparent);
  opacity: .7;
}
.card-body { flex: 1 1 0; min-width: 0; padding: clamp(32px, 5vw, 64px); align-self: center; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.card-body > :first-child { margin-top: 0; }
.card-body > :last-child { margin-bottom: 0; }

/* Akzentbild links/rechts */
.accent { position: relative; flex: 0 0 38%; padding: 16px; align-self: flex-start; position: sticky; top: 52px; }
.layout-right .accent { padding-left: 0; }
.layout-left .accent { padding-right: 0; }
.accent img, .accent video {
  width: 100%; height: min(calc(100vh - 84px), 720px); min-height: 380px; object-fit: cover; border-radius: calc(var(--radius) - 12px);
}
.accent-portrait img { object-position: 50% 22%; cursor: zoom-in; }
.accent-video video { background: #000; }
.accent-tag {
  position: absolute; left: 32px; bottom: 32px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 100px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18);
}
.layout-right .accent-tag { left: 16px; margin-left: 16px; }

/* Bild hinter dem Inhalt */
.has-behind .card-inner { min-height: 72vh; }
.has-behind .card-inner::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .72) 50%, rgba(0, 0, 0, .4) 100%),
    var(--behind) center / cover no-repeat;
  transform: scale(1.06); transition: transform 1.8s var(--ease);
}
.has-behind.in-view .card-inner::after { transform: scale(1); }
.has-behind .card-body { position: relative; z-index: 1; }
.has-section-bg .card-inner { background: color-mix(in srgb, var(--section-bg) 70%, transparent); }

/* Bildkarte (Games) */
.image-card .card-inner { padding: 0; background: none; border: 0; backdrop-filter: none; box-shadow: none; }
.image-card .card-inner::before { display: none; }
.image-card img { width: 100%; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.format-deck .card-inner { max-width: var(--w-md); }
.format-deck .card-body { padding: 28px; }

/* ------------------------------------------------ Startseite: Porträt */
.hero-portrait { position: relative; width: clamp(120px, 14vw, 168px); margin: 0 0 28px; }
.hero-portrait::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, .45), rgba(191, 90, 242, .2) 45%, transparent 68%);
  filter: blur(18px); animation: glow 6s ease-in-out infinite;
}
.hero-portrait img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; border-radius: 50%;
  box-shadow: 0 26px 70px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .16); cursor: zoom-in;
  transition: transform .5s var(--ease);
}
.hero-portrait img:hover { transform: scale(1.04); }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* ------------------------------------------------ Typografie */
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); font-weight: 600; margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.035em; }
.h1 {
  font-size: clamp(30px, 4.4vw, 54px); margin-top: 1.2em;
  background: linear-gradient(180deg, #fff, #A1A1A6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title {
  font-size: clamp(38px, 6vw, 76px); line-height: 1.03; letter-spacing: -.045em;
  background: linear-gradient(92deg, #F5F5F7 0%, #2997FF 45%, #BF5AF2 75%, #FF7A5C 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.h2 { font-size: 36px; }
.h3 { font-size: 28px; }
.h4 { font-size: 19px; margin: 0 0 .35em; letter-spacing: -.025em; line-height: 1.25; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc);
  margin-bottom: 16px;
}
.card-body > .eyebrow + .h1 { margin-top: 0; }
p { margin: 0 0 .9em; }
.card-body > p { font-size: clamp(16px, 1.5vw, 19px); color: #A1A1A6; letter-spacing: -.015em; max-width: 68ch; }
p.empty { margin: 0; min-height: .3em; }
.link { color: var(--acc); text-decoration: none; border-bottom: 1px solid rgba(41, 151, 255, .35); }
.link:hover { border-bottom-color: var(--acc); }
strong { color: var(--heading); font-weight: 600; }

.bullet { display: flex; gap: 14px; margin: 0 0 .5em calc(var(--indent, 0) * 1.5em); }
.bullet .dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-top: .65em; box-shadow: 0 0 10px rgba(41, 151, 255, .6); }
.bullet > div > p { margin: 0; }

/* ------------------------------------------------ Buttons (Apple-Pillen) */
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 10px 22px; border-radius: 100px; border: 1px solid transparent; line-height: 1.4;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn-solid { background: var(--acc2); color: #fff; }
.btn-solid:hover { background: #0077ED; transform: scale(1.03); }
.btn-solid[style*="#091231"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: var(--heading); }
.btn-solid[style*="#091231"]:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { color: var(--acc); border-color: rgba(41, 151, 255, .5); background: transparent; }
.btn-outline:hover { background: rgba(41, 151, 255, .12); transform: scale(1.03); }
.btn-outline::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform .25s var(--ease); }
.btn-outline:hover::after { transform: translateX(3px); }
.btn-link { color: var(--acc); padding-left: 0; padding-right: 0; }

/* ------------------------------------------------ Aufklappbereiche */
.toggle { border-bottom: 1px solid var(--line); }
.toggle:first-of-type { border-top: 1px solid var(--line); }
.toggle summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 4px;
  color: var(--heading); font-weight: 500; transition: color .2s;
}
.toggle summary::-webkit-details-marker { display: none; }
.toggle .tri {
  order: 2; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey);
  transform: rotate(-45deg); transition: transform .35s var(--ease), border-color .2s; flex: none;
}
.toggle[open] > summary .tri { transform: rotate(45deg); border-color: var(--acc); }
.toggle summary:hover { color: var(--acc); }
.toggle-body { padding: 0 4px 18px; color: var(--grey); animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------ Galerien */
.gallery { --th: 15; margin: 1.6em 0; }
.gallery img {
  border-radius: 16px; object-fit: cover; cursor: zoom-in;
  transition: transform .6s var(--ease), filter .4s, box-shadow .4s; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
}
.gallery img:hover { transform: scale(1.035); filter: brightness(1.08); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(calc(var(--th) * 13px), 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: var(--ratio); }
.gallery-flex { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-flex img { height: calc(var(--th) * 14px); flex: 1 1 auto; min-width: 140px; max-width: 100%; width: auto; aspect-ratio: var(--ratio); }
.image { margin: 1.2em 0; }
.image img { border-radius: 18px; width: 100%; cursor: zoom-in; }

/* ------------------------------------------------ Smart Layouts */
.smart { margin: 1.6em 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--cell) * 20px)), 1fr)); }
.smart .cell-body > :last-child { margin-bottom: 0; }
.smart p { margin-bottom: .4em; color: var(--grey); font-size: 15.5px; }

.smart-imagesText .cell {
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 20px;
  transition: transform .45s var(--ease), border-color .45s;
}
.smart-imagesText .cell:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .18); }
.smart-imagesText .cell-body { padding: 0 8px; }
.smart-imagesText .cell-img { overflow: hidden; border-radius: 14px; margin-bottom: 16px; }
.smart-imagesText .cell-img img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; max-height: 420px; cursor: zoom-in; transition: transform .8s var(--ease); }
.smart-imagesText .cell:hover .cell-img img { transform: scale(1.05); }
.smart-imagesText.circle .cell-img { border-radius: 50%; }

.smart-iconsText .cell { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.smart-iconsText .cell-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(48, 209, 88, .14); border: 1px solid rgba(48, 209, 88, .3); color: var(--green); font-size: 19px;
}

.smart-bullets { grid-template-columns: 1fr; gap: 12px; }
.smart-bullets .cell { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.smart-bullets .cell-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); margin-top: .55em; box-shadow: 0 0 12px rgba(41, 151, 255, .7); }

.smart-arrows { grid-template-columns: 1fr; gap: 10px; }
.smart-arrows .cell {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(41, 151, 255, .14), rgba(191, 90, 242, .06)); border: 1px solid rgba(41, 151, 255, .22);
  transition: transform .35s var(--ease);
}
.smart-arrows .cell:hover { transform: translateX(6px); }
.smart-arrows .cell-arrow { flex: none; width: 9px; height: 9px; margin-top: .55em; border-top: 2px solid var(--acc); border-right: 2px solid var(--acc); transform: rotate(45deg); }

.smart-timeline { grid-template-columns: 1fr; gap: 18px; position: relative; }
.smart-timeline .cell { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.smart-timeline .cell-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--acc); background: #0A0A0C; border: 1.5px solid var(--acc);
  box-shadow: 0 0 0 5px rgba(41, 151, 255, .14); position: relative; z-index: 1;
}
.smart-timeline .cell-num.dot { width: 14px; height: 14px; margin: 11px; }
.smart-timeline .cell-body { padding-top: 3px; }
.smart-timeline.has-line::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--acc), var(--purple)); opacity: .5; }
.smart-timeline .btn-group { margin-top: 0; }
@media (min-width: 900px) {
  .smart-timeline.two-sided.has-line::before { left: 50%; transform: translateX(-1px); }
  .smart-timeline.two-sided .cell { width: 50%; padding-right: 38px; flex-direction: row-reverse; text-align: right; margin-right: auto; }
  .smart-timeline.two-sided .cell .cell-num { margin-right: -56px; }
  .smart-timeline.two-sided .cell:nth-child(even) { margin-left: 50%; margin-right: 0; padding: 0 0 0 38px; flex-direction: row; text-align: left; }
  .smart-timeline.two-sided .cell:nth-child(even) .cell-num { margin: 0 0 0 -56px; }
}

/* ------------------------------------------------ Raster & Tabellen */
.grid-layout { display: grid; grid-template-columns: var(--cols); gap: 16px; margin: 1.6em 0; }
.grid-cell { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 20px; transition: transform .45s var(--ease); }
.grid-cell:hover { transform: translateY(-6px); }
.grid-cell > :not(.image) { padding-left: 8px; padding-right: 8px; }
.grid-cell .image { margin-top: 0; }
.grid-cell .image img { aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
td p { margin: 0; }
tr:first-child td { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------ Link-Vorschau (Games) */
.embed-card {
  display: block; text-decoration: none; border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.embed-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(41, 151, 255, .45); border-color: rgba(41, 151, 255, .45); }
.embed-thumb { overflow: hidden; }
.embed-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .8s var(--ease); }
.embed-card:hover .embed-thumb img { transform: scale(1.04); }
.embed-meta { padding: 20px 24px 22px; }
.embed-title { font-weight: 600; color: var(--heading); font-size: 22px; letter-spacing: -.03em; }
.embed-desc { color: var(--grey); margin-top: 4px; font-size: 15px; }
.embed-host { font-family: var(--mono); color: var(--acc); font-size: 12px; margin-top: 10px; }

/* ------------------------------------------------ Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .94); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------ Einblenden beim Scrollen */
.js .reveal, .js .card-body > .h1, .js .card-body > p, .js .card-body > .eyebrow {
  opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js .in { opacity: 1 !important; transform: none !important; }
.js .card { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .card.in-view { opacity: 1; transform: none; }
.smart .cell:nth-child(2), .gallery img:nth-child(2) { transition-delay: .06s; }
.smart .cell:nth-child(3), .gallery img:nth-child(3) { transition-delay: .12s; }
.smart .cell:nth-child(4), .gallery img:nth-child(4) { transition-delay: .18s; }
.smart .cell:nth-child(5), .gallery img:nth-child(5) { transition-delay: .24s; }
.smart .cell:nth-child(6), .gallery img:nth-child(6) { transition-delay: .3s; }

/* Ankunft auf einer neuen Seite */
body.arriving main { animation: arrive .9s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }

/* ------------------------------------------------ Seitenwechsel-Effekte */
#fx { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; overflow: hidden; }
#fx.run { display: block; }
.fx-veil { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--fc) 30%, transparent), transparent 62%); animation: veil .8s ease-out forwards; }
@keyframes veil { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
.fx-dim { position: absolute; inset: 0; background: #000; animation: dim .9s ease forwards; }
@keyframes dim { 0% { opacity: 0; } 55% { opacity: .85; } 100% { opacity: .85; } }
.fx-ring { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1.5px solid var(--fc); opacity: 0; animation: ring .9s var(--ease) forwards; }
.fx-ring.b { animation-delay: .1s; } .fx-ring.c { animation-delay: .2s; }
@keyframes ring { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(16); opacity: 0; } }

/* Fotografie: Kamera-Verschluss + Blitz */
.fx-shutter { position: absolute; inset: 0; display: grid; place-items: center; }
.fx-shutter svg { width: 190vmax; height: 190vmax; flex: none; animation: shut .7s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes shut { 0% { transform: rotate(0) scale(1.25); } 55% { transform: rotate(60deg) scale(.5); } 100% { transform: rotate(60deg) scale(.5); } }
.fx-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash .7s ease-out .34s forwards; }
@keyframes flash { 0% { opacity: 0; } 10% { opacity: .9; } 100% { opacity: 0; } }

/* Reiseziele: Flugzeug mit Kondensstreifen */
.fx-plane { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-plane .trail { fill: none; stroke: url(#fxTrail); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: trail .85s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes trail { to { stroke-dashoffset: 0; } }
.fx-plane .jet { offset-path: path("M -60 620 C 300 520, 600 140, 1260 60"); offset-rotate: auto; animation: fly .85s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* Auto: Lichtstreifen */
.fx-streak { position: absolute; height: 2px; border-radius: 2px; left: -50%; width: 40%; background: linear-gradient(90deg, transparent, var(--sc, #fff)); filter: drop-shadow(0 0 6px var(--sc, #fff)); animation: streak .6s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes streak { to { transform: translateX(400%); } }

/* Über mich: Hantel fällt + Beben */
.fx-db { position: absolute; left: 50%; width: min(280px, 60vw); margin-left: max(-140px, -30vw); top: -26%; animation: db .95s cubic-bezier(.5, 0, .75, .35) forwards; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
@keyframes db { 0% { top: -26%; transform: rotate(-7deg); } 54% { top: 43%; transform: rotate(0); } 66% { top: 38%; } 78% { top: 43%; opacity: 1; } 100% { top: 43%; opacity: 0; } }
.shake { animation: sh .34s linear; }
@keyframes sh { 0%, 100% { transform: none; } 25% { transform: translate(-5px, 3px); } 50% { transform: translate(5px, -3px); } 75% { transform: translate(-2px, 2px); } }

/* Games: Pixel-Explosion */
.fx-px { position: absolute; width: 20px; height: 20px; border-radius: 2px; left: 50%; top: 50%; animation: px .8s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes px { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--r)); opacity: 0; } }

/* Kontakt: Puls-Linie */
.fx-ecg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-ecg path { fill: none; stroke: var(--fc); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 9px var(--fc)); stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: ecg .7s cubic-bezier(.3, .7, .25, 1) forwards; }
@keyframes ecg { 60% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ------------------------------------------------ Responsiv */
@media (max-width: 1060px) {
  .nav-link { font-size: 12.5px; padding: 6px 8px; }
}
@media (max-width: 900px) {
  :root { --fs: 16px; --radius: 22px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 8px var(--pad) 22px; background: rgba(0, 0, 0, .92); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .45s var(--ease), opacity .3s;
  }
  .nav.open .nav-menu { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--heading); padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current] { background: none; color: var(--acc); }
  .nav-buttons { justify-content: stretch; }
  .nav-btn { flex: 1; text-align: center; font-size: 15px; padding: 10px; }

  .card-inner { flex-direction: column; }
  .accent { flex-basis: auto; order: -1; padding: 12px 12px 0 !important; position: relative; top: 0; align-self: stretch; }
  .accent img, .accent video { min-height: 0; height: auto; aspect-ratio: 4/3; }
  .accent-video video { aspect-ratio: 3/4; max-height: 70vh; }
    .accent-tag, .layout-right .accent-tag { left: 24px; bottom: 12px; margin: 0; }
  .has-behind .card-inner { min-height: 0; }
  .card-body { padding: 32px 22px; }
  .grid-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-flex img { height: 150px; min-width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .card, .js .card-body > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  #fx { display: none !important; }
  .hero-title, .hero-portrait::before { animation: none; }
  body.arriving main { animation: none; }
}

/* ------------------------------------------------ Hervorhebung, Artikel */
.card-body > p.highlight {
  color: var(--heading); font-size: clamp(17px, 1.7vw, 21px); padding: 14px 18px 14px 20px; margin: 1.2em 0;
  border-left: 3px solid var(--acc); border-radius: 4px 14px 14px 4px;
  background: linear-gradient(90deg, rgba(41, 151, 255, .16), rgba(191, 90, 242, .05));
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.6em 0; }
.stat { padding: 18px 18px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.stat b {
  display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05;
  background: linear-gradient(180deg, #fff, #FF9F5A); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
}
.stat span { display: block; font-size: 13px; color: var(--grey); margin-top: 8px; line-height: 1.35; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 1.4em; }
.pillar { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.pillar:hover { transform: translateY(-5px); border-color: rgba(255, 159, 90, .45); }
.pillar i { color: #FF9F5A; font-size: 20px; margin-bottom: 12px; display: block; }
.pillar p { font-size: 14.5px; color: var(--grey); margin: 0; }
.article .accent img { object-position: 60% 50%; }
p.note { font-size: 13px !important; color: var(--dim) !important; margin-top: 1.4em; }
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 1.6em 0; }
.city {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(160deg, rgba(217, 176, 106, .16), rgba(255, 255, 255, .03)); border: 1px solid rgba(217, 176, 106, .28);
  transition: transform .4s var(--ease), border-color .4s;
}
.city:hover { transform: translateY(-5px); border-color: rgba(217, 176, 106, .7); }
.city span { font-size: 26px; text-shadow: none; }
.city b { color: var(--heading); font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }
.city i { font-style: normal; color: var(--grey); font-size: 13px; }
.btn i { font-size: .8em; }
