/* ============================================================
   Squills – The Startup Game · Landing & About (landing.css)
   Eigenständig (lädt style.css NICHT) – gleiche Brand-Sprache:
   Montserrat, Pastell-Verläufe, weiche Karten, viel Luft.
   Sprachumschaltung: html[data-lang] blendet .de/.en um.
   ============================================================ */
:root {
  --ink: #2d2a45; --muted: #8a86a3;
  --primary: #7c5cff; --primary-dark: #6647e8;
  --accent: #ff8a5c; --green: #38c7a2; --gold: #ffce4f; --pink: #ff6f9d;
  --card: #ffffff; --radius: 22px;
  --shadow: 0 6px 24px rgba(80, 60, 160, .10);
  --shadow-lg: 0 16px 48px rgba(80, 60, 160, .20);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffe9f3 0%, transparent 60%),
    radial-gradient(1000px 700px at 110% 0%, #e3f7ff 0%, transparent 55%),
    radial-gradient(900px 600px at 50% 120%, #eafff4 0%, transparent 55%),
    linear-gradient(160deg, #fdf6ec, #eef3ff);
}
/* Sprachumschaltung: nur die aktive Sprache ist sichtbar */
html[data-lang="de"] .en { display: none !important; }
html[data-lang="en"] .de { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 245, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 42, 69, .06);
}
.topbar .wrap { display: flex; align-items: center; gap: 14px; padding: 12px 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); font-size: 1.02rem; }
.brand .nut { font-size: 1.35rem; }
.brand small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
.topbar .spacer { margin-left: auto; }
.lang-select {
  font-family: inherit; font-weight: 700; font-size: .85rem; color: var(--ink);
  background: rgba(255, 255, 255, .85); border: 2px solid rgba(45, 42, 69, .08);
  border-radius: 999px; padding: 8px 30px 8px 13px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232d2a45' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}

/* Topbar mobil: kompakt, alles in eine Zeile */
@media (max-width: 640px) {
  .topbar .wrap { padding: 10px 14px; gap: 8px; }
  .brand { font-size: .9rem; gap: 6px; }
  .brand small { display: none; }             /* „by Squills" erst ab Tablet */
  .lang-select { padding: 7px 24px 7px 10px; font-size: .78rem; background-position: right 8px center; }
  .topbar .btn-small { padding: 8px 13px; font-size: .8rem; }
}
@media (max-width: 430px) {
  .brand span + * { display: none; }          /* nur noch 🐿️ als Logo */
  .brand { font-size: 0; }                    /* Textknoten ausblenden … */
  .brand .nut { font-size: 1.45rem; }         /* … Eichhörnchen bleibt */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; transition: transform .14s ease, box-shadow .14s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 15px 30px; font-size: 1.06rem;
  box-shadow: 0 10px 28px rgba(124, 92, 255, .38);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(124, 92, 255, .45); }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-ghost { background: rgba(255, 255, 255, .85); color: var(--ink); border: 2px solid rgba(45, 42, 69, .08); padding: 13px 26px; box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; text-align: center; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  background: linear-gradient(92deg, var(--primary), var(--pink) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 850px; margin: 0 auto;
}
.hero .lead { font-size: clamp(1.02rem, 2.1vw, 1.25rem); color: var(--ink); opacity: .85; max-width: 640px; margin: 20px auto 0; font-weight: 500; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; gap: 9px 18px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.trust span::before { content: '✓ '; color: var(--green); font-weight: 800; }
.hero-visual { margin-top: 44px; position: relative; }
.hero-visual img {
  width: min(920px, 94%); border-radius: 26px 26px 0 0;
  box-shadow: 0 -18px 70px rgba(80, 60, 160, .25);
  display: block; margin: 0 auto; border: 6px solid #fff; border-bottom: none;
}
.hero-badge {
  position: absolute; top: -18px; right: max(12px, calc(50% - 480px)); rotate: 6deg;
  background: var(--gold); color: #6b4d00; font-weight: 800; font-size: .9rem;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
}

/* ---------- Sektionen ---------- */
section { padding: 74px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.section-head p { color: var(--muted); font-weight: 500; margin-top: 10px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

/* Feature-Karten mit Raum-Renderings */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature .fbody { padding: 20px 22px 24px; }
.feature h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 7px; }
.feature p { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* Lern-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; }
.chip {
  background: rgba(255, 255, 255, .85); border: 2px solid rgba(124, 92, 255, .16);
  border-radius: 999px; padding: 9px 17px; font-size: .88rem; font-weight: 700;
}

/* Cast als Polaroids: Papierrahmen, dicker unterer Rand, gestreute Drehung,
   Klebestreifen & Handschrift (Caveat) – komplett in CSS gerendert */
.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px 24px; padding-top: 10px; }
.cast-card {
  position: relative;
  background: linear-gradient(180deg, #fefefe, #f7f5f0);   /* Fotopapier-Weiß */
  border-radius: 3px;                                       /* Polaroids sind fast eckig */
  padding: 11px 11px 16px;                                  /* schmaler Rahmen, unten kommt Text-Bereich dazu */
  text-align: center;
  box-shadow: 0 1px 2px rgba(45, 42, 69, .16), 0 12px 28px rgba(80, 60, 160, .22);
  transition: transform .22s ease, box-shadow .22s ease, z-index 0s;
}
/* gestreut an die Wand gepinnt */
.cast-card:nth-child(4n+1) { transform: rotate(-2.5deg); }
.cast-card:nth-child(4n+2) { transform: rotate(1.8deg) translateY(8px); }
.cast-card:nth-child(4n+3) { transform: rotate(-1.2deg); }
.cast-card:nth-child(4n)   { transform: rotate(2.6deg) translateY(6px); }
.cast-card:hover { transform: rotate(0deg) translateY(-6px) scale(1.04); box-shadow: 0 2px 4px rgba(45, 42, 69, .14), 0 24px 48px rgba(80, 60, 160, .3); z-index: 2; }
/* halbtransparenter Klebestreifen oben */
.cast-card .tape {
  position: absolute; top: -12px; left: 50%; width: 92px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 244, 189, .68);
  border-left: 1px dashed rgba(45, 42, 69, .12); border-right: 1px dashed rgba(45, 42, 69, .12);
  box-shadow: 0 2px 5px rgba(45, 42, 69, .12);
}
.cast-card:nth-child(even) .tape { transform: translateX(-50%) rotate(2.5deg); }
/* das „Foto" im Rahmen */
.cast-card .photo {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 1; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #cfc4f4 0%, #b8aaee 55%, #a495e4 100%);
  box-shadow: inset 0 0 24px rgba(45, 42, 69, .18);          /* leichte Vignette wie ein echter Abzug */
}
.cast-card .photo img { height: 92%; max-width: 94%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(45, 42, 69, .3)); }
/* Beschriftung: handschriftlich auf dem unteren Polaroid-Rand */
.cast-card b {
  display: block; margin-top: 10px;
  font-family: 'Caveat', 'Bradley Hand', cursive;
  font-size: 1.65rem; font-weight: 700; line-height: 1.1; letter-spacing: 0;
  color: #3d3860; rotate: -1deg;
}
.cast-card .cast-desc { display: block; font-size: .84rem; color: var(--muted); font-weight: 500; padding: 4px 6px 2px; }
.cast-card b span { font-size: inherit; color: inherit; font-weight: inherit; font-family: inherit; }

/* Eltern-Sektion */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; margin-bottom: 14px; }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; font-size: .96rem; }
.checklist li::before { content: '✅'; flex-shrink: 0; }
.parent-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.parent-card .big { font-size: 2.6rem; }
.parent-card h3 { font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 6px; }
.parent-card p { color: var(--muted); font-weight: 500; font-size: .94rem; }

