/* ============================================================
   beteilige.me – main.css
   Palette 10: #4B328A | #1D1D1B | #F3F2ED | #E3C4DF | #60BEB1 | #E94B5D | #F3BB15
   Schrift: Vollkorn SemiBold (Überschriften) + Inter (Fließtext)
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lila:    #4B328A;
  --schwarz: #1D1D1B;
  --creme:   #F3F2ED;
  --rosa:    #E3C4DF;
  --teal:    #60BEB1;
  --pink:    #E94B5D;
  --gelb:    #F3BB15;

  --radius-sm:  .85rem;
  --radius-md:  1.25rem;
  --radius-lg:  1.5rem;
  --radius-pill: 999px;

  --shadow-card: 0 4px 20px rgba(75, 50, 138, .08);
  --shadow-hover: 0 16px 40px rgba(75, 50, 138, .13);

  --max-w: 1080px;
  --section-py: 6rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--schwarz);
  background: var(--creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4,
.logo-text,
.step-num,
.footer-logo {
  font-family: 'Vollkorn', serif;
  font-weight: 600;
}

/* ── UTILITY ── */
.section-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: .6rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--schwarz);
  line-height: 1.2;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--creme);
  border-bottom: 1.5px solid rgba(75, 50, 138, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 2.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.logo-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-text {
  color: var(--lila);
  font-size: 1.25rem;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

nav a.nav-link {
  color: var(--schwarz);
  text-decoration: none;
  font-size: .88rem;
  padding: .4rem .85rem;
  border-radius: var(--radius-pill);
  transition: background .18s, color .18s;
}

nav a.nav-link:hover {
  background: var(--rosa);
}

.nav-cta {
  background: var(--lila);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  text-decoration: none;
  margin-left: .5rem;
  transition: background .2s;
}

.nav-cta:hover {
  background: var(--pink);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--creme);
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Dekorative Hintergrundkreise */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bc1 {
  width: 520px; height: 520px;
  background: var(--rosa);
  opacity: .35;
  top: -100px; right: -160px;
}

.bc2 {
  width: 280px; height: 280px;
  background: var(--teal);
  opacity: .18;
  bottom: 60px; left: -80px;
}

.bc3 {
  width: 160px; height: 160px;
  background: var(--gelb);
  opacity: .28;
  bottom: 140px; right: 220px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--rosa);
  color: var(--lila);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

#hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--schwarz);
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

#hero h1 em {
  color: var(--lila);
  font-style: normal;
}

#hero p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: var(--lila);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: .97rem;
  font-weight: 500;
  display: inline-block;
  transition: background .2s, transform .15s;
}

.btn-primary:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--lila);
  border: 2px solid var(--lila);
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: .97rem;
  display: inline-block;
  transition: background .2s, color .2s, transform .15s;
}

