/* ──────────────────────────────────────────────────────────────
   K13F Facility und Management GmbH
   Stylesheet · Bauhaus-Reduktion · Mai 2026
   ────────────────────────────────────────────────────────────── */

/* Fonts — lokal mitgeliefert (keine externen Server) */
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
}

/* ───────── Reset & Basics ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #0a0a0a;
  background: #fdfcfa;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ───────── Layout-Grundgerüst ───────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ───────── Topbar ───────── */
.topbar {
  border-bottom: 1px solid #0a0a0a;
  background: #fdfcfa;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #0a0a0a;
}
.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #888;
  text-transform: uppercase;
}
.topbar-nav-links {
  display: flex;
  gap: 36px;
}
.topbar-nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  transition: color 0.2s ease;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.topbar-nav-links a:hover { color: #2D5562; }
.topbar-nav-links a.active { border-bottom-color: #0a0a0a; }

/* ───────── Hero ───────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #0a0a0a;
  min-height: 480px;
}
.hero-text {
  padding: 80px 56px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  color: #0a0a0a;
}
.hero-title em {
  font-style: normal;
  color: #2D5562;
}
.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0;
  max-width: 460px;
}

.hero-visual {
  background: #e8e4dd;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.hero-visual img,
.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.fig-caption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #666;
  text-transform: uppercase;
  z-index: 2;
}

/* ───────── Metrik-Reihe (Tafel) ───────── */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #0a0a0a;
}
.metric {
  padding: 26px 32px;
  border-right: 1px solid #0a0a0a;
}
.metric:last-child { border-right: none; }
.metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.metric-value {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1;
}
.metric-sub {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}
.metric.featured {
  background: #2D5562;
  color: #fff;
}
.metric.featured .metric-label { color: rgba(255,255,255,0.65); }
.metric.featured .metric-value { color: #fff; }
.metric.featured .metric-sub { color: rgba(255,255,255,0.75); }
.metric.featured a { color: inherit; display: block; }

/* ───────── Sektion ───────── */
.section {
  padding: 96px 56px;
}
.section-narrow { padding: 72px 56px; }

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 18px;
  color: #0a0a0a;
}
.section-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
  max-width: 620px;
}

/* ───────── Vier Versprechen — keine inneren Linien ───────── */
.promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
}
.promise-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #2D5562;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.promise-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px 0;
  color: #0a0a0a;
  line-height: 1.25;
}
.promise-text {
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}

/* ───────── Brückenabsatz ───────── */
.bridge {
  padding: 96px 56px;
  background: #f5f1ea;
}
.bridge-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.bridge-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #2D5562;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.bridge-title {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 26px;
  color: #0a0a0a;
}
.bridge-text {
  font-size: 17px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
}

/* ───────── Leistungs-Liste — Linien zwischen Bausteinen bleiben ───────── */
.services {
  margin-top: 64px;
  border-top: 1px solid #0a0a0a;
}
.service {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  border-bottom: 1px solid #0a0a0a;
  padding: 44px 0;
  transition: background 0.2s ease;
}
.service:hover { background: #f9f6f0; }
.service-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #2D5562;
  text-transform: uppercase;
  padding-top: 4px;
}
.service-body {
  max-width: 740px;
}
.service-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px 0;
  color: #0a0a0a;
}
.service-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}

