
/* ============================================
   HandwerkFirst — eigenes Branding
   Primär: Tiefes Petrol (#0f4c5c)
   Akzent: Warmes Kupfer (#e8b04b)
   Light + Dark Mode via [data-theme]
   ============================================ */
:root {
  --petrol: #0f4c5c;
  --petrol-dunkel: #0a2e38;
  --petrol-tief: #072129;
  --kupfer: #e8b04b;
  --kupfer-dunkel: #c9932e;

  --bg: #f6f4ee;
  --surface: #ffffff;
  --card: #f6f4ee;
  --text: #1c2b30;
  --heading: #072129;
  --grau: #5b6b72;
  --link: #0f4c5c;
  --border: rgba(15, 76, 92, .09);
  --kicker-bg: rgba(15, 76, 92, .07);

  --radius: 14px;
  --schatten: 0 4px 18px rgba(7, 33, 41, .06);
  --schatten-hover: 0 10px 30px rgba(7, 33, 41, .10);
  --schatten-stark: 0 24px 60px rgba(7, 33, 41, .22);

  --hero-bg:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232,176,75,.10), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(15,76,92,.45), transparent),
    linear-gradient(160deg, var(--petrol-tief) 0%, var(--petrol-dunkel) 55%, var(--petrol) 100%);
  --dark-section: linear-gradient(180deg, var(--petrol-tief), var(--petrol-dunkel));
  --dsgvo-bg: linear-gradient(160deg, var(--petrol-tief), var(--petrol-dunkel));
  --footer-bg: var(--petrol-tief);
}
[data-theme="dark"] {
  --bg: #0d1518;
  --surface: #121e24;
  --card: #18262d;
  --text: #e2eaee;
  --heading: #f0f5f7;
  --grau: #9db0b8;
  --link: #6fb9cd;
  --border: rgba(232, 176, 75, .10);
  --kicker-bg: rgba(232, 176, 75, .10);

  --schatten: 0 4px 18px rgba(0, 0, 0, .35);
  --schatten-hover: 0 10px 30px rgba(0, 0, 0, .45);
  --schatten-stark: 0 24px 60px rgba(0, 0, 0, .55);

  --hero-bg:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232,176,75,.07), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(15,76,92,.30), transparent),
    linear-gradient(160deg, #04121a 0%, #072530 55%, #0a3542 100%);
  --dark-section: linear-gradient(180deg, #04121a, #082632);
  --dsgvo-bg: linear-gradient(160deg, #04121a, #082632);
  --footer-bg: #030d12;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Sanfte Theme-Übergänge */
body, section, footer, nav,
.feature-card, .step, .preis-card, .recht-block, .kontakt-box,
.section-head h2, .section-head p, .feature-card h3, .feature-card p,
.step h3, .step p, .preis-card h3, .recht-block h2, .recht-block h3,
.recht-block p, .recht-block li {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}

/* ---------- Navigation ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7, 33, 41, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 176, 75, .15);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 900; color: #fff;
  text-decoration: none; letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--petrol);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo span { color: var(--kupfer); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--kupfer); }
.nav-cta {
  background: var(--kupfer); color: var(--petrol-tief) !important;
  padding: 10px 22px; border-radius: 99px; font-weight: 700 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--kupfer-dunkel); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme-Toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--kupfer);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { background: rgba(232,176,75,.15); border-color: rgba(232,176,75,.5); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.burger span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--hero-bg);
  color: #fff;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232,176,75,.10); border: 1px solid rgba(232,176,75,.30);
  color: var(--kupfer); padding: 8px 18px; border-radius: 4px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--kupfer); flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--kupfer); }
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.75);
  max-width: 540px; margin-bottom: 40px; font-weight: 400; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 99px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--kupfer); color: var(--petrol-tief);
  box-shadow: 0 6px 24px rgba(232,176,75,.28);
}
.btn-primary:hover { background: var(--kupfer-dunkel); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(232,176,75,.36); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: var(--kupfer); color: var(--kupfer); }
.hero-trust {
  margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap;
  font-size: .88rem; color: rgba(255,255,255,.6);
}
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Phone-Mockup — aufrecht, dezent, professionell */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 280px; border-radius: 38px;
  background: #0c1c22;
  padding: 10px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255,255,255,.07);
}
.phone-screen {
  border-radius: 29px; overflow: hidden; background: #101d23;
  aspect-ratio: 9/19;
}

/* ---------- Sektionen allgemein ---------- */
section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-kicker {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--link); background: var(--kicker-bg);
  padding: 7px 18px; border-radius: 4px; margin-bottom: 20px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--heading); margin-bottom: 18px; }
