/* ============================================================
   ist.css — EIGENES, schlichtes Stylesheet für die Ist-Baseline
   Bildet die Anmutung der 16 Screenshots nach (helle Flächen,
   graue Bild-Platzhalter, Poppins, muted Terracotta-Akzent).
   Bewusst KEIN Bootstrap/Blocs und KEIN wireframe.css.
   Nach Abnahme gilt ist/ als eingefroren.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:            #ffffff;
  --band-grau:     #ececec;   /* volle graue Bänder / Zebra */
  --karte-fill:    #f6f6f6;   /* Karten-Füllung */
  --karte-rand:    #e3e3e3;   /* dünne Karten-/Trennlinie */
  --platzhalter:   #d6d6d6;   /* graue Bild-Platzhalterfläche */
  --platzhalter-ic:#bdbdbd;   /* Icon im Platzhalter */
  --text:          #2f2f2f;
  --text-muted:    #6f6f6f;
  --text-faint:    #9a9a9a;
  --akzent:        #c1664c;   /* muted Terracotta aus den Screenshots */
  --btn-grau:      #a9a9a9;
  --btn-dunkel:    #6f6f6f;   /* Ideensammlung-Button */
  --maxw:          1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

/* ---------- Umschalter (Projekt-Scaffold, nicht Teil des Ist) ---------- */
.umschalter {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 20px;
  background: #2f2f2f;
  color: #dcdcdc;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.umschalter__titel { margin: 0; font-weight: 600; color: #9a9a9a; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.umschalter a,
.umschalter span { text-decoration: none; padding: 2px 8px; border-radius: 3px; color: #cfcfcf; }
.umschalter a:hover { background: #454545; color: #fff; }
.umschalter .aktiv { background: #c1664c; color: #fff; font-weight: 600; }
.umschalter .inaktiv { color: #7d7d7d; }

/* ---------- Kopf-Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--karte-rand);
}
.nav__logo {
  font-weight: 700;
  font-size: 26px;
  color: #8a8a8a;
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 0 18px;
  list-style: none;
  padding: 0;
}
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nav__menu > li > a:hover { color: var(--akzent); }
.nav__dd::after { content: " ▾"; color: var(--text-muted); font-size: 12px; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--karte-rand);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  padding: 6px 0;
  display: none;
  list-style: none;
  margin: 6px 0 0;
  z-index: 50;
}
.nav__menu > li:hover .nav__sub { display: block; }
.nav__sub a {
  display: block;
  padding: 7px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}
.nav__sub a:hover { background: var(--band-grau); color: var(--akzent); }
.nav__lang { font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.nav__lang .aktiv { color: var(--text-muted); }
.nav__ideen {
  background: var(--btn-dunkel);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 3px;
  white-space: nowrap;
}
.nav__ideen:hover { background: #565656; }

/* ---------- Schwebender Schnellkontakt (wie im Ist rechts) ---------- */
.schnellkontakt {
  position: fixed;
  top: 150px;
  right: 0;
  z-index: 45;
  background: var(--akzent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.schnellkontakt:hover { background: #a9543d; }

/* ---------- Layout-Helfer ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.abschnitt { padding: 64px 0; }
.abschnitt--grau { background: var(--band-grau); }
.abschnitt--schmal { padding: 44px 0; }
.mittig { text-align: center; }

/* ---------- Typo-Bausteine ---------- */
.seiten-titel { font-size: 42px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.seiten-titel--zentriert { text-align: center; }
.subline { font-size: 18px; color: var(--text-muted); margin: 0 0 24px; font-weight: 400; }
.subline--zentriert { text-align: center; }
h2.akzent, .akzent-titel { color: var(--akzent); font-size: 30px; font-weight: 600; margin: 0 0 14px; }
.bold-sub { font-weight: 700; margin: 0 0 12px; }
.fliesstext { margin: 0 0 16px; }
.fliesstext--akzent { color: var(--akzent); font-weight: 600; }
.klein-label { font-size: 14px; color: var(--text-faint); margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--btn-grau);
  color: var(--text);
  text-decoration: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 3px;
  cursor: pointer;
}
.btn:hover { background: #9a9a9a; }
.btn--ausklapper::before { content: "▾ "; }

/* ---------- Graue Bild-Platzhalter ---------- */
.bild {
  background-color: var(--platzhalter);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' viewBox='0 0 120 96'%3E%3Crect x='2' y='2' width='116' height='92' rx='6' fill='none' stroke='%23bdbdbd' stroke-width='4'/%3E%3Ccircle cx='42' cy='34' r='11' fill='%23bdbdbd'/%3E%3Cpath d='M18 84 L54 46 L76 70 L90 56 L106 84 Z' fill='%23bdbdbd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  min-height: 260px;
  border-radius: 2px;
}

/* ---------- Start: Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(180deg, #8f8f8f 0%, #9c9c9c 60%, #8a8a8a 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 60px 40px;
  overflow: hidden;
}
.hero__panel {
  background: rgba(255,255,255,.78);
  padding: 24px 34px;
  max-width: 720px;
  text-align: center;
}
.hero__claim { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #4a4a4a; }
.hero__titel { margin: 0; font-size: 44px; font-weight: 500; color: #3a3a3a; line-height: 1.15; }

/* ---------- Karten-Raster (Start-Assets + Markt-Kacheln) ---------- */
.karten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.karten--2 { grid-template-columns: repeat(2, 1fr); }
.karten--3 { grid-template-columns: repeat(3, 1fr); }
.karte {
  background: #fff;
  border: 1px solid var(--karte-rand);
  border-radius: 2px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.karte--fill { background: var(--karte-fill); }
.karte__titel { color: var(--akzent); font-size: 22px; font-weight: 600; margin: 0 0 14px; text-align: center; }
.karte__sub { color: var(--akzent); font-weight: 700; text-align: center; margin: 0 0 16px; }
.karte__liste { margin: 0 0 18px; padding: 0; list-style: none; text-align: center; }
.karte__liste li { margin: 6px 0; }
.karte__text { margin: 0 0 18px; }
.karte__spacer { flex: 1; }
.karte .btn { align-self: stretch; text-align: center; }
.karten-label { font-size: 14px; color: var(--text-faint); margin: 0 0 18px; }

/* Kleiner Label-Text über den Markenkern-Karten */
.karte__eyebrow { font-size: 13px; color: var(--text-faint); text-align: center; margin: 0 0 6px; }

/* ---------- Split-Zeile (Text + Bild, Übersichtsseiten) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split__bild { min-height: 360px; }
.split--reverse .split__text { order: 2; }
.split--reverse .split__bild { order: 1; }
.split__titel { font-size: 34px; font-weight: 600; margin: 0 0 14px; }

/* ---------- Detailseite (Text links, Platzhalter-Strip rechts) ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.detail__strip {
  background: var(--platzhalter);
  border-radius: 2px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.detail__strip .bild { background-color: #cfcfcf; min-height: 220px; }

/* ---------- Markt: Datentabelle-Platzhalter ---------- */
.tabelle-ph {
  background: #fafafa;
  border: 1px solid var(--karte-rand);
  border-radius: 2px;
  min-height: 320px;
  background-image: repeating-linear-gradient(#fafafa 0 22px, #f0f0f0 22px 23px);
  position: relative;
}
.tabelle-ph::after {
  content: "Datentabelle — Platzhalter (lizenzpflichtiger Datenfeed)";
  position: absolute;
  top: 8px; left: 10px;
  font-size: 11px;
  color: var(--text-faint);
}
.chart-ph {
  min-height: 240px;
  border-radius: 2px;
}
.chart-ph--hell {
  background: #fbe9dc;
  background-image:
    linear-gradient(180deg, rgba(193,102,76,.10), rgba(193,102,76,.02)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0 1px, transparent 1px 40px);
}
.chart-ph--dunkel {
  background: #2f4a72;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 34px);
}

/* ---------- Login-Block (Markt) ---------- */
.login {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.login__feld { text-align: left; margin: 14px 0; }
.login__feld label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.login__feld input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  font-family: inherit;
  background: #fff;
}
.login__link { display: inline-block; font-size: 14px; color: var(--text-muted); margin: 6px 0 18px; }

/* ---------- Kontakt: Adressen + Notizen ---------- */
.adressen { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.adresse__titel { font-size: 26px; font-weight: 600; margin: 0 0 12px; }
.adresse__zeile { margin: 2px 0; }
.notiz { color: var(--akzent); margin: 22px 0 0; }
.notiz__titel { font-weight: 700; margin: 0 0 4px; }
.notiz ul { margin: 4px 0 0; padding-left: 20px; }

/* ---------- Team / Spezialisten ---------- */
.spezi__intro { margin: 0 0 8px; }
.spezi__link { display: inline-block; margin: 10px 0 24px; color: var(--text); text-decoration: underline; }
.team-liste { display: flex; flex-direction: column; gap: 26px; }
.team-person { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: start; }
.team-person__avatar {
  width: 90px; height: 90px;
  background: #cccccc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23cccccc'/%3E%3Ccircle cx='50' cy='38' r='18' fill='%23b3b3b3'/%3E%3Cpath d='M20 92 C20 68 80 68 80 92 Z' fill='%23b3b3b3'/%3E%3C/svg%3E");
  background-size: cover;
}
.team-person__name { font-weight: 700; margin: 0; }
.team-person__job { color: var(--text-muted); font-size: 14px; margin: 2px 0 6px; }
.team-person__desc { font-size: 14px; margin: 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.team-grid--gross .team-person__avatar { width: 100%; height: 300px; border-radius: 2px; }
.team-grid--gross .team-person { grid-template-columns: 1fr; }

/* ---------- Werte-Leiste (Start) ---------- */
.werte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center; }
.werte__icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  background: #1f1f1f;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border-radius: 4px;
}
.werte__titel { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.werte__text { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------- Zentrierte Info-Sektionen (Start) ---------- */
.info-zentriert { max-width: 780px; margin: 0 auto; text-align: center; }
.info-zentriert h2 { font-size: 40px; font-weight: 600; margin: 0 0 4px; }
.info-zentriert .subline { text-align: center; }

/* ---------- Ideensammlung ---------- */
.ideen-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ideen-spalte { background: #fff; border: 1px solid var(--karte-rand); border-radius: 2px; padding: 30px 30px 40px; }
.ideen-spalte--grau { background: var(--band-grau); border-color: transparent; }
.ideen-spalte h2 { font-size: 34px; font-weight: 600; margin: 0 0 8px; }
.ideen-spalte h2.akzent-titel { color: var(--akzent); }
.ideen-spalte h3 { font-size: 22px; font-weight: 500; margin: 26px 0 4px; }
.ideen-spalte h3:first-of-type { margin-top: 10px; }
.ideen-spalte p { margin: 0 0 6px; }
.ideen-spalte .rot-titel { color: var(--akzent); font-weight: 700; margin-top: 24px; }
.ideen-spalte .warum { font-weight: 700; margin: 4px 0; }
.ideen-check p { margin: 10px 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--band-grau);
  padding: 40px 0 28px;
  margin-top: 0;
}
.footer__logo { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.footer__links { text-align: center; margin: 16px 0 0; color: var(--text-muted); font-size: 14px; }
.footer__links a { text-decoration: none; margin: 0 8px; color: var(--text-muted); }
.footer__links a:hover { color: var(--akzent); }
.footer__unten {
  max-width: var(--maxw);
  margin: 22px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid #dcdcdc;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__unten a { text-decoration: underline; color: var(--text-muted); margin-left: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .karten, .karten--3 { grid-template-columns: 1fr 1fr; }
  .split, .detail, .adressen, .team-grid, .ideen-spalten { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__text { order: 1; }
  .split--reverse .split__bild { order: 2; }
  .werte { grid-template-columns: 1fr 1fr; }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav__menu { margin: 0; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .karten, .karten--2, .karten--3, .werte { grid-template-columns: 1fr; }
  .seiten-titel { font-size: 32px; }
  .hero__titel { font-size: 32px; }
  .footer__unten { flex-direction: column; gap: 8px; }
}