.btn-ghost:hover {
  background: var(--lila);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Visual Kacheln */
.hero-visual {
  flex: 0 0 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hv-block {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform .2s;
}

.hv-block:hover { transform: scale(1.04); }

.hv1 { background: var(--lila);  color: #fff; border-radius: 60% var(--radius-lg) var(--radius-lg) var(--radius-lg); }
.hv2 { background: var(--teal);        border-radius: var(--radius-lg) 60% var(--radius-lg) var(--radius-lg); }
.hv3 { background: var(--gelb);        border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 60%; }
.hv4 { background: var(--pink);  color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 60% var(--radius-lg); }

/* ── FEATURES ── */
#features {
  padding: var(--section-py) 2rem;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-card {
  background: var(--creme);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.fi-lila { background: #EDE8F8; }
.fi-teal { background: #DFF5F2; }
.fi-gelb { background: #FEF5D6; }
.fi-pink { background: #FDEBEE; }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--schwarz);
}

.feature-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
#how {
  padding: var(--section-py) 2rem;
  background: var(--creme);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-num {
  font-size: 3rem;
  color: var(--rosa);
  line-height: 1;
  margin-bottom: .75rem;
}

.step-card h3 {
  color: var(--lila);
  margin-bottom: .5rem;
  font-size: 1.05rem;
}

.step-card p {
  color: #666;
  font-size: .88rem;
  line-height: 1.65;
}

/* ── DIPAS ── */
#dipas {
  padding: var(--section-py) 2rem;
  background: var(--lila);
}

.dipas-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
}

.dipas-text {
  flex: 1;
  min-width: 280px;
}

.dipas-text .section-label { color: var(--teal); }

.dipas-text h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}

.dipas-text p {
  color: var(--rosa);
  line-height: 1.75;
  font-size: .93rem;
  margin-bottom: .8rem;
}

.dipas-text a {
  color: var(--teal);
  font-size: .9rem;
  text-decoration: none;
  transition: text-decoration .2s;
}

.dipas-text a:hover { text-decoration: underline; }

.dipas-pills {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: .9rem 1.25rem;
  color: #fff;
  font-size: .88rem;
  transition: background .2s;
}

.pill:hover { background: rgba(255, 255, 255, .18); }

.pill-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── QUOTES ── */
#quotes {
  padding: var(--section-py) 2rem;
  background: #fff;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.quote-card {
  background: var(--creme);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-card);
}

.quote-card p {
  font-size: .93rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.quote-card cite {
  font-size: .82rem;
  color: var(--lila);
  font-style: normal;
  font-weight: 500;
}

/* ── CONTACT ── */
#contact {
  padding: var(--section-py) 2rem;
  background: var(--creme);
}

.contact-inner {
  max-width: 580px;
  margin: 0 auto;
}

#contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: .75rem;
}

#contact > .contact-inner > p {
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-size: .95rem;
}

/* Contact Form 7 Overrides */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.wpcf7-form .form-row {
  display: flex;
  gap: .9rem;
}

.wpcf7-form .form-row span { flex: 1; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: .85rem 1.15rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--schwarz);
  transition: border-color .2s;
  outline: none;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--lila);
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  background: var(--lila);
  color: #fff;
  border: none;
  padding: .9rem 2rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Vollkorn', serif;
  font-weight: 600;
  transition: background .2s, transform .15s;
  align-self: flex-start;
  width: auto;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.wpcf7-response-output {
  border-radius: var(--radius-sm) !important;
  border-color: var(--teal) !important;
  color: var(--lila) !important;
  font-size: .88rem;
  padding: .75rem 1rem !important;
  margin: .5rem 0 0 !important;
}

/* ── FOOTER ── */
footer {
  background: var(--schwarz);
  color: rgba(255, 255, 255, .45);
  padding: 2.5rem 2rem;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  color: var(--lila);
  font-size: 1.1rem;
}

footer a {
  color: var(--rosa);
  text-decoration: none;
  margin-left: 1.25rem;
  transition: color .2s;
}

footer a:hover { color: #fff; }

/* WordPress Menü im Footer */
footer .menu {
  list-style: none;
  display: flex;
  gap: .25rem;
  padding: 0;
}

footer .menu li a {
  color: var(--rosa);
  text-decoration: none;
  margin-left: 1.25rem;
  transition: color .2s;
}

footer .menu li a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-text { min-width: unset; }
  #hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }

  .hero-visual {
    flex: unset;
    width: 240px;
  }

  .dipas-inner {
    flex-direction: column;
    gap: 3rem;
  }

  .dipas-pills { flex: unset; width: 100%; }
}

@media (max-width: 680px) {
  nav { padding: .75rem 1.25rem; }

  .nav-links .nav-link { display: none; }

  .nav-cta {
    margin-left: 0;
    font-size: .82rem;
    padding: .45rem 1rem;
  }

  #hero { padding: 6rem 1.25rem 3rem; }

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

  .wpcf7-form .form-row {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer a { margin-left: 0; margin: 0 .5rem; }
}

@media (max-width: 400px) {
  h1 { font-size: 2rem; }
  .hero-visual { width: 200px; }
}
