/* ===========================================================
   Eckhardt Security & Veranstaltungsservice UG
   Stylesheet zum Relaunch — hell/seriös mit Amber-Akzent
   =========================================================== */

/* --- Schriften: zum Selbsthosten (DSGVO-konform, keine externen Requests)
   Lege die woff2-Dateien in den Ordner /fonts/ (siehe fonts/README.txt).
   Solange sie fehlen, greift automatisch der System-Font-Stack.          --- */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fafaf8;
  --bg-alt: #f1efe9;
  --card: #ffffff;
  --ink: #14171a;
  --ink-2: #2a2f35;
  --ink-3: #3a4149;
  --muted: #4e565e;
  --muted-2: #5b646d;
  --line: rgba(20, 23, 26, 0.1);
  --line-strong: rgba(20, 23, 26, 0.18);
  --amber: #f2a33c;
  --amber-ink: #a2610a;
  --amber-dark: #7a4606;

  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--amber-ink);
}
a:hover {
  color: var(--amber-dark);
}

:focus-visible {
  outline: 3px solid var(--amber-ink);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus {
  left: 0;
}

/* --- Topbar --------------------------------------------------- */

.topbar {
  background: var(--amber);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar .sep {
  opacity: 0.45;
}

/* --- Kopfzeile ------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.logo-wort {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.logo-wort span {
  color: var(--amber-ink);
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  font-weight: 600;
}

.nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
}
.nav a:hover {
  color: var(--amber-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Buttons -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-amber {
  background: var(--amber);
  color: var(--ink);
}
.btn-amber:hover {
  background: #e29325;
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-klein {
  min-height: 48px;
  font-size: 15px;
  padding: 0 22px;
}

/* --- Abschnitte ----------------------------------------------- */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.section-alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--amber-ink);
  font-weight: 600;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.eyebrow-plain::before {
  display: none;
}

.section-kopf {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 44px;
}
.section-kopf h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
}
.section-kopf p {
  color: var(--muted);
  font-size: 17px;
}

/* --- Hero ----------------------------------------------------- */

.hero {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-text {
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-bild {
  flex: 1 1 420px;
}

.kennzahlen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.kennzahl strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--amber-ink);
}
.kennzahl span {
  font-size: 13px;
  color: var(--muted-2);
}

/* --- Bildplatzhalter (vor dem Einsetzen echter Fotos) --------- */

.platzhalter {
  border: 1px dashed rgba(162, 97, 10, 0.45);
  border-radius: var(--radius);
  background: var(--card);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}
.platzhalter b {
  font-size: 14px;
  color: var(--amber-ink);
}
.platzhalter small {
  font-size: 12px;
  color: var(--muted-2);
}
.platzhalter-flach {
  min-height: 240px;
}
.platzhalter-rund {
  min-height: 0;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 0;
  font-size: 11px;
}

/* --- Karten / Raster ------------------------------------------ */