.section-head p { font-size: 1.06rem; color: var(--grau); line-height: 1.75; }

/* ---------- Funktionen ---------- */
.features { background: var(--surface); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  background: var(--card); border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .35s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-hover);
  border-color: rgba(232,176,75,.35);
}
.feature-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--petrol); color: var(--kupfer);
  display: grid; place-items: center; margin-bottom: 22px;
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { font-size: 1.06rem; color: var(--heading); margin-bottom: 10px; }
.feature-card p { font-size: .92rem; color: var(--grau); line-height: 1.7; }

/* ---------- App-Ansichten ---------- */
.screenshots { background: var(--dark-section); color: #fff; }
.screenshots .section-kicker { background: rgba(232,176,75,.14); color: var(--kupfer); }
.screenshots .section-head h2 { color: #fff; }
.screenshots .section-head p { color: rgba(255,255,255,.65); }

/* ---------- Video ---------- */
.video-section { background: var(--bg); }
.video-wrapper { max-width: 900px; margin: 0 auto; }
.video-wrapper video { display: block; max-width: 100%; }

/* ---------- Ablauf ---------- */
.ablauf { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: var(--surface); border-radius: var(--radius);
  padding: 38px 28px; position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--schatten);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--petrol); color: var(--kupfer);
  font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center; margin-bottom: 20px;
}
.step h3 { font-size: 1.04rem; color: var(--heading); margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--grau); line-height: 1.7; }

