/* ============================================================
   ZWORSKI GmbH — Design-System "KI & Automatisierung"
   Gemeinsames Stylesheet für die modernen Seiten
   (start / ki-telefonie / dokumentenklassifizierung / ueber-uns)
   Basiert auf vierbausteine.html · beratung.html · importframework.html
   ============================================================ */

:root {
  --red:       #E8261C;
  --red-dark:  #8B1510;
  --blue:      #00AEEF;
  --bg:        #eeeeee;
  --white:     #ffffff;
  --black:     #1a1a1a;
  --ink-900:   #0d1b26;   /* dunkler Hero-Hintergrund (wie in den PDFs) */
  --num-color: #cce9f6;
  --gray-mid:  #d0d0d0;
  --muted:     #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; }

/* ── NAV (seitenübergreifend) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo img { height: 30px; display: block; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--black); transition: all 0.2s;
}

/* ── LAYOUT ── */
.page { max-width: 960px; margin: 0 auto; padding: 80px 48px 48px; }
section { scroll-margin-top: 70px; }
.sec { margin-bottom: 80px; }

/* ── LABELS ── */
.label {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.label::before {
  content: ''; display: block;
  width: 36px; height: 3px; background: var(--red); flex-shrink: 0;
}

/* ── SECTION HEADER ── */
.sec-head { margin-bottom: 36px; }
.sec-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5.5vw, 52px);
  text-transform: uppercase; line-height: 1; letter-spacing: 0.01em;
}
.sec-head h2 .blue { color: var(--blue); }
.sec-head h2 .red  { color: var(--red); }
.sec-head .lead { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ── HERO ── */
#hero { padding-top: 56px; padding-bottom: 64px; }

.logo-box {
  display: inline-block; max-width: 100%;
  background: var(--white); border: 1.5px solid #c8c8c8;
  padding: 26px 34px 22px; margin-bottom: 48px;
}
.logo-box img { height: clamp(48px, 10vw, 68px); max-width: 100%; display: block; margin-bottom: 16px; }
.logo-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.6;
}
.logo-sub strong.red  { font-weight: 700; color: var(--red); }
.logo-sub strong.blue { font-weight: 700; color: var(--blue); }

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 9vw, 88px);
  line-height: 0.93; text-transform: uppercase; letter-spacing: -0.01em;
}
.hero-headline .blue { color: var(--blue); }
.hero-headline .red  { color: var(--red); }

