/* ============================================================
   Schleiftechnik Salzwedel — Stylesheet
   Farbwelt der PFS-Gruppe: Dunkelblau + Gold auf hellem Grund
   ============================================================ */

:root {
  --blau-tief: #071b3b;      /* dunkelstes Blau (Hero-Verlauf) */
  --blau: #1f3a4a;           /* Hauptblau der PFS-Gruppe */
  --blau-mittel: #2e4f5f;    /* Sekundärblau */
  --gold: #fec43e;           /* PFS-Akzentgold */
  --gold-dunkel: #e0a416;
  --hg: #f4f6f8;             /* heller Seitenhintergrund */
  --flaeche: #ffffff;
  --rand: #dfe4e9;
  --text: #1c2430;
  --text2: #46525f;
  --text3: #6b7684;
  --hell-auf-blau: #c8d6e0;
  --schatten: 0 2px 14px rgba(7, 27, 59, 0.08);
}

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

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--hg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; }

.innen { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--flaeche);
  border-bottom: 1px solid var(--rand);
  box-shadow: 0 1px 6px rgba(7, 27, 59, 0.06);
}
.kopf-innen {
  max-width: 1120px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke-logo { height: 48px; width: auto; flex-shrink: 0; }
.marke-name { line-height: 1.15; }
.marke-name b { display: block; font-size: 20px; font-weight: 800; color: var(--blau); letter-spacing: 0.3px; }
.marke-name span { font-size: 12px; color: var(--text3); letter-spacing: 1.6px; text-transform: uppercase; }

.hauptnav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.hauptnav a {
  text-decoration: none; color: var(--text2); font-size: 16px; font-weight: 600;
  padding: 10px 14px; border-radius: 8px;
}
.hauptnav a:hover { color: var(--blau); background: var(--hg); }
.hauptnav a.nav-cta {
  background: var(--gold); color: var(--blau-tief); font-weight: 700;
  padding: 10px 20px; border-radius: 999px; margin-left: 8px;
}
.hauptnav a.nav-cta:hover { background: var(--gold-dunkel); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blau-tief) 0%, var(--blau) 55%, var(--blau-mittel) 100%);
  color: #ffffff;
  padding: 84px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 60px solid rgba(254, 196, 62, 0.10);
  pointer-events: none;
}
.hero .innen { position: relative; }
.hero-dachzeile {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.15; font-weight: 800; max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-text { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--hell-auf-blau); max-width: 680px; }
.hero-knoepfe { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.knopf-gold, .knopf-hell {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 14px 30px; border-radius: 999px;
}
.knopf-gold { background: var(--gold); color: var(--blau-tief); }
.knopf-gold:hover { background: var(--gold-dunkel); }
.knopf-hell { border: 2px solid rgba(255,255,255,0.55); color: #ffffff; }
.knopf-hell:hover { border-color: var(--gold); color: var(--gold); }

.hero-punkte { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; list-style: none; }
.hero-punkte li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--hell-auf-blau); }
.hero-punkte .haken {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(254,196,62,0.18);
  color: var(--gold); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}

/* ---------- Abschnitte ---------- */
section { padding: 76px 0; }
section.hell { background: var(--flaeche); }
.dachzeile {
  font-size: 13.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-dunkel); margin-bottom: 10px;
}
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; color: var(--blau); line-height: 1.2; }
.einleitung { margin-top: 14px; color: var(--text2); max-width: 760px; font-size: 18px; }

/* Leistungs-Karten */
.karten { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px;
  padding: 30px 28px; box-shadow: var(--schatten);
  display: flex; flex-direction: column; gap: 12px;
  border-top: 4px solid var(--gold);
}
section.hell .karte { background: var(--hg); }
.karte-symbol {
  width: 58px; height: 58px; border-radius: 12px; background: var(--blau);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.karte-symbol svg { width: 32px; height: 32px; }
.karte h3 { font-size: 20px; font-weight: 700; color: var(--blau); }
.karte p { color: var(--text2); font-size: 16px; }
.karte ul { list-style: none; margin-top: 2px; }
.karte ul li { padding-left: 22px; position: relative; color: var(--text2); font-size: 15.5px; margin-bottom: 5px; }
.karte ul li::before { content: "▸"; position: absolute; left: 4px; color: var(--gold-dunkel); }

/* Ablauf */
.ablauf { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: schritt; }
.schritt {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px;
  padding: 28px 24px; box-shadow: var(--schatten); position: relative;
}
.schritt-nr {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  color: var(--blau-tief); font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.schritt h3 { font-size: 18.5px; font-weight: 700; color: var(--blau); margin-bottom: 8px; }
.schritt p { color: var(--text2); font-size: 15.5px; }

/* Tradition / Über uns */
.zweispaltig { margin-top: 42px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.zweispaltig .textspalte p { color: var(--text2); margin-bottom: 16px; }
.zweispaltig .textspalte p b { color: var(--text); }
.info-kasten {
  background: var(--blau); color: #ffffff; border-radius: 14px; padding: 34px 30px;
}
.info-kasten h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--gold); }
.info-kasten ul { list-style: none; }
.info-kasten li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.12); color: var(--hell-auf-blau); font-size: 16px; }
.info-kasten li:last-child { border-bottom: none; }
.info-kasten li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 800; }