/* ---------- Preise ---------- */
.preise { background: var(--surface); }
.preis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1020px; margin: 0 auto; }
.preis-card {
  background: var(--card); border-radius: var(--radius);
  padding: 44px 34px; text-align: center;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, background-color .35s ease, border-color .35s ease;
}
.preis-card:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
.preis-card.beliebt {
  background: linear-gradient(165deg, var(--petrol-dunkel), var(--petrol));
  color: #fff; border: 1px solid rgba(232,176,75,.55);
  position: relative;
  box-shadow: 0 18px 48px rgba(7, 33, 41, .28);
}
[data-theme="dark"] .preis-card.beliebt {
  background: linear-gradient(165deg, #0e3a47, #0f4c5c);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
}
.preis-card.beliebt h3, .preis-card.beliebt .preis-betrag { color: #fff; }
.empfohlen-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--kupfer); color: var(--petrol-tief);
  padding: 5px 20px; border-radius: 99px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(232,176,75,.35);
  white-space: nowrap;
}
.preis-card h3 { font-size: 1.18rem; color: var(--heading); margin-bottom: 8px; }
.preis-beschreibung { font-size: .9rem; color: var(--grau); margin-bottom: 26px; }
.preis-card.beliebt .preis-beschreibung { color: rgba(255,255,255,.7); }
.preis-betrag { font-size: 2.7rem; font-weight: 800; color: var(--link); margin-bottom: 4px; }
.preis-betrag small { font-size: 1rem; font-weight: 600; }
.preis-einheit { font-size: .88rem; color: var(--grau); margin-bottom: 28px; }
.preis-card.beliebt .preis-einheit { color: rgba(255,255,255,.65); }
.preis-features { list-style: none; text-align: left; margin-bottom: 34px; flex-grow: 1; }
.preis-features li {
  padding: 8px 0; font-size: .93rem;
  display: flex; gap: 10px; align-items: flex-start;
}
.preis-features li::before {
  content: "✓"; color: var(--kupfer-dunkel); font-weight: 900; flex-shrink: 0;
}
.preis-card.beliebt .preis-features li::before { color: var(--kupfer); }
.preis-btn { width: 100%; justify-content: center; }
.btn-outline {
  background: transparent; border: 1.5px solid var(--link); color: var(--link);
}
.btn-outline:hover { background: var(--link); color: #fff; border-color: var(--link); }
.preis-hinweis {
  text-align: center; margin-top: 40px; font-size: .92rem; color: var(--grau);
}

/* ---------- DSGVO ---------- */
.dsgvo { background: var(--dsgvo-bg); color: #fff; }
.dsgvo .section-kicker { background: rgba(232,176,75,.14); color: var(--kupfer); }
.dsgvo .section-head h2 { color: #fff; }
.dsgvo .section-head p { color: rgba(255,255,255,.7); }
.dsgvo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dsgvo-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 32px 26px;
  transition: background .25s, border-color .25s;
}
.dsgvo-card:hover { background: rgba(255,255,255,.07); border-color: rgba(232,176,75,.35); }
.dsgvo-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(232,176,75,.14); color: var(--kupfer);
  display: grid; place-items: center; margin-bottom: 20px;
}
.dsgvo-icon svg { width: 23px; height: 23px; }
.dsgvo-card h3 { font-size: 1.01rem; margin-bottom: 10px; color: #fff; }
.dsgvo-card p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.dsgvo-card strong { color: rgba(255,255,255,.85); }
.dsgvo-statement {
  text-align: center; margin-top: 60px;
  font-size: 1.2rem; font-weight: 700; color: var(--kupfer);
}

/* ---------- CTA ---------- */
.cta { background: var(--bg); text-align: center; }
.cta-box {
  background: linear-gradient(140deg, var(--petrol) 0%, var(--petrol-dunkel) 100%);
  border-radius: 20px; padding: 80px 40px; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--schatten-stark);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(232,176,75,.15), transparent);
}
.cta-box h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 1.08rem; color: rgba(255,255,255,.75); margin-bottom: 36px; position: relative; }
.cta-box .btn { position: relative; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--surface); }
.kontakt-box {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--card); border-radius: var(--radius);
  padding: 56px 40px; border: 1px solid var(--border);
}
.kontakt-box h2 { color: var(--heading); margin-bottom: 14px; }
.kontakt-box p { color: var(--grau); margin-bottom: 30px; }
.kontakt-mail {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--link);
  text-decoration: none; padding: 14px 30px;
  border: 1.5px solid var(--link); border-radius: 99px;
  transition: background .2s, color .2s, border-color .2s;
}
.kontakt-mail:hover { background: var(--link); color: #fff; }

/* ---------- Rechtliches ---------- */
.recht { background: var(--bg); }
.recht-block {
  max-width: 820px; margin: 0 auto 56px;
  background: var(--surface); border-radius: var(--radius);
  padding: 50px 52px; border: 1px solid var(--border);
}
.recht-block:last-child { margin-bottom: 0; }
.recht-block h2 { color: var(--heading); font-size: 1.5rem; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 3px solid var(--kupfer); display: inline-block; }
.recht-block h3 { color: var(--link); font-size: 1.08rem; margin: 28px 0 10px; }
.recht-block p, .recht-block li { font-size: .94rem; color: var(--grau); margin-bottom: 10px; line-height: 1.75; }
.recht-block ul { padding-left: 22px; }
.recht-block strong { color: var(--text); }
.recht-block a { color: var(--link); }

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg); color: rgba(255,255,255,.65);
  padding: 56px 0 30px;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 30px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 26px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--kupfer); }
.footer-bottom { text-align: center; font-size: .84rem; color: rgba(255,255,255,.4); }

/* ---------- Fade-in Animation ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dsgvo-grid { grid-template-columns: repeat(2, 1fr); }
  .preis-grid { grid-template-columns: 1fr; max-width: 480px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--petrol-tief); flex-direction: column;
    padding: 20px 24px; gap: 16px; align-items: flex-start;
    border-bottom: 1px solid rgba(232,176,75,.2);
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .features-grid, .steps, .dsgvo-grid { grid-template-columns: 1fr; }
  .recht-block { padding: 34px 26px; }
  .phone { width: 240px; }
}
