@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Caveat:wght@600&display=swap');

/* =========================================================
   aboutme.css – nur für /aboutme (alle Klassen mit am-)
   ========================================================= */

:root {
  --am-accent: var(--accent-color, #00D2FC);
  --am-accent-2: #A97CFF;
  --am-warm: #FF8FB1;
  --am-warm-2: #FFC46B;
  --am-bg: var(--bg-color, #111);
  --am-surface: var(--surface-color, #1a1a1a);
  --am-surface-2: #202024;
  --am-line: rgba(255, 255, 255, 0.08);
  --am-text: var(--text-color, #e0e0e0);
  --am-muted: #a3a3ad;
  --am-bright: #fff;
  --am-radius: 18px;
  --am-ease: cubic-bezier(.2, .8, .2, 1);
  --am-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

body { overflow-x: clip; }

.am-page {
  position: relative;
}

.am-page :focus-visible,
.am-dots :focus-visible,
.am-calm-toggle:focus-visible,
.am-lb :focus-visible {
  outline: 2px solid var(--am-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.am-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ---------- Scroll-Fortschritt ---------- */
.am-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2500;
  pointer-events: none;
}
.am-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--am-accent), var(--am-accent-2), var(--am-warm));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px var(--am-accent);
}

/* ---------- Typo ---------- */
.am-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--am-accent);
  margin: 0 0 14px;
}
.am-h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--am-bright);
  margin: 0 0 22px;
  text-wrap: balance;
}
.am-h2-xl { font-size: clamp(34px, 6vw, 76px); }
.am-h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--am-bright);
  margin: 0 0 18px;
}
.am-h3 small { font-size: 15px; font-weight: 500; color: var(--am-muted); letter-spacing: 0; }
.am-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
  color: var(--am-text);
  max-width: 760px;
}
.am-grad {
  background: linear-gradient(100deg, var(--am-accent) 0%, var(--am-accent-2) 55%, var(--am-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: am-grad-move 8s ease-in-out infinite alternate;
}
.am-grad--warm {
  background-image: linear-gradient(100deg, var(--am-warm) 0%, var(--am-warm-2) 60%, var(--am-accent-2) 100%);
}
@keyframes am-grad-move { to { background-position: 100% 0; } }

.am-page p { line-height: 1.75; }
.am-page strong { color: var(--am-bright); }

.am-inline-link {
  color: var(--am-accent);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--am-ease);
}
.am-inline-link:hover { background-size: 100% 1px; }

/* ---------- Reveal ---------- */
.am-js .am-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--am-ease), transform .8s var(--am-ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.am-js .am-reveal.am-in {
  opacity: 1;
  transform: none;
}

/* ---------- Sektionen ---------- */
.am-section {
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}

/* ---------- HERO ---------- */
.am-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: -20px;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(0, 210, 252, .10), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(169, 124, 255, .10), transparent 70%),
    var(--am-bg);
}
.am-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
}
.am-hero-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, var(--am-bg), transparent);
  z-index: -1;
  pointer-events: none;
}
.am-hero-inner {
  text-align: center;
  padding: 80px 20px 120px;
  max-width: 980px;
  pointer-events: none;
}
.am-hero-inner a { pointer-events: auto; }

.am-hero-avatars {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
}
.am-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--am-bg);
  box-shadow: 0 0 0 2px var(--am-accent), 0 10px 30px rgba(0, 0, 0, .5);
}
.am-avatar:last-child { box-shadow: 0 0 0 2px var(--am-warm), 0 10px 30px rgba(0, 0, 0, .5); }
.am-avatar-amp {
  font-family: 'Caveat', cursive;
  font-size: 40px;
  color: var(--am-bright);
  margin: 0 -6px;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}

.am-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--am-muted);
  margin: 0 0 18px;
}
.am-hero-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: .95;
  color: var(--am-bright);
}
.am-hero-pre {
  display: block;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--am-muted);
  margin-bottom: 10px;
}
.am-split {
  display: inline-block;
  font-size: clamp(48px, 9.5vw, 128px);
}
.am-word { display: inline-block; white-space: nowrap; }
.am-ch {
  display: inline-block;
  will-change: transform;
}
.am-js .am-ch {
  opacity: 0;
  transform: translateY(.5em) rotate(8deg);
  animation: am-ch-in .9s var(--am-ease-spring) forwards;
  animation-delay: calc(200ms + var(--i) * 55ms);
}
.am-ch-amp {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--am-accent);
  padding: 0 .06em;
}
@keyframes am-ch-in { to { opacity: 1; transform: none; } }