.hero-desc { margin-top: 26px; max-width: 620px; font-size: 16px; line-height: 1.7; color: #333; }

/* ── TAG-REIHE (Service-Tags / Format-Tags) ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag {
  background: var(--white); border-left: 4px solid var(--blue);
  padding: 10px 18px; font-weight: 500; font-size: 14px; color: var(--black);
}
.tag.red { border-left-color: var(--red); }

/* ── CTA-BUTTONS ── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; padding: 13px 26px; transition: all 0.15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ── MODULE-KARTEN (nummeriert) ── */
.module-list { display: flex; flex-direction: column; gap: 14px; }
.module-card {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 24px 28px; position: relative; overflow: hidden;
  color: inherit; display: block; text-decoration: none; transition: transform 0.15s;
}
a.module-card:hover { transform: translateX(4px); }
.module-card.blue { border-left-color: var(--blue); }
.module-num {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(64px, 12vw, 110px); color: var(--num-color);
  line-height: 1; user-select: none; letter-spacing: -0.03em;
}
.module-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(17px, 3.5vw, 28px); text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1.1; position: relative; padding-right: 72px;
}
.module-title .blue { color: var(--blue); }
.module-title .red  { color: var(--red); }
.module-sub { font-size: 13px; color: #777; margin-top: 4px; position: relative; padding-right: 72px; }

/* ── HUB-KARTEN (Navigation auf der Startseite) ── */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hub-card {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 26px 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.hub-card.blue { border-left-color: var(--blue); }
.hub-icon { font-size: 26px; margin-bottom: 12px; }
.hub-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(16px, 2.5vw, 20px); text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 8px; line-height: 1.1;
}
.hub-title .blue { color: var(--blue); }
.hub-title .red { color: var(--red); }
.hub-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.hub-more {
  margin-top: 14px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
}
.hub-card.blue .hub-more { color: var(--blue); }

/* ── LEISTUNGS-/INFO-KARTEN ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lcard {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 28px 24px; position: relative; overflow: hidden;
}
.lcard.blue { border-left-color: var(--blue); }
.lcard-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.lcard-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(16px, 2.5vw, 20px); text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 10px; line-height: 1.1;
}
.lcard-title .blue { color: var(--blue); }
.lcard-title .red  { color: var(--red); }
.lcard-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── ZWEISPALTIG (Ausgangslage / Lösung, Klassisch / Unser Ansatz) ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: var(--white); border-left: 5px solid var(--red); padding: 26px; }
.info-card.blue { border-left-color: var(--blue); }
.info-card.gray { border-left-color: var(--gray-mid); }
.info-card-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.info-card.blue .info-card-label { color: var(--blue); }
.info-card.gray .info-card-label { color: #888; }
.info-card p { font-size: 14px; line-height: 1.65; color: #444; }

/* ── LISTEN-ZEILEN (Bullet-Streifen wie in den PDFs) ── */
.row-list { display: flex; flex-direction: column; gap: 10px; }
.row-item {
  background: var(--white); border-left: 4px solid var(--blue);
  padding: 16px 20px; display: flex; align-items: flex-start; gap: 14px;
}
.row-item:nth-child(even) { border-left-color: var(--red); }
.row-item .dot { width: 9px; height: 9px; background: var(--blue); flex-shrink: 0; margin-top: 6px; }
.row-item:nth-child(even) .dot { background: var(--red); }
.row-item .row-text { font-size: 14px; line-height: 1.55; }
.row-item .row-text b { font-weight: 700; }

/* ── FEATURE-GRID (kleine Merkmale) ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 16px 18px; display: flex; align-items: flex-start; gap: 10px;
}
.feat-dot { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; margin-top: 6px; }
.feat-text {
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  text-transform: uppercase; line-height: 1.35;
}

/* ── STAT-KARTEN (Zahlen) ── */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { background: var(--white); border-left: 5px solid var(--red); padding: 26px; }
.stat-card:nth-child(even) { border-left-color: var(--blue); }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(40px, 8vw, 60px); line-height: 1; color: var(--red);
}
.stat-card:nth-child(even) .stat-num { color: var(--blue); }
.stat-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.03em; margin-top: 8px;
}
.stat-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 6px; }

/* ── PROZESS-TIMELINE (horizontal) ── */
.flow {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 40px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.flow-step { text-align: center; padding: 0 10px; position: relative; }
.flow-step::before {
  content: ''; position: absolute; top: 46px; left: 50%; width: 100%; height: 2px;
  background: var(--gray-mid); z-index: 0;
}
.flow-step:last-child::before { display: none; }
.flow-phase {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px;
}
.flow-node {
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue);
  margin: 0 auto 16px; position: relative; z-index: 1;
}
.flow-step:nth-child(even) .flow-node { background: var(--red); }
.flow-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ── VERGLEICHS-BALKEN (Wirtschaftlichkeit) ── */
.compare { display: flex; flex-direction: column; gap: 14px; }
.compare-row {
  display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 18px;
  padding: 18px 22px;
}
.compare-row.manual { background: #fdecec; }
.compare-row.ki { background: #e7f6fd; }
.compare-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.compare-bar {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 20px;
  color: var(--white); padding: 12px 18px; white-space: nowrap;
}
.compare-row.manual .compare-bar { background: var(--red); }
.compare-row.ki .compare-bar { background: var(--blue); width: max-content; }
.compare-result {
  background: var(--white); border-left: 5px solid var(--red); padding: 22px 26px;
}
.compare-result strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; }
.compare-result strong .red { color: var(--red); }
.compare-result p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── ARCHITEKTUR / SICHERHEITS-HINWEISE ── */
.arch-note {
  background: #f5f5f5; border: 1px dashed #bbb; padding: 16px 20px; margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px;
}
.arch-note span { display: flex; align-items: center; gap: 8px; }

/* ── SUB-LABEL (Trenner) ── */
.sub-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #888;
  margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-mid);
}

