/* =========================================================
   STARTFABRIK Landingpage – Styles (mobile first)
   Farben, Schriften und Formen nach den BALOLO Brand Guidelines
   ========================================================= */

/* ---------- Schriften (lokal, siehe fonts/LIESMICH.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Grundwerte ---------- */
:root {
  --schwarz: #000000;
  --weiss: #FFFFFF;
  --sand: #CBC0AC;
  --grau-1: #DCDCDC;
  --grau-2: #C1C1C1;
  --grau-3: #B1B1B1;
  --grau-4: #606060;
  --hellgrau: #F2F2F2;
  --dunkel-2: #1A1A1A;
  --text-grau: #333333;

  --schrift: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --rand: clamp(20px, 5vw, 72px);
  --platte-radius: clamp(20px, 3vw, 44px);
  --abstand: clamp(56px, 8vw, 120px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sand);
  color: var(--schwarz);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }

h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 820px;
}
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }

a { color: inherit; }
:focus-visible { outline: 3px solid #2B6CB0; outline-offset: 3px; }

/* Sprunglink für Tastatur-Nutzer */
.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--schwarz); color: var(--weiss);
  padding: 10px 16px; border-radius: 10px; z-index: 10;
}
.skip:focus { top: 12px; }

/* ---------- Bausteine ---------- */
.label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.label--sand { color: var(--sand); }
.label--grau { color: var(--grau-4); }

