:root {
  --bs-ink: #201C1A;
  --bs-ink-soft: #4A413C;
  --bs-text-muted: #756B64;
  --bs-canvas: #FAF7F3;
  --bs-canvas-alt: #F1EBE3;
  --bs-line: #E4DBD0;
  --bs-accent: #C4391C;
  --bs-accent-dark: #8F2610;
  --bs-accent-bg: #FCEAE3;
  --bs-white: #FFFFFF;
  --bs-shadow-card: 6px 6px 0 rgba(32,28,26,0.06), 0 20px 40px rgba(32,28,26,0.08);
  --bs-shadow-card-hover: 9px 9px 0 rgba(196,57,28,0.10), 0 24px 48px rgba(32,28,26,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bs-canvas);
  color: var(--bs-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; color: var(--bs-ink); }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--bs-ink-soft); }
.muted { color: var(--bs-text-muted); }
.lead { font-size: 19px; color: var(--bs-ink-soft); max-width: 640px; }

/* Nav */
nav.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250,247,243,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bs-line);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
nav.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
nav.top .brand img { width: 30px; height: 30px; }
nav.top .brand .b1 { color: var(--bs-ink); }
nav.top .brand .b2 { color: var(--bs-accent); }
nav.top .links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
nav.top .links a { color: var(--bs-ink-soft); padding: 4px 0; border-bottom: 2px solid transparent; }
nav.top .links a:hover, nav.top .links a.active { color: var(--bs-accent); border-bottom-color: var(--bs-accent); }
nav.top .cta {
  background: var(--bs-accent); color: var(--bs-white); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 8px; box-shadow: 3px 3px 0 var(--bs-accent-dark);
  transition: transform .12s ease;
}
nav.top .cta:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--bs-accent-dark); }
@media (max-width: 780px) { nav.top .links { display: none; } }

/* Hero */
header.hero {
  background: linear-gradient(180deg, var(--bs-canvas-alt) 0%, var(--bs-canvas) 100%);
  padding: 80px 0 64px;
}
header.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bs-accent-bg); color: var(--bs-accent-dark);
  border: 1px solid #F0C9BA; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
header.hero h1 { margin-bottom: 18px; max-width: 780px; }
header.hero .lead { margin-bottom: 30px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--bs-accent); color: var(--bs-white); box-shadow: 4px 4px 0 var(--bs-accent-dark); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--bs-accent-dark); }
.btn-ghost { background: var(--bs-white); color: var(--bs-ink); border: 1px solid var(--bs-line); box-shadow: 4px 4px 0 rgba(32,28,26,0.08); }
.btn-ghost:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(32,28,26,0.10); }

/* Sections */
main { padding: 0 0 40px; }
section { padding: 64px 0; }
section.alt { background: var(--bs-white); border-top: 1px solid var(--bs-line); border-bottom: 1px solid var(--bs-line); }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bs-white); border: 1px solid var(--bs-line); border-radius: 14px;
  padding: 26px; box-shadow: var(--bs-shadow-card);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: var(--bs-shadow-card-hover); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--bs-accent-bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 22px;
}
.card p { font-size: 15px; }

.num-badge {
  width: 30px; height: 30px; border-radius: 8px; background: var(--bs-ink); color: var(--bs-white);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  margin-bottom: 12px;
}

/* Feature / AI panel */
.ai-panel {
  background: var(--bs-ink); color: var(--bs-white); border-radius: 18px;
  padding: 40px; box-shadow: 8px 8px 0 var(--bs-accent);
  position: relative; overflow: hidden;
}
.ai-panel h2, .ai-panel h3 { color: var(--bs-white); }
.ai-panel .lead { color: #D8D0C8; }
.ai-panel .btn-primary { box-shadow: 4px 4px 0 #6B1B0C; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--bs-accent-bg);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-item a { color: var(--bs-accent-dark); font-weight: 700; }
.contact-item a:hover { text-decoration: underline; }

/* Footer */
footer.site { border-top: 1px solid var(--bs-line); padding: 36px 0; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
footer.site .brand img { width: 20px; height: 20px; }
footer.site .flinks { display: flex; gap: 20px; font-size: 13px; color: var(--bs-text-muted); }
footer.site .flinks a:hover { color: var(--bs-accent); }

/* Impressum-style simple page */
.doc { max-width: 720px; }
.doc h2 { font-size: 17px; margin: 30px 0 8px; }
.doc p { font-size: 15px; margin-bottom: 4px; }
