* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-warm: #fff8ee;
  --text: #172033;
  --muted: #5d6678;
  --border: #e3e7ee;
  --primary: #1666d9;
  --primary-dark: #0f4faa;
  --primary-soft: #eaf2ff;
  --success: #188038;
  --error: #d93025;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
  --shadow-strong: 0 22px 54px rgba(22, 102, 217, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header h2,
.hero h1,
.website-start h2,
.solution-copy h2,
.trust h2,
.cta-band h2,
.contact-info h2 {
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-header h2,
.website-start h2,
.solution-copy h2,
.trust h2,
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-header p,
.website-start p,
.solution-copy p,
.trust p,
.cta-band p,
.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 102, 217, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary,
.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  min-height: 56px;
  padding: 15px 26px;
}

.btn-block {
  width: 100%;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 0 82px;
  background: #101827;
  color: #ffffff;
}

.hero-background,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
  overflow: hidden;
}

/* CSS-only Hero-Slideshow ohne JavaScript */
.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 24s infinite;
}

.hero-slide-1 {
  background-image: url("img/LogoHintergrund.png");
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80");
  animation-delay: 6s;
}

.hero-slide-3 {
  background-image: url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1800&q=80");
  animation-delay: 12s;
}

.hero-slide-4 {
  background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80");
  animation-delay: 18s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  8% {
    opacity: 1;
  }

  25% {
    opacity: 1;
    transform: scale(1);
  }

  33% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 12, 22, 0.68) 0%,
      rgba(7, 12, 22, 0.74) 48%,
      rgba(7, 12, 22, 0.82) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(7, 12, 22, 0.18) 35%,
      rgba(7, 12, 22, 0.56) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  color: #ffffff;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-actions .btn {
  width: min(100%, 292px);
}

.hero .btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(22, 102, 217, 0.35);
}

.hero .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.hero .btn-secondary:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* KURZE WEBSITE-SECTION */

.website-start {
  padding: 48px 0;
  background: #ffffff;
}

.website-start-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.website-start-inner > div {
  max-width: 720px;
}

/* ANGEBOTE */

.offers {
  background: #ffffff;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 30px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.offer-card:hover,
.offer-card.active {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.offer-card:focus-visible {
  outline: 4px solid var(--primary-soft);
  outline-offset: 4px;
}

.offer-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.offer-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.offer-card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.offer-text {
  margin: 0;
  color: var(--muted);
}

.offer-benefits {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.offer-benefits li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.45;
}

.offer-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.offer-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
}

/* PROBLEM */

.problem,
.process,
.contact {
  background: var(--bg-soft);
}

.problem-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.step-card,
.trust-item,
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card,
.step-card {
  padding: 28px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  background: var(--primary-soft);
  border-radius: 14px;
  font-size: 1.35rem;
}

.info-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.info-card p,
.step-card p,
.trust-item span {
  margin: 0;
  color: var(--muted);
}

/* LÖSUNG */

.solution-inner,
.trust-inner,
.contact-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.solution {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.solution-inner-centered {
  display: flex;
  justify-content: center;
}

.solution-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.solution-card .eyebrow {
  justify-content: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.check-list p {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
}

/* ABLAUF */

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 900;
}

/* VERTRAUEN */

.trust {
  background: var(--bg-warm);
}

.trust-inner {
  grid-template-columns: 0.8fr 1.2fr;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  padding: 22px;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* CTA */

.cta-band {
  background: var(--text);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

/* KONTAKT */

.contact-inner {
  align-items: start;
}

.contact-lead {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: var(--text) !important;
}

.contact-highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-highlights li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.contact-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.contact-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

label span {
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--error);
  font-size: 0.85rem;
}

.form-note,
.form-success {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.form-note {
  color: var(--muted);
}

.form-success {
  color: var(--success);
  font-weight: 800;
}

.hidden-field {
  display: none;
}

.checkbox-group {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-top: 5px;
  flex-shrink: 0;
}

.checkbox-label span {
  color: var(--muted);
  font-weight: 600;
}

/* FOOTER */

.site-footer {
  padding: 28px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand,
.footer-nav,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  color: var(--text);
  font-weight: 900;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-nav a,
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover,
.footer-link:hover {
  color: var(--primary);
}

/* DANKE-SEITE */

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 78%);
  padding: 60px 0;
}

.thank-you-box {
  max-width: 620px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 48px 32px;
}

.thank-you-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.thank-you-box h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.thank-you-box p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-slide-1 {
    opacity: 1;
  }

  .btn,
  .offer-card,
  input,
  select,
  textarea,
  .main-nav,
  .nav-toggle span {
    transition: none;
  }
}

/* RESPONSIVE */

@media (max-width: 1020px) {
  .offers-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .solution-inner,
  .trust-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .website-start-inner,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 16px;
    padding: 18px 16px 22px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    display: grid;
    gap: 12px;
  }

  .btn-nav {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 84px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 12vw, 3.4rem);
    letter-spacing: -0.045em;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 1.02rem;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn,
  .website-start-inner .btn,
  .cta-inner .btn {
    width: 100%;
    min-width: 0;
  }

  .website-start-inner,
  .info-card,
  .step-card,
  .offer-card,
  .contact-form,
  .solution-card {
    padding: 24px;
  }

  .offer-btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-name {
    font-size: 1rem;
  }

  .section-header {
    text-align: left;
  }

  .hero-content {
    text-align: center;
  }

  .hero {
    padding: 72px 0 58px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
  }
}