/* =====================================================================
   KINI Tech — Website-Styles
   Boutique-Beratung für IT, KI und Governance
   Corporate Design Manual v3.0 — Montserrat; Navy/Schwarz/Silber/Off-White
   ===================================================================== */

/* ─── MONTSERRAT — lokal gehostet (DSGVO-konform, keine Google-Fonts-Aufrufe) ───
   Die fünf .woff2-Dateien in den Ordner /fonts legen.
   Anleitung: fonts/LIESMICH-FONTS.txt — bis dahin greift sauber Arial als Fallback. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/montserrat-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/montserrat-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/montserrat-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/montserrat-700.woff2') format('woff2'); }

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

:root {
  /* Manual v3.0 — strict palette */
  --navy:      #000080;
  --black:     #1A1A1A;
  --silver:    #C0C0C0;
  --off-white: #F5F5F3;
  --white:     #FFFFFF;

  /* derived (same hue family, no new colors) */
  --navy-deep: #00005c;
  --rule:      rgba(26,26,26,0.10);
  --rule-soft: rgba(26,26,26,0.055);
  --ink-55:    rgba(26,26,26,0.55);
  --ink-70:    rgba(26,26,26,0.70);

  --font: 'Montserrat', Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 60px);
  --maxw: 1300px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy); color: var(--white); }

.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ─── LOGO ─── */
.logo { display: inline-flex; align-items: center; gap: 13px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 37px; height: 37px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;            /* K-Icon may be Bold per manual */
  font-size: 20px;
  line-height: 1;
}
.logo-words { display: flex; flex-direction: column; line-height: 1; color: var(--black); }
.logo-words .k { font-weight: 400; font-size: 18px; letter-spacing: 0.02em; }   /* Wortmarke immer Regular */
.logo-words .t { font-weight: 400; font-size: 10px; letter-spacing: 0.34em; margin-top: 5px; color: var(--black); }
.logo.inv .logo-mark { background: var(--white); color: var(--navy); }
.logo.inv .logo-words .k { color: var(--white); }
.logo.inv .logo-words .t { color: rgba(255,255,255,0.75); }

/* ─── NAV ─── */
nav.main {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 48px; padding: 17px var(--gutter);
}
.nav-links { display: flex; justify-content: center; gap: 34px; font-weight: 500; font-size: 14px; }
.nav-links a {
  color: var(--ink-70); padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 19px; background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 13.5px; transition: background .2s;
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-cta .arrow { transition: transform .2s; }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-weight: 600; font-size: 14px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-navy .arrow { transition: transform .2s; }
.btn-navy:hover .arrow { transform: translateX(4px); }
.btn-ghost { color: var(--black); border-bottom: 1px solid var(--black); padding: 4px 0 6px; font-weight: 500; }
.btn-ghost:hover { color: var(--navy); border-bottom-color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); font-weight: 600; }
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); }
.btn-inv-ghost { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.55); padding: 4px 0 6px; font-weight: 500; }
.btn-inv-ghost:hover { border-bottom-color: var(--white); }

/* ─── SHARED TYPE ─── */
.eyebrow {
  font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--navy); }
.h2 {
  font-weight: 700; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--black); max-width: 24ch;
}
.h2 .navy { color: var(--navy); font-weight: 400; }
.lede {
  font-weight: 400; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6;
  color: var(--ink-70); max-width: 60ch; margin-top: 20px;
}

