/* =====================================================================
   FKK NANTES – « Machines & Loire » · atelier industriel
   Anthracite, cuivre, néon turquoise, engrenages, projecteur au curseur
   ===================================================================== */
@font-face { font-family: "Syne"; src: url(/assets/fonts/syne-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Syne"; src: url(/assets/fonts/syne-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url(/assets/fonts/syne-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/assets/fonts/jost-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/assets/fonts/jost-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/assets/fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0e0f11; --bg2: #14161a; --card: #191b20; --fg: #ebe7e1; --muted: #8e939b;
  --accent: #e2783f; --accent2: #3fe3cb; --line: rgba(235,231,225,.1); --btn-fg: #160b04;
  --font-d: "Syne", system-ui, sans-serif; --font-b: "Jost", system-ui, sans-serif;
  --radius: 0px; --radius-s: 0px; --header-h: 72px;
}
h1, h2, h3, .h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.9rem, 1rem + 4.2vw, 4.4rem); line-height: .95; }
.kicker, .nt-label { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--accent2); margin-bottom: 1.2rem; }
.prose strong { color: var(--accent); }
.nt-grid { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask: radial-gradient(ellipse at 50% 0, #000 20%, transparent 75%); -webkit-mask: radial-gradient(ellipse at 50% 0, #000 20%, transparent 75%); opacity: .5; }

.btn { border-radius: 0; font-family: var(--font-d); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.btn--primary { background: var(--accent); }
.btn--primary:hover { background: var(--accent2); box-shadow: 0 0 30px var(--accent2); }
.btn--ghost { background: var(--card); border-color: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { color: var(--accent2); box-shadow: inset 0 0 0 1px var(--accent2); }

/* Header */
.hdr.is-scrolled { background: rgba(14,15,17,.9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.logo i { color: var(--accent); font-style: normal; margin: 0 .1em; }
.logo__gear { width: 30px; fill: none; stroke: var(--accent); stroke-width: 1.5; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1021px) { .nav { margin-left: auto; } }
@media (min-width: 1021px) { .nav a { font-family: var(--font-d); font-weight: 500; font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; } }
.nav__num { font-family: ui-monospace, monospace; font-size: .62rem; color: var(--accent); margin-right: .35rem; vertical-align: super; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--accent2); text-shadow: 0 0 12px rgba(63,227,203,.6); }
.hdr__status { display: inline-flex; align-items: center; gap: .5rem; margin-left: 1.5rem; font-family: ui-monospace, monospace; font-size: .72rem; color: var(--muted); border: 1px solid var(--line); padding: .4rem .7rem; white-space: nowrap; }
.hdr__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (max-width: 1200px) { .hdr__status { display: none; } }
@media (max-width: 1020px) { .nav { background: var(--bg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; } .nav ul a { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.2rem, 5.4vw, 1.9rem); } .nav__num { vertical-align: middle; font-size: .7rem; flex: none; } }

/* Hero mit Spotlight */
.nt-hero { --mx: 60%; --my: 40%; position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 3rem) 0 7rem; }
.nt-hero__img { position: absolute; inset: 0; z-index: -3; }
.nt-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.nt-hero__img--dim img { filter: grayscale(1) brightness(.28) contrast(1.2); }
.nt-hero__img--lit { z-index: -2; -webkit-mask: radial-gradient(circle 280px at var(--mx) var(--my), #000 30%, transparent 75%); mask: radial-gradient(circle 280px at var(--mx) var(--my), #000 30%, transparent 75%); }
.nt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, var(--bg)), linear-gradient(90deg, rgba(14,15,17,.7), transparent 60%); pointer-events: none; }
.nt-gear { position: absolute; fill: none; stroke: var(--accent); stroke-width: .6; opacity: .35; z-index: -1; }
.nt-gear--a { width: 340px; right: -60px; top: 12%; animation: spin 40s linear infinite; }
.nt-gear--b { width: 200px; right: 230px; top: calc(12% + 250px); animation: spin 24s linear infinite reverse; stroke: var(--accent2); }
.nt-hero__title { font-size: clamp(3rem, 1.4rem + 7.6vw, 9rem); line-height: .86; margin-bottom: .4em; max-width: 12ch; }
.nt-hero__title .w:nth-child(2) > span { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.nt-hero__title .w:last-child > span { color: var(--accent2); text-shadow: 0 0 24px rgba(63,227,203,.55); animation: flicker 5s infinite 2s; }
@keyframes flicker { 0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; } 20%, 22%, 55% { opacity: .35; } }
.nt-hero__row { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .nt-hero__row { grid-template-columns: 1.2fr 1fr; } .nt-hero__row .actions { justify-content: flex-end; } }
.nt-hero__sub { max-width: 54ch; color: #cfcac2; }
.nt-meter { position: absolute; inset: auto 0 0; display: flex; gap: 2rem; padding: .9rem max(1.2rem, calc((100vw - var(--wrap)) / 2)); font-family: ui-monospace, monospace; font-size: .72rem; color: var(--muted); border-top: 1px solid var(--line); background: rgba(14,15,17,.7); backdrop-filter: blur(6px); overflow-x: auto; white-space: nowrap; }
.nt-meter b { color: var(--fg); font-weight: 500; margin-left: .4rem; } .nt-meter .nt-on { color: var(--accent2); }
@media (max-width: 760px) { .nt-gear { display: none; } }

/* Zahnräder-Karten mit Schrauben */
.nt-cogs { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); background: var(--line); border: 1px solid var(--line); margin-top: 3.5rem; }
.nt-cog { --rx: 0deg; --ry: 0deg; background: var(--bg); padding: 2.2rem 1.8rem; position: relative; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out), background .4s, opacity .9s; }
.nt-cog:hover { background: var(--card); z-index: 1; }
.nt-cog h3 { font-size: 1.05rem; color: var(--accent); }
.nt-cog p { color: var(--muted); margin: 0; font-size: .95rem; }
.nt-bolt { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9c4bd, #4a4a4a); }
.nt-bolt--tl { top: 10px; left: 10px; } .nt-bolt--tr { top: 10px; right: 10px; } .nt-bolt--bl { bottom: 10px; left: 10px; } .nt-bolt--br { bottom: 10px; right: 10px; }
.nt-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

/* Woche als Schaltpult */
.week { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.week__day { border: 0; background: var(--bg2); }
.week__day:hover { transform: none; background: var(--card); }
.week__name { font-family: ui-monospace, monospace; }
.week__name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #333; margin-right: .5rem; vertical-align: middle; }
.week__title { font-family: var(--font-d); font-weight: 700; text-transform: uppercase; font-size: 1rem; }
.week__badge { color: var(--accent); }
.week__day.is-today { box-shadow: inset 0 0 0 1px var(--accent2), 0 0 40px -10px rgba(63,227,203,.5); }
.week__day.is-today .week__name::before { background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation: blink 1.4s infinite; }
.week__now { background: var(--accent2); color: var(--bg); border-radius: 0; font-family: ui-monospace, monospace; }

/* Karten */
.ev-card { border-radius: 0; }
.ev-card:hover { border-color: var(--accent2); box-shadow: 0 0 40px -12px rgba(63,227,203,.4); }
.ev-card__date { border-radius: 0; background: var(--accent); color: var(--btn-fg); } .ev-card__date i { color: var(--btn-fg); }
.ev-card__flag { background: var(--accent2); color: var(--bg); border-radius: 0; font-family: ui-monospace, monospace; }
.ev-card__title { font-size: 1.25rem; }

/* Blueprint-Galerie */
.gal--blueprint { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.gal--blueprint .gal__item { border-radius: 0; aspect-ratio: 4/3; background: var(--bg); }
.gal--blueprint .gal__item a, .gal--blueprint img { width: 100%; height: 100%; object-fit: cover; }
.gal--blueprint img { filter: grayscale(.9) contrast(1.1) brightness(.8); transition: filter .6s, transform 1.2s var(--ease-out); }
.gal--blueprint .gal__item:hover img { filter: none; }
.gal--blueprint .gal__item::after { content: attr(data-cat); position: absolute; left: .8rem; top: .7rem; font-family: ui-monospace, monospace; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); pointer-events: none; }
@media (max-width: 700px) { .gal--blueprint { grid-template-columns: 1fr 1fr; } }

/* Tachometer */
.nt-gauge { text-align: center; justify-self: center; width: min(360px, 100%); }
.nt-gauge svg { width: 100%; overflow: visible; }
.nt-gauge path { fill: none; stroke-width: 10; }
.nt-gauge__bg { stroke: var(--card); }
.nt-gauge__fg { stroke: var(--accent); stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 2.2s var(--ease-out); filter: drop-shadow(0 0 6px rgba(226,120,63,.6)); }
.nt-gauge.is-in .nt-gauge__fg { stroke-dashoffset: 40; }
.nt-gauge__needle { stroke: var(--accent2); stroke-width: 3; transform-origin: 110px 120px; transform: rotate(-90deg); transition: transform 2.2s var(--ease-out); }
.nt-gauge.is-in .nt-gauge__needle { transform: rotate(62deg); }
.nt-gauge circle { fill: var(--accent2); }
.nt-gauge b { display: block; font-family: var(--font-d); font-weight: 800; font-size: 1.8rem; margin-top: .5rem; }
.nt-gauge small { font-family: ui-monospace, monospace; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }

/* Unterseiten */
.phero__bg img { filter: grayscale(.6) brightness(.6); }
.phero__veil { background: linear-gradient(180deg, rgba(14,15,17,.4), var(--bg)), linear-gradient(90deg, rgba(14,15,17,.8), transparent); }
.phero__title .w:last-child > span { color: var(--accent2); text-shadow: 0 0 20px rgba(63,227,203,.4); }
.route__ico { border-radius: 0; }
.tariffs__price { font-weight: 800; }
.hours tr.is-today { color: var(--accent2); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg2); }
.ftr__big { font-family: var(--font-d); font-weight: 800; font-size: clamp(3rem, 11vw, 10rem); line-height: .85; margin: 0 0 2.5rem; color: transparent; -webkit-text-stroke: 1px rgba(235,231,225,.25); letter-spacing: -.03em; }
.ftr__big span { color: var(--accent); -webkit-text-stroke: 0; }
.ftr__grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr__lbl { font-family: ui-monospace, monospace; font-size: .72rem; color: var(--accent2); display: block; margin-bottom: .6rem; }
.ftr p { color: var(--muted); font-size: .92rem; }
.ftr a { color: var(--fg); text-decoration: none; } .ftr a:hover { color: var(--accent); }
.ftr__bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.ftr__copy { font-family: ui-monospace, monospace; font-size: .72rem; }
@media (min-width: 1021px) { .nav a { white-space: nowrap; } }
@media (min-width: 1021px) { .nav ul { gap: 1.1rem; } }
.nt-hero__title { font-size: clamp(2.8rem, 1.2rem + 6.4vw, 7.6rem); }
.split--even .h2, .evd__layout .h2 { font-size: clamp(1.6rem, .9rem + 2.2vw, 2.8rem); }
@media (min-width: 1021px) and (max-width: 1200px) { .nav ul { gap: .7rem; } .nav ul a { font-size: .78rem; } .nav__num { display: none; } }