.am-hero-rotator {
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--am-text);
  margin: 26px 0 12px;
}
.am-rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  min-width: 7.2em;
  text-align: left;
}
.am-rotator-word {
  grid-area: 1 / 1;
  color: var(--am-accent);
  transition: transform .55s var(--am-ease), opacity .55s var(--am-ease);
}
.am-rotator-word.is-out { transform: translateY(-100%); opacity: 0; }
.am-rotator-word.is-in { transform: translateY(100%); opacity: 0; }

.am-hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--am-muted);
  max-width: 620px;
  margin: 0 auto;
}
.am-hero-hint {
  margin-top: 26px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--am-accent-2);
  opacity: .85;
}
@media (hover: none) { .am-hero-hint { display: none; } }

.am-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
}
.am-scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--am-accent);
  animation: am-cue 1.8s var(--am-ease) infinite;
}
@keyframes am-cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Chips ---------- */
.am-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}
.am-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--am-bright);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--am-line);
  transition: transform .3s var(--am-ease-spring), border-color .3s, background .3s;
}
.am-chips li:hover {
  transform: translateY(-3px);
  border-color: var(--am-accent);
  background: rgba(0, 210, 252, .08);
}
.am-chips .am-chip-nd {
  border-color: rgba(169, 124, 255, .5);
  background: linear-gradient(120deg, rgba(0, 210, 252, .14), rgba(169, 124, 255, .18));
}
.am-chips--warm li:hover { border-color: var(--am-warm); background: rgba(255, 143, 177, .08); }

/* ---------- Tilt ---------- */
/* transform wird per JS inline gesetzt (kollidiert so nicht mit .am-reveal) */
.am-tilt {
  --gx: 50%;
  --gy: 50%;
  position: relative;
}
.am-js .am-tilt.am-in,
.am-tilt:not(.am-reveal) { transition: transform .6s var(--am-ease), opacity .8s var(--am-ease), border-color .4s; }
.am-js .am-tilt.is-tilting { transition: transform .1s linear, border-color .4s; }
.am-tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .22), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  mix-blend-mode: overlay;
}
.am-tilt.is-tilting::after { opacity: 1; }

/* ---------- WIR / Duo ---------- */
.am-duo {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.am-duo-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.am-duo-big,
.am-duo-small {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border-radius: var(--am-radius);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.am-duo-big {
  inset: 0 18% 14% 0;
  border: 1px solid var(--am-line);
}
.am-duo-small {
  width: 48%;
  aspect-ratio: 4 / 5;
  right: 0;
  bottom: 0;
  border: 4px solid var(--am-bg);
  outline: 2px solid var(--am-warm);
}
.am-duo-big img,
.am-duo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-duo-sticker {
  position: absolute;
  top: 6%;
  right: 4%;
  font-family: 'Caveat', cursive;
  font-size: 30px;
  color: var(--am-bg);
  background: var(--am-accent);
  padding: 4px 18px 6px;
  border-radius: 999px;
  rotate: 8deg;
  box-shadow: 0 10px 30px rgba(0, 210, 252, .35);
}
[data-speed] { will-change: transform; }

/* ---------- Person ---------- */
.am-person {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.am-person--rev .am-person-media { order: 2; }
.am-person-media {
  position: sticky;
  top: 40px;
}
.am-portrait {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: var(--am-surface);
}
.am-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(140deg, var(--am-accent), transparent 40%, transparent 60%, var(--am-accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}
.am-portrait--warm::before {
  background: linear-gradient(140deg, var(--am-warm), transparent 40%, transparent 60%, var(--am-warm-2));
}
.am-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.2s var(--am-ease);
}
.am-portrait:hover img { transform: scale(1.09); }
.am-portrait-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  font-family: 'Caveat', cursive;
  font-size: 36px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .9);
}
.am-role {
  color: var(--am-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: -8px 0 22px;
}
.am-person--rev .am-role { color: var(--am-warm); }

.am-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.am-stat {
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--am-surface-2), var(--am-surface));
  border: 1px solid var(--am-line);
}
.am-stat .am-count {
  display: block;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--am-bright);
  font-variant-numeric: tabular-nums;
}
.am-stat span:last-child {
  font-size: 13px;
  color: var(--am-muted);
  line-height: 1.4;
  display: block;
}

