/* tanrobot.de – Döner Roboter TanRobot
   Dunkles Design mit Glut-Orange. Schriften liegen auf dem eigenen Server (SIL Open Font License). */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0b0d;
  --bg-2: #111215;
  --surface: #17181c;
  --surface-2: #1f2126;
  --line: #2a2c32;
  --line-2: #3a3d45;
  --text: #f3efe8;
  --muted: #aaa39a;
  --ember: #ff6b1a;
  --ember-2: #ffa53d;
  --ember-dark: #d9500c;
  --glow: rgba(255, 107, 26, .35);
  --koernung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-2); text-underline-offset: .18em; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
strong { color: #fff; font-weight: 600; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.schmal { max-width: 50rem; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 9vw, 7rem); margin: .15em 0 .2em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .25em 0 .5em; }
h3 { font-size: 1.55rem; font-weight: 600; margin: 0 0 .45rem; letter-spacing: .01em; }

.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0;
}
.glut {
  background: linear-gradient(100deg, var(--ember) 10%, var(--ember-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.intro { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* ---------- Kopfzeile ---------- */
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ember); color: #fff; padding: .6rem 1rem; border-radius: 8px; }

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img { display: block; width: auto; height: 22px; }

.nav { display: flex; gap: .2rem; }
.nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: .5rem .85rem;
  border-radius: 8px;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: none; box-shadow: inset 0 -2px 0 var(--ember); border-radius: 0; }

@media (max-width: 640px) {
  .kopf-innen { flex-direction: column; align-items: stretch; gap: .15rem; padding: .55rem 0 .2rem; min-height: 0; }
  .logo { padding: .35rem 0 .15rem; }
  .logo img { height: 19px; }
  .nav { justify-content: space-between; }
  .nav a { padding: .45rem .35rem; font-size: .98rem; letter-spacing: .05em; }
}

/* ---------- Startbereich ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::before, .hero::after, .seitenkopf::before, .seitenkopf::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Glut: viele Zwischenstufen, damit der Verlauf ohne sichtbare Ringe ausläuft */
.hero::before {
  background: radial-gradient(42% 46% at 72% 46%,
    rgba(255, 107, 26, .20) 0%, rgba(255, 107, 26, .165) 16%, rgba(255, 107, 26, .125) 32%,
    rgba(255, 107, 26, .085) 48%, rgba(255, 107, 26, .05) 64%, rgba(255, 107, 26, .022) 80%,
    rgba(255, 107, 26, .006) 92%, rgba(255, 107, 26, 0) 100%);
}
.hero::after, .seitenkopf::after {
  background-image: var(--koernung);
  background-size: 180px 180px;
  opacity: .06;
}
.hero::after {
  -webkit-mask-image: radial-gradient(42% 46% at 72% 46%, #000 0%, transparent 100%);
  mask-image: radial-gradient(42% 46% at 72% 46%, #000 0%, transparent 100%);
}
.hero-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-top: .1em; }
.hero h1.hero-logo { margin: .8rem 0 1.6rem; line-height: 0; }
.hero-logo img { display: block; width: min(100%, 600px); height: auto; }
.hero .unterzeile { font-family: var(--head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.05rem); line-height: 1.15; margin: 0 0 1rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: .4rem 0 1.4rem;
  padding: .45rem 1rem .45rem .85rem;
  border: 1px solid rgba(255, 107, 26, .45);
  border-radius: 999px;
  background: rgba(255, 107, 26, .08);
  font-weight: 500;
  font-size: .98rem;
}
.status .punkt { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ember); animation: puls 2.4s infinite; }
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 26, .6); }
  70% { box-shadow: 0 0 0 .7rem rgba(255, 107, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
}

.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.45rem;
  border-radius: 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-glut { color: #fff; background: linear-gradient(135deg, var(--ember), var(--ember-dark)); box-shadow: 0 10px 30px rgba(255, 107, 26, .35); }
.btn-glut:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 107, 26, .5); }
.btn-rand { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-rand:hover { color: #fff; border-color: var(--ember); }

.bildrahmen {
  position: relative;
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(160deg, #2c2e35, #121316);
  border: 1px solid var(--line-2);
}
.bildrahmen img, .bildrahmen video { border-radius: 14px; width: 100%; }
.hero .bildrahmen { max-width: 440px; margin-left: auto; transform: rotate(1.2deg); }
.bildrahmen .marke {
  position: absolute;
  left: -14px;
  bottom: 28px;
  padding: .55rem .9rem;
  border-radius: 10px;
  background: var(--ember);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(255, 107, 26, .45);
}

@media (max-width: 860px) {
  .hero-raster { grid-template-columns: 1fr; }
  .hero .bildrahmen { margin: 1rem auto 0; transform: none; max-width: 400px; }
}

/* ---------- Kennzahlen ---------- */
.kennzahlen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
}
.kennzahl { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); }
.kennzahl:last-child { border-right: 0; }
.kennzahl .zahl { font-family: var(--head); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1; }
.kennzahl .zahl small { font-size: .55em; color: var(--ember); margin-left: .15em; }
.kennzahl .text { color: var(--muted); margin-top: .45rem; line-height: 1.4; }
@media (max-width: 800px) {
  .kennzahlen { grid-template-columns: repeat(2, 1fr); }
  .kennzahl:nth-child(2) { border-right: 0; }
  .kennzahl:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 8vw, 7rem) 0; }
