/* Kontavis — Farbwelt 1.2 (CI-Guide 26.10.2026)
   Website-Gewichtung: 56% Elfenbein · 24% Blau · 17% Nacht/Graphit · 3% Rostrot */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --nacht: #0A1F35;
  --royal: #163E70;
  --feder: #2C658C;
  --rost: #A74434;
  --rost-dark: #8E3829;
  --elfenbein: #F5F1E8;
  --stein: #C6B59C;
  --graphit: #28313A;
  --weiss: #FFFFFF;
  --line: rgba(10, 31, 53, .14);
  --line-light: rgba(245, 241, 232, .18);
  --muted: #5A636D;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphit);
  background: var(--elfenbein);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums; color: var(--nacht); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--royal); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: 22px;
}
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { font-size: clamp(38px, 5vw, 60px); }
.section-head p { margin-top: 22px; font-size: 18px; color: var(--muted); }

/* Wortmarke */
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--nacht);
  text-decoration: none;
  padding-left: .14em; /* optischer Ausgleich zum Letterspacing */
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 18px 30px; border-radius: 4px; border: 0; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--royal); color: var(--elfenbein); }
.btn-primary:hover { background: var(--nacht); }
.btn-accent { background: var(--rost); color: var(--weiss); }
.btn-accent:hover { background: var(--rost-dark); }
.btn-ghost { background: transparent; color: var(--elfenbein); box-shadow: inset 0 0 0 1px var(--line-light); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--elfenbein); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.site-header.scrolled, .site-header.solid { background: rgba(245, 241, 232, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--graphit); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--royal); }
.nav .nav-cta { padding: 11px 20px; border-radius: 4px; background: var(--royal); color: var(--elfenbein); }
.nav .nav-cta:hover { background: var(--nacht); color: var(--elfenbein); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--nacht); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.site-header.open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-header.open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 168px 0 clamp(80px, 9vw, 120px); position: relative; }
.hero .container > div { max-width: 860px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 86px); line-height: 1.02; }
.hero h1 em { display: block; margin-top: .08em; }
.hero-lead { margin: 34px 0 10px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; color: var(--royal); }
.hero-sub { color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 40px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-note strong { color: var(--nacht); font-weight: 600; }

/* Ergebnisse */
.results { background: var(--nacht); color: var(--elfenbein); padding: clamp(64px, 8vw, 96px) 0; }
.results .eyebrow { color: var(--stein); }
.results h2 { color: var(--elfenbein); font-size: clamp(32px, 4vw, 46px); margin-bottom: clamp(40px, 5vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 34px 28px 6px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-light); }
.stat b { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6vw, 76px); line-height: 1; color: var(--weiss); }
.stat span { display: block; margin-top: 12px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--stein); }

/* Lösung */
.problem .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.problem .section-head { margin-bottom: 0; position: sticky; top: 130px; }
.pains { display: grid; gap: 22px; }
.pain { background: var(--weiss); padding: 34px 36px; border-left: 3px solid var(--royal); }
.pain h3 { font-size: 26px; margin-bottom: 12px; }
.pain p { margin: 0; color: var(--muted); }
.turn { margin-top: 18px; padding: 40px 36px; background: var(--royal); color: var(--elfenbein); }
.turn h3 { color: var(--weiss); font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 14px; }
.turn h3 em { color: var(--elfenbein); }
.turn p { color: rgba(245, 241, 232, .85); }
.turn .btn { margin-top: 12px; }

/* Vergleich */
.compare-section { background: var(--weiss); }
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.cmp { padding: 34px 28px 30px; background: var(--elfenbein); display: flex; flex-direction: column; }
.cmp h3 { font-size: 25px; margin-bottom: 22px; min-height: 2.2em; display: flex; align-items: flex-end; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cmp li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cmp li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(10, 31, 53, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='%235A636D' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.cmp-k { background: var(--royal); position: relative; box-shadow: 0 30px 60px -30px rgba(10, 31, 53, .55); }
.cmp-k::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rost); }
.cmp-k h3 { color: var(--weiss); letter-spacing: .1em; font-weight: 500; }
.cmp-k li { color: var(--elfenbein); }
.cmp-k li::before { background: rgba(245, 241, 232, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23F5F1E8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cmp-tag { display: inline-block; align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--stein); margin-bottom: 10px; }

/* Referenzen */
.refs { padding: clamp(72px, 9vw, 110px) 0; text-align: center; }
.refs .big { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: clamp(90px, 14vw, 180px); line-height: .9; color: var(--royal); }
.refs .big sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; color: var(--rost); }
.refs p { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); color: var(--nacht); margin: 18px auto 0; max-width: 720px; line-height: 1.25; }
.logo-band { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 16px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.lb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-item { flex: 0 0 20%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 18px; }
.lb-item img { width: auto; height: 72px; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.lb-item:has(.wide) { flex-basis: 32%; }
.lb-item img.wide { width: 100%; height: auto; max-height: 56px; }
.lb-item img:hover { filter: none; opacity: 1; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--royal); color: var(--elfenbein); cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease); }
.lb-btn:hover { background: var(--nacht); }
.lb-btn svg { width: 18px; height: 18px; }

