/* ============================================================
   AUTHENTIC GRAVITY — Global Stylesheet v1.0
   Playfair Display + DM Sans · Ink / Paper / Accent
   ============================================================ */

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

:root {
  --ink:        #0f0e0c;
  --paper:      #f5f2ec;
  --paper-dark: #ece8df;
  --accent:     #c8a96e;
  --accent-dark:#9e7d45;
  --muted:      #7a7568;
  --border:     rgba(15,14,12,0.12);
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --max-w:      1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4vw;
  background: rgba(245,242,236,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo img  { height: 48px; width: auto; }
.nav-logo svg  { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* Buch-Link hervorheben */
.nav-links a.nav-buch {
  color: var(--accent-dark);
  font-weight: 500;
}
.nav-links a.nav-buch:hover { color: var(--ink); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* ── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  margin-left: 1rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(245,242,236,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 4vw 2rem;
  z-index: 99;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent-dark); }

.mobile-menu .mobile-cta {
  margin-top: 1.25rem;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.04em;
  text-align: center;
  border: none;
  text-decoration: none;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2.2rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--accent); color: var(--ink); }

.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-dark); }

.btn-dark {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.btn-dark:hover { background: #2a2925; }

/* ── SECTION BASE ───────────────────────────────────────── */
section { padding: 7rem 4vw; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* ── HERO ───────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 78px;
  overflow: hidden;
}

.hero-left {
  padding: 8vw 6vw 6vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero-h1 em { font-style: italic; color: var(--accent-dark); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-right {
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-graphic {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  right: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-stat { color: rgba(245,242,236,0.7); }
.hero-stat .num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-stat .label { font-size: 0.9rem; letter-spacing: 0.04em; line-height: 1.4; }

/* ── ZAHLEN & MENSCHEN ──────────────────────────────────── */
#zahlen { background: var(--ink); color: var(--paper); }
#zahlen .section-h2  { color: var(--paper); }
#zahlen .section-label { color: var(--accent); }

.zm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.zm-left .section-h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }

.zm-lead {
  font-size: 1.1rem;
  color: rgba(245,242,236,0.65);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.zm-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.pillar {
  padding: 1.25rem;
  border: 1px solid rgba(200,169,110,0.2);
  transition: border-color 0.2s;
}
.pillar:hover { border-color: rgba(200,169,110,0.5); }

.pillar-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.pillar-icon svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; }

.pillar-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.pillar-desc { font-size: 0.82rem; color: rgba(245,242,236,0.5); line-height: 1.55; }

.zm-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kreise 15% grösser (160→184px), 10% Überschneidung (≈18px), Container 320px */
.zm-diagram { width: 320px; height: 320px; position: relative; }

.zm-half {
  position: absolute;
  width: 184px; height: 184px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}
.zm-half.zahlen {
  top: 8px; left: 8px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
}
.zm-half.menschen {
  top: 125px; left: 125px;
  background: rgba(245,242,236,0.05);
  border: 1px solid rgba(245,242,236,0.15);
}
.zm-half-title { font-family: var(--serif); font-size: 1.27rem; font-weight: 700; color: var(--accent); }
.zm-half.menschen .zm-half-title { color: rgba(245,242,236,0.8); }
.zm-half-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.5);
  text-align: center;
  line-height: 1.4;
  padding: 0 0.5rem;
}
.zm-half.menschen .zm-half-sub { color: rgba(245,242,236,0.35); }
.zm-intersect {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--serif);
  font-size: 0.86rem;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.08em;
  font-style: italic;
  white-space: nowrap;
}

/* ── ANGEBOTE ───────────────────────────────────────────── */
#angebote { background: var(--paper-dark); }

.angebote-intro { max-width: 680px; margin-bottom: 4rem; }
.angebote-intro p { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.angebot-card {
  background: var(--paper-dark);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.angebot-card:hover { background: var(--paper); }

.angebot-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(15,14,12,0.07);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.angebot-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.angebot-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.angebot-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}

/* ── ANGEBOT BUCH-KARTE ─────────────────────────────────── */
.angebot-card-buch { overflow: hidden; }

.angebot-buch-cover {
  display: block;
  width: calc(100% + 4rem);
  margin: -2.5rem -2rem 1.75rem;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.angebot-card-buch:hover .angebot-buch-cover { transform: scale(1.03); }

/* ── ANGEBOT TOOL-KARTEN · Hover-Vorschau ───────────────── */
.angebot-card-tool { overflow: hidden; }
.angebot-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.angebot-card-tool:hover .angebot-preview {
  opacity: 1;
  transform: scale(1);
}
.angebot-preview-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 2rem 2rem 1.1rem;
  background: linear-gradient(to top, rgba(15,14,12,0.85), rgba(15,14,12,0));
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.angebot-card-tool:hover .angebot-preview-hint { opacity: 1; }

/* Touch-Geräte ohne Hover: Vorschau dezent als Kopfbild zeigen */
@media (hover: none) {
  .angebot-card-tool .angebot-preview {
    position: static;
    opacity: 1;
    transform: none;
    width: calc(100% + 4rem);
    height: 150px;
    margin: -2.5rem -2rem 1.5rem;
  }
  .angebot-card-tool .angebot-preview-hint { display: none; }
}

/* ── ANGEBOT GRAFIK-KARTE ───────────────────────────────── */
.angebot-grafik {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3rem;
  min-height: 260px;
  cursor: default;
}

@media (max-width: 1100px) {
  .angebot-grafik { display: none; }
}

/* ── PARTNER STRIP ──────────────────────────────────────── */
#partner {
  background: var(--paper);
  padding: 4.5rem 4vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.partner-inner .section-label { margin-bottom: 0.5rem; }

.partner-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Echter Logo-Slot (wird befüllt sobald Logos vorhanden) */
.partner-slot {
  width: 150px;
  height: 64px;
  border: 1px dashed rgba(15,14,12,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.partner-slot:hover { border-color: var(--accent); }

.partner-slot img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s;
}
.partner-slot:hover img { filter: grayscale(0%) opacity(1); }

/* Platzhalter-Text (entfernen sobald Logo eingefügt) */
.partner-slot-placeholder {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15,14,12,0.2);
  font-weight: 500;
  user-select: none;
}

.partner-cta {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.partner-cta a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
}
.partner-cta a:hover { text-decoration: underline; }

/* ── ÜBER ───────────────────────────────────────────────── */
#ueber {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
  padding: 7rem 4vw;
}

.ueber-meta { position: sticky; top: 100px; }

.ueber-quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.ueber-text { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }

.values-list { list-style: none; margin-top: 2rem; }
.values-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.values-list li:first-child { border-top: 1px solid var(--border); }

.val-label {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  min-width: 130px;
  color: var(--ink);
}
.val-text { color: var(--muted); }

/* ── FÜR KMU ────────────────────────────────────────────── */
#kmu { background: var(--ink); color: var(--paper); }
#kmu .section-h2  { color: var(--paper); }
#kmu .section-label { color: var(--accent); }

.kmu-inner { max-width: var(--max-w); margin: 0 auto; }

.kmu-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.kmu-lead { font-size: 1.05rem; color: rgba(245,242,236,0.6); line-height: 1.75; }

.kmu-checks { display: flex; flex-direction: column; gap: 1rem; }

.kmu-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(245,242,236,0.08);
  transition: border-color 0.2s;
}
.kmu-check:hover { border-color: rgba(200,169,110,0.3); }

.kmu-check-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.kmu-check-text { font-size: 0.9rem; color: rgba(245,242,236,0.65); line-height: 1.6; }

.kmu-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: rgba(245,242,236,0.06);
  border: 1px solid rgba(245,242,236,0.06);
}

.outcome-card {
  background: var(--ink);
  padding: 2rem 1.5rem;
  transition: background 0.2s;
}
.outcome-card:hover { background: #1a1916; }

.outcome-label {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.outcome-desc { font-size: 0.82rem; color: rgba(245,242,236,0.45); line-height: 1.55; }

/* ── REFERENZEN PREVIEW ─────────────────────────────────── */
#referenzen-preview {
  background: var(--paper-dark);
  padding: 7rem 4vw;
}

.ref-intro {
  max-width: 600px;
  margin-bottom: 3rem;
}
.ref-intro .section-h2 { margin-bottom: 1.25rem; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: var(--max-w);
}

.ref-card {
  background: var(--paper-dark);
  padding: 2.25rem 2rem;
  border-left: 3px solid var(--accent);
  transition: background 0.2s;
}
.ref-card:hover { background: var(--paper); }

.ref-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.ref-author { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.ref-author strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
  margin-bottom: 0.15rem;
}

.ref-placeholder-note {
  font-size: 0.75rem;
  color: rgba(15,14,12,0.22);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-style: normal;
}

.ref-footer {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--accent);
  padding: 5rem 4vw;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(15,14,12,0.65);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── KONTAKT ────────────────────────────────────────────── */
#kontakt { background: var(--paper); }

.kontakt-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
}

.kontakt-info { padding-top: 0.5rem; }
.kontakt-info .section-h2 { margin-bottom: 1rem; }

.kontakt-lead { font-size: 1rem; color: var(--muted); margin-bottom: 2.5rem; line-height: 1.7; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); }
.contact-detail svg { width: 16px; height: 16px; stroke: var(--accent-dark); fill: none; flex-shrink: 0; }
.contact-detail a { color: var(--ink); text-decoration: none; font-weight: 400; }
.contact-detail a:hover { color: var(--accent-dark); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  font-weight: 300;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent-dark); }
.form-group textarea { min-height: 130px; }

