/* MerkIchMir landing page — Bring!-style structure (hero → feature cards →
   CTA band → footer), Sticker Pop skin (design direction chosen 2026-08-04,
   redesigned 2026-08-06 after the first attempt didn't quite land). Only
   home_{de,en}.html.twig use this file — impressum/datenschutz/login don't. */

:root {
  --ink: #241528;
  --paper: #fbf6ee;
  --card: #ffffff;
  --pink: #ff3e7f;
  --violet: #7b2ff7;
  --orange: #ff8a3d;
  --sun: #ffd23f;
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Rounded", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Deliberate single-theme page: the brand's own vivid gradient + warm paper
   ground are the identity, independent of OS light/dark. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 96px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,210,63,0.5), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(123,47,247,0.5), transparent 48%),
    linear-gradient(150deg, #ff3e7f 0%, #ff8a3d 48%, #7b2ff7 100%);
  color: #fff8f0;
}
.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12%;
  flex-wrap: wrap;
}
.hero-copy {
  max-width: 460px;
  text-align: left;
}
.hero-char {
  position: relative;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  margin-bottom: 12%;
}
@media (min-width: 720px) {
  .hero-char { transform: translate(0, 50%); }
}
.hero-char .tile {
  position: absolute;
  inset: 0;
  background: #fff8f0;
  border-radius: 30px;
  box-shadow: 0 22px 40px -16px rgba(60,8,50,0.55);
  transform: rotate(-6deg);
  animation: charBob 4.2s ease-in-out infinite;
}
@keyframes charBob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-6px); }
}
#character { position: absolute; inset: 14%; cursor: pointer; }
#character img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

.hero-copy .eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe3ce;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1.06;
  margin: 0 0 16px;
  text-wrap: balance;
}
.hero-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,248,240,0.92);
  margin: 0 0 30px;
  max-width: 420px;
}
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges img { height: 44px; width: auto; box-shadow: 0 12px 24px -12px rgba(60,8,50,0.5); }

.polaroid {
  width: 190px;
  background: #fff8f0;
  border-radius: 14px;
  padding: 12px 12px 30px;
  transform: rotate(7deg);
  box-shadow: 0 24px 44px -18px rgba(60,8,50,0.55);
  flex-shrink: 0;
}
.polaroid img { border-radius: 8px; }
.polaroid .cap {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--violet);
  margin-top: 10px;
}

/* ---------------- FEATURES ---------------- */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}
.features-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.features-head .eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.features-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 820px) {
  .card-row { grid-template-columns: 1fr; }
}
.f-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px 26px 30px;
  box-shadow: 0 18px 40px -26px rgba(36,21,40,0.35);
  position: relative;
}
.f-card .thumb {
  width: 100%;
  aspect-ratio: 9/13;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f1e9db;
  box-shadow: 0 14px 26px -16px rgba(36,21,40,0.4);
}
.f-card .thumb picture { display: block; width: 100%; height: 100%; }
.f-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.f-card .f-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--violet);
  text-decoration: none;
}
.f-card .f-more:hover { text-decoration: underline; }
.f-card:nth-child(1) .tag { background: var(--pink); }
.f-card:nth-child(2) .tag { background: var(--orange); }
.f-card:nth-child(3) .tag { background: var(--violet); }
.f-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  text-wrap: balance;
}
.f-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #5a5049;
  margin: 0;
}

/* ---------------- REVIEWS ---------------- */
.reviews {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}
.reviews-head { text-align: center; max-width: 560px; margin: 0 auto; }
.reviews-head .eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.reviews-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.rating-summary .stars { color: var(--sun); font-size: 22px; letter-spacing: 2px; }
.rating-summary .rating-number { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.rating-summary .rating-count { font-size: 14px; color: #8a7f74; }
.review-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 820px) {
  .review-row { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 14px 30px -22px rgba(36,21,40,0.35);
}
.review-card .review-stars { color: var(--sun); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card .review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #5a5049;
  margin: 0 0 12px;
  white-space: pre-line;
}
.review-card .review-author { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--violet); }

/* ---------------- CTA BAND ---------------- */
.cta-band {
  margin: 88px 0 0;
  padding: 64px 24px;
  background: var(--violet);
  color: #fff8f0;
  text-align: center;
}
.cta-band .bubble-tag {
  display: inline-block;
  background: var(--sun);
  color: #4b0a3c;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 48px;
  transform: rotate(-2deg);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 0 0 48px;
  text-wrap: balance;
}
.cta-band .store-badges { justify-content: center; }
.cta-band .store-badges img { height: 50px; }

/* ---------------- FOOTER ---------------- */
footer {
  position: relative;
  padding: 60px 24px 48px;
  font-size: 13px;
  color: #8a7f74;
  line-height: 1.8;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--sun), var(--violet));
}
footer a { color: #5a5049; text-decoration: none; }
.footer-top {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px 40px;
}
.footer-brand { max-width: 260px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.footer-logo-icon {
  border-radius: 9px;
  box-shadow: 0 8px 16px -10px rgba(36,21,40,0.5);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.footer-logo:hover .footer-logo-icon { transform: rotate(-8deg) scale(1.08); }
.footer-tagline {
  margin: 14px 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #8a7f74;
}
.footer-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff8f0;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 20px -12px rgba(123,47,247,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-store:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(123,47,247,0.65); }
.footer-store span { display: inline-block; transition: transform 0.2s ease; }
.footer-store:hover span { transform: translate(2px, -2px); }
.footer-cols { display: contents; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 4px;
}
.footer-col a { position: relative; width: fit-content; }
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: width 0.25s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after { width: 100%; }
.footer-base {
  max-width: 980px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(36,21,40,0.08);
  text-align: center;
}
@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px 36px; }
}

/* ---------------- LANDING PAGES (templates/pages/*) ---------------- */
/* Lighter than the home page: a slim top bar, one readable prose column,
   reusing .cta-band and footer. Same Sticker Pop skin. */
.lp-body { background: var(--paper); }

.lp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 24px;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
.lp-brand-icon { border-radius: 8px; }
.lp-topbar-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  background: var(--ink);
  color: #fff8f0;
  padding: 9px 18px;
  border-radius: 999px;
}