/* ─── HERO ─── */
.hero {
  padding: clamp(72px, 10vh, 132px) var(--gutter) clamp(64px, 8vh, 104px);
  border-bottom: 1px solid var(--rule);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin-bottom: clamp(44px, 6.5vh, 80px);
}
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--silver); }
.hero-headline {
  font-weight: 700; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.03;
  letter-spacing: -0.028em; color: var(--black); margin-bottom: 34px; max-width: 16ch;
}
.hero-headline .navy { color: var(--navy); }
.hero-lede {
  font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55;
  color: var(--ink-70); max-width: 60ch; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* hero bottom strip — focus teaser */
.hero-strip {
  max-width: var(--maxw); margin: clamp(56px, 8vh, 96px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
}
.hero-strip .cell {
  padding: 26px 26px 0 0;
}
.hero-strip .cell + .cell { border-left: 1px solid var(--rule-soft); padding-left: 26px; }
.hero-strip .n { font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: var(--navy); margin-bottom: 12px; }
.hero-strip .t { font-weight: 600; font-size: 15px; letter-spacing: -0.005em; color: var(--black); }

/* ─── SECTION SCAFFOLD ─── */
section.block { padding: clamp(80px, 11vh, 136px) var(--gutter); border-bottom: 1px solid var(--rule); }
section.block .wrap { max-width: var(--maxw); margin: 0 auto; }
section.alt { background: var(--off-white); }

/* ─── WER WIR SIND (intro two-col) ─── */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.intro-body p {
  font-weight: 400; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6;
  color: var(--black); max-width: 56ch;
}
.intro-body p + p { margin-top: 22px; }
.intro-body .accent {
  display: block; margin-top: 30px; padding-left: 22px;
  border-left: 2px solid var(--navy); font-weight: 500; color: var(--navy);
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45;
}

/* ─── FOKUS (navy block, 4 areas) ─── */
.fokus {
  background: var(--navy); color: var(--white);
  padding: clamp(80px, 11vh, 140px) var(--gutter); border-bottom: 1px solid var(--rule);
}
.fokus .eyebrow { color: var(--silver); }
.fokus .eyebrow::before { background: var(--silver); }
.fokus .h2 { color: var(--white); }
.fokus .h2 .navy { color: var(--silver); }
.fokus .lede { color: rgba(255,255,255,0.72); }
.fokus-grid {
  margin-top: clamp(48px, 6vh, 76px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.20);
}
.focus {
  padding: 40px 44px 44px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: 48px 1fr; gap: 22px; align-items: start;
}
.focus:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.14); padding-left: 44px; padding-right: 0; }
.focus .n { font-weight: 600; font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); padding-top: 5px; }
.focus h3 {
  font-weight: 600; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2;
  color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em;
}
.focus p { font-size: 14.5px; line-height: 1.62; color: rgba(255,255,255,0.74); max-width: 46ch; }
.focus .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.focus .tags span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  padding: 4px 11px; border: 1px solid rgba(255,255,255,0.24); color: rgba(255,255,255,0.8);
}

/* ─── SELBSTVERSTÄNDNIS ─── */
.selbst-head { max-width: 60ch; }
.selbst-split {
  margin-top: clamp(48px, 6vh, 76px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start;
}
.nots { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.nots .row {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.nots .row .x {
  width: 18px; height: 18px; position: relative; opacity: 0.5;
}
.nots .row .x::before, .nots .row .x::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 18px; height: 1.5px; background: var(--black);
}
.nots .row .x::before { transform: rotate(45deg); }
.nots .row .x::after { transform: rotate(-45deg); }
.nots .row .label { font-weight: 500; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-55); letter-spacing: -0.01em; }
.yes-panel {
  background: var(--white); border: 1px solid var(--rule);
  padding: clamp(32px, 3.5vw, 48px); position: relative;
}
.yes-panel::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--navy);
}
.yes-panel .k {
  font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px; display: block;
}
.yes-panel p {
  font-weight: 400; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--black);
  letter-spacing: -0.01em;
}
.yes-panel p .navy { color: var(--navy); font-weight: 600; }

/* ─── WERTE ─── */
.werte-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 100px); align-items: start;
}
.werte-list { display: grid; gap: 0; }
.werte-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--rule); align-items: baseline;
}
.werte-item:last-child { border-bottom: 1px solid var(--rule); }
.werte-item .k { font-weight: 600; font-size: 12px; letter-spacing: 0.12em; color: var(--navy); }
.werte-item h3 {
  font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); color: var(--black);
  margin-bottom: 5px; letter-spacing: -0.01em;
}
.werte-item p { font-size: 15px; line-height: 1.6; color: var(--ink-70); max-width: 52ch; }

/* ─── ROLLE (statement band) ─── */
.rolle { background: var(--off-white); padding: clamp(80px, 12vh, 150px) var(--gutter); border-bottom: 1px solid var(--rule); }
.rolle .wrap { max-width: var(--maxw); margin: 0 auto; }
.rolle .eyebrow { color: var(--navy); }
.rolle .statement {
  font-weight: 700; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.12;
  letter-spacing: -0.022em; color: var(--black); max-width: 24ch; margin-top: 6px;
}
.rolle .statement .navy { color: var(--navy); font-weight: 400; }

