/* ===== NutslTech – Signalscheibenschutz ===== */

/* Schrift "Inter" lokal eingebunden (keine Verbindung zu Google-Servern) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --steel-950: #0f172a;
  --steel-900: #1e293b;
  --steel-800: #334155;
  --steel-600: #475569;
  --steel-400: #94a3b8;
  --steel-200: #e2e8f0;
  --steel-100: #f1f5f9;
  --steel-50:  #f8fafc;
  --white: #ffffff;

  --accent: #1d6fb8;         /* Technik-Blau, angelehnt an das Sensorkabel */
  --accent-dark: #17578f;
  --accent-soft: #e8f1f9;

  --text: #14202e;
  --text-muted: #5b6b7c;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --border: #dfe4ea;
  --card-bg: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
  --container: 1120px;
  color-scheme: light dark;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6edf5;
    --text-muted: #9fb0c0;
    --bg: #0d1420;
    --bg-alt: #131c2b;
    --border: #263243;
    --card-bg: #131c2b;
    --accent: #4a9fda;
    --accent-dark: #2f83bf;
    --accent-soft: #16283a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 200;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 44px; width: auto; }
.brand-wordmark { height: 26px; width: auto; display: block; }
.brand-text { font-size: 1.15rem; letter-spacing: -0.01em; color: var(--text); }
.brand-text span { color: var(--accent); }

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  color: var(--text-muted); font-weight: 500; font-size: .95rem;
}
.nav-list a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  background: var(--bg); border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--text); transform: translate(-50%, -50%); transition: .2s;
}
.nav-toggle-bar::before { transform: translate(-50%, -7px); }
.nav-toggle-bar::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px; font-size: 1rem; }
  .nav-cta { text-align: center; margin-top: 6px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .05s, background .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-disabled, .btn:disabled { background: var(--bg-alt); color: var(--text-muted); border-color: var(--border); cursor: not-allowed; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at 75% -10%, rgba(29, 111, 184, .14), transparent),
    linear-gradient(180deg, var(--bg), var(--bg-alt));
  padding: clamp(48px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 20px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero-points li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: .98rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.hero-steps-title { font-size: 1.5rem; margin-bottom: .3em; }
.hero-steps-intro { color: var(--text-muted); margin-bottom: 1.1rem; }
.hero-steps-title { margin-bottom: .6em; }
.hero-media .steps { gap: 0; }
.hero-media .step {
  grid-template-columns: 34px 1fr; gap: 14px; padding: 12px 0;
  background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; box-shadow: none;
}
.hero-media .step-index { width: 34px; height: 34px; font-size: .95rem; }
.hero-media .step-body h3 { font-size: 1rem; margin-bottom: 2px; }
.hero-media .step-body p { font-size: .9rem; line-height: 1.45; }
.step-list { margin: 6px 0 0; gap: 3px; font-size: .88rem; line-height: 1.4; }
.step-list li { padding-left: 24px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Sections ===== */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-bottom: .3em; }
.section-intro { color: var(--text-muted); max-width: 62ch; font-size: 1.05rem; margin-bottom: 2rem; }
.muted { color: var(--text-muted); }
.small { font-size: .85rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ===== Video ===== */
.video-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); background: #000; max-width: 900px; margin: 0 auto;
}
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { margin: 0; }
.video-card .video-wrap { max-width: none; margin: 0; }
.video-card figcaption { padding: 14px 4px 0; }
.video-card figcaption h3 { margin-bottom: 4px; }
.video-card figcaption p { margin: 0; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { color: var(--accent); }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ===== Benefits ===== */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.benefit { border-top: 2px solid var(--accent); padding-top: 16px; }
.benefit-num { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.benefit h3 { margin: 6px 0 6px; }
.benefit p { margin: 0; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.step-index {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.4rem;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { margin: 0; color: var(--text-muted); }

/* ===== 3D Viewer ===== */
.viewer {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 40%, #3a4d66 0%, #233144 70%);
  aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto;
  user-select: none;
}
.viewer model-viewer {
  display: block; width: 100%; height: 100%;
  --poster-color: transparent; --progress-bar-color: var(--accent);
  cursor: grab;
}
.viewer model-viewer:active { cursor: grabbing; }
.viewer-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--steel-200); font-size: .95rem;
}
@media (max-width: 640px) { .viewer { aspect-ratio: 4 / 3; } }

/* ===== Lists ===== */
.check-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-muted); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ===== Forms ===== */
.form { display: grid; gap: 16px; max-width: 460px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.field textarea { resize: vertical; }
.form-note { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #157347; }
.form-note.err { color: #b02a37; }
.form-privacy { margin: 0; font-size: .85rem; color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-card, .shop-teaser {
  margin-top: 24px; padding: 20px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--card-bg);
}
.contact-card h3, .shop-teaser h3 { margin-bottom: 6px; }
.contact-card p { margin: 0; }
.shop-teaser { position: relative; opacity: .8; }
.badge {
  position: absolute; top: 16px; right: 16px; background: var(--accent-soft);
  color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.shop-teaser p { color: var(--text-muted); margin: 0 0 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--steel-950); color: #cbd5e1; padding: 56px 0 24px; margin-top: 0; }
.site-footer a { color: #93c5fd; }
.site-footer .muted { color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-logo { width: 220px; max-width: 60%; height: auto; margin-bottom: 14px; }
.footer-wordmark { height: 30px; width: auto; display: block; margin-bottom: 12px; }
.footer-impressum h4 { color: #fff; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Fotos ===== */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.photo-sub { margin: 40px 0 8px; }
.photo-note { margin: 0 0 16px; color: var(--text-muted); }
.photo-card { margin: 0; }
.photo-btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: var(--card-bg); cursor: zoom-in;
}
.photo-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.photo-btn:hover img { transform: scale(1.03); }
.photo-dark .photo-btn { background: #0f172a; }
.photo-dark .photo-btn img { object-fit: contain; }
.photo-grid-portrait .photo-btn img { aspect-ratio: 3 / 4; object-position: center 55%; }
.photo-card figcaption { margin-top: 8px; font-size: .9rem; color: var(--text-muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(8, 12, 20, .88); }
.lightbox img { display: block; max-width: 96vw; max-height: 92vh; margin: auto; border-radius: 8px; cursor: zoom-out; background: #0f172a; }

/* ===== Rechtliche Seiten (Datenschutz) ===== */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .4em; }
.legal h2 { font-size: 1.25rem; margin: 2em 0 .5em; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--accent); }
.legal .stand { font-size: .9rem; }

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