/* ============================================================
   Malte Wulf — B2B Lead Research
   Palette: Sea Blue / Terrakotta / Sand / Weiss
   Type: Sora (Headings) + Inter (Body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sea: #1C4A5A;
  --sea-light: #285f73;
  --terra: #C25B3F;
  --terra-dark: #a94a31;
  --sand: #FBF5EC;
  --white: #FFFFFF;
  --ink: #17303a;
  --ink-soft: #4b6470;
  --border: rgba(28, 74, 90, 0.12);

  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 74, 90, 0.08);
  --shadow-hover: 0 16px 40px rgba(28, 74, 90, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--sea);
  line-height: 1.15;
  font-weight: 700;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

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

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

section {
  padding: 96px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(194, 91, 63, 0.35);
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 91, 63, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--sea);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--sea);
  transform: translateY(-2px);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 245, 236, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.scrolled {
  background: rgba(251, 245, 236, 0.95);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sea);
}

.nav-logo span {
  color: var(--terra);
}

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

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--sea);
}

.nav-links .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sea);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Hero ── */
.hero {
  padding: 170px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,91,63,0.14), transparent 70%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,74,90,0.10), transparent 70%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  margin-bottom: 22px;
}

.hero .subline {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}

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

.hero-meta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--sea);
}

/* ── Problem / Loesung ── */
.problem-solution {
  background: var(--white);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ps-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.ps-card.solution {
  background: var(--sea);
  color: var(--white);
}

.ps-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.ps-card.solution h3 {
  color: var(--white);
}

.ps-card p {
  color: var(--ink-soft);
}

.ps-card.solution p {
  color: rgba(255,255,255,0.85);
}

.ps-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
}

.ps-card:not(.solution) .ps-tag {
  background: rgba(194, 91, 63, 0.12);
  color: var(--terra);
}

.ps-card.solution .ps-tag {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

/* ── Steps ── */
.steps {
  counter-reset: step;
}

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

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--terra);
  opacity: 0.85;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ── Leistungen ── */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sea);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.service-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.service-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.service-item.optional {
  border-style: dashed;
}

/* ── Kontakt ── */
.contact {
  background: var(--sea);
  color: var(--white);
}

.contact .section-head h2,
.contact .eyebrow {
  color: var(--white);
}

.contact .eyebrow {
  color: #f0c6b6;
}

.contact .section-head p {
  color: rgba(255,255,255,0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-sample {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 8px;
}

.contact-sample h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-sample p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item a,
.contact-item span {
  font-size: 1rem;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--terra);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-form > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sea);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--sand);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terra);
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: #133641;
  color: rgba(255,255,255,0.65);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .ps-grid,
  .steps-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sand);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-meta {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 24px;
  }

  .step-card,
  .ps-card {
    padding: 26px;
  }
}