/* Motivation-Teaser */
.quote-band { background: linear-gradient(135deg, #efe9ff, #ffe9f3); border-radius: 28px; padding: 52px 34px; text-align: center; }
.quote-band blockquote { font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; max-width: 740px; margin: 0 auto; }
.quote-band cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); font-weight: 600; font-size: .92rem; }
.quote-band a { color: var(--primary-dark); font-weight: 800; }

/* Final CTA */
.final-cta { text-align: center; padding: 30px 0 90px; }
.final-cta h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }

/* Footer */
footer { border-top: 1px solid rgba(45, 42, 69, .08); padding: 30px 0 40px; }
footer .wrap { display: flex; gap: 14px 26px; align-items: center; flex-wrap: wrap; font-size: .86rem; color: var(--muted); font-weight: 500; }
footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer .spacer { margin-left: auto; }

/* ---------- About-Seite ---------- */
.about-hero { text-align: center; padding: 70px 0 20px; }
.about-hero .nut-big { font-size: 3.4rem; }
.about-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-top: 10px; }
.prose { max-width: 660px; margin: 0 auto; padding: 26px 0 40px; }
.prose p { margin-bottom: 20px; font-size: 1.03rem; font-weight: 500; }
.prose p.big { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.prose h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 34px 0 12px; }
.prose .sig { color: var(--muted); font-weight: 600; }
.prose .hl { background: linear-gradient(180deg, transparent 62%, rgba(255, 206, 79, .55) 62%); }
