/* Ottes Techno – statische Seite */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #141416;
  --fg: #f3f0ea;
  --muted: #a19d96;
  --line: #2b2b2f;
  --pink: #ff2e93;
  --orange: #ff7a1a;
  --lime: #c6ff3a;
  --cyan: #2ee6ff;
  --violet: #8b5cf6;
  --rainbow: linear-gradient(90deg, var(--violet), var(--pink), var(--orange), var(--lime), var(--cyan));
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Körnung über allem, wie ein abgegriffener Flyer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--lime); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

::selection { background: var(--pink); color: #000; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--lime); color: #000; padding: .5em 1em; font-weight: 700;
}
.skip:focus { left: 8px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; }

p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.rainbow-bar { height: 6px; background: var(--rainbow); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .page .site-header {
  background: rgba(10, 10, 11, .88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; background: #f3f0ea; }
.brand:hover { color: var(--fg); }

.nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2rem); }
.nav a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3em 0;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--pink); }
.nav .icon-link { display: inline-flex; padding: .2em; border: 0; }
.icon-link svg { width: 20px; height: 20px; }

/* ---------- Startseite: Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 30%, rgba(10,10,11,.75) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,.6), transparent 60%);
}
.hero-content { padding-bottom: clamp(3rem, 9vh, 6rem); }
.hero h1 {
  font-size: clamp(4.2rem, 17vw, 13rem);
  line-height: .84;
  margin: 0 0 1.5rem;
}
.hero h1 .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
}
.hero .tagline {
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Laufband ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  letter-spacing: .03em;
}
.ticker span:nth-child(4n+1) { color: var(--pink); }
.ticker span:nth-child(4n+3) { color: var(--lime); }
.ticker span.sep { color: var(--muted); padding-inline: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Kacheln ---------- */
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 60vw, 620px);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s;
  filter: saturate(.9);
}
.tile--book img { object-position: 50% 0; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(10,10,11,.92) 85%);
}
.tile::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: var(--rainbow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.tile:hover, .tile:focus-visible { color: var(--fg); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); filter: saturate(1.1); }
.tile:hover::after, .tile:focus-visible::after { transform: scaleX(1); }
.tile-num {
  position: absolute; top: clamp(1.25rem, 3vw, 2.25rem); left: clamp(1.25rem, 3vw, 2.25rem);
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .1em;
  background: var(--bg); padding: .15em .5em;
}
.tile h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: .3em; }
.tile p { color: #d9d5ce; max-width: 32ch; margin-bottom: 1rem; }
.arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.arrow::after { content: "→"; font-size: 1.2em; transition: transform .3s; }
.tile:hover .arrow::after { transform: translateX(6px); }

/* ---------- Intro-Text ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro .big {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .95;
  margin: 0;
}
.intro .big em { font-style: normal; color: var(--pink); }
.intro .big strong { font-weight: 400; color: var(--lime); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* ---------- Instagram-Band ---------- */
.insta-band {
  background: var(--fg);
  color: var(--bg);
}
.insta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.insta-band h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.insta-band p { margin: .4rem 0 0; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  font-family: var(--body);
  font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  background: var(--fg); color: var(--bg);
  border: 2px solid var(--fg);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { color: var(--bg); background: var(--lime); border-color: var(--lime); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--pink); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--dark { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.btn--dark:hover { color: var(--bg); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Unterseiten ---------- */
.page-head {
  padding-top: calc(64px + clamp(3rem, 9vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(3.6rem, 13vw, 9rem); margin: 0; line-height: .85; }
.page-head .sub { margin: 1.2rem 0 0; max-width: 46ch; color: var(--muted); font-size: 1.15rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.prose { max-width: 66ch; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; font-size: 1.35rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: #fff; }

/* Zeitleiste */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.8rem 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .45em;
  width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--pink);
}
.timeline li:nth-child(2)::before { border-color: var(--orange); }
.timeline li:nth-child(3)::before { border-color: var(--lime); }
.timeline li:nth-child(4)::before { border-color: var(--cyan); }
.timeline li:last-child::before { background: var(--pink); }
.timeline .year { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; margin-bottom: .2rem; }
.timeline .what { color: var(--muted); font-size: .98rem; }
.sticky { position: sticky; top: 96px; }

.photo-frame { margin: 0 0 2rem; }
.photo-frame .frame { position: relative; display: block; isolation: isolate; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame .frame::before {
  content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1;
  background: var(--rainbow);
}
.photo-frame figcaption { margin-top: 1.4rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* SoundCloud mit Zustimmung */
.embed {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 450px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed .note { max-width: 44ch; color: var(--muted); font-size: .92rem; margin: 1rem auto 0; }
.embed .sc-logo { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--orange); }
.embed h3 { margin-bottom: .3em; }

/* Buch */
.book {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.book-cover { position: relative; transform: rotate(-2deg); }
.book-cover img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.book-cover::before {
  content: ""; position: absolute; inset: 8% -8% -6% 8%; z-index: -1;
  background: var(--rainbow); filter: blur(40px); opacity: .45;
}
.book h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.book .kicker { color: var(--lime); font-weight: 700; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
  margin-top: 2rem;
}
.gallery button {
  all: unset;
  cursor: zoom-in;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.gallery button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .cap {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg); color: var(--fg);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .45em .8em;
}

.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 720px); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(5,5,6,.92); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox .close {
  position: fixed; top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: var(--fg); color: var(--bg); border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1;
}

.callout {
  border: 2px solid var(--fg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(3rem, 7vw, 5rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  box-shadow: 8px 8px 0 var(--pink);
}
.callout h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 .3em; }
.callout p { margin: 0; max-width: 52ch; }

.todo { background: #3a2a00; border-left: 4px solid var(--orange); padding: .8rem 1rem; font-size: .95rem; }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .9rem; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-end; }
.footer-brand { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 5rem); line-height: .85; color: var(--fg); text-transform: uppercase; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--fg); }
.footer-links a:hover { color: var(--lime); }
.copy { margin-top: 2rem; font-size: .8rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 80svh; display: grid; place-items: center; text-align: center; padding-top: 64px; }
.notfound h1 { font-size: clamp(6rem, 30vw, 16rem); margin: 0; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .tiles, .intro, .split, .book { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .book-cover { max-width: 280px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .nav a { letter-spacing: .1em; }
  .hero h1 .outline { -webkit-text-stroke-width: 1.5px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Fuchs-Signet (Marke im Aufbau) ---------- */
.fox-mark {
  display: block;
  aspect-ratio: 440 / 492;
  background: currentColor;
  -webkit-mask: url("../img/fox.svg") no-repeat center / contain;
  mask: url("../img/fox.svg") no-repeat center / contain;
  pointer-events: none;
}
/* dezent im Fuß – auf jeder Seite, zum Einprägen */
.site-footer { position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-fox {
  position: absolute; z-index: 0;
  right: clamp(-24px, 2vw, 32px); bottom: -14%;
  width: clamp(150px, 24vw, 280px);
  color: var(--fg); opacity: .05;
}
/* prominenter auf der Buchseite – von dort stammt der Fuchs */
.book-head { position: relative; overflow: hidden; }
.book-head .wrap { position: relative; z-index: 1; }
.book-head .fox-mark {
  position: absolute; z-index: 0;
  right: clamp(-50px, 1vw, 24px); top: 50%; translate: 0 -46%;
  width: clamp(190px, 32vw, 380px);
  color: var(--pink); opacity: .13;
}
@media (max-width: 520px) { .book-head .fox-mark { opacity: .09; } }
