:root{
  --bg: #121214;
  --bg-soft: #19191c;
  --bg-elevated: #202024;
  --line: rgba(255,255,255,0.05);
  --line-strong: rgba(255,255,255,0.1);
  --cream: #f4f2ec;
  --muted: #9b9aa1;
  --muted-2: #6f6e75;
  --red: #ef4424;
  --red-light: #ff6e4e;
  --red-glow: rgba(239,68,36,0.35);
  --blue: #5b8fc9;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.font-display{ font-family: 'Fraunces', serif; }
.font-display2{ font-family: 'Playfair Display', serif; }
.font-signature{ font-family: 'Petit Formal Script', cursive; }

/* Gradient accent for red heading words - adds depth left to right */
.text-gradient-red{
  background: linear-gradient(90deg, var(--red-light), var(--red) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grid background */
.grid-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.05) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.05) 100%);
}

/* Grain texture */
.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-drawn line: zeichnet sich beim Scrollen von oben nach unten */
.scroll-line{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 2px;
  background: var(--line);
  z-index: 3;
  pointer-events: none;
}
.scroll-line-fill{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--red), var(--red-light));
  box-shadow: 0 0 12px var(--red-glow);
  transition: height .12s linear;
}
@media (max-width: 1023px){
  .scroll-line{ display: none; }
}

.glow-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

/* Section base */
section{ position: relative; z-index: 2; }

/* Nav */
.nav-glass{
  background: rgba(18,18,20,0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

.nav-link{
  position: relative;
  color: var(--muted);
  transition: color .35s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover{ color: var(--cream); }
.nav-link::after{
  content:'';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover::after{ width: 100%; }
.nav-link.is-active{ color: var(--cream); }
.nav-link.is-active::after{ width: 100%; }

/* Buttons */
.btn-primary{
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--red-glow), 0 1px 0 rgba(255,255,255,.15) inset;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1), background .3s ease;
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px var(--red-glow), 0 1px 0 rgba(255,255,255,.2) inset;
  background: var(--red-light);
}
.btn-primary:active{ transform: translateY(-1px) scale(.98); }
.btn-primary:focus-visible{ outline: 2px solid var(--red-light); outline-offset: 3px; }

.btn-ghost{
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease;
}
.btn-ghost:hover{
  transform: translateY(-3px);
  border-color: rgba(239,68,36,.5);
  background: var(--bg-soft);
}
.btn-ghost:focus-visible{ outline: 2px solid var(--red-light); outline-offset: 3px; }

/* Pills / filters */
.pill{
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--muted);
  transition: all .35s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  white-space: nowrap;
}
.pill:hover{ color: var(--cream); border-color: var(--line-strong); transform: translateY(-2px); }
.pill.active{
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px -6px var(--red-glow);
}
.pill:focus-visible{ outline: 2px solid var(--red-light); outline-offset: 2px; }

/* Mobile filter dropdown options */
.filter-option{
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.filter-option:hover{ background: rgba(255,255,255,.06); color: var(--cream); }
.filter-option.active{ background: var(--red); color: #fff; }

/* Cards */
.card{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .5s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(239,68,36,.35);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.6), 0 8px 24px -12px var(--red-glow);
}
.card:focus-visible{ outline: 2px solid var(--red-light); outline-offset: 3px; }

.tag{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

/* Phone mockup */
.phone{
  width: 290px;
  width: clamp(290px, 24vw, 360px);
  aspect-ratio: 9 / 19.3;
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, #1d1d20, #0c0c0d);
  padding: 12px;
  box-shadow:
    0 40px 100px -30px rgba(239,68,36,.25),
    0 20px 60px -20px rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.06) inset;
  position: relative;
}
.phone::before{
  content:'';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0c0c0d;
  border-radius: 14px;
  z-index: 5;
}
.phone-hint{
  position: absolute;
  top: 50%;
  left: calc(100% + 16px);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}
.phone-hint-text{
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--red);
  white-space: nowrap;
  display: inline-block;
  transform: rotate(-2deg);
}
.phone-hint-arrow{
  display: block;
  width: 46px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}
.phone-screen{
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #0a0a0b;
}

/* Hero stories marquee */
.story-track{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 70px 14px 14px;
  animation: storyScroll 16s linear infinite;
}
@keyframes storyScroll{
  0%{ transform: translateY(0); }
  100%{ transform: translateY(-50%); }
}
.story-card{
  border-radius: 18px;
  padding: 18px;
  min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}

/* Marquee ticker */
.ticker-track{
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
@keyframes tickerScroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* Skills */
.skill-icon{
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.skill-icon:hover{ transform: translateY(-4px) scale(1.04); }

/* AD Badkonzept grid logo */
.ad-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:4px; width: 130px; }
.ad-grid div{ aspect-ratio:1; border-radius:3px; }

/* Custom scrollbar */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--bg-elevated); border-radius: 6px; }

