/* ============================================================
   Glanzwerk Karow – Stil
   Farbthema abgeleitet aus dem Logo:
   Hauptblau #4a97cf, Dunkelblau #1d5a9e, Grün #4db531, Schlauch-Grau #8a99ad
   ============================================================ */

:root {
  --blue: #4a97cf;          /* Logo-Hauptblau (Körper des Saugers) */
  --blue-dark: #1d5a9e;     /* Logo-Dunkelblau (Kappe) */
  --blue-deep: #164878;     /* abgeleitet, für Titel & Verläufe */
  --blue-soft: #edf4fa;     /* abgeleitet, für Flächen */
  --green: #4db531;         /* Logo-Grün (Schuhe) */
  --green-dark: #3d9625;    /* abgeleitet, für Hover */
  --slate: #5f7488;         /* Logo-Schlauch-Grau (#8a99ad), dunkel für gute Lesbarkeit */
  --ink: #152534;           /* Titel-Text */
  --body: #46586b;          /* Fließtext */
  --bg: #ffffff;
  --bg-soft: #f3f8fc;
  --line: #d9e5ef;
  --shadow: 0 10px 30px rgba(0, 90, 140, 0.10);
  --shadow-soft: 0 4px 14px rgba(0, 90, 140, 0.07);
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--body);
  line-height: 1.65;
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section[id] {
  scroll-margin-top: 84px;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.3;
}

.lead {
  font-size: 1.08rem;
  color: var(--body);
}

.accent {
  color: var(--blue-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 90, 158, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(29, 90, 158, 0.45);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--blue-dark);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-light {
  background: #fff;
  color: var(--blue-deep);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 7px;
  box-shadow: none;
}

.btn-full {
  width: 100%;
  text-align: center;
}

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  height: 54px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.main-nav a.nav-cta {
  color: var(--blue-dark);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(74, 151, 207, 0.14), transparent 60%),
    linear-gradient(180deg, var(--blue-soft) 0%, #ffffff 90%);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-logo-panel {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, var(--blue-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2.2rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.hero-logo {
  /* passt sich immer der Panel-Breite an, ragt nie darüber hinaus */
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(29, 90, 158, 0.25));
}

.hero-badge {
  display: inline-block;
  background: rgba(74, 151, 207, 0.12);
  color: var(--blue-deep);
  border: 1px solid rgba(29, 90, 158, 0.4);
  padding: 0.4rem 0.95rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-content h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content .lead {
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Benefit Strip ---------- */
.benefit-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
}

.benefit-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.benefit h3 {
  font-size: 0.98rem;
  color: var(--blue-deep);
}

.benefit p {
  font-size: 0.85rem;
  color: var(--body);
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.section-head p {
  color: var(--body);
}

.section-head-left {
  text-align: left;
  margin: 0 0 1.5rem;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(74, 151, 207, 0.55);
}

.card-icon {
  display: inline-block;
  font-size: 1.9rem;
  margin-bottom: 0.7rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.card .card-lead {
  font-size: 0.9rem;
  color: var(--blue-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card ul {
  list-style: none;
}

.card ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.card-flat p {
  font-size: 0.92rem;
}

.card-tax {
  background: linear-gradient(145deg, #ffffff 0%, #e9fbf0 100%);
  border-color: rgba(77, 181, 49, 0.4);
}

.card-tax .card-icon {
  color: var(--green-dark);
}

.privat-note {
  text-align: center;
  margin-top: 1.8rem;
  color: var(--body);
  font-size: 0.95rem;
}

.privat-note a {
  color: var(--blue-dark);
  font-weight: 600;
}

/* ---------- Schritte ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 6px 16px rgba(29, 90, 158, 0.35);
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(120deg, var(--blue-deep) 0%, var(--blue-dark) 45%, var(--blue) 100%);
  color: #fff;
  padding: 3.2rem 0;
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 0.8rem;
}

.cta-inner h2 span {
  color: #bfe9ff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.cta-inner .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  font-size: 1.3rem;
  line-height: 1.3;
}

.contact-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.contact-list a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list small {
  display: block;
  color: var(--slate);
}

.contact-list span:not(.contact-icon) {
  display: block;
  color: var(--body);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
}

.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfdff;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 151, 207, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

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

.form-fineprint {
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 0.8rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1b26;
  color: #aebfd0;
  padding: 2.8rem 0 1.2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  color: #aebfd0;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #8fd0f5;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.imprint {
  margin-bottom: 0.8rem;
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 1.2rem;
  text-align: center;
  color: #7d92a6;
  font-size: 0.8rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(61, 150, 37, 0.45);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--green-dark);
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 2.5rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .hero-logo-panel {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid,
  .cards-2,
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .brand img {
    height: 44px;
  }

  .btn-small {
    display: none;
  }

  .section {
    padding: 2.8rem 0;
  }

  .benefit-grid,
  .cards-grid,
  .cards-2,
  .cards-3,
  .steps,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