.abschnitt-hell { background: none; }
.abschnitt-kopf { max-width: 48rem; margin-bottom: 2.6rem; }

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: schritt; }
.schritt { padding: 1.6rem 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.schritt::before {
  counter-increment: schritt;
  content: "0" counter(schritt);
  display: block;
  margin-bottom: .9rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ember);
}
.schritt p { color: var(--muted); margin: 0; }
@media (max-width: 980px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .schritte { grid-template-columns: 1fr; } }

.zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.zweispaltig.umgekehrt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zweispaltig.umgekehrt > :first-child { order: 2; }
.zweispaltig.text-links { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.videorahmen { max-width: 380px; margin-inline: auto; }
.videorahmen video { background: #000; }
@media (max-width: 860px) {
  .zweispaltig, .zweispaltig.umgekehrt, .zweispaltig.text-links { grid-template-columns: 1fr; }
  .zweispaltig.umgekehrt > :first-child { order: 0; }
}

.haken { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .75rem; }
.haken li { position: relative; padding-left: 1.9rem; }
.haken li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .5em;
  width: .7rem;
  height: .7rem;
  border-radius: 2px;
  background: var(--ember);
  box-shadow: 0 0 12px var(--glow);
  transform: rotate(45deg);
}

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.karte p { color: var(--muted); margin: 0; }
.karte .symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(255, 107, 26, .12);
  border: 1px solid rgba(255, 107, 26, .35);
  color: var(--ember);
}
.karte .symbol svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .karten { grid-template-columns: 1fr; } }

.hinweis {
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--ember);
  background: rgba(255, 107, 26, .07);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}