/* Underline link for footer/contact */
.link-underline{
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size .4s cubic-bezier(.16,1,.3,1);
}
.link-underline:hover{ background-size: 100% 1px; }

/* ===== Marker highlight (Benjamin Seuss-inspired accent) ===== */
.marker{
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 1;
}
.marker .marker-bg{
  position: absolute;
  left: -0.1em; right: -0.1em; top: 0.22em; bottom: -0.04em;
  background: var(--red);
  transform: rotate(-2deg);
  transform-origin: left center;
  border-radius: 4px 12px 6px 14px;
  z-index: -1;
}

/* Hero heading entrance */
.hero-line{
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}
.reveal.in-view .hero-line-1{
  animation: heroLineUp .9s cubic-bezier(.16,1,.3,1) .05s forwards,
             heroGlowWhite 5s ease-in-out 1.4s infinite;
}
.hero-line-2{
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}
.reveal.in-view .hero-line-2{
  animation: heroLineUp .9s cubic-bezier(.16,1,.3,1) .35s forwards,
             heroGlowRed 5s ease-in-out 2s infinite;
}
@keyframes heroLineUp{
  to{ opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroGlowWhite{
  0%, 100%{ text-shadow: 0 0 0 rgba(244,242,236,0); }
  50%{ text-shadow: 0 0 26px rgba(244,242,236,.35); }
}
@keyframes heroGlowRed{
  0%, 100%{ text-shadow: 0 0 0 rgba(239,68,36,0); }
  50%{ text-shadow: 0 0 30px rgba(239,68,36,.55); }
}
.marker.marker-alt .marker-bg{
  transform: rotate(1.5deg);
  border-radius: 12px 4px 14px 6px;
}
.marker.marker-cream .marker-bg{ background: var(--cream); }
.marker.marker-cream{ color: #161618; }

/* ===== Polaroid photo card ===== */
.polaroid{
  background: var(--cream);
  padding: 16px 16px 60px;
  border-radius: 6px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.7), 0 2px 0 rgba(255,255,255,.4) inset, 0 0 0 rgba(239,68,36,0);
  transform: rotate(-4deg);
  transition: box-shadow .5s ease;
}
.polaroid:hover{
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.7), 0 2px 0 rgba(255,255,255,.4) inset, 0 0 50px 6px var(--red-glow);
}
.polaroid-photo{
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}
/* Bewegter, verschwommener Farbfleck im Hero-Hintergrund */
.hero-blob{
  position: absolute;
  top: 8%;
  left: 38%;
  width: 640px;
  height: 640px;
  background:
    radial-gradient(circle at 30% 30%, rgba(239,68,36,.28), transparent 60%),
    radial-gradient(circle at 70% 65%, rgba(244,242,236,.14), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(155,154,161,.16), transparent 70%);
  filter: blur(90px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: heroBlobMove 24s ease-in-out infinite alternate;
}
@media (max-width: 1023px){
  .hero-blob{ width: 420px; height: 420px; left: 10%; top: 4%; }
}
@keyframes heroBlobMove{
  0%{ transform: translate(0, 0) scale(1); }
  50%{ transform: translate(-70px, 50px) scale(1.1); }
  100%{ transform: translate(50px, -40px) scale(0.95); }
}

/* Winkende Hand neben dem Polaroid */
.hero-wave{
  position: absolute;
  top: -32px;
  right: -28px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: var(--cream);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px 6px;
  border-radius: 100px;
  white-space: nowrap;
  transform: rotate(5deg);
  z-index: 5;
}

/* Gescribbelter Stern neben dem Polaroid */
.hero-star{
  position: absolute;
  bottom: 50px;
  left: -40px;
  width: 46px;
  height: 46px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  transform: rotate(-8deg);
  animation: starDraw 1.4s cubic-bezier(.16,1,.3,1) 1s forwards;
}
@keyframes starDraw{
  to{ stroke-dashoffset: 0; }
}

/* Gescribbelte Welle hinter dem Polaroid */
.hero-scribble-wave{
  position: absolute;
  stroke: var(--red);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.hero-scribble-wave.wave-2{
  bottom: -36px;
  right: -84px;
  width: 170px;
  height: 50px;
  transform: rotate(6deg);
  opacity: .8;
}

/* Roter Stift in der Ecke */
.hero-pen{
  position: absolute;
  top: -22px;
  left: -22px;
  font-size: 2.4rem;
  line-height: 1;
  z-index: 6;
  transform: rotate(-35deg);
}

@media (max-width: 1023px){
  .hero-wave{ right: -8px; font-size: 2.1rem; }
  .hero-star{ left: -16px; }
  .hero-scribble-wave.wave-2{ right: -28px; width: 120px; }
  .hero-pen{ top: -16px; left: -16px; font-size: 2rem; }
}

@media (max-width: 639px){
  .hero-wave{ right: -56px; }
}

/* ===== Tilted project cards ===== */
.tilt-card{ transform: rotate(-1.4deg); }
.tilt-card.tilt-alt{ transform: rotate(1.4deg); }
.tilt-card:hover, .tilt-card.tilt-alt:hover{ transform: rotate(0deg) translateY(-6px); }

/* Mobile: Karten gerade, keine Hover-/Tilt-Animation (Touch hat keinen echten Hover) */
@media (max-width: 767px){
  .tilt-card, .tilt-card.tilt-alt,
  .tilt-card:hover, .tilt-card.tilt-alt:hover{ transform: none; }
  .card:hover{ transform: none; border-color: var(--line); box-shadow: none; }
}

/* Tape sticker */
.tape{
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 86px; height: 26px;
  background: rgba(244,242,236,.9);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
  z-index: 5;
  border-radius: 1px;
}
.tape::after{
  content:'';
  position:absolute; inset:0;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 4px, transparent 4px 8px);
}

/* Squiggle / hand-drawn accents */
.squiggle{ stroke: var(--red); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Case study pages */
.cs-meta dt{ font-size: .7rem; letter-spacing: .2em; color: var(--red); font-weight: 700; margin-bottom: .35rem; }
.cs-meta dd{ color: var(--cream); font-weight: 600; margin-bottom: 0; }

/* ===== Liquid Glass Dock (iOS-style nav) ===== */
.dock{
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 26px;
  isolation: isolate;
}
.dock::before{
  content:'';
  position:absolute; inset:0;
  border-radius: inherit;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  filter: url(#glass-distortion);
  z-index: 0;
}
.dock::after{
  content:'';
  position:absolute; inset:0;
  border-radius: inherit;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 1px 1px 1px 0 rgba(255,255,255,.25),
    inset -1px -1px 1px 1px rgba(255,255,255,.06),
    0 10px 36px -12px rgba(0,0,0,.55);
  z-index: 1;
  pointer-events: none;
}
.dock > *{ position: relative; z-index: 2; }

.dock-app{ position: relative; }

.app-icon{
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 4px 12px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.12) inset;
}
.app-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dock-app:hover .app-icon,
.dock-app:focus-within .app-icon{
  transform: translateY(-7px) scale(1.08);
  box-shadow: 0 14px 24px -8px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.18) inset;
}
.dock-app:active .app-icon{ transform: translateY(-3px) scale(1.02); }

/* Finder icon */
.app-icon.icon-finder{ background: var(--cream); }
.finder-face{ display: flex; gap: 6px; align-items: center; }
.finder-face span{ display:block; width: 7px; height: 17px; border-radius: 4px; }
.finder-face span:first-child{ background: #1a1a1c; }
.finder-face span:last-child{ background: var(--cream); }

/* Photos icon */
.app-icon.icon-photos{ background: #18181b; }
.app-icon.icon-photos img{ transform: scale(1.08); }

/* Numbers icon (Leistungen) */
.app-icon.icon-numbers{ background: transparent; }

/* Phone icon */
.app-icon.icon-phone{ background: linear-gradient(160deg, var(--red), #b9301a); }

/* Tooltip below icon */
.dock-tip{
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  padding: 5px 13px;
  border-radius: 9px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
  z-index: 50;
}
.dock-app:hover .dock-tip,
.dock-app:focus-within .dock-tip{
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.dock-app:hover .dock-dropdown ~ .dock-tip{ opacity: 0; }

/* Dropdown panel (Finder -> categories) */
.dock-dropdown{
  position: absolute;
  top: 64px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 28px 56px -20px rgba(0,0,0,.65);
  opacity: 0; pointer-events: none;
  transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1);
  z-index: 55;
}
.dock-app:hover .dock-dropdown,
.dock-app:focus-within .dock-dropdown{
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dock-dropdown-label{
  font-size: .65rem; letter-spacing: .2em; font-weight: 700;
  color: var(--red); padding: 6px 12px 8px;
}
.dock-dropdown a{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 11px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.dock-dropdown a:hover{ background: rgba(239,68,36,.12); color: var(--cream); transform: translateX(2px); }
.dock-dropdown a span.dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink:0;
}

/* Spacer that grows when the search dropdown opens, pushing the content below
   (timeline + "Meine Skills") down instead of letting the dropdown overlap it */
.exp-search-spacer{
  height: 0;
  transition: height .4s cubic-bezier(.16,1,.3,1);
}

/* ===== Liquid Glass Search (Berufserfahrung) ===== */
.search-glass{
  position: relative;
  border-radius: 18px;
  isolation: isolate;
  color: var(--cream);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.search-glass::before{
  content:'';
  position:absolute; inset:0; border-radius:inherit;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  filter: url(#glass-distortion);
  z-index:0;
}
.search-glass::after{
  content:'';
  position:absolute; inset:0; border-radius:inherit;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 1px 1px 1px 0 rgba(255,255,255,.22),
    inset -1px -1px 1px 1px rgba(255,255,255,.05),
    0 10px 30px -14px rgba(0,0,0,.55);
  z-index:1;
}
.search-glass > *{ position: relative; z-index: 2; }
.exp-search-input{
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--cream);
}
.exp-search-input::placeholder{ color: var(--muted); font-weight: 500; }

.exp-search-hint{
  position: absolute;
  top: 50%;
  left: calc(100% + 16px);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}
.exp-search-hint-text{
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--red);
  white-space: nowrap;
  display: inline-block;
  transform: rotate(-2deg);
}
.exp-search-hint-arrow{
  display: block;
  width: 46px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
}
.search-glass:hover, .search-glass:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px var(--red-glow);
}

.search-suggestions{
  position: absolute;
  top: calc(100% + 10px); left: 0; right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 28px 56px -20px rgba(0,0,0,.65);
  z-index: 40;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, black, black);
  mask-image: linear-gradient(to bottom, black, black);
}
.search-suggestions::-webkit-scrollbar{ display: none; }
/* Custom always-visible scrollbar, independent of OS/browser auto-hide behavior */
.search-scrollbar{
  position: absolute;
  top: calc(100% + 18px);
  right: 6px;
  width: 4px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  z-index: 41;
  pointer-events: none;
}
.search-scrollbar-thumb{
  position: absolute;
  top: 0; left: 0; right: 0;
  border-radius: 10px;
  background: rgba(239,68,36,.85);
  box-shadow: 0 0 6px rgba(239,68,36,.45);
}
.search-suggestions.fade-top{
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 26px, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 26px, black 100%);
}
.search-suggestions.fade-bottom{
  -webkit-mask-image: linear-gradient(to bottom, black 0, black calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to bottom, black 0, black calc(100% - 26px), transparent 100%);
}
.search-suggestions.fade-top.fade-bottom{
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 26px, black calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 26px, black calc(100% - 26px), transparent 100%);
}
.suggestion{
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px; border-radius: 11px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
  text-align: left;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.suggestion:hover{ background: rgba(239,68,36,.12); color: var(--cream); transform: translateX(2px); }
.suggestion .year{
  color: var(--red); font-weight: 800; font-size: .75rem; letter-spacing: .05em;
  flex-shrink: 0; width: 3.2em;
}

/* Accordion "browser note" cards */
.exp-note-wrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.16,1,.3,1);
}
.exp-note-wrap.open{ grid-template-rows: 1fr; }
.exp-note-wrap .exp-note-inner{ overflow: hidden; }

.exp-note{
  background: var(--cream);
  color: #1a1a1c;
  border-radius: 16px;
  margin-top: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
.exp-note-bar{
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: #e8e5dd;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.exp-note-bar span{ width: 11px; height: 11px; border-radius: 50%; display: block; }
.exp-note-bar span:nth-child(1){ background: #ff5f57; }
.exp-note-bar span:nth-child(2){ background: #febc2e; }
.exp-note-bar span:nth-child(3){ background: #28c840; }

/* Browser-Chrome-Mockup für Website-Screenshots in Case Studies */
.browser-frame{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.65);
  background: #0a0a0b;
}
.browser-bar{
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: #1c1c1f;
  border-bottom: 1px solid var(--line);
}
.browser-bar span{ width: 10px; height: 10px; border-radius: 50%; display: block; flex-shrink: 0; }
.browser-bar span:nth-child(1){ background: #ff5f57; }
.browser-bar span:nth-child(2){ background: #febc2e; }
.browser-bar span:nth-child(3){ background: #28c840; }
.browser-url{
  margin-left: 8px;
  font-size: .72rem;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  padding: 3px 14px;
  border-radius: 8px;
}
.browser-frame img{ display: block; width: 100%; }

/* Reusable static info card (process steps, project descriptions) */
.process-card{
  padding: 28px 32px;
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 48px -32px rgba(0,0,0,.5);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1), border-color .45s cubic-bezier(.16,1,.3,1);
}
.process-card:hover{
  transform: translateY(-4px);
  border-color: rgba(239,68,36,.3);
  box-shadow: 0 32px 56px -28px rgba(239,68,36,.22), 0 24px 48px -32px rgba(0,0,0,.55);
}
.process-tag{
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); font-weight: 800; margin-bottom: 10px;
}
@media (max-width: 640px){
  .process-card{ padding: 22px 20px; }
}

.exp-note-body{
  padding: 24px;
}
@media (min-width: 768px){
  .exp-note-body{
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 260px;
    column-gap: 36px;
  }
  /* Karten mit zwei nebeneinanderliegenden Bildern (kein Scrollen nötig) */
  .exp-note-body.wide-gallery{
    grid-template-columns: 1fr 480px;
    max-height: none;
    overflow: visible;
    padding-bottom: 110px;
  }
  .exp-note-body.wide-gallery .exp-gallery{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    align-self: center;
  }
  .exp-note-body.wide-gallery .exp-photo{
    max-width: none;
    margin: 0;
  }
}
/* Apple-style sans-serif heading for opened cards */
.exp-note-body h4{
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 4px;
  color: #1a1a1c;
}
.exp-note-body .meta{
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 800; margin-bottom: 14px;
}
.exp-note-body .story{
  font-size: 1.02rem; line-height: 1.75; color: #5a5a60;
  margin-bottom: 28px;
}
.exp-note-body .story:last-child{ margin-bottom: 0; }

.exp-note-text{ min-width: 0; }

/* Photo gallery with handwritten notes */
.exp-gallery{
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 8px;
}
@media (min-width: 768px){
  .exp-gallery{
    margin-top: 36px;
    margin-bottom: 0;
    gap: 36px;
    align-self: start;
  }
}
.exp-photo{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  overflow: hidden;
}
.exp-photo.left{ margin: 0 auto 0 0; }
.exp-photo img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 36px -20px rgba(0,0,0,.4);
}
.exp-photo video{
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 36px -20px rgba(0,0,0,.4);
}
.exp-photo:nth-child(odd){ transform: rotate(-1.2deg); }
.exp-photo:nth-child(even){ transform: rotate(1deg); }

/* Checkered notepad paper accent behind a photo, flipped so the ring-binder holes face left */
.exp-photo.paper{ overflow: visible; }
.exp-photo.paper::before{
  content: '';
  position: absolute;
  left: -38px;
  top: 50%;
  width: 160px;
  height: 113px;
  background: url("brand_assets/HG BLATT3.webp") center/contain no-repeat;
  transform: translateY(-50%) scaleX(-1) rotate(4deg);
  z-index: -1;
}

.exp-scribble{
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--red);
  position: absolute;
  max-width: 70%;
  pointer-events: none;
}
.exp-scribble.bottom-left{ bottom: -44px; left: 4px; }

.exp-photo-row{ display: flex; align-items: center; gap: 10px; position: relative; }

/* Frei auf dem Blatt liegender Text neben dem Foto, statt in einer eigenen Spalte */
.exp-scribble.paper-label{
  position: absolute;
  left: -32px;
  top: 50%;
  max-width: 78px;
  text-align: right;
  transform: translateY(-50%) rotate(-3deg);
  z-index: 2;
}

/* Werdegang-Karten: größeres Blatt, weiter links */
#exp-entrepreneur .exp-photo.paper::before,
#exp-macromedia-dozentin .exp-photo.paper::before,
#exp-freelance .exp-photo.paper::before,
#exp-idlenc .exp-photo.paper::before,
#exp-newtmrrw .exp-photo.paper::before,
#exp-macromedia-studium .exp-photo.paper::before,
#exp-arplace .exp-photo.paper::before{
  top: 51px; left: -160px;
  width: 280px;
  height: 198px;
  transform: scaleX(-1) rotate(4deg);
}
#exp-entrepreneur .exp-scribble.paper-label,
#exp-macromedia-dozentin .exp-scribble.paper-label,
#exp-freelance .exp-scribble.paper-label,
#exp-idlenc .exp-scribble.paper-label,
#exp-newtmrrw .exp-scribble.paper-label,
#exp-macromedia-studium .exp-scribble.paper-label,
#exp-arplace .exp-scribble.paper-label{
  left: -112px;
  top: 108px;
  max-width: 80px;
  transform: rotate(-3deg);
}

/* Mobile: Zettel + Label wirken auf kleinen Screens zu unruhig, deshalb dort ausgeblendet (Desktop unverändert) */
@media (max-width: 767px){
  .exp-photo.paper::before,
  .exp-scribble.paper-label{
    display: none;
  }
}

/* arplace: 9:16 Foto (App-Screenshot) statt 4:5 */
#exp-arplace .exp-photo img{
  aspect-ratio: 9 / 16;
  object-position: top;
}

/* Studyflix: 16:9 Foto, breiter statt hochformatig */
@media (min-width: 768px){
  #exp-studyflix .exp-note-body{
    grid-template-columns: 1fr 340px;
  }
}
#exp-studyflix .exp-photo img{
  aspect-ratio: 16 / 9;
}
#exp-studyflix .exp-photo.paper::before{
  top: 80%; left: -150px;
  width: 250px;
  height: 177px;
  transform: translateY(-50%) scaleX(-1) rotate(4deg);
}
#exp-studyflix .exp-scribble.paper-label{
  left: -104px;
  top: 80%;
  max-width: 80px;
  transform: translateY(-50%) rotate(-3deg);
}

