/* Dennis Karajannis – Projektmanagement-Training
   Farben: KAIKI-Palette (siehe Projektdokument kaiki-farbpalette.md) */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #FFFF88;
  --accent-hover: #FAFF80;
  --text: #56585E;
  --ink: #1D1E20;
  --dark: #2D3748;
  --green: #40D89E;
  --cyan: #1ACEDE;
  --cyan-light: #E6F9FC;
  --paper: #F9FEF5;
  --white: #FFFFFF;
  --line: #E3E6E1;
  --line-strong: #D8DCD5;
  --on-dark: #E4E8EE;
  --on-dark-muted: #D7DCE4;
  --wrap: 1200px;
  --gutter: 40px;
  --section: 104px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], [id="anfrage"] { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--dark); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 54px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 40px; line-height: 1.15; font-weight: 700; }
h3 { font-size: 23px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; top: 16px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--dark); }
.bg-green { background: var(--green); }

.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-48 { gap: 48px; }

.eyebrow { font-size: 15px; font-weight: 600; color: var(--dark); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 19px; line-height: 1.6; max-width: 34em; }
.claim { font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.intro { font-size: 18px; max-width: 40em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.brand-claim { font-size: 13px; color: var(--text); line-height: 1.2; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }

.menu { display: none; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: var(--white); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 20px; height: 14px; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29, 30, 32, 0.08); }
.menu-panel nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; }
.menu-panel a { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; font-size: 17px; }
.menu-panel a:last-child { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--dark); color: var(--white); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link-underline { display: inline-flex; align-items: center; min-height: 52px; padding: 0 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: center; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 36px 0; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.3; }
.facts dd { margin: 0; font-size: 14px; color: var(--on-dark-muted); }

/* Angebot */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 2px rgba(29, 30, 32, 0.06), 0 8px 24px rgba(29, 30, 32, 0.05); }
.card-bar { width: 48px; height: 6px; border-radius: 3px; }
.bar-cyan { background: var(--cyan); }
.bar-green { background: var(--green); }
.bar-accent { background: var(--accent); }
.card p { font-size: 16px; }
.card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 8px; font-size: 15px; padding-top: 16px; border-top: 1px solid var(--line); }
.card dt { font-weight: 600; color: var(--ink); }
.card dd { margin: 0; }
.card .card-link { margin-top: auto; font-weight: 600; font-size: 16px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; background: var(--dark); border-radius: 20px; padding: 28px 32px; }
.band p { font-size: 18px; line-height: 1.5; color: var(--white); }

/* Warum */
.why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.split-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.quote { margin: 0; padding: 24px 28px; background: var(--cyan-light); border-radius: 16px; font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--ink); }

/* Nein sagen */
.honest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
.honest h2 { color: var(--white); }
.honest .text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--on-dark); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line-strong); padding: 20px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary { font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; }

/* Anfrage */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.contact .text { color: var(--ink); }
.contact .text p { font-size: 18px; }
.contact a { color: var(--ink); font-weight: 600; }
.quick { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(29, 30, 32, 0.06), 0 12px 32px rgba(29, 30, 32, 0.10); }
.quick h3 { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select { font: inherit; font-size: 16px; font-weight: 400; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid #8A8F98; background: var(--white); color: var(--ink); width: 100%; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink); }
.quick legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.quick fieldset label { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.quick .btn { border-radius: 10px; width: 100%; }
.quick-note { font-size: 13px; line-height: 1.5; color: var(--text); }

/* Rechtstexte */
.page-head { padding: 72px 0 32px; background: var(--paper); }
.legal { padding: 48px 0 var(--section); }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.prose h2 { font-size: 22px; margin-bottom: 10px; }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 10px 0 0; padding-left: 22px; }

/* Footer */
.site-footer { background: var(--ink); color: #C9CED6; font-size: 14px; line-height: 1.6; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 32px; flex-wrap: wrap; }
.footer-name { color: var(--white); font-weight: 600; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--white); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* Responsiv */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-actions { gap: 12px; }
  h1 { font-size: 46px; }
}

@media (max-width: 960px) {
  :root { --section: 72px; --gutter: 28px; }
  h2 { font-size: 34px; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .split, .why, .honest, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .why { gap: 24px; }
  .hero-photo { max-width: 420px; }
  .split-photo { max-width: 460px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 600px) {
  :root { --section: 56px; --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  h1 { font-size: 34px; line-height: 1.12; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  .brand-name { font-size: 18px; }
  .brand-claim { display: none; }
  .header-cta { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .hero { padding: 40px 0 48px; }
  .lead, .intro, .honest .text, .contact .text p { font-size: 17px; }
  .claim { font-size: 19px; }
  .btn-row .btn, .btn-row .link-underline { width: 100%; justify-content: center; }
  .facts { gap: 20px 16px; padding: 28px 0; }
  .facts dt { font-size: 18px; }
  .card, .quick { padding: 24px; }
  .band { padding: 24px; }
  .band .btn { width: 100%; }
  .quote { font-size: 19px; padding: 20px 22px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { gap: 20px; }
}

.header-cta-short { display: none; }
@media (max-width: 600px) {
  .header-cta-long { display: none; }
  .header-cta-short { display: inline; }
  .brand-name { white-space: nowrap; }
  .hero-photo img { aspect-ratio: 1 / 1; object-position: center 25%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  .site-header, .menu, .skip, .btn-row, .quick { display: none !important; }
  .bg-dark, .bg-green, .site-footer { background: #fff !important; }
  .facts dt, .honest h2, .honest .text, .site-footer, .footer-name, .footer-nav a { color: #000 !important; }
}

/* Stimmen-Karussell (Baustein, siehe _bausteine/stimmen-karussell.html) */
.voices-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.voices-nav { display: flex; gap: 12px; }
.voices-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.voices-btn:hover { background: var(--cyan-light); }
.voices-btn svg { width: 22px; height: 22px; }
.voices { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, calc((100% - 24px) / 2)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.voice { scroll-snap-align: start; background: var(--paper); border-radius: 20px; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.voice video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--dark); }
.voice blockquote { margin: 0 8px; font-size: 17px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.voice-who { margin: 0 8px; font-size: 14px; }
@media (max-width: 960px) {
  .voices { grid-auto-columns: 85%; }
  .voices-nav { display: none; }
}