/* Zeitstrahl Firmengeschichte */
.zeitstrahl-titel { margin-top: 56px; font-size: 21px; font-weight: 700; color: var(--blau); }
.zeitstrahl {
  margin-top: 24px; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0;
}
.zeitstrahl li { position: relative; padding: 34px 18px 0 0; }
.zeitstrahl li::before {
  content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 3px;
  background: var(--rand);
}
.zeitstrahl li:last-child::before { background: linear-gradient(to right, var(--rand), transparent); }
.zeitstrahl li::after {
  content: ""; position: absolute; top: 0; left: 0; width: 17px; height: 17px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--flaeche);
  box-shadow: 0 0 0 2px var(--gold);
}
.zeitstrahl .jahr { display: block; font-size: 18px; font-weight: 800; color: var(--blau); margin-bottom: 6px; }
.zeitstrahl li > span:last-child { font-size: 14.5px; color: var(--text2); line-height: 1.5; }
.zeitstrahl li:last-child .jahr { color: var(--gold-dunkel); }

@media (max-width: 700px) {
  .zeitstrahl { grid-template-columns: 1fr; }
  .zeitstrahl li { padding: 0 0 22px 34px; }
  .zeitstrahl li::before { top: 0; bottom: 0; left: 7px; right: auto; width: 3px; height: auto; }
  .zeitstrahl li:last-child::before { background: linear-gradient(to bottom, var(--rand), transparent); }
}

/* Kontakt */
.kontakt-raster { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.kontakt-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px;
  padding: 30px 28px; box-shadow: var(--schatten);
}
.kontakt-karte h3 { font-size: 18px; font-weight: 700; color: var(--blau); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.kontakt-karte p { color: var(--text2); font-size: 16.5px; }
.kontakt-karte a { color: var(--blau); font-weight: 700; text-decoration: none; font-size: 19px; }
.kontakt-karte a:hover { color: var(--gold-dunkel); }
.kontakt-hinweis { margin-top: 26px; color: var(--text3); font-size: 15px; }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--blau-tief), var(--blau)); color: #ffffff; padding: 60px 0; }
.cta-band .innen { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { color: #ffffff; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: var(--hell-auf-blau); margin-top: 6px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--blau-tief); color: var(--hell-auf-blau); padding: 46px 0 30px; font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.fuss h4 { color: #ffffff; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.fuss a { color: var(--hell-auf-blau); text-decoration: none; }
.fuss a:hover { color: var(--gold); }
.fuss ul { list-style: none; }
.fuss li { margin-bottom: 7px; }
.fuss-unten {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; color: #8fa2b3;
}

/* ---------- Unterseiten (Impressum/Datenschutz) ---------- */
.unterseite { padding: 60px 0 80px; max-width: 820px; }
.unterseite h1 { font-size: 32px; font-weight: 800; color: var(--blau); margin-bottom: 26px; }
.unterseite h2 { font-size: 21px; margin: 34px 0 10px; }
.unterseite p, .unterseite li { color: var(--text2); margin-bottom: 10px; }
.unterseite ul { padding-left: 22px; }
.zurueck { display: inline-block; margin-bottom: 26px; color: var(--blau); font-weight: 700; text-decoration: none; }
.zurueck:hover { color: var(--gold-dunkel); }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 66px; }
  section { padding: 56px 0; }
  .kopf-innen { gap: 10px; }
  .hauptnav { margin-left: 0; width: 100%; justify-content: flex-start; }
  .hauptnav a { padding: 8px 10px; font-size: 15px; }
}