/* ─── KONTAKT (navy CTA) ─── */
.kontakt {
  background: var(--navy); color: var(--white);
  padding: clamp(80px, 12vh, 150px) var(--gutter); border-bottom: 1px solid var(--rule);
}
.kontakt .wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end;
}
.kontakt .eyebrow { color: var(--silver); }
.kontakt .eyebrow::before { background: var(--silver); }
.kontakt-headline {
  font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06;
  letter-spacing: -0.025em; color: var(--white);
}
.kontakt-headline .silver { color: var(--silver); font-weight: 400; }
.kontakt-body p {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,0.78);
  margin-bottom: 32px; max-width: 50ch;
}
.kontakt-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.site-footer { background: var(--white); padding: 56px var(--gutter) 32px; }
.foot { max-width: var(--maxw); margin: 0 auto; }
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--rule);
}
.foot-col h5 {
  font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 18px;
}
.foot-col p, .foot-col a { font-size: 14px; line-height: 1.85; color: var(--ink-70); display: block; }
.foot-col a:hover { color: var(--navy); }
.foot-claim { font-weight: 400; font-size: 14px; color: var(--ink-55); margin-top: 14px; max-width: 260px; line-height: 1.5; }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  font-size: 12px; letter-spacing: 0.05em; color: var(--silver); flex-wrap: wrap; gap: 16px;
}
.foot-bot a { color: inherit; }
.foot-bot a:hover { color: var(--navy); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .intro-grid, .werte-grid, .selbst-split { grid-template-columns: 1fr; gap: 40px; }
  .kontakt .wrap { grid-template-columns: 1fr; gap: 32px; }
  .fokus-grid { grid-template-columns: 1fr; }
  .focus { padding: 32px 0 !important; }
  .focus:nth-child(even) { border-left: none; padding-left: 0 !important; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip .cell { padding: 24px 16px 0 0; }
  .hero-strip .cell:nth-child(odd) { border-left: none; padding-left: 0; }
  .hero-strip .cell:nth-child(2n) { border-left: 1px solid var(--rule-soft); padding-left: 20px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .hero-meta { gap: 10px; font-size: 10.5px; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip .cell, .hero-strip .cell:nth-child(2n) { border-left: none !important; padding: 22px 0 0 !important; border-top: 1px solid var(--rule-soft); }
  .hero-strip .cell:first-child { border-top: none; }
  .werte-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
}

/* ─── RECHTLICHE SEITEN (Impressum / Datenschutz) ─── */
.legal-hero { padding: clamp(56px,8vh,104px) var(--gutter) clamp(32px,4vh,48px); border-bottom: 1px solid var(--rule); }
.legal-hero .wrap { max-width: var(--maxw); margin: 0 auto; }
.legal-hero .eyebrow { color: var(--navy); }
.legal-hero h1 { font-weight: 700; font-size: clamp(34px,5vw,58px); line-height: 1.06; letter-spacing: -0.025em; color: var(--black); }
.legal-body { padding: clamp(44px,6vh,80px) var(--gutter) clamp(72px,10vh,120px); }
.legal-body .wrap { max-width: 760px; margin: 0 auto; }
.legal-body .lead { font-size: 17px; line-height: 1.6; color: var(--ink-70); margin-bottom: 30px; }
.legal-body h2 { font-weight: 700; font-size: clamp(19px,2.2vw,24px); letter-spacing: -0.01em; color: var(--navy); margin: 44px 0 12px; }
.legal-body h2.first { margin-top: 0; }
.legal-body h3 { font-weight: 600; font-size: 16px; color: var(--black); margin: 26px 0 8px; }
.legal-body p { font-size: 15.5px; line-height: 1.72; color: var(--ink-70); margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { font-size: 15.5px; line-height: 1.7; color: var(--ink-70); margin-bottom: 6px; }
.legal-body strong { color: var(--black); font-weight: 600; }
.legal-body a { color: var(--navy); border-bottom: 1px solid var(--rule); }
.legal-body a:hover { border-bottom-color: var(--navy); }
.legal-body address { font-style: normal; line-height: 1.7; color: var(--ink-70); }
.legal-body .ph { background: rgba(0,0,128,0.07); color: var(--navy); padding: 0 5px; font-weight: 600; }
.legal-body .note { margin: 6px 0 22px; padding: 14px 16px; background: var(--off-white); border-left: 3px solid var(--silver); font-size: 13.5px; line-height: 1.6; color: var(--ink-70); }
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a { color: inherit; }
.foot-legal a:hover { color: var(--navy); }
