/* ==========================================================
   Work4Students – styles.css
   Farben, Schriften und Abstände zentral. Änderungen hier
   wirken auf alle Seiten.
   ========================================================== */

:root {
  --purple: #4B31D3;        /* Logo-Farbe */
  --purple-deep: #2A1A8F;
  --purple-ink: #16103A;
  --tint: #F4F2FD;
  --tint-2: #E8E3FB;
  --line: #D9D3F2;
  --text: #1C1838;
  --muted: #5B5680;
  --white: #FFFFFF;
  --wa: #1EBE5D;            /* WhatsApp-Grün, nur für Beitreten-Buttons */
  --wa-deep: #17A04E;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--purple-ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-body); line-height: 1.2; text-align: center;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-deep); }
.btn-outline { background: transparent; color: var(--purple-ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--tint-2); }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--purple); }
.nav a.active { color: var(--purple); }
.nav .btn { padding: 11px 20px; font-size: .95rem; }
.menu-btn {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--purple-ink);
}
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--purple); }
.hero-dark { background: var(--purple-ink); color: #fff; }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: #CFC8F2; }
.hero-dark .hero-facts { color: #CFC8F2; }
.hero-dark .hero-facts svg { color: #A995FF; }

/* ---------- Phone mockup (Signature-Element) ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 320px; max-width: 100%;
  background: #0f0f14; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(43, 26, 143, .45), 0 0 0 1px rgba(0,0,0,.06);
}
.screen {
  background: #ECE5DD; border-radius: 30px; overflow: hidden; height: 560px;
  display: flex; flex-direction: column;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.chat-head {
  background: var(--purple); color: #fff; padding: 22px 16px 12px;
  display: flex; align-items: center; gap: 12px; font-size: .9rem;
}
.chat-head .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--purple);
}
.chat-head strong { display: block; font-size: .95rem; }
.chat-head span { opacity: .8; font-size: .8rem; }
.chat-feed { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; overflow: hidden; }
.msg {
  background: #fff; border-radius: 12px; border-top-left-radius: 3px;
  padding: 10px 12px; font-size: .82rem; line-height: 1.4; color: #111;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  animation: msg-in .45s cubic-bezier(.2,.8,.2,1);
}
.msg .from { color: var(--purple); font-weight: 700; font-size: .78rem; margin-bottom: 3px; }
.msg .title { font-weight: 700; }
.msg .meta { color: #555; }
.msg .time { display: block; text-align: right; color: #999; font-size: .7rem; margin-top: 4px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-input { background: #F0F0F0; padding: 10px 12px; display: flex; gap: 8px; align-items: center; }
.chat-input div { flex: 1; background: #fff; border-radius: 999px; height: 34px; }
.chat-input span { width: 34px; height: 34px; border-radius: 50%; background: var(--wa); }
@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Job type strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--tint); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding-top: 22px; padding-bottom: 22px; }
.strip span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--purple-ink);
}

/* ---------- Steps (echte Reihenfolge, daher nummeriert) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 3px solid var(--purple); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--purple);
  line-height: 1; display: block; margin-bottom: 10px;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--tint-2); color: var(--purple);
  display: grid; place-items: center;
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Areas / Cities ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; font-weight: 700; color: var(--purple-ink);
  display: flex; align-items: center; gap: 12px;
}
.area svg { width: 22px; height: 22px; color: var(--purple); flex: none; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities span {
  border: 1.5px solid var(--purple-ink); border-radius: 999px; padding: 9px 18px; font-weight: 600;
}
.cities span.more { border-style: dashed; color: var(--muted); border-color: var(--line); }

/* ---------- Band (Wechsel zur anderen Zielgruppe) ---------- */
.band { background: var(--purple); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.band h2 { color: #fff; }
.band p { color: #DDD6FF; font-size: 1.1rem; max-width: 30em; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.band .btn-outline:hover { border-color: #fff; }

/* ---------- Stats (Unternehmen) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-left: 3px solid var(--purple); padding: 6px 0 6px 20px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--purple-ink); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); }
.hero-dark .stat b { color: #fff; }
.hero-dark .stat span { color: #CFC8F2; }
.hero-dark .stat { border-color: #A995FF; }

/* ---------- Offers (ohne Preise) ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.offer.highlight { border: 2px solid var(--purple); }
.offer .tag { display: inline-block; background: var(--purple); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }
.offer h3 { font-size: 1.45rem; margin-bottom: .2em; }
.offer .sub { color: var(--muted); margin-bottom: 18px; }
.offer ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.offer li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--tint-2); }
.offer li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat;
}
.offer .price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--purple-ink); margin-bottom: 16px; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.form .field { margin-bottom: 16px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(75,49,211,.15); }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.form .btn { width: 100%; justify-content: center; }
.contact-side h2 { margin-bottom: .4em; }
.contact-side p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--purple); flex: none; margin-top: 2px; }
.contact-list b { display: block; }
.contact-list a { text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--purple-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 42em; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 16em; margin: 0 auto .4em; }
.cta p { color: var(--muted); max-width: 32em; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--purple-ink); color: #C7C1E6; padding: 60px 0 30px; font-size: .95rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer .footer-logo { height: 30px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #C7C1E6; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 60px 22px 90px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .stand { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 .5em; }
.legal p, .legal li { color: var(--text); }
.legal .back { display: inline-block; margin-bottom: 30px; text-decoration: none; font-weight: 600; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero .wrap, .band .wrap, .form-grid { grid-template-columns: 1fr; }
  .band-actions { justify-content: flex-start; }
  .steps, .stats, .offers { grid-template-columns: 1fr; gap: 22px; }
  .features { grid-template-columns: 1fr; gap: 26px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .phone-wrap { order: 2; }
  .screen { height: 480px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--tint-2); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .form .row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn, .band-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 16px 22px; font-size: 1rem; }
}
