/* ============================================
   AVANN — Basis-Stylesheet
   Farbpalette abgeleitet aus Workflow_AVANN.png
   ============================================ */

:root {
  --brand: #6a486a;
  --brand-dark: #4d3550;
  --brand-darker: #3a2740;
  --brand-light: #8a6b8a;
  --brand-tint: #eee7ee;
  --bg-section: #f4f2f4;
  --bg-muted: #dcd8dc;
  --ink: #232128;
  --ink-soft: #5c5860;
  --ink-faint: #8a8690;
  --white: #ffffff;
  --line: #e3dfe3;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(58, 39, 64, 0.10);
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

section { padding: 96px 0; }

.section-tight { padding: 64px 0; }

.section-alt { background: var(--bg-section); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--bg-muted);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--brand); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 40px;
  background:
    radial-gradient(1100px 480px at 82% -10%, var(--brand-tint), transparent 60%),
    var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 20px; }

.hero-copy .lead { margin-bottom: 32px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-dark);
}
.hero-stats .stat-label {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Logo strip / status ---------- */
.status-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.status-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.status-strip strong { color: var(--ink-soft); }

/* ---------- Problem / Solution ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split .tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list li svg { flex: none; margin-top: 3px; color: var(--brand); }

/* ---------- Workflow ---------- */
.workflow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.workflow-card img { width: 100%; height: auto; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; }

/* ---------- Team ---------- */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  text-align: left;
  border-top: 3px solid var(--brand);
  padding-top: 16px;
}
.team-card .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.team-card h3 { margin-bottom: 6px; font-size: 17px; }
.team-card p { font-size: 14px; margin: 0; }

/* ---------- CTA / Contact ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-darker), var(--brand));
  color: var(--white);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
}
.cta-section h2, .cta-section p { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.82); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--white); color: var(--brand-darker); }
.cta-section .btn-primary:hover { background: var(--bg-section); }
.cta-section .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cta-section .btn-outline:hover { border-color: var(--white); }
.cta-section .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.footer-brand img { height: 18px; margin-bottom: 14px; filter: invert(1) brightness(1.8); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; max-width: 320px; margin: 0; }

.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}
.legal-content {
  padding: 48px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 21px; margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 15.5px; }
.legal-content a { color: var(--brand); text-decoration: underline; }
.legal-note {
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 48px 28px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 700px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav-links a:last-child { border-bottom: none; }
  .site-header.nav-open .nav-cta .btn {
    display: inline-flex;
    margin: 0 24px 20px;
  }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