.lp {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 24px 8px;
  overflow-wrap: break-word;
}
.lp-crumbs {
  font-size: 13px;
  color: #8a7f74;
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.lp-crumbs a { color: #8a7f74; text-decoration: none; }
.lp-crumbs a:hover { text-decoration: underline; }
/* language switch on the legal pages, pushed to the right of the crumb row */
.lp-crumbs .lp-lang-switch {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--violet);
}

.lp-article > *:first-child { margin-top: 0; }
.lp-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 12px;
}
.lp-article h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.08;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lp-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #4b4048;
  margin: 0 0 24px;
}
.lp-article h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 26px);
  margin: 44px 0 12px;
  text-wrap: balance;
}
.lp-article p,
.lp-article li {
  font-size: 17px;
  line-height: 1.68;
  color: #2f2733;
}
.lp-article p { margin: 0 0 16px; }
.lp-article ul,
.lp-article ol { margin: 0 0 16px; padding-left: 22px; }
.lp-article li { margin-bottom: 8px; }
.lp-article ol { counter-reset: step; list-style: none; padding-left: 0; }
.lp-article ol > li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}
.lp-article ol > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--sun);
  color: #4b0a3c;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  border-radius: 50%;
}
.lp-article a { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(123,47,247,0.35); }

.lp-hero-cta { margin: 4px 0 8px; }

.lp-figure {
  margin: 28px 0;
  text-align: center;
}
.lp-figure picture,
.lp-figure img {
  display: inline-block;
  width: auto;
  max-height: 460px;
  border-radius: 18px;
  box-shadow: 0 20px 44px -20px rgba(60,8,50,0.45);
}
.lp-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: #8a7f74;
}

.lp-faq { margin: 8px 0 0; }
.lp-faq details {
  border-top: 1px solid rgba(36,21,40,0.12);
  padding: 14px 0;
}
.lp-faq details:last-child { border-bottom: 1px solid rgba(36,21,40,0.12); }
.lp-faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  font-weight: 800;
  color: var(--violet);
}
.lp-faq details[open] summary::after { content: "\2013"; }
.lp-faq details > p {
  margin: 12px 0 2px;
  font-size: 16px;
  line-height: 1.66;
  color: #4b4048;
}

.lp-related {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 16px 36px -24px rgba(36,21,40,0.35);
}
.lp-related h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 12px;
}
.lp-related ul { margin: 0; padding-left: 20px; }
.lp-related li { margin-bottom: 8px; font-size: 15px; }
.lp-related a { color: var(--violet); }

.lp ~ .cta-band { margin-top: 72px; }

/* Comparison table (e.g. /de/merkichmir-vs-bring) */
.lp-table-wrap { overflow-x: auto; margin: 24px 0; }
.lp-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
}
.lp-article th,
.lp-article td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(36,21,40,0.12);
  vertical-align: top;
  line-height: 1.5;
}
.lp-article thead th {
  font-family: var(--font-display);
  font-weight: 800;
  border-bottom: 2px solid rgba(36,21,40,0.24);
}
.lp-article tbody th { font-weight: 700; }
.lp-article table td:first-child,
.lp-article table th:first-child { color: #4b4048; }

/* Small print / non-medical disclaimer */
.lp-note {
  margin: 28px 0 0;
  padding: 14px 16px;
  background: var(--card);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #6c6270;
}

@media (max-width: 440px) {
  .lp { padding-left: 18px; padding-right: 18px; }
  .lp-topbar { padding: 16px 18px; }
  .lp-related { padding: 20px; }
  .lp-article ol > li { padding-left: 38px; }
}
