/* ============================================================
   BednaTECH – Design System (dunkel / High-Tech)
   Lasergravur für Kunststoffbauteile · B2B
   Datenschutzfreundlich: System-Schriften, keine externen Anfragen
   ============================================================ */

:root {
  /* Flächen */
  --bg:        #0b0f14;   /* Seitenhintergrund, blauschwarz */
  --bg-2:      #0f151d;   /* alternierende Sektion */
  --surface:   #131b25;   /* Karten */
  --surface-2: #18222e;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  /* Text */
  --text:      #e7eef5;
  --text-soft: #a8b5c2;
  --text-mute: #6c7a89;

  /* Akzent (helles Königsblau – UV-Gravur-Blau) */
  --accent:    #6f9bff;
  --accent-2:  #4f7ff0;
  --accent-ink:#04122e;
  --glow:      rgba(111, 155, 255, .40);

  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.01em; }
p { color: var(--text-soft); }
p + p { margin-top: 1rem; }
strong { color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-2); }
.section--accent {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(111, 155, 255,.10), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-block; font-family: var(--font-mono);
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content: "// "; opacity: .6; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(111, 155, 255,.3), 0 8px 26px -8px var(--glow); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(111, 155, 255,.5), 0 12px 34px -8px var(--glow); color: var(--accent-ink); }
.btn--ghost { background: rgba(255,255,255,.02); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, .78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { color: inherit; }
.brand__logo { height: 30px; width: auto; display: block; }
.site-footer .brand__logo { height: 28px; }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; }
.nav__links a { display: inline-block; padding: .5rem .9rem; border-radius: 8px; color: var(--text-soft); font-weight: 500; font-size: .98rem; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav__links a.active { color: var(--accent); }
.nav__cta { margin-left: .5rem; }
/* CTA-Button im Menü: dunkle Schrift auf Cyan (überschreibt graue Menü-Link-Farbe) */
.nav__links .nav__cta a { color: var(--accent-ink); }
.nav__links .nav__cta a:hover { color: var(--accent-ink); background: transparent; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; border-radius: 8px; }
.nav__toggle:hover { background: rgba(255,255,255,.06); }
.nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav__toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 78% 18%, rgba(111, 155, 255,.16), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(79, 127, 240,.10), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__art { display: grid; place-items: center; }
.hero__art .mark { width: min(320px, 80%); filter: drop-shadow(0 0 40px var(--glow)); }

/* ---------- Trust-/Feature-Leiste ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: rgba(255,255,255,.02); }
.fact__num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.fact__label { font-size: .9rem; color: var(--text-soft); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(111, 155, 255,.4); box-shadow: 0 18px 40px -20px var(--glow); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(111, 155, 255,.10); color: var(--accent); margin-bottom: 1.2rem; border: 1px solid rgba(111, 155, 255,.25); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: 1rem; }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; position: relative; }
.step__num { font-family: var(--font-mono); font-weight: 700; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { margin-bottom: .35rem; }
.step p { font-size: 1rem; }

/* ---------- Split (Text + Visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, rgba(111, 155, 255,.10), var(--surface)); min-height: 300px; display: grid; place-items: center; }
.split__media .mark { width: 55%; filter: drop-shadow(0 0 30px var(--glow)); }
.prose h2 { margin-bottom: 1rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 1rem 0 1rem 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.8rem; color: var(--text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .9rem; height: .9rem; border-radius: 3px; background: rgba(111, 155, 255,.15); border: 1px solid var(--accent); }

/* ---------- Spezifikationen / Vergleich ---------- */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.spec-table thead th { background: var(--surface-2); color: #fff; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.spec-table td { color: var(--text-soft); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table .yes { color: var(--accent); font-weight: 700; }
.spec-table .no { color: var(--text-mute); }

/* ---------- Standbein-/Pillar-Karten ---------- */
.pillar { display: flex; flex-direction: column; }
.pillar .tags { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.tag { font-family: var(--font-mono); font-size: .78rem; color: var(--text-soft); border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .7rem; white-space: nowrap; }
.card__link { font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }
.card__link:hover { gap: .65rem; }

/* ---------- Material-Karten ---------- */
.mat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; transition: border-color .2s, transform .2s; }
.mat-card:hover { border-color: rgba(111, 155, 255,.4); transform: translateY(-3px); }
.mat-card .abbr { font-family: var(--font-mono); color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.mat-card h3 { font-size: 1.05rem; margin: .2rem 0 .4rem; }
.mat-card p { font-size: .92rem; margin: 0; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; background: var(--surface); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.form label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; display: block; color: #fff; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  padding: .8rem 1rem; border: 1.5px solid var(--line-2); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-mute); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111, 155, 255,.15); }
.form textarea { resize: vertical; min-height: 120px; }
.form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text-soft); }
.form .consent input { width: auto; margin-top: .25rem; }
.form__hint { font-size: .85rem; color: var(--text-mute); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon { width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(111, 155, 255,.10); color: var(--accent); border: 1px solid rgba(111, 155, 255,.25); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-item p, .contact-item a { font-size: 1rem; color: var(--text-soft); }
.contact-item a:hover { color: var(--accent); }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 52ch; margin: 0 auto 2rem; color: var(--text-soft); }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #080b0f; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; color: var(--text-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .8rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a { color: var(--text-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--text-mute); }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: .5rem; }
.legal .updated { color: var(--text-mute); font-size: .9rem; margin-bottom: 2.5rem; font-family: var(--font-mono); }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal h3 { margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { margin: .5rem 0 1rem 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal address { font-style: normal; margin: .5rem 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .75rem 1.5rem 1.5rem;
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: .85rem .5rem; }
  .nav__cta { margin: .6rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .grid--3, .grid--2, .steps, .split, .contact-grid, .footer-grid, .facts, .form .form__row { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .spec-table { font-size: .9rem; }
}

/* FAQ-Accordion */
.faq {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  margin-bottom: .75rem;
  background: rgba(255,255,255,.02);
  transition: border-color .2s;
}
.faq[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
}
.faq[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-light); }
.faq p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: .98rem;
}