.am-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.am-strip-item {
  all: unset;
  cursor: zoom-in;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--am-line);
}
.am-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--am-ease), filter .6s;
  filter: saturate(.85);
}
.am-strip-item:hover img { transform: scale(1.1); filter: none; }

/* ---------- ND / So tickt mein Kopf ---------- */
.am-nd {
  background:
    radial-gradient(50% 40% at 15% 10%, rgba(0, 210, 252, .09), transparent 70%),
    radial-gradient(50% 40% at 90% 60%, rgba(169, 124, 255, .10), transparent 70%),
    #0c0c0f;
  border-top: 1px solid var(--am-line);
  border-bottom: 1px solid var(--am-line);
}
.am-nd-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.am-nd-plus { color: var(--am-accent-2); }
.am-nd-head { margin-bottom: 60px; }

/* Demo */
.am-demo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--am-line);
  background: var(--am-surface);
  margin-bottom: 70px;
}
.am-demo-stage {
  position: relative;
  min-height: 380px;
  background: radial-gradient(circle at 50% 50%, #17171c, #0b0b0e);
  overflow: hidden;
  isolation: isolate;
}
.am-demo-stage .am-field { z-index: 0; }
.am-thoughts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.am-thought {
  position: absolute;
  padding: 6px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(30, 30, 38, .85);
  border: 1px solid rgba(0, 210, 252, .35);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: am-thought 3.2s var(--am-ease) forwards;
}
.am-thought:nth-child(3n) { border-color: rgba(169, 124, 255, .5); }
.am-thought:nth-child(3n+1) { border-color: rgba(255, 143, 177, .45); }
@keyframes am-thought {
  0% { opacity: 0; transform: translateY(12px) scale(.8); }
  15% { opacity: 1; transform: none; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-26px) scale(.95); }
}
.am-demo-caption {
  position: absolute;
  inset: auto 0 18px 0;
  text-align: center;
  z-index: 2;
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--am-accent);
  opacity: 0;
  transition: opacity .6s;
}
.am-demo.is-focus .am-demo-caption { opacity: 1; }
.am-demo-ui {
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.am-demo-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--am-bright);
  margin: 0;
}
.am-demo-text,
.am-demo-desc { margin: 0; color: var(--am-muted); }
.am-demo-desc { min-height: 3.5em; color: var(--am-text); }