.form-submit {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--accent-dark); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(245,242,236,0.45);
  padding: 3rem 4vw 2rem;
  font-size: 0.82rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,242,236,0.07);
}

.footer-brand-block svg  { height: 32px; width: auto; display: block; margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(245,242,236,0.3);
  letter-spacing: 0.04em;
  line-height: 1.5;
  max-width: 26ch;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.35);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  color: rgba(245,242,236,0.45);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: rgba(245,242,236,0.85); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}
.footer-legal-links a {
  color: rgba(245,242,236,0.35);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: rgba(245,242,236,0.7); }

.footer-social a {
  color: rgba(245,242,236,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.footer-social a:hover { color: rgba(245,242,236,0.8); }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ── PAGE HEADER (Unterseiten) ──────────────────────────── */
.page-header {
  padding: 9rem 4vw 5rem;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.12);
  pointer-events: none;
}

.page-header-inner { max-width: var(--max-w); margin: 0 auto; }

.page-header .section-label { color: var(--accent); margin-bottom: 1rem; }

.page-h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 1.25rem;
}
.page-h1 em { font-style: italic; color: var(--accent); }

.page-lead {
  font-size: 1.1rem;
  color: rgba(245,242,236,0.6);
  max-width: 54ch;
  line-height: 1.65;
}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(245,242,236,0.35);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(245,242,236,0.4); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,14,12,0.6);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem 4rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--paper);
  max-width: 760px;
  width: 100%;
  padding: 3rem 3.5rem;
  position: relative;
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--ink); }

