/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sand:        #FAF6F1;
  --sand-dark:   #F0E8DD;
  --terracotta:  #C67A4A;
  --terracotta-dark: #A8623A;
  --forest:      #3D5A47;
  --forest-light:#5A7D66;
  --charcoal:    #2C2C2C;
  --warm-gray:   #6B6560;
  --white:       #FFFFFF;
  --gold:        #D4A853;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(44,44,44,0.08);
  --shadow-lg:   0 12px 48px rgba(44,44,44,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 122, 74, 0.1);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span { font-size: 1.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 50%, #E8D5C4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(198, 122, 74, 0.12);
  color: var(--terracotta);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero p {
  font-size: 1.15rem;
  color: var(--warm-gray);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 122, 74, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-image {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg, #C67A4A 0%, #D4A853 50%, #5A7D66 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  text-align: center;
}

.hero-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--terracotta);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 4px;
}

.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}

.hero-float-1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-float-2 { bottom: 40px; left: -30px; animation-delay: 1.5s; }

.hero-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-float-icon.green { background: rgba(61, 90, 71, 0.1); }
.hero-float-icon.gold  { background: rgba(212, 168, 83, 0.1); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Section Base ── */
section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Services ── */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(198, 122, 74, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(198, 122, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works { background: var(--sand); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Benefits ── */
.benefits { background: var(--forest); color: var(--white); }

.benefits .section-label { color: var(--gold); }
.benefits .section-subtitle { color: rgba(255,255,255,0.7); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: background 0.3s;
}

.benefit-card:hover {
  background: rgba(255,255,255,0.12);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--white);
}

.benefit-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── Testimonial / Trust ── */
.trust {
  background: var(--white);
  text-align: center;
}

.trust-quote {
  max-width: 700px;
  margin: 0 auto 40px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.trust-numbers {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-number {
  text-align: center;
}

.trust-number-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--terracotta);
}

.trust-number-label {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: 4px;
}

/* ── Contact / CTA ── */
.contact {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--warm-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(198, 122, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand-dark);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: var(--sand);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(198, 122, 74, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

.form-note {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.75;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--terracotta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Anchor targets below the fixed nav */
section[id] { scroll-margin-top: 72px; }

/* ── Legal pages (Impressum, Datenschutz) ── */
.legal {
  padding: 140px 0 100px;
  background: var(--sand);
}

.legal .container { max-width: 780px; }

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}

.legal h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal p,
.legal address,
.legal li {
  color: var(--warm-gray);
  font-style: normal;
  margin-bottom: 12px;
}

.legal ul { padding-left: 20px; }

.legal a {
  color: var(--terracotta);
  text-decoration: underline;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.legal-card p:last-child,
.legal-card address:last-child { margin-bottom: 0; }

.legal-note {
  font-size: 0.9rem;
  border-left: 3px solid var(--terracotta);
  padding-left: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { text-align: center; padding-top: 100px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-float { display: none; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--sand);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
  }

  .benefits-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-numbers { gap: 32px; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
