/* ============================================================
   Typenschilder-Technik – Statisches Stylesheet
   ============================================================ */

:root {
  --background: #fafbfc;
  --foreground: #272b31;
  --card: #ffffff;
  --muted: #f1f3f5;
  --muted-foreground: #6b7480;
  --primary: #2f343c;
  --primary-foreground: #fafbfc;
  --accent: #2563c9;
  --accent-foreground: #ffffff;
  --steel: #383e47;
  --steel-foreground: #f1f3f5;
  --border: #e2e6ea;
  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(30, 40, 55, 0.06), 0 8px 24px -12px rgba(30, 40, 55, 0.18);
  --shadow-elevated: 0 20px 50px -24px rgba(30, 40, 55, 0.45);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-foreground); }
.btn-accent:hover { background: #1f54ad; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: #3c424c; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(241, 243, 245, 0.3);
  color: var(--steel-foreground);
}
.btn-ghost-light:hover { background: rgba(241, 243, 245, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; }
.logo-sub { font-size: 0.72rem; font-weight: 600; color: var(--accent); }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background 0.2s, color 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active { background: var(--muted); color: var(--foreground); }
.header-cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 1.4rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 0.5rem 0 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-mobile a:hover { background: var(--muted); }
.nav-mobile .btn { margin: 0.5rem 1.25rem 0; }

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .header-cta { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  color: var(--steel-foreground);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--steel), rgba(56,62,71,0.85) 50%, rgba(56,62,71,0.4));
}
.hero-inner { position: relative; padding: 5rem 0; max-width: 42rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(241,243,245,0.2);
  background: rgba(241,243,245,0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: 2rem;
  font-weight: 800;
}
.hero p { margin-top: 1.25rem; font-size: 1.05rem; color: rgba(241,243,245,0.8); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 768px) {
  .hero-inner { padding: 7rem 0; }
  .hero h1 { font-size: 3rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-muted { background: var(--muted); }
.section-card { background: var(--card); border-bottom: 1px solid var(--border); }
.page-head { padding: 3.5rem 0; }
.page-head h1 { font-size: 2rem; font-weight: 800; }
.page-head p { margin-top: 1rem; max-width: 42rem; color: var(--muted-foreground); }
.section h2 { font-size: 1.6rem; }
.section-intro { margin-top: 0.75rem; max-width: 42rem; color: var(--muted-foreground); }
.eyebrow-block { max-width: 42rem; }

@media (min-width: 640px) {
  .page-head h1, .hero h1 { font-size: 2.4rem; }
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: rgba(37, 99, 201, 0.1);
  color: var(--accent);
  font-size: 1.3rem;
}
.card h2, .card h3 { margin-top: 1rem; font-size: 1.05rem; }
.card p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- Product cards ---------- */
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.product-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--muted); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.product-body h3 { font-size: 1.1rem; }
.specs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; }
.spec-row { display: flex; gap: 0.5rem; }
.spec-label { width: 7rem; flex-shrink: 0; color: var(--muted-foreground); }
.spec-value { font-weight: 500; }
.product-price {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price .ab { display: block; font-size: 0.72rem; color: var(--muted-foreground); }
.product-price .amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.product .btn { margin-top: 1rem; }

/* ---------- Über uns ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.media-frame { overflow: hidden; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.fact-list { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.fact-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; }
.fact-list .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.stat-card { text-align: center; padding: 2rem; }
.stat-card .value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.stat-card .label { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-foreground); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .icon { transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.1rem; color: var(--muted-foreground); font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--steel);
  color: var(--steel-foreground);
  border-radius: 12px;
  padding: 2.5rem;
}
.cta-panel h2 { font-size: 1.6rem; }
.cta-panel p { margin-top: 0.75rem; max-width: 42rem; color: rgba(241,243,245,0.8); }
.cta-panel .btn { margin-top: 1.5rem; }
.cta-panel a.link { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  background: rgba(37,99,201,0.1);
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-list .c-label { font-size: 0.85rem; color: var(--muted-foreground); }
.contact-list .c-value { font-weight: 500; }
.contact-list a.c-value:hover { color: var(--accent); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(241,243,245,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--steel-foreground);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(241,243,245,0.5); }
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-error { color: #ff9a9a; font-size: 0.82rem; margin-top: 0.3rem; display: none; }
.form-field.invalid .form-error { display: block; }
.form-status { margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-status.ok { display: block; color: #9be6a8; }
.form-status.err { display: block; color: #ff9a9a; }
/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Impressum / prose ---------- */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.1rem; margin-top: 2rem; }
.prose p { margin-top: 0.5rem; color: var(--muted-foreground); font-size: 0.92rem; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; background: var(--steel); color: var(--steel-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-about p { margin-top: 1rem; max-width: 20rem; font-size: 0.9rem; color: rgba(241,243,245,0.7); }
.footer-links { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.footer-links a, .footer-contact a { color: rgba(241,243,245,0.7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--steel-foreground); }
.footer-contact { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; color: rgba(241,243,245,0.7); }
.footer-contact li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact .ic { color: var(--accent); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(241,243,245,0.1); }
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.25rem 0; font-size: 0.78rem; color: rgba(241,243,245,0.6);
}
.footer-bottom-inner .links { display: flex; gap: 1rem; }
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 1rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 80rem;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-elevated);
}
.cookie-inner h2 { font-size: 0.9rem; }
.cookie-inner p { margin-top: 0.25rem; font-size: 0.88rem; color: var(--muted-foreground); }
.cookie-inner .underline { text-decoration: underline; }
.cookie-actions { margin-top: 1rem; display: flex; gap: 0.5rem; }
@media (min-width: 768px) {
  .cookie-inner { display: flex; align-items: center; gap: 1.5rem; }
  .cookie-inner .cookie-text { flex: 1; }
  .cookie-actions { margin-top: 0; flex-shrink: 0; }
}

.dialog-link { color: var(--accent); text-decoration: underline; cursor: pointer; }