.modal-box h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.modal-box h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.modal-box p,
.modal-box li { font-size: 0.9rem; color: var(--muted); line-height: 1.8; margin-bottom: 0.75rem; }
.modal-box ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.modal-box a { color: var(--accent-dark); }

.modal-placeholder {
  background: rgba(200,169,110,0.12);
  border: 1px dashed var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-size: 0.82rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  #home { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 320px; }
  .hero-stats { bottom: 1.5rem; left: 2rem; right: 2rem; }

  .zm-grid { grid-template-columns: 1fr; gap: 3rem; }
  .zm-visual { display: none; }

  #angebote { padding: 5rem 4vw; }

  #ueber { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 4vw; }
  .ueber-meta { position: static; }

  .kmu-header { grid-template-columns: 1fr; gap: 2rem; }
  .kmu-outcomes { grid-template-columns: 1fr 1fr; }

  .ref-grid { grid-template-columns: 1fr; }

  .kontakt-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .modal-box { padding: 2rem 1.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  section { padding: 5rem 4vw; }
  .kmu-outcomes { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.4rem; }
  .zm-pillars { grid-template-columns: 1fr; }
  .partner-logos { gap: 1.25rem; }
  .partner-slot { width: 120px; height: 54px; }
}

/* ── GALAXY INTRO ───────────────────────────────────────── */
#ag-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050408;
  cursor: default;
}
#ag-intro canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#ag-intro-skip {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  background: none;
  border: 1px solid rgba(245,242,236,0.18);
  color: rgba(245,242,236,0.35);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
