:root {
  --orange: #F38600;
  --orange-dark: #D97400;
  --ink: #211A12;
  --muted: #7A6F60;
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --border: rgba(33, 26, 18, 0.1);
  --shadow: 0 20px 40px -20px rgba(33, 26, 18, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0; }

p { line-height: 1.6; margin: 0; }

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(243, 134, 0, 0.55);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 246, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand-logo { height: 26px; width: auto; }
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 28px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}
.main-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Hero phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: 280px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--surface);
  border-radius: 28px;
  padding: 34px 16px 20px;
  min-height: 480px;
}
.mock-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-logo-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  flex-shrink: 0;
}
.mock-title-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-line { display: block; height: 8px; border-radius: 4px; background: #E7E1D8; }
.mock-line.muted { background: #EFEAE2; height: 6px; }
.w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; }
.w-45 { width: 45%; } .w-55 { width: 55%; } .w-60 { width: 60%; }
.w-65 { width: 65%; } .w-70 { width: 70%; }
.mock-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mock-tabs::-webkit-scrollbar { display: none; }
.mock-tab {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: #F1ECE3;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-tab.active { background: var(--orange); color: #fff; }
.mock-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: #FAF7F2;
  margin-bottom: 12px;
}
.mock-thumb {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #F3B15C, var(--orange));
  flex-shrink: 0;
}
.mock-thumb.alt { background: linear-gradient(135deg, #8FBFA0, #4E8B7C); }
.mock-card-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(243, 134, 0, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.chip-qr { top: 8%; right: -4%; }
.chip-qr-icon {
  width: 18px; height: 18px; border-radius: 3px;
  background:
    linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px, var(--ink) 6px 9px, transparent 9px 12px, var(--ink) 12px 15px, transparent 15px 18px);
}
.chip-ai { bottom: 10%; left: -6%; }

/* Logos strip */
.logos-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-strip p {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Section heading */
.section-heading { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* Features */
.features { padding: 100px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border-radius: 12px;
  background: rgba(243, 134, 0, 0.1);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* Ablauf / Steps */
.ablauf { padding: 0 0 100px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { padding: 0 0 100px; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 24px;
}
.faq-item summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.95rem; padding-bottom: 18px; margin-top: -6px; }

/* CTA */
.cta-section {
  margin: 0 24px 100px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--ink) 0%, #33291B 100%);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
}
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-section p { color: rgba(255,255,255,0.72); margin-top: 14px; font-size: 1.05rem; }
.cta-section .btn { margin-top: 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 20px; opacity: 0.85; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { font-size: 0.8rem; color: var(--muted); width: 100%; text-align: center; margin-top: 8px; }

/* Kontakt page */
.kontakt-hero { padding: 64px 0 8px; text-align: center; }
.kontakt-hero h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.01em; }
.kontakt-intro { max-width: 520px; margin: 16px auto 0; }
.kontakt-body { padding: 56px 0 110px; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.kontakt-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Honeypot spam-trap field — hidden from real visitors, still present for bots that fill in every field. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note.is-error { color: #C0392B; }
.form-note.is-success { color: #2F6F4E; font-weight: 600; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row .optional { font-weight: 400; color: var(--muted); }
.form-row input,
.form-row textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.kontakt-form .btn { margin-top: 6px; align-self: flex-start; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 0; }

.kontakt-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.info-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.info-card .info-value { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
a.info-value:hover { color: var(--orange); }
.info-card-accent { background: rgba(243, 134, 0, 0.08); border-color: rgba(243, 134, 0, 0.25); }
.info-card-accent p { color: var(--ink); font-size: 0.92rem; }

@media (max-width: 800px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-form { padding: 28px 22px; }
}

/* Legal pages */
.legal-page { padding: 64px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.15rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-placeholder {
  background: #FFF4E6;
  border: 1px solid rgba(243, 134, 0, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #7A4E00;
}
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; color: var(--orange); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .phone-mock { width: 240px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .chip-qr, .chip-ai { display: none; }
  .cta-section { padding: 48px 24px; margin-left: 12px; margin-right: 12px; }
}