.am-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: #0d0d10;
  border: 1px solid var(--am-line);
  margin: 6px 0;
}
.am-switch button {
  all: unset;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--am-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: color .3s;
}
.am-switch button[aria-checked="true"] { color: var(--am-bg); }
.am-switch-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--am-accent), #6fe6ff);
  transition: transform .5s var(--am-ease-spring), background .5s;
  box-shadow: 0 6px 20px rgba(0, 210, 252, .35);
}
.am-demo.is-focus .am-switch-pill {
  transform: translateX(100%);
  background: linear-gradient(120deg, var(--am-accent-2), #cdb6ff);
  box-shadow: 0 6px 20px rgba(169, 124, 255, .35);
}

/* Tabs */
.am-tabs { margin-bottom: 80px; }
.am-tablist {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--am-surface);
  border: 1px solid var(--am-line);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.am-tablist [role="tab"] {
  all: unset;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 16px;
  color: var(--am-muted);
  transition: background .3s, color .3s;
}
.am-tablist [role="tab"]:hover { color: var(--am-bright); }
.am-tablist [role="tab"][aria-selected="true"] {
  color: var(--am-bright);
  background: linear-gradient(120deg, rgba(0, 210, 252, .2), rgba(169, 124, 255, .2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.am-tabpanel { animation: am-panel .5s var(--am-ease); }
@keyframes am-panel { from { opacity: 0; transform: translateY(10px); } }

.am-power-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.am-power {
  padding: 26px 22px;
  border-radius: var(--am-radius);
  background: linear-gradient(170deg, var(--am-surface-2), var(--am-surface));
  border: 1px solid var(--am-line);
  transition: transform .4s var(--am-ease), border-color .4s, box-shadow .4s;
}
.am-power:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 252, .5);
  box-shadow: 0 20px 50px -20px rgba(0, 210, 252, .35);
}
.am-power-ico { font-size: 30px; display: block; margin-bottom: 14px; }
.am-power h3 { margin: 0 0 8px; font-size: 19px; color: var(--am-bright); }
.am-power p { margin: 0; font-size: 15px; color: var(--am-text); line-height: 1.6; }

.am-flipside {
  margin-top: 16px;
  padding: 24px 26px;
  border-radius: var(--am-radius);
  border: 1px dashed rgba(255, 255, 255, .18);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: baseline;
}
.am-flipside h3 {
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: 30px;
  font-weight: 600;
  color: var(--am-accent-2);
}
.am-flipside p { margin: 0; color: var(--am-text); }

/* Mythen */
.am-myths { margin-bottom: 80px; }
.am-myth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.am-flip {
  all: unset;
  cursor: pointer;
  perspective: 1000px;
  min-height: 230px;
  display: block;
}
.am-flip-inner {
  position: relative;
  display: block;
  height: 100%;
  min-height: 230px;
  transform-style: preserve-3d;
  transition: transform .8s var(--am-ease-spring);
}
.am-flip[aria-pressed="true"] .am-flip-inner { transform: rotateY(180deg); }
.am-flip-front,
.am-flip-back {
  position: absolute;
  inset: 0;
  padding: 24px 22px;
  border-radius: var(--am-radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.am-flip-front {
  background: var(--am-surface);
  border: 1px solid var(--am-line);
}
.am-flip-front > span {
  font-size: 19px;
  font-weight: 800;
  color: var(--am-bright);
  line-height: 1.35;
  text-decoration: line-through rgba(255, 143, 177, 0);
  transition: text-decoration-color .3s;
}
.am-flip:hover .am-flip-front > span { text-decoration-color: rgba(255, 143, 177, .7); }
.am-flip-front i {
  margin-top: auto;
  font-style: normal;
  font-size: 22px;
  color: var(--am-muted);
  transition: transform .5s var(--am-ease);
}
.am-flip:hover .am-flip-front i { transform: rotate(180deg); color: var(--am-accent); }
.am-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, rgba(0, 210, 252, .18), rgba(169, 124, 255, .22)), var(--am-surface);
  border: 1px solid rgba(0, 210, 252, .45);
}
.am-flip-back > span { font-size: 15px; color: var(--am-bright); line-height: 1.6; }
.am-flip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--am-warm);
}
.am-flip-back em { color: var(--am-accent); }

/* Checkliste */
.am-help {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  margin-bottom: 80px;
}
.am-help-text { position: sticky; top: 40px; }
.am-help-text p { color: var(--am-muted); }
.am-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.am-checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--am-surface);
  border: 1px solid var(--am-line);
}
.am-checklist svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(0, 210, 252, .14);
  fill: none;
  stroke: var(--am-accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.am-checklist path {
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
}
.am-js .am-checklist li:not(.am-in) path { stroke-dashoffset: 24; }
.am-js .am-checklist li.am-in path { transition: stroke-dashoffset .7s .35s var(--am-ease); }
.am-checklist span { color: var(--am-text); }

/* Zitat */
.am-quote {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  position: relative;
  padding: 40px 10px 0;
}
.am-quote::before {
  content: '“';
  position: absolute;
  top: -40px;
  left: 50%;
  translate: -50% 0;
  font-size: 160px;
  line-height: 1;
  font-weight: 900;
  color: var(--am-accent);
  opacity: .25;
}
.am-quote p {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--am-bright);
  margin: 0 0 16px;
  text-wrap: balance;
}
.am-quote cite {
  display: block;
  font-style: normal;
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: var(--am-accent-2);
  border: 0;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* ---------- TIMELINE ---------- */
.am-tl {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 0;
}
.am-tl-head {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
}
.am-tl-bar {
  height: 3px;
  background: var(--am-line);
  border-radius: 3px;
  overflow: hidden;
  max-width: 420px;
}
.am-tl-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--am-accent), var(--am-accent-2));
  transform-origin: 0 50%;
  transform: scaleX(var(--tp, 0));
}
.am-tl-track {
  list-style: none;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1200px;
  display: grid;
  gap: 16px;
  counter-reset: tl;
}
.am-tl-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: linear-gradient(165deg, var(--am-surface-2), var(--am-surface));
  border: 1px solid var(--am-line);
}
.am-tl-no {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--am-accent);
  margin-bottom: 10px;
}
.am-tl-card h3 { margin: 0 0 10px; font-size: 22px; color: var(--am-bright); }
.am-tl-card p { margin: 0; color: var(--am-text); }
.am-tl-card--cta {
  background: linear-gradient(150deg, rgba(0, 210, 252, .2), rgba(169, 124, 255, .2)), var(--am-surface);
  border-color: rgba(0, 210, 252, .5);
}
.am-tl-card--cta .am-btn { margin-top: 18px; }