#ag-intro-skip:hover {
  border-color: rgba(245,242,236,0.5);
  color: rgba(245,242,236,0.7);
}

/* ── CHATBOT WIDGET ─────────────────────────────────────── */
#ag-chat-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  width: 54px;
  height: 54px;
  background: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15,14,12,0.25);
  transition: background 0.2s, transform 0.2s;
}
#ag-chat-btn:hover { background: #2a2925; transform: scale(1.05); }
#ag-chat-btn svg { width: 22px; height: 22px; stroke: var(--paper); fill: none; }
#ag-chat-btn .ag-chat-close { display: none; }
#ag-chat-btn.open .ag-chat-icon { display: none; }
#ag-chat-btn.open .ag-chat-close { display: block; }

#ag-chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 299;
  width: 360px;
  max-height: 520px;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(15,14,12,0.18);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#ag-chat-window.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.ag-chat-header {
  background: var(--ink);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ag-chat-avatar {
  width: 34px;
  height: 34px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ag-chat-avatar svg { width: 18px; height: 18px; }
.ag-chat-header-text { flex: 1; }
.ag-chat-header-name { font-size: 0.82rem; font-weight: 500; color: var(--paper); letter-spacing: 0.02em; }
.ag-chat-header-sub { font-size: 0.72rem; color: rgba(245,242,236,0.45); }

.ag-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ag-chat-messages::-webkit-scrollbar { width: 4px; }
.ag-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ag-chat-messages::-webkit-scrollbar-thumb { background: var(--border); }

.ag-msg {
  max-width: 85%;
  font-size: 0.85rem;
  line-height: 1.55;
}
.ag-msg-bot {
  align-self: flex-start;
  background: var(--paper-dark);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-left: 2px solid var(--accent);
}
.ag-msg-user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
}
.ag-msg-typing {
  align-self: flex-start;
  background: var(--paper-dark);
  padding: 0.65rem 0.9rem;
  border-left: 2px solid var(--accent);
  display: flex;
  gap: 4px;
  align-items: center;
}
.ag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: ag-bounce 1.2s infinite;
}
.ag-dot:nth-child(2) { animation-delay: 0.2s; }
.ag-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ag-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

.ag-chat-suggestions {
  padding: 0 1.25rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ag-suggestion {
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  white-space: nowrap;
}
.ag-suggestion:hover { border-color: var(--accent); color: var(--ink); }

.ag-chat-input-row {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  gap: 0.5rem;
}
#ag-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  font-weight: 300;
}
#ag-chat-input::placeholder { color: var(--muted); }
#ag-chat-send {
  width: 32px;
  height: 32px;
  background: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
#ag-chat-send:hover { background: var(--accent-dark); }
#ag-chat-send svg { width: 14px; height: 14px; stroke: var(--paper); fill: none; }

@media (max-width: 480px) {
  #ag-chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }
  #ag-chat-btn { right: 1rem; bottom: 1rem; }
}

@media (max-width: 600px) {
  section { padding: 5rem 4vw; }
  .kmu-outcomes { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2.4rem; }
  .zm-pillars { grid-template-columns: 1fr; }
  .partner-logos { gap: 1.25rem; }
  .partner-slot { width: 120px; height: 54px; }
}
