/* ============================================================
   3D Point F&W GmbH — Stylesheet
   style.css
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f6f8; color: #111; }

/* NAV */
nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; border-bottom: 1px solid #e8eaed; background: #fff; position: sticky; top: 0; z-index: 100; }
.nav-logo { cursor: pointer; }
.nav-logo img { height: 36px; display: block; }
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { color: #555; text-decoration: none; cursor: pointer; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.nav-links a:hover { color: #111; }
.nav-links a.active { color: #1a6fe8; border-bottom-color: #1a6fe8; font-weight: 500; }
.nav-cta { background: #1a6fe8; color: #fff; border: none; border-radius: 7px; padding: 9px 20px; font-size: 13px; cursor: pointer; font-family: inherit; }
.nav-cta:hover { background: #155cc4; }

/* PAGE SYSTEM */
.page { display: none; }
.page.active { display: block; }

/* SHARED */
.section-label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #1a6fe8; margin-bottom: 10px; font-weight: 500; }
.section-title { font-size: 28px; font-weight: 600; letter-spacing: -0.4px; color: #0d0f14; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: #777; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: #eef4ff; border: 1px solid #c7d9f8; border-radius: 20px; padding: 5px 14px; font-size: 12px; color: #1a6fe8; margin-bottom: 26px; width: fit-content; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #1a6fe8; }
.btn-primary { background: #1a6fe8; color: #fff; border: none; border-radius: 8px; padding: 13px 26px; font-size: 14px; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: #155cc4; }
.btn-secondary { background: transparent; color: #333; border: 1px solid #d0d4db; border-radius: 8px; padding: 13px 26px; font-size: 14px; cursor: pointer; font-family: inherit; }
.btn-secondary:hover { background: #f5f6f8; }

/* ===================== HOME ===================== */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: #fff; border-bottom: 1px solid #e8eaed; } .hero-right { min-height: 520px; }
.hero-left { padding: 72px 48px 64px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 42px; font-weight: 600; line-height: 1.13; letter-spacing: -0.8px; color: #0d0f14; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #1a6fe8; }
.hero-desc { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 36px; max-width: 440px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid #eaecef; }
.stat-val { font-size: 22px; font-weight: 600; color: #0d0f14; }
.stat-label { font-size: 11px; color: #999; margin-top: 3px; }
.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.hero-right-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.1) 30%, transparent 55%); }

.home-process { padding: 64px 48px; background: #f5f6f8; border-bottom: 1px solid #e8eaed; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e2e5ea; margin-top: 40px; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.step { background: #fff; padding: 28px 24px; }
.step-num { font-size: 11px; color: #1a6fe8; margin-bottom: 14px; font-weight: 600; letter-spacing: 0.5px; }
.step h3 { font-size: 14px; font-weight: 600; color: #0d0f14; margin-bottom: 8px; }
.step p { font-size: 13px; color: #777; line-height: 1.65; }

.home-materials { padding: 64px 48px; background: #fff; border-bottom: 1px solid #e8eaed; }
.mat-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.mat-card { background: #f8f9fb; border: 1px solid #e8eaed; border-radius: 12px; padding: 26px; transition: border-color 0.2s, box-shadow 0.2s; cursor: pointer; }
.mat-card:hover { border-color: #a8c4f5; box-shadow: 0 2px 12px rgba(26,111,232,0.08); }
.mat-dot { width: 32px; height: 32px; border-radius: 8px; margin-bottom: 14px; }
.mat-card h3 { font-size: 15px; font-weight: 600; color: #0d0f14; margin-bottom: 7px; }
.mat-card p { font-size: 13px; color: #666; line-height: 1.65; }
.mat-tag { display: inline-block; background: #eef4ff; border: 1px solid #c7d9f8; border-radius: 4px; padding: 3px 9px; font-size: 11px; color: #1a6fe8; margin-top: 14px; font-weight: 500; }

.home-usp { background: #eef4ff; border-top: 1px solid #c7d9f8; border-bottom: 1px solid #c7d9f8; padding: 64px 48px; }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.usp-item { display: flex; gap: 16px; }
.usp-icon { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #c7d9f8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; box-shadow: 0 1px 4px rgba(26,111,232,0.1); }
.usp-item h4 { font-size: 14px; font-weight: 600; color: #0d0f14; margin-bottom: 6px; }
.usp-item p { font-size: 13px; color: #555; line-height: 1.65; }

.home-cta { padding: 80px 48px; text-align: center; background: #fff; }
.home-cta h2 { font-size: 34px; font-weight: 600; color: #0d0f14; margin-bottom: 14px; letter-spacing: -0.5px; }
.home-cta p { font-size: 16px; color: #777; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; }
.cta-note { margin-top: 20px; font-size: 12px; color: #aaa; }

/* ===================== LEISTUNGEN ===================== */
.page-hero { background: #fff; border-bottom: 1px solid #e8eaed; padding: 64px 48px; }
.page-hero h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.6px; color: #0d0f14; margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: #666; line-height: 1.7; max-width: 600px; }

.verfahren-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.verfahren-card { background: #fff; border: 1px solid #e8eaed; border-radius: 14px; overflow: hidden; }
.verfahren-header { padding: 28px 28px 20px; border-bottom: 1px solid #f0f1f4; }
.verfahren-badge { display: inline-block; background: #eef4ff; color: #1a6fe8; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; letter-spacing: 0.5px; }
.verfahren-card h3 { font-size: 20px; font-weight: 600; color: #0d0f14; margin-bottom: 8px; }
.verfahren-card .vc-desc { font-size: 14px; color: #666; line-height: 1.65; }
.verfahren-body { padding: 24px 28px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f6f8; font-size: 13px; }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: #888; }
.spec-val { color: #0d0f14; font-weight: 500; }
.verfahren-footer { padding: 20px 28px; background: #f8f9fb; border-top: 1px solid #f0f1f4; }

.anwendungen { padding: 64px 48px; background: #f5f6f8; }
.anw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.anw-card { background: #fff; border: 1px solid #e8eaed; border-radius: 10px; padding: 22px; }
.anw-icon { font-size: 24px; margin-bottom: 12px; }
.anw-card h4 { font-size: 14px; font-weight: 600; color: #0d0f14; margin-bottom: 6px; }
.anw-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* ===================== MATERIALIEN ===================== */
.mat-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mat-full-card { background: #fff; border: 1px solid #e8eaed; border-radius: 14px; overflow: hidden; }
.mat-full-header { padding: 24px 24px 16px; }
.mat-color-bar { height: 4px; border-radius: 2px; margin-bottom: 18px; }
.mat-full-card h3 { font-size: 17px; font-weight: 600; color: #0d0f14; margin-bottom: 6px; }
.mat-full-card .mat-sub { font-size: 13px; color: #888; margin-bottom: 12px; }
.mat-full-card .mat-desc { font-size: 13px; color: #555; line-height: 1.65; }
.mat-full-body { padding: 0 24px 24px; }
.mat-prop { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f6f8; font-size: 12px; }
.mat-prop:last-child { border-bottom: none; }
.mat-prop-key { color: #999; }
.mat-prop-val { font-weight: 500; color: #333; }
.mat-stars { color: #1a6fe8; }
.mat-einsatz { padding: 16px 24px; background: #f8f9fb; border-top: 1px solid #f0f1f4; font-size: 12px; color: #888; }
.mat-einsatz strong { color: #0d0f14; display: block; margin-bottom: 4px; font-size: 12px; }

/* ===================== ÜBER UNS ===================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-bottom: 1px solid #e8eaed; }
.about-text { padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; }
.about-text h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.6px; color: #0d0f14; margin-bottom: 20px; }
.about-text p { font-size: 16px; color: #555; line-height: 1.75; margin-bottom: 16px; }
.about-img { position: relative; overflow: hidden; min-height: 400px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.about-zahlen { padding: 56px 48px; background: #eef4ff; border-bottom: 1px solid #c7d9f8; }
.zahlen-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #c7d9f8; border-radius: 12px; overflow: hidden; margin-top: 36px; }
.zahl-item { background: #fff; padding: 32px 24px; text-align: center; }
.zahl-val { font-size: 36px; font-weight: 700; color: #1a6fe8; margin-bottom: 6px; letter-spacing: -1px; }
.zahl-label { font-size: 13px; color: #777; }

.team-section { padding: 64px 48px; background: #fff; border-bottom: 1px solid #e8eaed; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.team-card { background: #f8f9fb; border: 1px solid #e8eaed; border-radius: 14px; padding: 28px 24px; text-align: center; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 600; color: #fff; }
.team-card h4 { font-size: 15px; font-weight: 600; color: #0d0f14; margin-bottom: 4px; }
.team-card .team-role { font-size: 13px; color: #1a6fe8; margin-bottom: 10px; font-weight: 500; }
.team-card p { font-size: 13px; color: #777; line-height: 1.6; }

.about-maschinen { padding: 64px 48px; background: #f5f6f8; }
.masch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.masch-card { background: #fff; border: 1px solid #e8eaed; border-radius: 12px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.masch-icon { width: 44px; height: 44px; border-radius: 10px; background: #eef4ff; border: 1px solid #c7d9f8; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.masch-card h4 { font-size: 14px; font-weight: 600; color: #0d0f14; margin-bottom: 4px; }
.masch-card p { font-size: 13px; color: #777; line-height: 1.55; }
.masch-tag { display: inline-block; font-size: 11px; color: #1a6fe8; background: #eef4ff; padding: 2px 8px; border-radius: 4px; margin-top: 8px; font-weight: 500; }

/* ===================== KONTAKT ===================== */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-bottom: 1px solid #e8eaed; }
.kontakt-left { padding: 64px 48px; border-right: 1px solid #e8eaed; }
.kontakt-left h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.5px; color: #0d0f14; margin-bottom: 14px; }
.kontakt-left p { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 40px; }
.kontakt-info { display: flex; flex-direction: column; gap: 20px; }
.kontakt-row { display: flex; gap: 16px; align-items: flex-start; }
.kontakt-icon { width: 40px; height: 40px; border-radius: 10px; background: #eef4ff; border: 1px solid #c7d9f8; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.kontakt-row h4 { font-size: 13px; font-weight: 600; color: #0d0f14; margin-bottom: 3px; }
.kontakt-row p { font-size: 14px; color: #555; }
.kontakt-row a { color: #1a6fe8; text-decoration: none; font-size: 14px; }
.oeffnung { margin-top: 36px; padding: 20px 24px; background: #f8f9fb; border: 1px solid #e8eaed; border-radius: 10px; }
.oeffnung h4 { font-size: 13px; font-weight: 600; color: #0d0f14; margin-bottom: 12px; }
.oeff-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #f0f1f4; }
.oeff-row:last-child { border-bottom: none; }
.oeff-day { color: #888; }
.oeff-time { color: #333; font-weight: 500; }

.kontakt-right { padding: 64px 48px; background: #f8f9fb; }
.kontakt-right h2 { font-size: 22px; font-weight: 600; color: #0d0f14; margin-bottom: 6px; }
.kontakt-right .form-sub { font-size: 14px; color: #888; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 6px; letter-spacing: 0.3px; }
input, textarea, select { width: 100%; padding: 10px 14px; border: 1px solid #d8dbe0; border-radius: 8px; font-size: 14px; font-family: inherit; color: #111; background: #fff; outline: none; transition: border-color 0.15s; }
input:focus, textarea:focus, select:focus { border-color: #1a6fe8; box-shadow: 0 0 0 3px rgba(26,111,232,0.1); }
textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 8px; padding: 13px; font-size: 14px; }

/* ===================== ANGEBOTSANFRAGE ===================== */
.angebot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding: 48px; background: #f5f6f8; }
.angebot-main { display: flex; flex-direction: column; gap: 20px; }
.angebot-card { background: #fff; border: 1px solid #e8eaed; border-radius: 14px; padding: 28px; }
.angebot-card h3 { font-size: 16px; font-weight: 600; color: #0d0f14; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.step-circle { width: 26px; height: 26px; border-radius: 50%; background: #1a6fe8; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.upload-zone { border: 2px dashed #d0d4db; border-radius: 10px; padding: 40px; text-align: center; background: #f8f9fb; transition: border-color 0.2s; cursor: pointer; }
.upload-zone:hover { border-color: #1a6fe8; background: #f0f5ff; }
.upload-icon { font-size: 32px; margin-bottom: 12px; }
.upload-zone h4 { font-size: 15px; font-weight: 600; color: #0d0f14; margin-bottom: 6px; }
.upload-zone p { font-size: 13px; color: #888; margin-bottom: 16px; }
.upload-formats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.format-tag { background: #eef4ff; border: 1px solid #c7d9f8; color: #1a6fe8; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.material-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mat-option { border: 1px solid #e8eaed; border-radius: 8px; padding: 14px 12px; cursor: pointer; transition: all 0.15s; text-align: center; }
.mat-option:hover { border-color: #1a6fe8; background: #f0f5ff; }
.mat-option.selected { border-color: #1a6fe8; background: #eef4ff; }
.mat-option-name { font-size: 13px; font-weight: 600; color: #0d0f14; margin-bottom: 2px; }
.mat-option-sub { font-size: 11px; color: #999; }
.qty-row { display: flex; gap: 12px; align-items: flex-end; }
.qty-row .form-group { flex: 1; margin-bottom: 0; }
.angebot-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: #fff; border: 1px solid #e8eaed; border-radius: 14px; padding: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; color: #0d0f14; margin-bottom: 14px; }
.info-row { font-size: 13px; display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { flex-shrink: 0; }
.info-text { color: #666; line-height: 1.55; }
.info-text strong { color: #0d0f14; display: block; margin-bottom: 1px; }
.sidebar-blue { background: #eef4ff; border-color: #c7d9f8; }

/* FOOTER */
footer { background: #f0f1f4; border-top: 1px solid #e0e3e8; padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo img { height: 28px; opacity: 0.55; }
.footer-links { display: flex; gap: 16px; font-size: 12px; color: #aaa; white-space: nowrap; }

/* ── Navigation active state ──────────────────────────────── */
nav a.active { color: #1a6fe8; border-bottom-color: #1a6fe8; font-weight: 500; }
.nav-cta { text-decoration: none; display: inline-block; }

/* ── AGB-spezifisch ── */
.agb-hero {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 56px 48px 48px;
}
.agb-hero h1 {
  font-size: 36px;
  font-weight: 600;
  color: #0d0f14;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.agb-meta {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 28px;
}
.agb-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
.toc-box {
  background: #eef4ff;
  border: 1px solid #c7d9f8;
  border-left: 4px solid #1a6fe8;
  border-radius: 10px;
  padding: 28px 32px;
  margin: 40px 0;
}
.toc-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a6fe8;
  font-weight: 600;
  margin-bottom: 14px;
}
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
  list-style: none;
  counter-reset: toc;
}
.toc-grid li {
  counter-increment: toc;
  font-size: 13px;
  color: #333;
}
.toc-grid li::before {
  content: counter(toc) ". ";
  color: #1a6fe8;
  font-weight: 600;
  font-size: 12px;
  margin-right: 4px;
}
.toc-grid a {
  color: #333;
  text-decoration: none;
}
.toc-grid a:hover { color: #1a6fe8; text-decoration: underline; }

.agb-section {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.agb-section-header {
  padding: 20px 28px;
  border-bottom: 1px solid #f0f1f4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f9fb;
}
.agb-num {
  font-size: 12px;
  font-weight: 700;
  color: #1a6fe8;
  background: #eef4ff;
  border: 1px solid #c7d9f8;
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
}
.agb-section-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: #0d0f14;
  margin: 0;
}
.agb-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agb-clause {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 12px;
  font-size: 14px;
  line-height: 1.75;
}
.agb-clause-num {
  font-size: 12px;
  font-weight: 600;
  color: #1a6fe8;
  padding-top: 2px;
  white-space: nowrap;
}
.agb-clause p {
  color: #444;
  margin: 0;
}
.agb-clause ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
  color: #444;
}
.agb-clause ul li {
  margin-bottom: 4px;
}
.badge-new {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #1a6fe8;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.badge-revised {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #6b7280;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.agb-new {
  background: #f0f9ff;
  border-color: #bae6fd;
}
.agb-new .agb-section-header {
  background: #e0f2fe;
  border-bottom-color: #bae6fd;
}
.legal-notice-box {
  background: #fff8ec;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 20px 28px;
  margin-top: 32px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.7;
}
.back-bar {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding: 12px 48px;
  font-size: 13px;
}
.back-bar a {
  color: #1a6fe8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ============================================================
   RESPONSIVE — Mobile & Tablet
   Breakpoints: 768px (Tablet), 480px (Smartphone)
   ============================================================ */

/* ── Hamburger Button (nur sichtbar auf Mobil) ───────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Tablet (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {

  /* Navigation */
  nav { padding: 14px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-links a.active { border-left-color: #1a6fe8; }
  .nav-links a:hover { background: #f5f6f8; }

  /* Abstände allgemein */
  .hero, .home-process, .home-materials, .home-usp,
  .home-cta, .page-hero, .anwendungen, .about-zahlen,
  .team-section, .about-maschinen, .about-intro { padding: 40px 24px; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 40px 24px 32px; }
  .hero h1 { font-size: 30px; }
  .hero-right { display: none; } /* Bild auf Mobil ausblenden */
  .hero-stats { flex-wrap: wrap; gap: 24px; }

  /* Grids → 2 Spalten */
  .steps { grid-template-columns: 1fr 1fr; }
  .mat-grid-3 { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .anw-grid { grid-template-columns: 1fr 1fr; }
  .mat-full-grid { grid-template-columns: 1fr 1fr; }
  .verfahren-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-img { min-height: 240px; }
  .zahlen-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .masch-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-left { border-right: none; border-bottom: 1px solid #e8eaed; padding: 32px 24px; }
  .kontakt-right { padding: 32px 24px; }
  .angebot-grid { grid-template-columns: 1fr; padding: 24px; }
  .material-selector { grid-template-columns: 1fr 1fr; }

  /* CTA */
  .home-cta { padding: 56px 24px; }
  .home-cta h2 { font-size: 26px; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* Footer */
  footer { padding: 20px 24px; flex-direction: column; gap: 14px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* AGB / Datenschutz / Impressum */
  .agb-wrap { padding: 0 20px 60px; }
  .agb-hero { padding: 36px 20px 28px; }
  .toc-grid { grid-template-columns: 1fr; }
  .back-bar { padding: 12px 20px; }
}

/* ── Smartphone (≤ 480px) ─────────────────────────────────── */
@media (max-width: 480px) {

  /* Abstände noch kompakter */
  .hero-left, .page-hero,
  .home-process, .home-materials, .home-usp,
  .anwendungen, .about-zahlen, .team-section,
  .about-maschinen, .about-text { padding: 28px 16px; }

  .hero h1 { font-size: 24px; }
  .page-hero h1 { font-size: 26px; }
  .section-title { font-size: 22px; }
  .home-cta h2 { font-size: 22px; }

  /* Alle Grids → 1 Spalte */
  .steps { grid-template-columns: 1fr; }
  .mat-grid-3 { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .anw-grid { grid-template-columns: 1fr; }
  .mat-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .zahlen-grid { grid-template-columns: 1fr 1fr; }
  .material-selector { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Buttons */
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .hero-btns { flex-direction: column; }

  footer { padding: 16px; }
  nav { padding: 12px 16px; }
  .angebot-grid { padding: 16px; }
  .kontakt-left, .kontakt-right { padding: 24px 16px; }
}


/* ── spritzguss.html — Inline-Grid-Overrides für Mobil ────── */
@media (max-width: 768px) {
  /* Vergleichstabellen-Grids: 3-spaltig → 1-spaltig */
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* 2fr 1fr 1fr Tabellenkopf → 1 Spalte */
  [style*="grid-template-columns:2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Sections mit 48px Padding */
  section[style*="padding:64px 48px"],
  section[style*="padding: 64px 48px"] {
    padding: 36px 20px !important;
  }
  /* Vorteil-Karten: 3-spaltig → 1-spaltig */
  [style*="grid-template-columns:repeat(3,1fr);gap:20px"],
  [style*="grid-template-columns:repeat(3,1fr);gap:14px"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  section[style*="padding"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