/* ---------- Datenblatt ---------- */
.datenblatt { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.datenblatt th, .datenblatt td { text-align: left; vertical-align: top; padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--line); }
.datenblatt th {
  width: 28%;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ember);
}
.datenblatt td { color: #ddd8d0; }
@media (max-width: 640px) {
  .datenblatt th, .datenblatt td { display: block; width: 100%; padding-inline: 0; }
  .datenblatt th { padding-bottom: .15rem; border-bottom: 0; }
}

/* ---------- Zeitstrahl ---------- */
.zeitstrahl { position: relative; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.zeitstrahl::before {
  content: "";
  position: absolute;
  left: 21px;
  top: .6rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--ember), rgba(255, 107, 26, .1));
}
.station { position: relative; padding-left: 66px; }
.station::before {
  content: "";
  position: absolute;
  left: 12px;
  top: .35rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--ember);
  box-shadow: 0 0 18px var(--glow);
}
.station .marke-text { font-family: var(--head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.station .zweispaltig { align-items: start; }
.station .marke-text { margin: 0; }
.station .marke-text.anfang { margin: 2.6rem 0 1rem; }

/* ---------- Platinen ---------- */
.platinen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.platine { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.platine img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.platine .inhalt { padding: 1.1rem 1.25rem 1.35rem; }
.platine .nr { font-family: var(--head); font-weight: 700; letter-spacing: .14em; color: var(--ember); font-size: .95rem; }
.platine p { color: var(--muted); margin: 0; font-size: 1rem; }
.platine.heute { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 2fr; align-items: center; border-color: var(--ember); }
.platine.heute .inhalt { padding: 1.6rem 2rem; }
.platine.heute h3 { font-size: 1.9rem; }
@media (max-width: 900px) { .platinen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .platine.heute { display: block; } .platine.heute .inhalt { padding: 1.1rem 1.25rem 1.35rem; } }
@media (max-width: 560px) { .platinen { grid-template-columns: 1fr; } }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .95rem; margin-top: .65rem; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr; } .galerie img { aspect-ratio: 4 / 3; } }
.galerie.werkstatt { grid-template-columns: 1fr 1fr 2fr; }
.galerie.werkstatt .breit img { aspect-ratio: 3 / 2; }
@media (max-width: 760px) {
  .galerie.werkstatt { grid-template-columns: 1fr; }
  .galerie.werkstatt img, .galerie.werkstatt .breit img { aspect-ratio: 4 / 3; }
}

.breitbild img { border-radius: 16px; border: 1px solid var(--line); width: 100%; }
.breitbild.flach img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Unterseiten ---------- */
.seitenkopf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.2rem, 5vw, 3.6rem);
}
.seitenkopf::before {
  background: radial-gradient(46% 48% at 10% 50%,
    rgba(255, 107, 26, .15) 0%, rgba(255, 107, 26, .12) 18%, rgba(255, 107, 26, .085) 36%,
    rgba(255, 107, 26, .05) 54%, rgba(255, 107, 26, .022) 74%, rgba(255, 107, 26, .006) 90%,
    rgba(255, 107, 26, 0) 100%);
}
.seitenkopf::after {
  -webkit-mask-image: radial-gradient(46% 48% at 10% 50%, #000 0%, transparent 100%);
  mask-image: radial-gradient(46% 48% at 10% 50%, #000 0%, transparent 100%);
}
.seitenkopf h1 { font-size: clamp(2.8rem, 7vw, 5rem); }

.kontakt-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.kontakt-karten a.karte { text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.kontakt-karten a.karte:hover { border-color: var(--ember); transform: translateY(-2px); }
.kontakt-karten .wert { font-family: var(--head); font-weight: 600; font-size: 1.45rem; color: #fff; margin: .2rem 0 .3rem; word-break: break-word; }
@media (max-width: 900px) { .kontakt-karten { grid-template-columns: 1fr; } }

.adresse { font-style: normal; line-height: 1.7; }

.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: 1.7rem; margin: 2.2rem 0 .7rem; }
.rechtstext p, .rechtstext li { color: #d8d3cb; }
.rechtstext ul { padding-left: 1.2rem; }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); padding: 3rem 0 2.2rem; font-size: .98rem; }
.fuss-raster { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem 3rem; }
.fuss .logo { margin-bottom: 1rem; }
.fuss .logo img { height: 46px; }
.fuss p { margin: 0 0 .4rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.fuss-links a { color: var(--muted); text-decoration: none; }
.fuss-links a:hover { color: var(--text); }
.fuss .klein { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; }

:focus-visible { outline: 3px solid var(--ember-2); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