/* horizontal (per JS aktiviert) */
.am-tl.is-h { padding: 0; }
.am-tl.is-h .am-tl-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.am-tl.is-h .am-tl-track {
  display: flex;
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 0 max(15px, calc((100vw - 1200px) / 2 + 15px));
  width: max-content;
  will-change: transform;
}
.am-tl.is-h .am-tl-card {
  width: min(380px, 70vw);
  min-height: 300px;
  flex: none;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--am-ease), border-color .4s;
}
.am-tl.is-h .am-tl-card::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--am-accent);
  box-shadow: 0 0 0 5px rgba(0, 210, 252, .18);
}
.am-tl.is-h .am-tl-card:nth-child(even) { transform: translateY(40px); }
.am-tl.is-h .am-tl-card--cta .am-btn { margin-top: auto; align-self: flex-start; }

/* ---------- POLAROID-WAND ---------- */
.am-wall-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.am-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.am-filter button {
  all: unset;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--am-muted);
  border: 1px solid var(--am-line);
  transition: all .3s var(--am-ease);
}
.am-filter button:hover { color: var(--am-bright); border-color: rgba(255, 255, 255, .3); }
.am-filter button[aria-pressed="true"] {
  color: var(--am-bg);
  background: var(--am-accent);
  border-color: var(--am-accent);
}
.am-wall {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 34px 26px;
}
.am-pol[hidden] { display: none; }
.am-pol-inner {
  all: unset;
  box-sizing: border-box;
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 12px 12px 0;
  background: #f4f1ea;
  border-radius: 4px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .4);
  transform: rotate(var(--r, 0deg));
  transition: transform .5s var(--am-ease-spring), box-shadow .5s;
  position: relative;
}
.am-pol-inner::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 80px;
  height: 24px;
  translate: -50% 0;
  rotate: calc(var(--r, 0deg) * -1.5);
  background: rgba(0, 210, 252, .35);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.am-pol:nth-child(3n+2) .am-pol-inner::before { background: rgba(255, 143, 177, .4); }
.am-pol:nth-child(3n) .am-pol-inner::before { background: rgba(169, 124, 255, .4); }
.am-pol-inner:hover,
.am-pol-inner:focus-visible {
  transform: rotate(0deg) scale(1.06) translateY(-6px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .9), 0 0 0 1px var(--am-accent);
  z-index: 2;
}
.am-pol-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ddd;
}
.am-pol-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(.95);
}
.am-pol-cap {
  display: block;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: #2a2a2a;
  padding: 8px 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- WAS WIR TUN ---------- */
.am-do { padding-bottom: 60px; }
.am-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.am-do-card {
  padding: 30px 26px;
  border-radius: var(--am-radius);
  background: linear-gradient(170deg, var(--am-surface-2), var(--am-surface));
  border: 1px solid var(--am-line);
  overflow: hidden;
}
.am-do-card:hover { border-color: rgba(0, 210, 252, .45); }
.am-do-card svg {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(0, 210, 252, .12);
  fill: none;
  stroke: var(--am-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.am-do-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--am-bright); }
.am-do-card p { margin: 0; font-size: 15px; color: var(--am-text); line-height: 1.6; }

/* Marquee */
.am-marquee {
  display: flex;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--am-line);
  border-bottom: 1px solid var(--am-line);
  background: #0c0c0f;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.am-marquee-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: none;
  gap: 0;
  animation: am-marquee 45s linear infinite;
}
.am-marquee:hover .am-marquee-row { animation-play-state: paused; }
.am-marquee-row li {
  padding: 0 26px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
  position: relative;
}
.am-marquee-row li::after {
  content: '✦';
  position: absolute;
  right: -7px;
  color: var(--am-accent);
  font-size: 14px;
  top: 50%;
  translate: 0 -50%;
}
@keyframes am-marquee { to { transform: translateX(-100%); } }