.btn {
  display: inline-flex; align-items: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 14px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn--dunkel { background: var(--schwarz); color: var(--weiss); }
.btn--hell { background: var(--weiss); color: var(--schwarz); }
.btn--rand-hell { border: 1px solid var(--grau-4); color: var(--weiss); }
.btn--rand-dunkel { border: 1px solid var(--schwarz); color: var(--schwarz); }
.kopf .btn { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.muster {
  max-width: 1392px; height: 36px;
  margin: clamp(16px, 2vw, 24px) auto 0;
  background: repeating-linear-gradient(135deg, var(--schwarz) 0 3px, transparent 3px 14px);
  opacity: .85;
}
.muster--hell {
  margin: 0; height: 28px; opacity: 1;
  background: repeating-linear-gradient(135deg, var(--grau-4) 0 3px, transparent 3px 14px);
}

/* ---------- Layout ---------- */
.kopf {
  max-width: 1360px; margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.kopf__logo { display: flex; align-items: center; min-height: 44px; }
.kopf__logo img { height: 36px; width: auto; }

.rahmen { padding: 0 clamp(8px, 2vw, 24px); }
.rahmen--unten { padding-top: clamp(16px, 2vw, 24px); }

.platte {
  max-width: 1392px; margin: 0 auto;
  border-radius: var(--platte-radius);
}
.platte--dunkel { background: var(--schwarz); color: var(--weiss); }
.platte--abstand { padding: clamp(40px, 7vw, 100px) var(--rand); }
.platte--unten {
  border-radius: var(--platte-radius) var(--platte-radius) 0 0;
  padding: clamp(40px, 7vw, 100px) var(--rand) 32px;
}

.abschnitt { padding: var(--abstand) var(--rand); }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--anschluss { padding-top: 0; }

.inhalt { max-width: 1240px; margin: 0 auto; }
.stapel { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.stapel--eng { gap: 18px; }
.stapel--eng .label { margin-bottom: 0; }
.stapel--weit { gap: clamp(40px, 6vw, 80px); }

.trennlinie { border-top: 1px solid var(--grau-1); padding-top: clamp(40px, 6vw, 80px); }

.zweispaltig { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); }
.zweispaltig__kopf { flex: 1 1 320px; min-width: 0; }
.zweispaltig__text { flex: 2 1 420px; min-width: 0; }
.zweispaltig > ul { flex: 2 1 460px; min-width: 0; }

.fliesstext { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.fliesstext p + p { margin-top: 18px; }
.fliesstext .label { margin: 18px 0 0; font-size: 14px; }

.kopfzeile {
  display: flex; flex-wrap: wrap; gap: 16px 48px;
  align-items: flex-end; justify-content: space-between;
}
.kopfzeile > div { flex: 1 1 320px; }
.kopfzeile__text { flex: 1 1 320px; max-width: 460px; font-size: 18px; color: var(--grau-4); }
.kopfzeile__text--hell { color: var(--grau-1); }

.raster { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.raster--schritte { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.raster--bereiche { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }

.gruppe { display: flex; flex-direction: column; gap: 14px; }
.gruppe > .label { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 6vw, 88px) clamp(20px, 5vw, 72px);
}
.hero__text {
  flex: 1 1 460px; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.hero__text .label { margin-bottom: 0; }
.hero__titel {
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1.04; font-weight: 700; letter-spacing: -0.02em;
}
.hero__intro { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--grau-1); max-width: 560px; }
.hero .buttons { padding-top: 8px; }
.hero__bild {
  flex: 1 1 380px; min-width: 0; width: 100%;
  height: clamp(320px, 40vw, 580px);
  object-fit: cover; object-position: 60% 45%;
  border-radius: clamp(18px, 2.4vw, 32px);
}

/* ---------- Karten & Kacheln ---------- */
.karte { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.karte--dunkel { background: var(--schwarz); color: var(--weiss); }
.karte__bild { width: 100%; height: 280px; object-fit: cover; }
.karte__text { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.karte__text h3 { font-size: 22px; letter-spacing: -0.01em; }
.karte__text p { font-size: 15px; line-height: 1.5; color: var(--grau-1); }

.kachel {
  background: var(--hellgrau); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.kachel p { font-size: 15px; line-height: 1.55; color: var(--text-grau); }
.kachel__nr { font-family: var(--mono); font-size: 14px; color: var(--grau-4); }
.kachel--rand { background: transparent; border: 1px solid var(--grau-2); }
.abschnitt--weiss .kachel--rand { border-color: var(--grau-1); }

.schritt {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--schwarz); color: var(--weiss);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px; margin-bottom: 8px;
}

/* ---------- Werte & Fakten ---------- */
.wert {
  background: var(--schwarz); color: var(--weiss);
  border-radius: 26px; padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.wert .label { margin-bottom: 0; }
.wert h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.wert p:last-child { font-size: 16px; line-height: 1.6; color: var(--grau-1); }

.fakten {
  display: grid; gap: 28px 32px; padding-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.fakten > div { border-top: 1px solid var(--schwarz); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.fakten dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-grau); }
.fakten dd { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }

/* ---------- Team ---------- */
.person { background: var(--dunkel-2); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: 50% 30%; }
.person figcaption { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.person__zitat { font-size: 17px; line-height: 1.5; }
.person__name { font-size: 14px; color: var(--grau-3); }

/* ---------- Jobs ---------- */
.bereich {
  background: var(--weiss); border-radius: 20px; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.bereich h3 { font-size: clamp(18px, 1.8vw, 21px); }
.bereich p { font-size: 15px; line-height: 1.5; color: var(--text-grau); }

/* ---------- Kontakt & Fuß ---------- */
.kontakt { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: center; }
.kontakt__text { flex: 2 1 420px; min-width: 0; }
.kontakt__titel { font-size: clamp(32px, 5vw, 72px); line-height: 1.05; }
.kontakt__karte {
  flex: 1 1 280px; min-width: 0;
  background: var(--dunkel-2); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.kontakt__karte .label { font-size: 12px; margin-bottom: 0; }
.kontakt__name { font-size: 19px; font-weight: 600; }
.kontakt__karte p:last-child { font-size: 15px; line-height: 1.5; color: var(--grau-3); }

.fuss {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--grau-3);
}
.fuss__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.fuss__links a { color: var(--grau-1); display: inline-flex; align-items: center; min-height: 44px; }