/* ───────── Zweispaltiger Inhalt mit Bild — keine innere Linie ───────── */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
  align-items: start;
}
.twocol-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0 0 22px 0;
}
.twocol-text p:last-child { margin-bottom: 0; }
.twocol-visual {
  background: #e8e4dd;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* ───────── Mandanten-Profil — keine Kreuzlinien ───────── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  margin-top: 64px;
}
.profile-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px 0;
  color: #0a0a0a;
}
.profile-text {
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}
.profile-note {
  margin-top: 64px;
  padding: 40px 48px;
  background: #f5f1ea;
}
.profile-note .profile-title { color: #2D5562; }

/* ───────── Kontaktwege — keine Linien ───────── */
.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  margin-top: 64px;
}
.contact-way-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-way-value {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: #0a0a0a;
}
.contact-way-value a {
  color: #2D5562;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.contact-way-value a:hover { border-bottom-color: #2D5562; }
.contact-way-note {
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  margin: 0;
}

.contact-address {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.contact-address-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  padding-top: 4px;
}
.contact-address-text {
  font-size: 16px;
  line-height: 1.7;
  color: #0a0a0a;
}

/* ───────── Legal-Seiten (Impressum, Datenschutz) ───────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 56px 96px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin: 48px 0 14px 0;
}
.legal h2:first-of-type { margin-top: 32px; }
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 24px 0 8px 0;
}
.legal p {
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0 0 14px 0;
}
.legal ul {
  font-size: 15px;
  line-height: 1.8;
  color: #3a3a3a;
  margin: 0 0 16px 0;
  padding-left: 20px;
}
.legal ul li { margin-bottom: 6px; }
.legal strong { color: #0a0a0a; font-weight: 500; }
.legal a {
  color: #2D5562;
  border-bottom: 1px solid rgba(45, 85, 98, 0.3);
}
.legal a:hover { border-bottom-color: #2D5562; }
.legal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 48px 0;
  line-height: 1.05;
}

/* ───────── Footer ───────── */
footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 64px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.foot-brand-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.foot-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot-brand-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
  margin: 0;
}
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px 0;
  font-weight: 400;
}
.foot-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.foot-col a:hover { color: #fff; }
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}

/* ───────── Tablet (≤ 1023px) ───────── */
@media (max-width: 1023px) {
  .wrap { padding: 0 32px; }
  .topbar-inner { padding: 18px 32px; flex-direction: column; align-items: stretch; gap: 14px; }
  .topbar-brand { justify-content: center; }
  .topbar-nav-links { justify-content: center; gap: 24px; flex-wrap: wrap; }
  .topbar-nav-links a { font-size: 11px; }

  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 56px 32px 44px; gap: 24px; }
  .hero-visual { min-height: 320px; order: -1; }

  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 20px 22px; }
  .metric-value { font-size: 22px; }

  .section { padding: 72px 32px; }
  .section-head { margin-bottom: 48px; }

  .promises { gap: 44px 48px; }

  .bridge { padding: 72px 32px; }

  .service { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .service-id { padding-top: 0; }

  .twocol { grid-template-columns: 1fr; gap: 40px; }
  .twocol-visual { min-height: 320px; order: -1; }

  .profile-grid { gap: 36px 48px; }
  .contact-ways { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .contact-address { grid-template-columns: 1fr; gap: 8px; }

  .legal { padding: 56px 32px 72px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 32px 32px; }
  .foot-bot { padding: 20px 32px 0; }
}

/* ───────── Mobil (≤ 640px) ───────── */
@media (max-width: 640px) {
  body { font-size: 15px; }

  .topbar-inner { padding: 14px 24px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 9px; }
  .topbar-nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    scrollbar-width: none;
    padding: 4px 0;
  }
  .topbar-nav-links::-webkit-scrollbar { display: none; }
  .topbar-nav-links a { white-space: nowrap; font-size: 10px; }

  .hero-text { padding: 40px 24px 36px; }
  .hero-title { line-height: 1.05; }
  .hero-visual { min-height: 240px; }
  .hero-lead { font-size: 14.5px; }

  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1),
  .metric:nth-child(2) { border-bottom: 1px solid #0a0a0a; }
  .metric { padding: 16px 18px; }
  .metric-value { font-size: 18px; }
  .metric-sub { font-size: 11px; }
  .metric.featured { grid-column: span 2; }

  .section { padding: 56px 24px; }
  .section-head { margin-bottom: 36px; }

  .promises { grid-template-columns: 1fr; gap: 32px; }

  .bridge { padding: 56px 24px; }
  .bridge-title { font-size: 22px; }
  .bridge-text { font-size: 15px; }

  .services { margin-top: 40px; }
  .twocol { margin-top: 40px; gap: 32px; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .profile-note { padding: 28px 24px; margin-top: 40px; }
  .contact-ways { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }

  .legal { padding: 40px 24px 56px; }
  .legal-title { font-size: 30px; margin-bottom: 32px; }
  .legal h2 { font-size: 18px; margin-top: 36px; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px 28px; }
  .foot-bot { flex-direction: column; gap: 12px; text-align: center; padding: 20px 24px 0; }
}