/* ---------- Kontakt ---------- */
.am-contact-card {
  text-align: center;
  padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 70px);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(0, 210, 252, .16), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(169, 124, 255, .16), transparent 70%),
    var(--am-surface);
  border: 1px solid var(--am-line);
}
.am-contact-card .am-lead { margin: 0 auto 36px; }
.am-contact-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.am-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  color: var(--am-bg);
  background: var(--am-accent);
  border: 2px solid var(--am-accent);
  box-shadow: 0 12px 30px -10px rgba(0, 210, 252, .6);
  transition: transform .35s var(--am-ease), background .3s, color .3s, box-shadow .3s;
}
.am-btn:hover { color: var(--am-bg); background: #5fe4ff; box-shadow: 0 18px 40px -10px rgba(0, 210, 252, .8); }
.am-btn span { display: inline-block; transition: transform .35s var(--am-ease); pointer-events: none; }
.am-btn--ghost {
  background: transparent;
  color: var(--am-bright);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: none;
}
.am-btn--ghost:hover { background: rgba(255, 255, 255, .06); color: var(--am-bright); border-color: var(--am-accent); box-shadow: none; }
.am-btn--sm { padding: 10px 18px; font-size: 14px; }
.am-contact-note { margin: 30px 0 0; color: var(--am-muted); font-size: 15px; }

/* ---------- Abschnitts-Dots ---------- */
.am-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1500;
}
.am-dots a {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  transition: transform .3s var(--am-ease-spring), background .3s;
}
.am-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 8px -50%;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: var(--am-bright);
  background: rgba(20, 20, 24, .9);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--am-line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, translate .25s var(--am-ease);
}
.am-dots a:hover::after,
.am-dots a:focus-visible::after { opacity: 1; translate: 0 -50%; }
.am-dots a:hover { transform: scale(1.4); }
.am-dots a.is-active {
  background: var(--am-accent);
  transform: scale(1.5);
  box-shadow: 0 0 12px var(--am-accent);
}

/* ---------- Reizarm-Schalter ---------- */
.am-calm-toggle {
  all: unset;
  box-sizing: border-box;
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(22, 22, 26, .88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--am-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--am-bright);
  transition: border-color .3s;
}
.am-calm-toggle:hover { border-color: var(--am-accent-2); }
.am-calm-knob {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #333;
  position: relative;
  transition: background .3s;
}
.am-calm-knob::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform .35s var(--am-ease-spring);
}
.am-calm-toggle[aria-pressed="true"] .am-calm-knob { background: var(--am-accent-2); }
.am-calm-toggle[aria-pressed="true"] .am-calm-knob::after { transform: translateX(16px); }
.am-calm-toggle::before {
  content: attr(title);
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  white-space: nowrap;
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 600;
  color: var(--am-accent-2);
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s, translate .3s var(--am-ease);
  pointer-events: none;
}
.am-calm-toggle:hover::before { opacity: 1; translate: 0 0; }

/* Back-to-top aus main.js nicht mit Schalter kollidieren lassen: rechts ist frei */

