/* ============================================================
   Malbuch – Landing Page
   Warm, kindgerecht; Akzent Orange. Mobile-first, responsive.
   ============================================================ */
:root {
  --accent: #ff8a00;
  --accent-2: #ff5d8f;
  --ink: #1f2430;
  --muted: #5b6472;
  --bg: #fffdf9;
  --tint: #fff4e6;
  --card: #ffffff;
  --line: #eadfce;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 36, 48, .10);
  --max: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 253, 249, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand__name { font-size: 20px; letter-spacing: -.01em; }
.brand__mark { display: inline-flex; }
.brand--sm .brand__name { font-size: 18px; }

.lang { display: flex; gap: 6px; }
.lang__btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 4px 6px; cursor: pointer; line-height: 0; opacity: .55; transition: .2s;
}
.lang__btn:hover { opacity: .85; }
.lang__btn--active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,138,0,.15); }

/* Layout helpers */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 92px) clamp(16px, 4vw, 40px); }
.section--tint { max-width: none; background: var(--tint); }
.section--tint > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__title { text-align: center; font-size: clamp(26px, 4vw, 38px); margin-bottom: 40px; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 52px); letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 2vw, 20px); max-width: 34ch; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stores--center { justify-content: center; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-badge { transition: transform .15s; }
.store-badge:hover { transform: translateY(-2px); }
.stores__note { font-size: 13px; margin-top: 10px; color: var(--muted); }

/* Hero visual: book + floating pages */
.hero__visual { display: flex; justify-content: center; }
.book { position: relative; width: min(340px, 80vw); aspect-ratio: 1; }
.book__cover {
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow); color: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 22px; transform: rotate(-3deg);
}
.book__title { font-size: 30px; font-weight: 800; margin-top: 6px; }
.book__motif {
  margin: auto 0; width: 62%; background: #fff; border-radius: 12px; padding: 14px;
}
.book__motif svg { width: 100%; display: block; }
.book__name { font-weight: 600; opacity: .95; margin-bottom: 4px; }
.page {
  position: absolute; width: 46%; aspect-ratio: 1; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow); padding: 14px;
  border: 1px solid var(--line);
}
.page svg { width: 100%; height: 100%; }
.page--1 { right: -6%; top: -8%; transform: rotate(8deg); }
.page--2 { left: -8%; bottom: -6%; transform: rotate(-9deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow);
}
.step__icon { margin-bottom: 10px; display: flex; justify-content: center; }
.step h3 { font-size: 19px; }
.step__icon svg, .feature__ic svg {
  width: 30px; height: 30px; fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.feature__ic { margin-bottom: 10px; }
.feature h3 { font-size: 17px; }
.feature p { margin: 0; font-size: 15px; }

/* Split band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.split__card h2 { font-size: 22px; }

/* For businesses (B2B) */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.biz__copy h2 { font-size: clamp(24px, 3.4vw, 34px); }
.biz__list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.biz__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tint); color: var(--accent); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.biz__who { color: var(--muted); font-size: 15px; margin: 0; }
.biz__shots { display: flex; justify-content: center; gap: 20px; }
.phone {
  margin: 0; width: min(220px, 42vw);
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 8px; box-shadow: var(--shadow);
}
.phone img { display: block; width: 100%; border-radius: 20px; }
.phone figcaption { text-align: center; font-size: 13px; color: var(--muted); padding: 10px 6px 4px; }
.phone--offset { transform: translateY(28px); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px;
}
.faq__item summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding-bottom: 14px; margin: 0; }

/* CTA */
.cta-band { background: linear-gradient(150deg, var(--accent), var(--accent-2)); color: #fff; }
.cta-band__inner { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 84px) 20px; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.9); }

/* Footer */
.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 34px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  border-top: 1px solid var(--line);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.copyright { margin: 0; font-size: 13px; color: var(--muted); width: 100%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .lead { max-width: 46ch; }
  .stores { justify-content: center; }
  .hero__visual { margin-top: 26px; }
  .steps, .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr; }
  .biz__copy { text-align: center; }
  .biz__list { align-items: center; }
  .biz__list li { justify-content: flex-start; max-width: 26em; margin: 0 auto; }
  .phone--offset { transform: none; }
}
@media (min-width: 861px) and (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
