/* KiNi Solutions – Marketing-Website
   Bewusst ohne externe Schriften, Skripte oder CDNs: alles kommt vom eigenen
   Server. Dadurch werden keine Daten an Dritte übertragen und es braucht
   kein Cookie-Banner (siehe Datenschutzerklärung). */

:root {
  --navy: #212a36;
  --navy-light: #2d3846;
  --orange: #e8641e;
  --orange-dark: #c9520f;
  --green: #0b6e4f;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e3e7ec;
  --text: #1f2733;
  --text-light: #5b6675;
  --radius: 14px;
  --shadow: 0 2px 8px rgba(33, 42, 54, 0.06);
  --shadow-lg: 0 18px 48px rgba(33, 42, 54, 0.14);
}

* { box-sizing: border-box; }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.schmal { max-width: 860px; }

/* --- Wortmarke --- */
.wortmarke { font-weight: 800; letter-spacing: -0.01em; }
.wortmarke span { color: var(--orange); }

/* --- Navigation --- */
.nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a.brand { color: var(--navy); text-decoration: none; font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--orange); }
.nav-links a.btn { color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 13px 26px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn.hell { background: #fff; color: var(--navy); }
.btn.hell:hover { background: #f0f2f5; }
.btn.rahmen { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn.rahmen:hover { background: rgba(255, 255, 255, 0.12); }
.btn.klein { padding: 9px 18px; font-size: 14px; }
.btn.grau { background: var(--navy); }
.btn.grau:hover { background: var(--navy-light); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, #212a36 0%, #2b3747 55%, #35404f 100%);
  color: #fff;
  padding: 92px 0 104px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(232, 100, 30, 0.20) 0%, transparent 68%);
  pointer-events: none;
}
.hero .inhalt { position: relative; z-index: 1; max-width: 780px; }
.hero .marke { font-size: 34px; margin-bottom: 26px; }
.augbrauen {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffb98a;
  background: rgba(232, 100, 30, 0.14);
  border: 1px solid rgba(232, 100, 30, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(31px, 5vw, 50px); line-height: 1.16; margin: 0 0 20px; font-weight: 800; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #cdd5df; margin: 0 0 34px; max-width: 660px; }
.hero .aktionen { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .fakten { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero .fakten div strong { display: block; font-size: 25px; font-weight: 800; }
.hero .fakten div span { font-size: 14px; color: #9fabba; }

/* --- Abschnitte --- */
section { padding: 82px 0; }
section.hell { background: var(--surface); }
.kopf { max-width: 720px; margin-bottom: 46px; }
.kopf.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.kopf .label { color: var(--orange); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 35px); margin: 8px 0 14px; letter-spacing: -0.02em; font-weight: 800; }
h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.kopf p { color: var(--text-light); font-size: 17px; margin: 0; }

/* --- Raster --- */
.raster { display: grid; gap: 26px; }
.raster.drei { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.raster.vier { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.karte .symbol { font-size: 27px; margin-bottom: 12px; display: block; }
.karte p { color: var(--text-light); margin: 0; }

/* --- Projektkarten --- */
.projekt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.projekt:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.projekt .balken { height: 5px; background: var(--orange); }
.projekt.gruen .balken { background: var(--green); }
.projekt.blau .balken { background: #2563a8; }
.projekt.lila .balken { background: #6b4fa8; }
.projekt .rumpf { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.projekt .zeile { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.projekt .art { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.marker {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: var(--text-light);
}
.marker.live { background: #dff3eb; color: var(--green); }
.marker.demo { background: #fdeade; color: var(--orange-dark); }
.projekt p.beschreibung { color: var(--text-light); margin: 0 0 18px; }
.projekt ul { list-style: none; padding: 0; margin: 0 0 24px; }
.projekt ul li { padding-left: 25px; position: relative; margin-bottom: 8px; color: var(--text-light); font-size: 15px; }
.projekt ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.projekt .fuss { margin-top: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.projekt .fuss .hinweis { font-size: 13px; color: var(--text-light); }

/* --- Ablauf --- */
.ablauf { counter-reset: schritt; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ablauf .schritt { position: relative; padding-top: 54px; }
.ablauf .schritt::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  background: var(--navy); color: #fff;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.ablauf .schritt p { color: var(--text-light); margin: 0; font-size: 15px; }

/* --- Kontaktformular --- */
.kontakt-raster { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.formular { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.feld { margin-bottom: 18px; }
.feld label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feld .zusatz { font-weight: 400; color: var(--text-light); }
.feld input, .feld textarea, .feld select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld.zwei .feld { margin-bottom: 0; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.zustimmung input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--orange); }
.zustimmung label { font-size: 14px; color: var(--text-light); line-height: 1.55; font-weight: 400; }
/* Honigtopf: für Menschen unsichtbar, Bots füllen ihn aus */
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 15px; display: none; }
.meldung.fehler { background: #fdecec; color: #9b1c1c; border-left: 4px solid #9b1c1c; display: block; }
.meldung.erfolg { background: #dff3eb; color: #0a5a40; border-left: 4px solid var(--green); display: block; }
.pflicht { color: var(--orange); }

.kontakt-info h3 { margin-top: 26px; }
.kontakt-info h3:first-child { margin-top: 0; }
.kontakt-info p { color: var(--text-light); margin: 0 0 6px; }
.kontakt-info a { color: var(--orange); }

/* --- Inhaltsseiten (Recht) --- */
.inhalt { padding: 48px 0 64px; }
.inhalt h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; letter-spacing: -0.02em; }
.inhalt .stand { color: var(--text-light); font-size: 14px; margin: 0 0 32px; }
.inhalt h2 { font-size: 21px; margin: 34px 0 10px; }
.inhalt h3 { font-size: 17px; margin: 22px 0 6px; }
.inhalt p, .inhalt li { color: var(--text); }
.inhalt ul, .inhalt ol { padding-left: 22px; }
.inhalt li { margin-bottom: 6px; }
.inhalt a { color: var(--orange); }
.inhalt table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.inhalt th, .inhalt td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.inhalt th { background: #f2f4f7; font-weight: 700; }
.kasten { background: #f2f4f7; border-left: 4px solid var(--navy); padding: 16px 20px; border-radius: 8px; margin: 18px 0; }
.kasten.orange { border-left-color: var(--orange); background: #fdf4ee; }

/* --- Fußzeile --- */
.fusszeile { background: var(--navy); color: #9fabba; padding: 54px 0 30px; font-size: 15px; }
.fusszeile .raster-fuss { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 34px; }
.fusszeile .marke { font-size: 21px; color: #fff; margin-bottom: 10px; }
.fusszeile h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.fusszeile a { color: #9fabba; text-decoration: none; display: block; margin-bottom: 7px; }
.fusszeile a:hover { color: var(--orange); }
.fusszeile .unten { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* --- Sprungmarke für Tastaturnutzung --- */
.sprung {
  position: absolute; left: -9999px;
  background: var(--orange); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 100;
}
.sprung:focus { left: 0; top: 0; position: fixed; }

@media (max-width: 860px) {
  .kontakt-raster { grid-template-columns: 1fr; gap: 34px; }
  section { padding: 60px 0; }
  .hero { padding: 66px 0 74px; }
  .hero .fakten { gap: 26px; }
}
@media (max-width: 560px) {
  .feld.zwei { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 14px; }
}