#exp-idlenc .exp-scribble.paper-label{
  top: 86px;
}

#exp-macromedia-studium .exp-scribble.paper-label{
  left: -90px;
  top: 50%;
  transform: translateY(-50%) rotate(-3deg);
}

.exp-arrow{
  position: absolute;
  pointer-events: none;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.exp-arrow.to-bottom-left{ bottom: -40px; left: 70px; width: 70px; height: 50px; transform: rotate(-8deg) scaleY(-1); }

/* ===== Apple "Fotos" app mockup (About section) ===== */
.photos-app{
  width: 100%; height: 100%;
  background: #0a0a0b;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Status bar */
.photos-statusbar{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 2px;
  font-size: .8rem; font-weight: 700; color: var(--cream);
  flex-shrink: 0;
}
.photos-statusbar .icons{ display: flex; align-items: center; gap: 5px; }
.photos-statusbar .icons svg{ display: block; }

/* Header */
.photos-app-header{
  padding: 8px 16px 10px;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-shrink: 0;
}
.photos-app-header .title-group h5{
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.1;
}
.photos-app-header .title-group p{
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.photos-app-header .actions{ display: flex; align-items: center; gap: 8px; }
.photos-app-header .icon-btn{
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); border: 0; cursor: pointer; flex-shrink: 0;
  transition: background .25s ease, transform .25s ease;
}
.photos-app-header .icon-btn:hover{ background: rgba(255,255,255,.16); transform: translateY(-1px); }
.photos-app-header .avatar{
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ffb27a);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; color: #1a0c0a; letter-spacing: .02em;
}

/* Masonry-ish photo grid */
.photos-grid{
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 58px;
  gap: 3px;
  padding: 3px;
}
.photos-grid::-webkit-scrollbar{ display: none; }
.photos-grid > button{
  position: relative;
  overflow: hidden;
  background: #1a1a1c;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  display: block;
  grid-row: span 2;
}
.photos-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.photos-grid > button:hover img{ transform: scale(1.06); }
.photos-grid > button:active img{ transform: scale(.95); }
.photos-grid > button::after{
  content: '';
  position: absolute;
  bottom: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background-color: rgba(0,0,0,.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3H4v5M15 3h5v5M9 21H4v-5M15 21h5v-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 8px;
  opacity: .75;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.photos-grid > button:hover::after{ opacity: 1; transform: scale(1.15); }

/* Tante Maria case study: square thumbnails in the grid, but full 4:5 post when opened */
#tmPhotoViewer{ background: #161210; }
#tmPhotoViewer img{ width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* Footer */
.photos-app-footer{
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.photos-app-footer .icon-btn{
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); border: 0; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.photos-app-footer .icon-btn:hover{ background: rgba(255,255,255,.16); color: var(--cream); }
.photos-segment{
  display: flex; gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: 8px; padding: 2px;
  font-size: .66rem; font-weight: 700;
}
.photos-segment span{
  padding: 5px 10px; border-radius: 6px; color: var(--muted);
  transition: background .25s ease, color .25s ease;
}
.photos-segment span.active{ background: rgba(255,255,255,.14); color: var(--cream); }

/* Photo viewer overlay with zoom-in transition */
.photo-viewer{
  position: absolute; inset: 0; z-index: 30;
  background: #000;
  display: flex; flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(.82);
  transform-origin: 50% 50%;
  transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}
.photo-viewer.open{ opacity: 1; pointer-events: auto; transform: scale(1); }
.photo-viewer .viewer-bar{
  display: flex; align-items: center; padding: 14px 16px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
}
.photo-viewer .viewer-bar button{
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); border: 0; cursor: pointer;
  transition: background .25s ease;
}
.photo-viewer .viewer-bar button:hover{ background: rgba(255,255,255,.22); }
.photo-viewer .viewer-img-wrap{
  flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.photo-viewer img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ===== LEISTUNGEN: GOOEY TABS ===== */
.skills-section{ position: relative; }

.gooey-tabs{
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  --gooey-row-h: 68px;
  --gooey-panel-h: 320px;
  height: calc(var(--gooey-row-h) + var(--gooey-panel-h));
}
@media (max-width: 640px){
  .gooey-tabs{ --gooey-row-h: 78px; --gooey-panel-h: 260px; }
}

.gooey-tabs-filtered{
  position: absolute;
  inset: 0;
  filter: url(#gooey-filter-leistungen);
  z-index: 1;
}
.gooey-tab-row{
  position: relative;
  display: flex;
  width: 100%;
  height: var(--gooey-row-h);
}
.gooey-active-indicator{
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 20px 20px 0 0;
  background-image: linear-gradient(to bottom, var(--red), var(--red-light));
  background-size: 100% calc(var(--gooey-row-h) + var(--gooey-panel-h));
  background-position: 0 0;
  background-repeat: no-repeat;
  box-shadow: 0 -4px 30px rgba(239,68,36,.4);
  transition: left .45s cubic-bezier(.16,1,.3,1), width .45s cubic-bezier(.16,1,.3,1);
}
.gooey-content-panel{
  width: 100%;
  height: var(--gooey-panel-h);
  background-image: linear-gradient(to bottom, var(--red), var(--red-light));
  background-size: 100% calc(var(--gooey-row-h) + var(--gooey-panel-h));
  background-position: 0 calc(-1 * var(--gooey-row-h));
  background-repeat: no-repeat;
  border-radius: 0 0 32px 32px;
}

.gooey-tab-labels{
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: var(--gooey-row-h);
}
.gooey-tab{
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.005em;
  line-height: 1.2;
  color: rgba(244,242,236,.62);
  cursor: pointer;
  overflow-wrap: normal;
  word-break: normal;
  transition: color .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.gooey-tab:hover{ color: rgba(244,242,236,.9); }
@media (min-width: 641px) and (max-width: 1099px){
  .gooey-tab{ font-size: .8rem; padding: 0 6px; letter-spacing: -.01em; }
}
@media (max-width: 640px){
  .gooey-tab{ font-size: .74rem; padding: 0 5px; }
}
.gooey-tab.active{ color: #fff; transform: translateY(-2px); }
.gooey-tab:focus-visible{ outline: 2px solid var(--cream); outline-offset: 2px; border-radius: 8px; }

.gooey-content{
  position: absolute;
  top: var(--gooey-row-h);
  left: 0;
  width: 100%;
  height: var(--gooey-panel-h);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  text-align: center;
}
.gooey-content-inner{
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}
.gooey-content-inner.switching{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
}
.gooey-content-title{
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 14px;
}
.gooey-content-text{
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  max-width: 480px;
  margin: 0 auto;
}

/* Leistungen: Mobile-Accordion statt Gooey-Tabs */
.skill-acc-item{ border-bottom: 1px solid var(--line); }
.skill-acc-item:first-child{ border-top: 1px solid var(--line); }
.skill-acc-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
}
.skill-acc-chevron{
  flex-shrink: 0;
  color: var(--red);
  font-size: 1.1rem;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.skill-acc-item.open .skill-acc-chevron{ transform: rotate(180deg); }
.skill-acc-panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.16,1,.3,1);
}
.skill-acc-item.open .skill-acc-panel{ grid-template-rows: 1fr; }
.skill-acc-panel-inner{ overflow: hidden; }
.skill-acc-panel-inner p{
  padding: 0 2px 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}

/* ===== CINEMATIC FOOTER ===== */
.footer-cinematic{
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: 0;
}
.footer-grid-bg{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 60%, transparent 100%);
  pointer-events: none;
}
.footer-bg-name{
  position: absolute;
  bottom: -0.1em;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(5rem, 18vw, 14rem);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239,68,36,.15);
  background: linear-gradient(180deg, rgba(239,68,36,.12) 0%, transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.footer-up-btn{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
  color: var(--muted);
  flex-shrink: 0;
}
.footer-up-btn:hover{ background: rgba(255,255,255,.12); transform: translateY(-3px); color: var(--cream); }

/* Notizzettel hinter dem Polaroid */
.leaf-hint{
  position: absolute;
  top: 320px;
  right: 90px;
  z-index: 4;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
  white-space: nowrap;
  pointer-events: none;
  transform: rotate(9deg);
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.leaf-outer{
  position: absolute;
  right: -150px;
  top: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-notes-arrow{
  position: absolute;
  top: 258px;
  right: 86px;
  width: 46px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .85;
  pointer-events: none;
  transform: rotate(72deg);
  transform-origin: 8px 16px;
  z-index: 4;
}
.leaf-wrap{
  position: relative;
  width: 380px;
  transform: rotate(9deg);
  transform-origin: top left;
}
.leaf-wrap img{
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
#leafCanvas{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  pointer-events: auto;
}
#leafCanvas.cursor-pen{
  cursor: none;
}
.pen-cursor{
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  font-size: 26px;
  line-height: 1;
  pointer-events: none;
  display: none;
  transform: translate(-4px, -22px) rotate(-12deg);
  user-select: none;
}