/* Über uns */
.about { background: var(--nacht); color: var(--elfenbein); }
.about .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about .eyebrow { color: var(--stein); }
.about h2 { color: var(--elfenbein); font-size: clamp(38px, 5vw, 60px); }
.about h2 em { color: var(--stein); }
.about-text p { font-size: 18px; color: rgba(245, 241, 232, .82); }
.about-photo { margin-top: 40px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about-text p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; color: var(--elfenbein); }
.scale { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line-light); }
.scale div { padding: 28px 0 0; }
.scale div + div { padding-left: 28px; border-left: 1px solid var(--line-light); }
.scale b { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; color: var(--weiss); }
.scale span { display: block; margin-top: 10px; font-size: 14px; color: var(--stein); }

/* Gründer */
.founder { background: var(--weiss); }
.founder .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.founder-photo::before { content: ""; position: absolute; left: -14px; top: 40px; bottom: 40px; width: 4px; background: var(--rost); }
.founder h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 28px; }
.founder-text p { color: var(--muted); }
.founder-text p:first-of-type { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.35; color: var(--nacht); }
.founder .btn { margin-top: 18px; }
.btn-outline { background: transparent; color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); }
.btn-outline:hover { background: var(--royal); color: var(--elfenbein); }

/* Kontakt */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 60px); }
.contact-lead { margin-top: 26px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; color: var(--royal); }
.form { background: var(--weiss); padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 60px -36px rgba(10, 31, 53, .4); border-top: 4px solid var(--royal); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--nacht); margin-bottom: 8px; }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--graphit);
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--elfenbein);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--royal); background: var(--weiss); box-shadow: 0 0 0 3px rgba(22, 62, 112, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-msg { display: none; margin: 18px 0 0; padding: 14px 16px; font-size: 15px; border-radius: 4px; }
.form-msg.ok { display: block; background: rgba(44, 101, 140, .1); color: var(--royal); }
.form-msg.err { display: block; background: rgba(167, 68, 52, .1); color: var(--rost-dark); }

/* Footer */
.site-footer { background: var(--nacht); color: rgba(245, 241, 232, .7); padding: 44px 0; font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.site-footer .wordmark { color: var(--elfenbein); font-size: 22px; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: var(--elfenbein); }

/* Rechtliches */
.legal { padding: 160px 0 var(--section); }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(44px, 6vw, 68px); }
.legal .sub { margin-top: 18px; color: var(--muted); }
.legal h2 { font-size: 32px; margin: 56px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 28px 0 8px; line-height: 1.4; }
.legal a { color: var(--royal); }
.legal address { font-style: normal; line-height: 1.7; }
.card { background: var(--weiss); padding: 28px 30px; border-left: 3px solid var(--royal); }
.card small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rost); margin-bottom: 12px; }
.legal .card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }

/* Einblendungen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsiv */
@media (max-width: 1080px) {
  .compare { grid-template-columns: 1fr 1fr; }
  .cmp h3 { min-height: 0; }
  .nav { gap: 24px; }
  .lb-item { flex-basis: 33.333%; }
  .lb-item:has(.wide) { flex-basis: 50%; }
}
@media (max-width: 960px) {
  .problem .container, .about .container, .founder .container, .contact .container { grid-template-columns: 1fr; }
  .problem .section-head { position: static; }
  .founder-photo { max-width: 520px; }
  .founder-photo img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--elfenbein); padding: 8px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(10, 31, 53, .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .nav-cta { margin-top: 18px; text-align: center; border-bottom: 0; }
  .site-header.open { background: var(--elfenbein); }
  .site-header.open .nav { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .container { height: 72px; }
  .nav { top: 72px; }
  .wordmark { font-size: 23px; }
  .hero { padding-top: 128px; }
  .compare, .legal .card-grid { grid-template-columns: 1fr; }
  .logo-band { grid-template-columns: 40px 1fr 40px; gap: 8px; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-item { flex-basis: 50%; padding: 0 10px; }
  .lb-item img { height: 56px; }
  .lb-item:has(.wide) { flex-basis: 100%; }
  .lb-item img.wide { height: auto; }
  .founder-photo::before { left: -10px; }
  .stat, .stat + .stat { padding: 26px 14px 4px 0; }
  .stat:nth-child(2n) { padding-left: 14px; }
  .pain, .turn { padding: 28px 24px; }
  .scale b { font-size: 42px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