/* ── PREIS-KARTEN ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 26px 24px; position: relative; overflow: hidden;
}
.price-card.free { border-left-color: var(--blue); }
.price-name {
  font-weight: 600; font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase; color: #666; margin-bottom: 12px;
}
.price-val {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 38px; line-height: 1; color: var(--red);
}
.price-card.free .price-val { color: var(--blue); font-size: 30px; }
.price-unit { font-size: 12px; color: #777; margin-top: 8px; line-height: 1.45; }

/* ── TESTIMONIALS ── */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-card { background: var(--white); border-left: 5px solid var(--blue); padding: 26px; }
.quote-card:nth-child(even) { border-left-color: var(--red); }
.quote-text { font-size: 14.5px; line-height: 1.7; color: #333; font-style: italic; }
.quote-author {
  margin-top: 14px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.quote-author span { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ── PARTNER-LOGOS ── */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner-card { background: var(--white); border-left: 4px solid var(--red); padding: 22px; }
.partner-card:nth-child(even) { border-left-color: var(--blue); }
.partner-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px;
}
.partner-desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── KONTAKT ── */
.kontakt-wrap {
  background: var(--white); border-left: 5px solid var(--red);
  padding: 40px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.kontakt-headline {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(28px, 5vw, 48px); text-transform: uppercase; line-height: 1; margin-bottom: 16px;
}
.kontakt-headline .blue { color: var(--blue); }
.kontakt-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.kontakt-details { display: flex; flex-direction: column; gap: 12px; }
.kontakt-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; background: var(--bg); border-left: 3px solid var(--blue);
}
.kontakt-item-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.kontakt-item-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px;
}
.kontakt-item-val { font-size: 14px; font-weight: 500; }
.kontakt-item-val a { text-decoration: none; }

/* ── FOOTER ── */
footer {
  border-top: 2px solid var(--gray-mid); padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.10em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.footer-links a:hover { color: var(--red); }
.footer-domain {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.footer-sqs { display: flex; gap: 5px; }
.footer-sq { width: 16px; height: 16px; }

/* ── ANIMATIONEN ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.anim { opacity: 0; }

/* ── TABLET (≤ 860px) ── */
@media (max-width: 860px) {
  .page { padding-left: 28px; padding-right: 28px; }
  nav { padding: 0 20px; }
  footer { padding: 20px 28px; }
  .hub-grid, .cards-grid, .features-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .kontakt-wrap { grid-template-columns: 1fr; gap: 28px; }
  /* Nav wird ab hier zum Hamburger, da 8 Links zu breit werden */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 54px; left: 0; right: 0; background: var(--white);
    border-bottom: 3px solid var(--red); padding: 8px 0; z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 22px; font-size: 15px; border-bottom: 1px solid #eee; }
}

/* ── MOBIL (≤ 600px) ── */
@media (max-width: 600px) {
  .page { padding: 64px 16px 40px; }
  nav { padding: 0 16px; }
  #hero { padding-top: 36px; padding-bottom: 40px; }
  .logo-box { display: block; padding: 18px 18px 16px; margin-bottom: 32px; }
  .sec { margin-bottom: 48px; }
  .sec-head { margin-bottom: 20px; }
  .hub-grid, .cards-grid, .features-grid, .price-grid,
  .two-col, .stat-row, .partner-grid, .quote-grid { grid-template-columns: 1fr; }
  /* Timeline vertikal */
  .flow { grid-template-columns: 1fr; gap: 22px; padding: 24px 18px; }
  .flow-step { display: grid; grid-template-columns: 40px 1fr; text-align: left; align-items: start; gap: 14px; }
  .flow-step::before { display: none; }
  .flow-phase { grid-column: 2; margin-bottom: 4px; }
  .flow-node { margin: 4px 0 0; }
  .flow-desc { grid-column: 2; }
  /* Vergleichsbalken */
  .compare-row { grid-template-columns: 1fr; gap: 10px; }
  .arch-note { grid-template-columns: 1fr; }
  footer { padding: 18px 16px; flex-direction: column; align-items: flex-start; }
}

/* ── SEHR KLEIN (≤ 380px) ── */
@media (max-width: 380px) {
  .lcard, .info-card, .hub-card, .stat-card, .price-card, .quote-card { padding: 18px 16px; }
  .kontakt-wrap { padding: 20px 14px; }
}