/* ---------- Lightbox ---------- */
.am-lb {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 8, .94);
  backdrop-filter: blur(8px);
  animation: am-lb-in .35s var(--am-ease);
  touch-action: pan-y;
}
.am-lb[hidden] { display: none; }
@keyframes am-lb-in { from { opacity: 0; } }
.am-lb-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 1400px);
}
.am-lb-fig img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7);
  transition: opacity .25s, transform .35s var(--am-ease);
  user-select: none;
  -webkit-user-drag: none;
}
.am-lb-fig img.is-loading { opacity: 0; transform: scale(.97); }
.am-lb-fig figcaption {
  display: flex;
  gap: 16px;
  align-items: baseline;
  color: var(--am-text);
}
.am-lb-cap { font-family: 'Caveat', cursive; font-size: 26px; color: var(--am-bright); }
.am-lb-count { font-size: 13px; color: var(--am-muted); font-variant-numeric: tabular-nums; }
.am-lb-close,
.am-lb-nav {
  all: unset;
  position: absolute;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, transform .25s var(--am-ease);
}
.am-lb-close:hover,
.am-lb-nav:hover { background: var(--am-accent); color: var(--am-bg); }
.am-lb-close { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 30px; }
.am-lb-nav { top: 50%; translate: 0 -50%; width: 56px; height: 56px; font-size: 36px; line-height: 1; }
.am-lb-prev { left: 20px; }
.am-lb-next { right: 20px; }
.am-lb-nav[disabled] { opacity: .2; pointer-events: none; }
.am-lb-nav[hidden] { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .am-dots { display: none; }
  .am-power-grid,
  .am-myth-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .am-duo,
  .am-person,
  .am-help,
  .am-demo { grid-template-columns: 1fr; }
  .am-person--rev .am-person-media { order: 0; }
  .am-person-media,
  .am-help-text { position: static; }
  .am-portrait { max-width: 460px; margin: 0 auto; aspect-ratio: 4 / 4.5; }
  .am-duo-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .am-do-grid { grid-template-columns: repeat(2, 1fr); }
  .am-demo-stage { min-height: 300px; }
  .am-flipside { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 600px) {
  .am-hero { min-height: 86vh; }
  .am-hero-inner { padding: 50px 6px 110px; }
  .am-avatar { width: 58px; height: 58px; }
  .am-power-grid,
  .am-myth-grid,
  .am-do-grid { grid-template-columns: 1fr; }
  .am-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .am-stat { padding: 14px 10px; }
  .am-stat span:last-child { font-size: 11.5px; }
  .am-strip { grid-template-columns: repeat(2, 1fr); }
  .am-wall { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .am-pol-inner { padding: 7px 7px 0; }
  .am-pol-cap { font-size: 19px; padding: 4px 2px 6px; }
  .am-tablist { display: flex; }
  .am-tablist [role="tab"] { flex: 1; text-align: center; padding: 12px 10px; font-size: 15px; }
  .am-flip, .am-flip-inner { min-height: 190px; }
  .am-calm-label { display: none; }
  .am-calm-toggle { padding: 8px; }
  .am-calm-toggle::before { display: none; }
  .am-lb-nav { top: auto; bottom: 20px; translate: none; }
  .am-btn { width: 100%; justify-content: center; }
  .am-quote::before { font-size: 110px; top: -24px; }
}

/* =========================================================
   Reizarm-Modus + prefers-reduced-motion
   ========================================================= */
.am-calm .am-page *,
.am-calm .am-page *::before,
.am-calm .am-page *::after,
.am-calm .am-lb,
.am-calm .am-lb * {
  animation: none !important;
  transition: none !important;
}
.am-calm .am-reveal,
.am-calm .am-ch {
  opacity: 1 !important;
  transform: none !important;
}
.am-calm .am-tilt { transform: none !important; }
.am-calm [data-speed] { translate: none !important; }
.am-calm .am-checklist path { stroke-dashoffset: 0 !important; }
.am-calm .am-grad { background-position: 0 0; }
.am-calm .am-hero-hint,
.am-calm .am-scroll-cue span,
.am-calm .am-thoughts { display: none; }
.am-calm .am-marquee { overflow-x: auto; }
.am-calm .am-marquee-row[aria-hidden="true"] { display: none; }
.am-calm .am-flip-back { transform: none; }
.am-calm .am-flip-front { visibility: visible; }
.am-calm .am-flip[aria-pressed="true"] .am-flip-inner { transform: none; }
.am-calm .am-flip[aria-pressed="true"] .am-flip-front { visibility: hidden; }
.am-calm .am-flip:not([aria-pressed="true"]) .am-flip-back { visibility: hidden; }
.am-calm .am-pol-inner:hover { transform: rotate(var(--r, 0deg)); }
.am-calm .am-portrait:hover img { transform: scale(1.04); }
.am-calm .am-field { opacity: .55; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