.raster-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.raster-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.karte {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.karte h3 {
  font-weight: 700;
  font-size: 20px;
}
.karte p {
  color: var(--muted);
  font-size: 15px;
}
.karte svg {
  color: var(--amber-ink);
}

.schritt {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: 4px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.schritt-nr {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: rgba(162, 97, 10, 0.55);
}
.schritt h3 {
  font-weight: 700;
  font-size: 20px;
}
.schritt p {
  color: var(--muted);
  font-size: 15px;
}

.hinweis {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid rgba(162, 97, 10, 0.35);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hinweis p {
  flex-grow: 1;
  font-size: 17px;
  color: var(--ink-2);
  min-width: 260px;
}

/* --- Unternehmen / Zeitleiste --------------------------------- */

.unternehmen-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}
.unternehmen-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.unternehmen-intro h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
}
.unternehmen-intro p {
  color: var(--muted);
}

.zeitleiste {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zeitleiste li {
  display: grid;
  grid-template-columns: 80px 1px 1fr;
  gap: 22px;
  padding-bottom: 26px;
}
.zeitleiste li:last-child {
  padding-bottom: 0;
}
.zeit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--amber-ink);
  padding-top: 1px;
}
.linie {
  background: var(--line-strong);
  position: relative;
}
.linie::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}
.zeitleiste p {
  color: var(--ink-2);
}
.berufe {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.berufe li {
  display: block;
  padding: 7px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  color: var(--ink-3);
}

/* --- Team ----------------------------------------------------- */

.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.person-daten {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.person h3 {
  font-weight: 700;
  font-size: 21px;
}
.person .rolle {
  font-size: 14px;
  color: var(--amber-ink);
  font-weight: 600;
}
.person a {
  text-decoration: none;
  color: var(--ink-3);
  font-size: 15px;
}
.person a:hover {
  color: var(--amber-dark);
}

/* --- Kontakt -------------------------------------------------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontakt-intro h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
}
.kontakt-intro > p {
  color: var(--muted);
}

.kontaktliste {
  margin-top: 8px;
}
.kontaktzeile {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.kontaktzeile:last-child {
  border-bottom: 1px solid var(--line);
}
.kontaktzeile svg {
  color: var(--amber-ink);
  flex-shrink: 0;
  margin-top: 3px;
}
.kontaktzeile .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 3px;
}
.kontaktzeile .gross {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}
.kontaktzeile .mittel {
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.kontaktzeile .klein {
  font-size: 14px;
  color: var(--muted-2);
}

/* --- Formular ------------------------------------------------- */

.formular {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.formular h3 {
  font-weight: 700;
  font-size: 25px;
}
.feld-reihe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.feld {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feld label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.feld input,
.feld textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 13px 14px;
  width: 100%;
}
.feld input {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}
.feld textarea {
  resize: vertical;
  min-height: 120px;
}
.feld input::placeholder,
.feld textarea::placeholder {
  color: #7a838c;
}
.feld input:focus,
.feld textarea:focus {
  border-color: var(--amber-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 163, 60, 0.28);
}

.checkzeile {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.checkzeile input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--amber-ink);
  flex-shrink: 0;
}
.checkzeile label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.honigtopf {
  position: absolute;
  left: -9999px;
}

.meldung {
  display: none;
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 15px;
}
.meldung.ok {
  background: #eef6ec;
  border: 1px solid #b6d3ad;
  color: #23481c;
}
.meldung.fehler {
  background: #fbeceb;
  border: 1px solid #e0b4b0;
  color: #6b1f19;
}
.meldung.sichtbar {
  display: block;
}

/* --- Fuß ------------------------------------------------------ */

.fuss {
  background: var(--bg-alt);
  padding: 56px 0 26px;
}
.fuss-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  margin-bottom: 32px;
}
.fuss-marke {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fuss-marke p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-2);
}
.fuss-spalte {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fuss-spalte .titel {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  font-weight: 600;
  text-transform: uppercase;
}
.fuss-spalte a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-3);
}
.fuss-spalte a:hover {
  color: var(--amber-dark);
}
.fuss-unten {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}

/* --- Rechtstexte (Impressum / Datenschutz) -------------------- */

.rechtstext {
  padding: 72px 0 96px;
}
.rechtstext .wrap {
  max-width: 820px;
}
.rechtstext h1 {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 28px;
}
.rechtstext h2 {
  font-weight: 700;
  font-size: 22px;
  margin: 36px 0 12px;
}
.rechtstext h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0 8px;
}
.rechtstext p,
.rechtstext ul {
  color: var(--ink-2);
  margin-bottom: 14px;
}
.rechtstext ul {
  padding-left: 22px;
}
.rechtstext li {
  margin-bottom: 6px;
}
.todo {
  background: #fdf3e2;
  border: 1px solid rgba(162, 97, 10, 0.4);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 15px;
  color: #5b3a06;
}

/* --- Breakpoints ---------------------------------------------- */

@media (max-width: 1080px) {
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 64px 0;
  }
  .hero .wrap {
    gap: 40px;
  }
  .raster-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .unternehmen-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .formular {
    padding: 28px;
  }
}

@media (max-width: 860px) {
  .header .wrap {
    min-height: 72px;
    gap: 12px;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.offen {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav-toggle {
    display: flex;
    order: 3;
  }
  .header .btn {
    order: 2;
  }
  .hero .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  /* In der Spalte wirkt flex-basis auf die Hoehe — sonst entstehen Luecken */
  .hero-text,
  .hero-bild {
    flex: 0 0 auto;
  }
  .platzhalter {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding: 0 20px;
  }
  .section {
    padding: 56px 0;
  }
  .topbar .wrap {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .topbar .sep,
  .topbar .zusatz {
    display: none;
  }
  .logo-sub {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
  .header .btn span {
    display: none;
  }
  .header .btn {
    padding: 0;
    width: 46px;
    min-height: 46px;
  }
  .raster-3,
  .raster-2,
  .feld-reihe {
    grid-template-columns: 1fr;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .kennzahlen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-kopf {
    margin-bottom: 28px;
  }
  .zeitleiste li {
    grid-template-columns: 2px 1fr;
    gap: 14px;
  }
  .zeitleiste .zeit {
    grid-column: 2;
    order: -1;
    font-size: 13px;
  }
  .zeitleiste .linie {
    grid-row: span 2;
  }
  .person {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .platzhalter-rund {
    width: 88px;
    height: 88px;
  }
  .fuss-grid {
    gap: 32px;
  }
  .fuss-marke {
    width: 100%;
  }
}
