/* ================================================================
   MINI-MALBUCH — Scrapbook Editorial
   Fraunces × Nunito × Caveat
   Paper-cream, deep ink, tomato accent
   ================================================================ */

:root {
  --paper:        #FBF4E4;
  --paper-deep:   #F2E8CE;
  --paper-cool:   #EDE5D0;
  --ink:          #1A1D2E;
  --ink-soft:     #2E3149;
  --ink-mute:     #6C6E83;

  --tomato:       #E63946;
  --tomato-deep:  #B8232F;
  --mustard:      #F4A261;
  --butter:       #F6CB62;
  --sky:          #A8DADC;
  --sage:         #A7C4A0;
  --plum:         #6B4E71;

  --tape:         #F4D35E;
  --tape-alt:     #EE964B;
  --tape-mint:    #B5EAD7;

  --shadow-soft:  0 2px 12px rgba(26, 29, 46, 0.08);
  --shadow-lift:  0 20px 50px rgba(26, 29, 46, 0.18);
  --shadow-hard:  6px 6px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);

  --radius:       2px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---- PAPER GRAIN OVERLAY (fixed, layered over everything) ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.12 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* subtle vignette so edges feel like paper */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(26,29,46,0.08) 100%);
}

main { position: relative; z-index: 2; }

/* ================== TYPOGRAPHY ================== */

.font-display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  letter-spacing: -0.02em;
}

.font-hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tomato);
  display: inline-block;
}

.eyebrow::before {
  content: '✦';
  margin-right: 0.5em;
  color: var(--tomato);
}

/* ================== HEADER ================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  background: rgba(251, 244, 228, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 29, 46, 0.1);
}

.site-header nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-variation-settings: "SOFT" 100;
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: var(--tomato);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 1.1rem;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-hard-sm);
  border: 2px solid var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--tomato);
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* old nav-text hide rule removed — handled by hamburger menu */

/* ================== BUTTONS ================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.8rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-hard-sm);
  letter-spacing: 0.01em;
  border-radius: 0;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-primary {
  background: var(--tomato);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--tomato-deep);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  text-decoration: underline;
  text-decoration-color: var(--tomato);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.btn-ghost:hover {
  transform: translate(0, -2px);
  box-shadow: none;
}

.btn-big {
  padding: 1.3rem 2.5rem;
  font-size: 1.15rem;
}

/* ================== HERO ================== */

.hero {
  position: relative;
  padding: 5rem 2rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
}

@media (min-width: 768px) {
  .hero { padding: 7rem 3rem 10rem; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
  }
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 1.5rem 0;
  font-variation-settings: "SOFT" 50, "opsz" 144, "WONK" 1;
}

.hero-headline .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--tomato);
  font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1;
  position: relative;
  display: inline-block;
  padding-right: 0.1em;
}

.hero-headline .accent::before {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2,14 Q50,2 100,10 T200,10 T298,12' stroke='%23E63946' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  z-index: -1;
  opacity: 0.85;
}

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

.hand-note {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--tomato);
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: rotate(-1.5deg);
}

.hand-note::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M5,5 Q25,5 35,20 T55,35' stroke='%23E63946' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M48,28 L55,35 L48,40' stroke='%23E63946' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transform: rotate(15deg);
}

/* ===== POLAROIDS ===== */

.polaroid-stack {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}

.examples-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 520px;
  margin: 0 auto;
}

.example-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.polaroid {
  position: relative;
  background: #FEFDF8;
  padding: 10px 10px 45px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.examples-stack .polaroid {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  transform: none;
}

.examples-stack .polaroid-a { transform: rotate(-2deg); }
.examples-stack .polaroid-b { transform: rotate(2deg); }
.examples-stack .polaroid-a:hover { transform: rotate(0deg) translateY(-4px); }
.examples-stack .polaroid-b:hover { transform: rotate(0deg) translateY(-4px); }

.polaroid img,
.polaroid svg {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.polaroid .caption {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--ink);
}

.polaroid::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 100px;
  height: 28px;
  background: var(--tape);
  opacity: 0.9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateX(-50%) rotate(-4deg);
}

.polaroid-stack .polaroid-a {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-5deg);
  z-index: 2;
}

.polaroid-a::before { background: var(--tape); }

.polaroid-stack .polaroid-b {
  position: absolute;
  top: 18%;
  right: 0;
  transform: rotate(4deg);
  z-index: 3;
}

.polaroid-b::before { background: var(--tape-mint); transform: translateX(-50%) rotate(3deg); }

.polaroid-arrow {
  position: absolute;
  top: 35%;
  left: 42%;
  width: 80px;
  height: 60px;
  z-index: 4;
  transform: rotate(-5deg);
}

/* floating decorative doodles */
.doodle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.doodle-1 { top: 5%; left: 8%; width: 60px; animation-delay: 0s; }
.doodle-2 { top: 15%; right: 5%; width: 50px; animation-delay: 1s; }
.doodle-3 { bottom: 25%; left: 45%; width: 40px; animation-delay: 2s; }
.doodle-4 { bottom: 10%; right: 15%; width: 55px; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* ===== TORN PAPER DIVIDER ===== */

.torn-divider {
  position: relative;
  height: 60px;
  margin: -30px 0;
  z-index: 3;
  background: var(--paper-deep);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,30 Q1400,40 1380,32 Q1340,22 1300,38 Q1250,52 1200,35 Q1150,22 1100,42 Q1050,58 1000,38 Q950,22 900,40 Q850,55 800,35 Q750,22 700,42 Q650,58 600,38 Q550,22 500,40 Q450,55 400,35 Q350,20 300,40 Q250,55 200,38 Q150,22 100,40 Q50,55 0,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,30 Q1400,40 1380,32 Q1340,22 1300,38 Q1250,52 1200,35 Q1150,22 1100,42 Q1050,58 1000,38 Q950,22 900,40 Q850,55 800,35 Q750,22 700,42 Q650,58 600,38 Q550,22 500,40 Q450,55 400,35 Q350,20 300,40 Q250,55 200,38 Q150,22 100,40 Q50,55 0,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* ===== SECTIONS ===== */

section {
  position: relative;
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-top: 0.8rem;
  line-height: 0.95;
  font-variation-settings: "SOFT" 50, "opsz" 144, "WONK" 1;
}

.section-title .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--tomato);
  font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1;
}

/* ===== STEPS / HOW IT WORKS ===== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step-card {
  position: relative;
  background: #FEFDF8;
  padding: 2.5rem 2rem 2.5rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.4s var(--ease);
}

.step-card:nth-child(1) { transform: rotate(-1.5deg); }
.step-card:nth-child(2) { transform: rotate(1deg); margin-top: 1.5rem; }
.step-card:nth-child(3) { transform: rotate(-0.5deg); }

.step-card:hover {
  transform: translateY(-6px) rotate(0deg);
}

.step-number {
  position: absolute;
  top: -30px;
  left: -10px;
  width: 70px;
  height: 70px;
  background: var(--tomato);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.7rem;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-hard-sm);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(2px 2px 0 rgba(26,29,46,0.15));
}

.step-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  font-variation-settings: "SOFT" 50;
}

.step-body {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== PRICING ===== */

.pricing-wrap {
  background: var(--paper-deep);
  padding: 8rem 2rem;
  position: relative;
}

.pricing-wrap::before,
.pricing-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--paper);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q60,35 120,15 T240,15 T360,15 T480,15 T600,15 T720,15 T840,15 T960,15 T1080,15 T1200,15 T1320,15 T1440,15 L1440,0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q60,35 120,15 T240,15 T360,15 T480,15 T600,15 T720,15 T840,15 T960,15 T1080,15 T1200,15 T1320,15 T1440,15 L1440,0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.pricing-wrap::before { top: 0; }
.pricing-wrap::after { bottom: 0; transform: rotate(180deg); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.ticket {
  position: relative;
  background: #FEFDF8;
  border: 2px solid var(--ink);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-hard);
  transition: transform 0.4s var(--ease);
}

.ticket:nth-child(1) { transform: rotate(-1deg); }
.ticket:nth-child(2) { transform: rotate(1.5deg); }

.ticket:hover { transform: rotate(0) translateY(-6px); }

/* perforation circles on sides */
.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  background: var(--paper-deep);
  border-radius: 50%;
  border: 2px solid var(--ink);
  transform: translateY(-50%);
}

.ticket::before { left: -17px; }
.ticket::after { right: -17px; }

.ticket-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--ink);
}

.ticket-tier {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticket-desc {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 700;
}

.ticket-price {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}

.ticket-price .currency {
  font-size: 2rem;
  vertical-align: top;
  font-weight: 600;
  margin-right: 0.1em;
  color: var(--tomato);
}

.ticket-features {
  list-style: none;
  margin: 2rem 0;
}

.ticket-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(26,29,46,0.15);
}

.ticket-features li::before {
  content: '✓';
  color: var(--tomato);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ticket-stamp {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--tomato);
  color: var(--paper);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1;
  transform: rotate(12deg);
  box-shadow: var(--shadow-hard-sm);
  z-index: 5;
}

/* ===== LETTER / TESTIMONIAL ===== */

.letter-section {
  padding: 8rem 2rem;
}

.letter {
  max-width: 700px;
  margin: 0 auto;
  background: #FEFDF8;
  padding: 4rem 3rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  position: relative;
  transform: rotate(-0.5deg);
}

.letter::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 30px;
  width: 120px;
  height: 30px;
  background: var(--tape-alt);
  opacity: 0.85;
  transform: rotate(-4deg);
}

.letter p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
  color: var(--ink-soft);
}

.letter .salute {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.letter .signature {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: var(--tomato);
  margin-top: 2rem;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ===== FOOTER ===== */

.site-footer {
  background: var(--ink);
  color: var(--paper-deep);
  padding: 5rem 2rem 2rem;
  margin-top: 6rem;
  position: relative;
  z-index: 2;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--ink);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 Q60,5 120,25 T240,25 T360,25 T480,25 T600,25 T720,25 T840,25 T960,25 T1080,25 T1200,25 T1320,25 T1440,25 L1440,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 Q60,5 120,25 T240,25 T360,25 T480,25 T600,25 T720,25 T840,25 T960,25 T1080,25 T1200,25 T1320,25 T1440,25 L1440,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transform: translateY(-39px);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--paper);
  margin-bottom: 1rem;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

.footer-brand em {
  font-style: italic;
  font-weight: 500;
  color: var(--butter);
}

.footer-tag {
  opacity: 0.75;
  max-width: 360px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 1rem;
  font-family: 'Nunito', sans-serif;
}

.footer-col ul { list-style: none; }

.footer-col li {
  padding: 0.35rem 0;
}

.footer-col a {
  color: var(--paper-deep);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-col a:hover { opacity: 1; color: var(--butter); }

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(251, 244, 228, 0.15);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ================== PAGE: UPLOAD / PROCESSING / PREVIEW ================== */

.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

.page-sub {
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

.paper-card {
  background: #FEFDF8;
  border: 2px solid var(--ink);
  padding: 2.5rem;
  box-shadow: var(--shadow-hard);
  position: relative;
}

@media (min-width: 700px) {
  .paper-card { padding: 3rem; }
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-label {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.form-label .num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--tomato);
  color: var(--paper);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  border: 2px solid var(--ink);
  transform: rotate(-5deg);
  flex-shrink: 0;
}

/* drop zone */
.dropzone {
  display: block;
  border: 3px dashed var(--ink);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  background: var(--paper);
  transition: all 0.3s var(--ease);
  position: relative;
}

.dropzone:hover,
.dropzone.drag-over {
  background: var(--tape);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-sm);
}

.dropzone-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.dropzone-main {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.dropzone-hint {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.file-tile {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}

.file-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-tile .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: var(--tomato);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
}

.file-tile .remove-btn:hover {
  transform: scale(1.1) rotate(90deg);
}

.file-counter {
  margin-top: 1rem;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--ink-mute);
}

.file-counter.valid { color: var(--sage); }

/* radio card picker */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.pick-card {
  cursor: pointer;
  display: block;
}

.pick-card input { position: absolute; opacity: 0; pointer-events: none; }

.pick-card-inner {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.3rem 1rem;
  text-align: center;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-hard-sm);
}

.pick-card:hover .pick-card-inner {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.pick-card input:checked ~ .pick-card-inner {
  background: var(--tomato);
  color: var(--paper);
}

.pick-card-inner .emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.pick-card-inner .label {
  font-weight: 800;
  font-size: 0.95rem;
}

.pick-card-inner .sub {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.2rem;
}
.pick-card-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Foto-Tipps ===== */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.tip-col {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 2px solid var(--paper-cool);
}
.tip-good { border-color: var(--sage); background: rgba(167, 196, 160, 0.1); }
.tip-bad { border-color: var(--tomato); background: rgba(230, 57, 70, 0.05); }
.tip-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.tip-good .tip-heading { color: #2d6a30; }
.tip-bad .tip-heading { color: var(--tomato); }
.tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tip-list li {
  padding: 0.3rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.tip-good .tip-list li::before { content: '✓'; position: absolute; left: 0; color: #2d6a30; font-weight: 700; }
.tip-bad .tip-list li::before { content: '✕'; position: absolute; left: 0; color: var(--tomato); font-weight: 700; }

@media (max-width: 580px) {
  .tips-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* input */
.text-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-hard-sm);
  transition: all 0.25s var(--ease);
}

.text-input:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* checkbox row */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border: 2px dashed var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.check-row input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 20px;
  height: 20px;
  accent-color: var(--tomato);
  flex-shrink: 0;
}

.check-row a {
  color: var(--tomato);
  font-weight: 800;
}

.submit-big {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.3rem;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  background: var(--tomato);
  color: var(--paper);
  border: 2px solid var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: all 0.25s var(--ease);
  letter-spacing: -0.01em;
}

.submit-big:hover:not(:disabled) {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
  background: var(--tomato-deep);
}

.submit-big:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.error-msg {
  color: var(--tomato);
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
}

/* ===== PROCESSING ===== */

.processing-hero {
  text-align: center;
  padding: 2rem 0 4rem;
}

.processing-emoji {
  font-size: 6rem;
  display: inline-block;
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.1); }
}

.progress-track {
  width: 100%;
  height: 24px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-hard-sm);
}

.progress-fill {
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--tomato),
    var(--tomato) 12px,
    var(--tomato-deep) 12px,
    var(--tomato-deep) 24px
  );
  background-size: 24px 24px;
  animation: barberpole 1s linear infinite;
  transition: width 0.7s var(--ease);
  width: 0%;
}

@keyframes barberpole {
  from { background-position: 0 0; }
  to { background-position: 34px 0; }
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-weight: 800;
  font-size: 0.9rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .jobs-grid { grid-template-columns: repeat(10, 1fr); }
}

.job-tile {
  aspect-ratio: 1;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-hard-sm);
}

.job-tile.done { background: var(--sage); }
.job-tile.processing { background: var(--butter); animation: pulse 1s ease-in-out infinite; }
.job-tile.failed { background: var(--tomato); color: white; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== PREVIEW ===== */

.preview-frame {
  width: 100%;
  height: 720px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: white;
}

/* ===== EDIT GALLERY ===== */

.edit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.regen-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: var(--butter);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-weight: 800;
  font-size: 0.9rem;
  transform: rotate(1.5deg);
}

.regen-pill strong {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--tomato);
}

.regen-dot {
  width: 10px;
  height: 10px;
  background: var(--tomato);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.regen-pill-done {
  background: var(--sage);
  color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
  cursor: pointer;
}

.gallery-tile:nth-child(3n+1) { transform: rotate(-1deg); }
.gallery-tile:nth-child(3n+2) { transform: rotate(0.5deg); }
.gallery-tile:nth-child(3n+3) { transform: rotate(-0.3deg); }

.gallery-tile:hover {
  transform: translateY(-4px) rotate(0deg);
  z-index: 5;
  box-shadow: 6px 6px 0 var(--ink);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.tile-swap {
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 46, 0.75);
  border: none;
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Fraunces', serif;
  font-weight: 800;
}

.gallery-tile:hover .tile-swap { opacity: 1; }

.tile-swap-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tomato);
  border: 2px solid var(--paper);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
}

.tile-swap-label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.gallery-tile.removed img { filter: grayscale(1) blur(1px); opacity: 0.3; }
.gallery-tile.removed {
  border-color: var(--tomato);
  transform: rotate(-3deg) scale(0.95);
}
.gallery-tile.removed .tile-swap {
  opacity: 1;
  background: rgba(230, 57, 70, 0.85);
}
.gallery-tile.removed .tile-swap-label::before {
  content: 'wird ersetzt ';
}

.gallery-tile-new {
  border-color: var(--sage);
}

.gallery-new-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--sage);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(-4deg);
}

.gallery-add {
  display: block;
  border-style: dashed;
  background: var(--paper-deep);
  cursor: pointer;
}

.gallery-add-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--ink-mute);
  transition: color 0.25s var(--ease);
}

.gallery-add:hover .gallery-add-inner { color: var(--tomato); }

.gallery-add-plus {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}

.gallery-add-text {
  font-weight: 800;
  font-size: 0.85rem;
}

/* disclaimer box */
.disclaimer {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--paper-deep);
  border: 2px dashed var(--ink);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: var(--tomato);
  flex-shrink: 0;
  line-height: 1;
}

.disclaimer strong { color: var(--ink); }

/* summary bar at bottom of gallery */
.edit-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--tape);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  padding: 1rem 1.4rem;
  margin-top: 1.5rem;
}

.edit-summary-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.edit-summary-text .font-hand {
  font-size: 1.6rem;
  color: var(--tomato);
}

.edit-summary-actions {
  display: flex;
  gap: 0.7rem;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .edit-head { flex-direction: column; }
}

/* ===== SUCCESS ===== */

.success-hero {
  text-align: center;
  padding: 4rem 0 3rem;
  position: relative;
}

.success-emoji {
  font-size: 8rem;
  display: inline-block;
  transform: rotate(-5deg);
  filter: drop-shadow(4px 4px 0 rgba(26,29,46,0.2));
}

.download-card {
  max-width: 600px;
  margin: 3rem auto;
}

/* ===== LEGAL PAGES (impressum, datenschutz, agb) ===== */

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  position: relative;
  z-index: 2;
  font-family: 'Nunito', sans-serif;
}

.legal-wrap h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 2rem;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

.legal-wrap h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--tomato);
}

.legal-wrap p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-wrap ul {
  margin: 1rem 0 1rem 1.3rem;
  color: var(--ink-soft);
}

.legal-wrap li {
  padding: 0.3rem 0;
  line-height: 1.6;
}

.legal-wrap a {
  color: var(--tomato);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ================== ANIMATIONS ================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}

.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }
.reveal-5 { animation-delay: 0.7s; }

/* selection */
::selection {
  background: var(--butter);
  color: var(--ink);
}

/* custom scrollbar */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 3px solid var(--paper-deep);
}

/* ================== UTILITIES ================== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.rotate-n { transform: rotate(-2deg); }
.rotate-p { transform: rotate(2deg); }

/* ===== PREVIEW IMAGE STACK (replaces iframe) ===== */

.preview-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.preview-page {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: white;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}

.preview-page img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.preview-page-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Nunito', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
}

.preview-page-shield {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: auto;
}

.no-save,
.no-save * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

/* ===== SHARE CARD ===== */

.share-card {
  background: linear-gradient(135deg, var(--butter) 0%, var(--tape) 100%);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  transform: rotate(-0.3deg);
}

.share-card::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 40px;
  width: 90px;
  height: 24px;
  background: var(--tape-mint);
  transform: rotate(-3deg);
  opacity: 0.9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.share-left {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.share-emoji {
  font-size: 3rem;
  color: var(--tomato);
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 rgba(26,29,46,0.15));
}

.share-head {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  line-height: 1.05;
}

.share-head em {
  font-style: italic;
  font-weight: 500;
  color: var(--tomato);
}

.share-body {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.share-body strong { color: var(--ink); }

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  color: var(--ink);
  min-height: 48px;
}

.share-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--tomato);
  color: var(--paper);
}

.share-btn-icon { font-size: 1.1rem; }

/* ===== PRICE DISPLAY ===== */

.price-display {
  background: var(--paper);
  border: 2px dashed var(--ink);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  font-weight: 700;
}

.price-row:not(:last-child) {
  border-bottom: 1px dashed rgba(26,29,46,0.15);
}

.price-discount {
  color: var(--tomato);
  font-weight: 800;
}

.discount-badge {
  background: var(--tomato);
  color: var(--paper);
  padding: 2px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.price-final {
  padding-top: 0.8rem;
  margin-top: 0.3rem;
  border-top: 2px solid var(--ink) !important;
}

.price-big {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--tomato);
  line-height: 1;
}

.price-base {
  color: var(--ink);
  font-weight: 800;
}

.checkout-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.checkout-sub {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.input-hint {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}

.edit-head-sub {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin-left: 52px;
}

/* ===== TOAST ===== */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.6rem;
  border: 2px solid var(--butter);
  box-shadow: var(--shadow-hard);
  font-weight: 800;
  z-index: 999;
  animation: toastIn 0.4s var(--ease);
  max-width: 90%;
  text-align: center;
}

.toast-error {
  background: var(--tomato);
  border-color: var(--ink);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===================================================================
   COMPREHENSIVE MOBILE RESPONSIVE PASS
   Breakpoints: 375 (iPhone SE), 430 (iPhone Pro Max), 640 (landscape phone),
                768 (iPad portrait), 1024 (iPad landscape), 1200+ (desktop)
   =================================================================== */

/* ===== Safe area for iPhone notches ===== */
@supports (padding: env(safe-area-inset-top)) {
  .site-header {
    padding-top: calc(1.2rem + env(safe-area-inset-top));
    padding-left: calc(2rem + env(safe-area-inset-left));
    padding-right: calc(2rem + env(safe-area-inset-right));
  }
  .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

/* ===== Phones portrait (up to 640px) ===== */
@media (max-width: 640px) {
  body { font-size: 16px; }

  .site-header {
    padding: 0.9rem 1.2rem;
  }

  .brand { font-size: 1.3rem; gap: 0.4rem; }
  .brand-mark { width: 30px; height: 30px; font-size: 0.9rem; }

  .nav-links { gap: 0.7rem; }
  .nav-links .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  section { padding: 3.5rem 1.2rem; }

  /* Hero on phones */
  .hero {
    padding: 2.5rem 1.2rem 4rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-headline {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
    margin: 1rem 0;
  }
  .hero-sub {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
  }
  .hero-cta-row {
    gap: 0.7rem;
  }
  .hero-cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.9rem 1.2rem;
  }
  .btn-big {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Polaroid stack on phones — smaller, simpler */
  .polaroid-stack {
    max-width: 320px;
    aspect-ratio: 1.1;
  }
  .polaroid-stack .polaroid {
    width: 78%;
  }
  .polaroid .caption { font-size: 1.1rem; }
  .examples-stack { gap: 1.5rem; }
  .example-pair { gap: 0.6rem; }
  .examples-stack .polaroid { padding: 6px 6px 35px; }

  .hand-note {
    font-size: 1.3rem;
    margin-top: 2rem;
  }

  /* doodles smaller on mobile */
  .doodle-1, .doodle-2, .doodle-3, .doodle-4 {
    transform: scale(0.65);
  }

  /* Sections */
  .section-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  /* Steps */
  .steps-grid {
    gap: 2.5rem;
  }
  .step-card:nth-child(1),
  .step-card:nth-child(2),
  .step-card:nth-child(3) {
    transform: rotate(-0.5deg);
    margin-top: 0;
  }
  .step-card {
    padding: 2rem 1.6rem;
  }
  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    top: -22px;
    left: -8px;
  }

  /* Pricing */
  .pricing-wrap {
    padding: 5rem 1.2rem;
  }
  .pricing-grid {
    gap: 2.5rem;
  }
  .ticket {
    padding: 2.2rem 1.8rem;
  }
  .ticket:nth-child(1),
  .ticket:nth-child(2) {
    transform: rotate(0);
  }
  .ticket::before, .ticket::after { display: none; }
  .ticket-price {
    font-size: 3.8rem;
  }
  .ticket-price .currency {
    font-size: 1.5rem;
  }
  .ticket-stamp {
    width: 70px;
    height: 70px;
    font-size: 0.75rem;
    top: -15px;
    right: -10px;
  }

  /* Letter */
  .letter-section {
    padding: 5rem 1.2rem;
  }
  .letter {
    padding: 2.5rem 1.8rem;
  }
  .letter p { font-size: 1rem; }
  .letter .salute { font-size: 1.8rem; }
  .letter .signature { font-size: 1.7rem; }

  /* Footer */
  .site-footer {
    padding: 4rem 1.2rem 2rem;
  }

  /* Page wraps */
  .page-wrap {
    padding: 2.5rem 1.2rem 4rem;
  }
  .page-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-sub {
    font-size: 1rem;
  }

  /* Forms / paper cards */
  .paper-card {
    padding: 1.8rem 1.3rem;
  }

  .form-label {
    font-size: 1.1rem;
  }
  .form-label .num {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .dropzone {
    padding: 2rem 1rem;
  }
  .dropzone-icon { font-size: 2.8rem; }
  .dropzone-main { font-size: 1.15rem; }

  /* Input: 16px to prevent iOS zoom */
  .text-input,
  input[type="email"],
  input[type="text"] {
    font-size: 16px;
  }

  .pick-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .pick-card-inner {
    padding: 1rem 0.9rem;
  }

  .submit-big {
    padding: 1.2rem;
    font-size: 1.1rem;
  }

  /* File grid */
  .file-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .gallery-tile:nth-child(3n+1),
  .gallery-tile:nth-child(3n+2),
  .gallery-tile:nth-child(3n+3) {
    transform: rotate(0);
  }
  /* Touch UX: show swap always on mobile (no hover) */
  @media (hover: none) {
    .tile-swap { opacity: 1; background: rgba(26, 29, 46, 0.35); }
    .tile-swap-label { display: none; }
    .tile-swap-icon {
      width: 32px;
      height: 32px;
      position: absolute;
      top: 6px;
      right: 6px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
  }

  .edit-head { flex-direction: column; gap: 1rem; }
  .edit-head-sub { margin-left: 42px; }
  .regen-pill { transform: rotate(0); }

  .edit-summary { flex-direction: column; align-items: stretch; }
  .edit-summary-actions { justify-content: stretch; }
  .edit-summary-actions .btn { flex: 1; justify-content: center; }

  .gallery-new-badge {
    padding: 1px 6px;
    font-size: 0.6rem;
  }

  /* Processing */
  .processing-emoji { font-size: 4.5rem; }
  .jobs-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
  .job-tile { font-size: 1.1rem; }

  /* Share card */
  .share-card {
    padding: 1.6rem 1.3rem;
  }
  .share-head { font-size: 1.4rem; }
  .share-emoji { font-size: 2.3rem; }
  .share-buttons { grid-template-columns: 1fr 1fr; }
  .share-btn {
    font-size: 0.88rem;
    padding: 0.85rem 0.7rem;
  }

  /* Price */
  .price-big { font-size: 1.7rem; }
  .price-row { font-size: 0.95rem; }
  .checkout-title { font-size: 1.6rem; }

  /* Preview stack */
  .preview-page { max-width: 100%; }
  .preview-page-label {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  /* Legal */
  .legal-wrap {
    padding: 2.5rem 1.2rem 4rem;
  }
  .legal-wrap h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .legal-wrap h2 { font-size: 1.15rem; }

  /* Doodle positioning */
  .doodle { display: none; } /* too noisy on tiny screens */
}

/* ===== iPhone SE (very narrow) ===== */
@media (max-width: 380px) {
  .hero-headline { font-size: 2.6rem; }
  .nav-links {
    gap: 0.4rem;
  }
  .brand { font-size: 1.15rem; }
  .section-title { font-size: 1.9rem; }
  .ticket-price { font-size: 3.2rem; }
  .share-buttons { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .file-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Tablets (640-1024) ===== */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero-headline { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .polaroid-stack { max-width: 420px; }
  .share-buttons { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Landscape orientation phones — compact header, reduced vertical padding ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 2rem 1.5rem 3rem; }
  .section-head { margin-bottom: 2rem; }
  .processing-emoji { font-size: 3rem; }
}

/* ===== Larger touch targets on all touch devices ===== */
@media (pointer: coarse) {
  .btn, .share-btn, .nav-links a {
    min-height: 44px;
  }
  .tile-swap-icon {
    width: 40px;
    height: 40px;
  }
}

/* ===== High DPI (retina) — ensure crisp shadows ===== */
@media (-webkit-min-device-pixel-ratio: 2) {
  .shadow-hard-sm { box-shadow: 3px 3px 0 var(--ink); }
}

/* ===== Dark mode support — keep paper aesthetic but adjust ===== */
/* ================== TRUST SECTION ================== */

.trust-section {
  padding: 3rem 2rem;
  background: var(--paper-deep);
  border-top: 2px solid var(--paper-cool);
  border-bottom: 2px solid var(--paper-cool);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.trust-text strong {
  display: block;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
}

@media (max-width: 680px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ================== FAQ ================== */

#faq {
  padding: 5rem 2rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px solid var(--paper-cool);
  padding: 0;
}

.faq-item summary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tomato);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Rechtliches Navigation ===== */
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.legal-nav-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper-deep);
  border: 2px solid var(--paper-cool);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.legal-nav-card:hover {
  border-color: var(--tomato);
  transform: translateX(4px);
}
.legal-nav-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}
.legal-nav-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.legal-nav-sub {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin-top: 0.2rem;
}

@media (prefers-color-scheme: dark) {
  /* Intentionally keep light theme — the paper look is the brand.
     Adjust minor browser chrome only. */
  :root {
    color-scheme: light;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .doodle, .processing-emoji, .regen-dot { animation: none; }
}

/* === HOMEPAGE V2: Stats + Shop-Preview + Filters === */

/* Examples-Stack: zweites Paar versetzt (Fächer-Optik) */
.examples-stack {
  position: relative;
  min-height: 420px;
}
.examples-stack .example-pair-2 {
  position: absolute;
  top: 40px;
  right: -30px;
  z-index: 1;
  transform: rotate(6deg);
  opacity: 0.95;
}
.examples-stack .example-pair-2 .polaroid {
  transform: scale(0.85);
}
.examples-stack .example-pair-2:hover {
  transform: rotate(0deg);
  opacity: 1;
  transition: all 0.3s ease;
}
@media (max-width: 900px) {
  .examples-stack .example-pair-2 {
    position: static;
    transform: rotate(0);
    margin-top: 1.5rem;
  }
  .examples-stack { min-height: auto; }
}

/* === STATS STRIP === */
.stats-strip {
  padding: 2.5rem 1.5rem;
  background: var(--paper-deep, #FAF3E8);
  border-top: 3px solid var(--ink, #1A1D2E);
  border-bottom: 3px solid var(--ink, #1A1D2E);
  margin: 3rem 0;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 0 1rem;
}
.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary, #E63946);
  line-height: 1;
}
.stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft, #4A4D5E);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.stat-divider {
  font-size: 1.2rem;
  color: var(--ink-mute, #8B8E99);
  opacity: 0.6;
}
@media (max-width: 640px) {
  .stats-row { gap: 0.75rem 1rem; }
  .stat-number { font-size: 2rem; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 0.5rem; }
}

/* === SHOP PREVIEW (auf Homepage) === */
.shop-preview-wrap {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, var(--paper-deep, #FAF3E8) 100%);
}
.shop-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.shop-preview-card {
  background: #fff;
  border: 3px solid var(--ink, #1A1D2E);
  box-shadow: 5px 5px 0 var(--ink, #1A1D2E);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
}
.shop-preview-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink, #1A1D2E);
}
.shop-preview-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #fff;
  border-bottom: 3px solid var(--ink, #1A1D2E);
  overflow: hidden;
}
.shop-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-preview-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary, #E63946);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border: 2px solid var(--ink, #1A1D2E);
  transform: rotate(4deg);
}
.shop-preview-body {
  padding: 0.9rem 1rem;
}
.shop-preview-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink, #1A1D2E);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.shop-preview-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft, #4A4D5E);
}

/* === SHOP FILTERS (auf /malbuecher) === */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.shop-chip {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border: 2.5px solid var(--ink, #1A1D2E);
  background: #fff;
  color: var(--ink, #1A1D2E);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.12s ease;
  box-shadow: 3px 3px 0 var(--ink, #1A1D2E);
}
.shop-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink, #1A1D2E);
}
.shop-chip.is-active {
  background: var(--primary, #E63946);
  color: #fff;
}
.shop-chip-count {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-left: 0.3rem;
}

/* === NEU-BADGE auf Shop-Grid (malbuecher.html) === */
.shop-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto !important;
  background: var(--primary, #E63946) !important;
  color: #fff !important;
  transform: rotate(-6deg);
}


/* === V3 REDESIGN: Editorial Handcrafted Warmth === */

:root {
  --v3-paper: #FDF8EE;
  --v3-paper-warm: #F7ECD0;
  --v3-paper-deep: #EFDEB9;
  --v3-ink: #1D1A1E;
  --v3-ink-soft: #5C5057;
  --v3-ink-mute: #8A7F84;
  --v3-accent: #E74C3C;
  --v3-accent-deep: #C0392B;
  --v3-sun: #F4B942;
  --v3-sage: #8BAE8F;
  --v3-berry: #B8436D;

  --v3-font-display: 'Fraunces', Georgia, serif;
  --v3-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --v3-font-hand: 'Caveat', cursive;

  --v3-shadow-flat: 5px 5px 0 var(--v3-ink);
  --v3-shadow-flat-lg: 8px 8px 0 var(--v3-ink);
  --v3-shadow-soft: 0 18px 48px -20px rgba(29,26,30,0.25);
}

body {
  background: var(--v3-paper);
  color: var(--v3-ink);
  font-family: var(--v3-font-body);
}

/* Container */
.v3-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========== HEADER / NAV Override =========== */
.site-header {
  background: var(--v3-paper) !important;
  border-bottom: 2.5px solid var(--v3-ink) !important;
  padding: 1.1rem 1.5rem !important;
}
.site-header nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--v3-ink) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  color: var(--v3-accent);
  display: inline-block;
  transform: rotate(-8deg);
  font-size: 1.3em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links .nav-text {
  font-family: var(--v3-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--v3-ink) !important;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
}
.nav-links .nav-text::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--v3-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links .nav-text:hover::after { transform: scaleX(1); }
.nav-links .btn-primary {
  background: var(--v3-ink) !important;
  color: var(--v3-paper) !important;
  border: 2.5px solid var(--v3-ink) !important;
  padding: 0.6rem 1.15rem !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
}
.nav-links .btn-primary:hover {
  background: var(--v3-accent) !important;
  border-color: var(--v3-accent) !important;
  transform: translateY(-1px);
}
@media (max-width: 820px) {
  .nav-links { gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links .nav-text { font-size: 0.85rem; }
}

/* =========== BUTTONS V3 =========== */
.v3-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--v3-font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2.5px solid var(--v3-ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.v3-btn-primary { background: var(--v3-accent); color: #fff; box-shadow: 4px 4px 0 var(--v3-ink); }
.v3-btn-primary:hover { background: var(--v3-accent-deep); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--v3-ink); }
.v3-btn-ink { background: var(--v3-ink); color: var(--v3-paper); box-shadow: 4px 4px 0 var(--v3-accent); }
.v3-btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--v3-accent); }
.v3-btn-ghost { background: transparent; color: var(--v3-ink); border-color: var(--v3-ink); }
.v3-btn-ghost:hover { background: var(--v3-ink); color: var(--v3-paper); }
.v3-btn-lg { font-size: 1.05rem; padding: 1.05rem 1.85rem; }

/* =========== SECTION HEAD / TYPE =========== */
.v3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--v3-font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--v3-ink-soft);
}
.v3-eyebrow-dot {
  width: 8px; height: 8px; background: var(--v3-accent); border-radius: 50%;
}
.v3-display {
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 1.2rem 0 1.5rem;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.v3-display-accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--v3-accent);
}
.v3-underline {
  position: absolute;
  left: 0; right: 0; bottom: -0.25em;
  width: 100%; height: 0.35em;
  color: var(--v3-sun);
  pointer-events: none;
}
.v3-headline {
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0;
  color: var(--v3-ink);
}
.v3-headline-xl { font-size: clamp(2.5rem, 6vw, 4.25rem); }
.v3-accent-underline {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--v3-accent);
  z-index: 1;
}
.v3-accent-underline::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: 10%;
  height: 0.35em;
  background: var(--v3-sun);
  opacity: 0.5;
  z-index: -1;
  transform: rotate(-1deg);
}
.v3-section-head {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 720px;
}
.v3-section-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--v3-ink-soft);
  margin: 1.1rem auto 0;
  max-width: 560px;
}
.v3-section-sub-lg { font-size: 1.15rem; }

/* =========== HERO =========== */
.v3-hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: var(--v3-paper);
  overflow: hidden;
}
.v3-hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(circle at 20% 30%, rgba(29,26,30,0.02) 1px, transparent 1px),
                    radial-gradient(circle at 80% 70%, rgba(29,26,30,0.02) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
}
.v3-hero-blob {
  position: absolute;
  top: -100px; right: -150px;
  width: 780px; height: 780px;
  pointer-events: none;
  z-index: 0;
}
.v3-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.v3-hero-copy { max-width: 560px; }
.v3-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--v3-ink-soft);
  max-width: 480px;
  margin: 0 0 2rem;
}
.v3-lede em { color: var(--v3-ink); font-style: normal; font-weight: 700; }
.v3-cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.v3-hand-annotation {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: var(--v3-ink-soft);
  font-family: var(--v3-font-hand);
  font-size: 1.35rem;
  line-height: 1.2;
  transform: rotate(-2deg);
}
.v3-hand-annotation svg { flex-shrink: 0; color: var(--v3-ink-mute); }

/* Hero polaroid stack */
.v3-hero-stack {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-polaroid {
  position: absolute;
  background: #fff;
  padding: 0.8rem 0.8rem 3.2rem;
  border: 1px solid rgba(29,26,30,0.08);
  box-shadow: var(--v3-shadow-soft);
  margin: 0;
  width: 300px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.v3-polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.v3-polaroid figcaption {
  position: absolute;
  bottom: 0.85rem; left: 0; right: 0;
  text-align: center;
  font-family: var(--v3-font-hand);
  font-size: 1.35rem;
  color: var(--v3-ink-soft);
  line-height: 1;
}
.v3-heart { color: var(--v3-accent); }
.v3-polaroid--back {
  top: 40px; left: 30px;
  transform: rotate(-7deg);
  z-index: 1;
  width: 260px;
}
.v3-polaroid--mid {
  top: 100px; right: 20px;
  transform: rotate(4deg);
  z-index: 2;
  width: 270px;
}
.v3-polaroid--front {
  bottom: 30px; left: 40%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 3;
  width: 290px;
}
.v3-polaroid:hover { transform: rotate(0) scale(1.03); z-index: 4; }
.v3-polaroid--front:hover { transform: translateX(-50%) rotate(0) scale(1.03); }
.v3-tape {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 90px; height: 22px;
  background: rgba(244,185,66,0.7);
  border-left: 1px dashed rgba(29,26,30,0.15);
  border-right: 1px dashed rgba(29,26,30,0.15);
}
.v3-star {
  position: absolute;
  pointer-events: none;
}
.v3-star-1 { top: 10px; right: 80px; width: 50px; animation: v3-spin 20s linear infinite; }
.v3-star-2 { bottom: 100px; left: 30px; width: 26px; }
.v3-scribble { position: absolute; bottom: -10px; right: 80px; width: 120px; pointer-events: none; }
@keyframes v3-spin { to { transform: rotate(360deg); } }

/* Divider */
.v3-divider { display: block; width: 100%; height: 80px; }
.v3-divider-bottom { position: absolute; left: 0; right: 0; bottom: -1px; }
.v3-divider-top { position: absolute; left: 0; right: 0; top: -1px; }

/* =========== STATS BAND =========== */
.v3-stats {
  background: var(--v3-paper-warm);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.v3-stats::before, .v3-stats::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--v3-accent);
}
.v3-stats::before { top: -100px; left: -80px; }
.v3-stats::after { bottom: -100px; right: -80px; background: var(--v3-sun); opacity: 0.1; }
.v3-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.v3-stat { text-align: center; padding: 0.5rem 0.8rem; }
.v3-stat-num {
  font-family: var(--v3-font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--v3-ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
}
.v3-stat-small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--v3-ink-soft);
  font-style: italic;
  letter-spacing: 0;
}
.v3-stat-lbl {
  margin-top: 0.5rem;
  font-family: var(--v3-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--v3-ink-soft);
}
.v3-stat-sep { width: 2px; height: 60px; opacity: 0.5; }
@media (max-width: 700px) {
  .v3-stat-sep { display: none; }
  .v3-stats-row { gap: 2rem; }
  .v3-stat-num { font-size: 2rem; }
}

/* =========== HOW IT WORKS =========== */
.v3-how {
  padding: 6rem 0 7rem;
  background: var(--v3-paper);
  position: relative;
}
.v3-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.v3-step {
  position: relative;
  padding: 2rem 1.5rem 2rem;
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  box-shadow: var(--v3-shadow-flat);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v3-step:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--v3-shadow-flat-lg);
}
.v3-step-1 { transform: rotate(-1.2deg); }
.v3-step-2 { transform: translateY(-14px); background: var(--v3-paper-warm); }
.v3-step-3 { transform: rotate(1deg); }
.v3-step-1:hover { transform: rotate(0) translate(-3px, -3px); }
.v3-step-2:hover { transform: translateY(-17px) translate(-3px, -3px); }
.v3-step-3:hover { transform: rotate(0) translate(-3px, -3px); }
.v3-step-num {
  position: absolute;
  top: -22px; right: -18px;
  font-family: var(--v3-font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--v3-accent);
  opacity: 0.9;
  letter-spacing: -0.04em;
  font-style: italic;
  transform: rotate(6deg);
}
.v3-step-icon { margin-bottom: 1rem; }
.v3-step h3 {
  font-family: var(--v3-font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.v3-step p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--v3-ink-soft);
  margin: 0;
}
.v3-step-connector {
  width: 110px; height: 30px;
  align-self: center;
  opacity: 0.6;
  color: var(--v3-ink-mute);
}
@media (max-width: 900px) {
  .v3-steps { grid-template-columns: 1fr; gap: 1.5rem; max-width: 440px; }
  .v3-step-connector { display: none; }
  .v3-step-1, .v3-step-2, .v3-step-3 { transform: none !important; }
}

/* =========== PRICING =========== */
.v3-pricing {
  padding: 5rem 0 6rem;
  background: var(--v3-paper-warm);
  position: relative;
}
.v3-tickets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3.5rem;
}
.v3-ticket {
  position: relative;
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  box-shadow: var(--v3-shadow-flat-lg);
  padding: 2.25rem 2rem;
  transition: transform 0.25s cubic-bezier(0.2,0.8,0.2,1);
}
.v3-ticket::before, .v3-ticket::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  background: var(--v3-paper-warm);
  border: 2.5px solid var(--v3-ink);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.v3-ticket::before { left: -15px; }
.v3-ticket::after { right: -15px; }
.v3-ticket--basic { transform: rotate(-1.2deg); }
.v3-ticket--plus { transform: rotate(1.2deg); background: var(--v3-paper); }
.v3-ticket:hover { transform: rotate(0) translateY(-6px); box-shadow: 12px 12px 0 var(--v3-ink); }
.v3-ticket-stamp {
  position: absolute;
  top: -14px; right: -14px;
  padding: 0.45rem 0.9rem;
  background: var(--v3-accent);
  color: #fff;
  font-family: var(--v3-font-body);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 2.5px solid var(--v3-ink);
  transform: rotate(8deg);
  box-shadow: 3px 3px 0 var(--v3-ink);
}
.v3-ticket-tier {
  font-family: var(--v3-font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--v3-ink);
  letter-spacing: -0.015em;
}
.v3-ticket-desc {
  font-family: var(--v3-font-hand);
  font-size: 1.2rem;
  color: var(--v3-ink-soft);
  margin: 0.15rem 0 1.5rem;
}
.v3-ticket-price {
  font-family: var(--v3-font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1.75rem;
  color: var(--v3-ink);
}
.v3-ticket-currency { font-size: 0.55em; vertical-align: 0.3em; color: var(--v3-ink-soft); margin-right: 0.15em; }
.v3-ticket-list {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.v3-ticket-list li {
  font-size: 0.96rem;
  padding-left: 1.75rem;
  position: relative;
  color: var(--v3-ink);
  line-height: 1.45;
}
.v3-ticket-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 1.1rem; height: 1.1rem;
  background: var(--v3-sun);
  border: 2px solid var(--v3-ink);
  border-radius: 50%;
}
.v3-ticket-list li::after {
  content: "";
  position: absolute;
  left: 0.3rem; top: 0.55em;
  width: 0.5rem; height: 0.28rem;
  border-left: 2.5px solid var(--v3-ink);
  border-bottom: 2.5px solid var(--v3-ink);
  transform: rotate(-45deg);
}
.v3-ticket .v3-btn { width: 100%; justify-content: center; }
@media (max-width: 720px) {
  .v3-tickets { grid-template-columns: minmax(0, 340px); }
  .v3-ticket--basic, .v3-ticket--plus { transform: none; }
}

/* =========== SHOP PREVIEW (on landing) =========== */
.v3-shop-preview {
  padding: 5rem 0 6rem;
  background: var(--v3-paper-warm);
  position: relative;
}
.v3-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}
.v3-shop-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}
.v3-shop-card {
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  box-shadow: var(--v3-shadow-flat);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.v3-shop-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--v3-shadow-flat-lg);
}
.v3-shop-card--0 { transform: rotate(-0.8deg); }
.v3-shop-card--1 { transform: rotate(0.5deg); }
.v3-shop-card--2 { transform: rotate(-0.3deg); }
.v3-shop-card:hover { transform: rotate(0) translate(-3px, -3px); }
.v3-shop-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #fff;
  border-bottom: 2.5px solid var(--v3-ink);
  overflow: hidden;
}
.v3-shop-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.v3-shop-card:hover .v3-shop-img img { transform: scale(1.04); }
.v3-shop-new {
  position: absolute;
  top: 10px; left: -4px;
  padding: 0.35rem 0.85rem;
  background: var(--v3-accent);
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 2px solid var(--v3-ink);
  transform: rotate(-5deg);
  box-shadow: 2px 2px 0 var(--v3-ink);
}
.v3-shop-pages {
  position: absolute;
  bottom: 10px; right: 10px;
  padding: 0.3rem 0.65rem;
  background: var(--v3-ink);
  color: var(--v3-paper);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.v3-shop-meta { padding: 1rem 1.1rem 1.2rem; }
.v3-shop-meta h3 {
  font-family: var(--v3-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: -0.015em;
  color: var(--v3-ink);
}
.v3-shop-sub {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  color: var(--v3-ink-soft);
  line-height: 1.4;
}
.v3-shop-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.v3-shop-price {
  font-family: var(--v3-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v3-accent);
  letter-spacing: -0.02em;
}
.v3-shop-cta {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--v3-ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.v3-shop-cta::after { display: none; }
.v3-shop-cta:hover { color: var(--v3-accent); }
.v3-shop-cta,
.v3-shop-preview .v3-shop-meta-row span:not(.v3-shop-price) {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--v3-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.v3-shop-cta {
  padding: 0.3rem 0.65rem;
  background: var(--v3-paper-warm);
  border: 2px solid var(--v3-ink);
  border-radius: 999px;
}
.v3-shop-cta:hover { background: var(--v3-ink); color: var(--v3-paper); }

.v3-shop-cta-row,
.v3-shop-cta-row * { text-align: center; }
.v3-shop-cta-wrap,
.v3-shop-preview > .v3-container > div:last-child {
  text-align: center; margin-top: 3rem;
}
.v3-shop-preview .v3-shop-cta,
.v3-shop-preview > .v3-container > div:last-child {
  text-align: center;
}
.v3-shop-cta.v3-btn-ink { /* override if nested */ }
.v3-shop-preview .v3-btn-ink {
  display: inline-flex;
}
.v3-shop-cta.v3-btn-ink {
  padding: 0.85rem 1.5rem;
  background: var(--v3-ink);
  color: var(--v3-paper);
}
/* Group final CTA */
.v3-shop-preview > .v3-container > div:last-of-type {
  text-align: center; margin-top: 3.2rem;
}
@media (max-width: 900px) {
  .v3-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-shop-card--0, .v3-shop-card--1, .v3-shop-card--2 { transform: none; }
}

/* =========== SHOP FULL PAGE =========== */
.v3-shop-hero {
  padding: 4rem 0 2.5rem;
  background: var(--v3-paper);
  text-align: center;
}
.v3-filter-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--v3-paper);
  border-bottom: 2.5px solid var(--v3-ink);
  padding: 0.9rem 0;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.v3-filters {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.2rem 0;
  scrollbar-width: thin;
}
.v3-filters::-webkit-scrollbar { height: 4px; }
.v3-filters::-webkit-scrollbar-thumb { background: var(--v3-ink-mute); border-radius: 2px; }
.v3-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  background: #fff;
  border: 2px solid var(--v3-ink);
  border-radius: 999px;
  font-family: var(--v3-font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--v3-ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-shadow: 2px 2px 0 var(--v3-ink);
}
.v3-chip svg { flex-shrink: 0; }
.v3-chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--v3-ink); }
.v3-chip.is-active {
  background: var(--v3-ink);
  color: var(--v3-paper);
  box-shadow: 2px 2px 0 var(--v3-accent);
}
.v3-chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  margin-left: 0.35rem;
  background: var(--v3-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 999px;
}
.v3-chip.is-active .v3-chip-count {
  background: var(--v3-paper);
  color: var(--v3-ink);
}

.v3-shop-full {
  padding: 1rem 0 5rem;
  background: var(--v3-paper);
}
.v3-shop-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--v3-ink-soft);
  font-family: var(--v3-font-hand);
  font-size: 1.5rem;
}
.v3-shop-crosssell {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px dashed var(--v3-ink-mute);
}
.v3-handwritten {
  font-family: var(--v3-font-hand);
  font-size: 1.6rem;
  color: var(--v3-ink-soft);
  margin: 0 0 1rem;
}

/* =========== TRUST =========== */
.v3-trust {
  padding: 4.5rem 0;
  background: var(--v3-paper);
  border-top: 2px dashed var(--v3-ink-mute);
  border-bottom: 2px dashed var(--v3-ink-mute);
}
.v3-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.v3-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--v3-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
.v3-trust-item strong {
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--v3-ink);
}
.v3-trust-item svg { flex-shrink: 0; color: var(--v3-accent); }
@media (max-width: 820px) {
  .v3-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .v3-trust-grid { grid-template-columns: 1fr; }
}

/* =========== FAQ =========== */
.v3-faq {
  padding: 5.5rem 0 6.5rem;
  background: var(--v3-paper-warm);
}
.v3-faq-container { max-width: 780px; }
.v3-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 3rem;
}
.v3-faq-item {
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  box-shadow: 4px 4px 0 var(--v3-ink);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v3-faq-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--v3-ink);
}
.v3-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--v3-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.01em;
}
.v3-faq-item summary::-webkit-details-marker { display: none; }
.v3-faq-plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.25s ease;
}
.v3-faq-plus::before, .v3-faq-plus::after {
  content: "";
  position: absolute;
  background: var(--v3-accent);
  border-radius: 2px;
}
.v3-faq-plus::before { left: 0; right: 0; top: 10px; height: 2.5px; }
.v3-faq-plus::after { top: 0; bottom: 0; left: 10px; width: 2.5px; }
.v3-faq-item[open] .v3-faq-plus { transform: rotate(45deg); }
.v3-faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--v3-ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* =========== LETTER =========== */
.v3-letter {
  padding: 6rem 1rem;
  background: var(--v3-paper);
}
.v3-letter-inner {
  position: relative;
  max-width: 620px;
  padding: 3rem 2.5rem 2.5rem;
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  box-shadow: var(--v3-shadow-flat-lg);
  transform: rotate(-0.5deg);
  overflow: hidden;
}
.v3-letter-corner {
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  pointer-events: none;
}
.v3-letter-salute {
  font-family: var(--v3-font-hand);
  font-size: 2rem;
  color: var(--v3-accent);
  margin: 0 0 1rem;
  line-height: 1;
}
.v3-letter-inner p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--v3-ink);
  margin: 0 0 1rem;
}
.v3-letter-heart {
  color: var(--v3-accent);
  display: inline-block;
  animation: v3-heartbeat 1.2s ease-in-out infinite;
}
@keyframes v3-heartbeat {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
}
.v3-letter-sign {
  margin-top: 1.5rem;
  font-family: var(--v3-font-hand);
  font-size: 1.4rem;
  color: var(--v3-ink-soft);
}

/* =========== FOOTER Override =========== */
.site-footer {
  background: var(--v3-ink) !important;
  color: var(--v3-paper) !important;
  padding: 3.5rem 1.5rem 1.5rem !important;
  border-top: none !important;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed rgba(253,248,238,0.2);
}
.footer-brand {
  font-family: var(--v3-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-brand em { font-style: italic; color: var(--v3-sun); }
.footer-tag {
  color: rgba(253,248,238,0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 440px;
}
.footer-col h4 {
  font-family: var(--v3-font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--v3-sun);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--v3-paper);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--v3-sun); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(253,248,238,0.6);
  text-align: center;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =========== HERO RESPONSIVE =========== */
@media (max-width: 980px) {
  .v3-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .v3-hero-stack { height: 460px; margin-top: 1rem; }
  .v3-hero-blob { width: 500px; height: 500px; top: auto; bottom: -100px; right: -100px; }
}
@media (max-width: 520px) {
  .v3-hero { padding: 2.5rem 0 3.5rem; }
  .v3-polaroid { width: 220px !important; }
  .v3-polaroid--back { left: 0; top: 20px; }
  .v3-polaroid--mid { right: 10px; top: 90px; }
  .v3-polaroid--front { left: 50%; bottom: 20px; width: 230px !important; }
  .v3-hero-stack { height: 400px; }
  .v3-cta-row { flex-direction: column; align-items: stretch; }
  .v3-cta-row .v3-btn { width: 100%; justify-content: center; }
}

/* =========== UTILITY: SmoothScroll, scroll padding =========== */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Hide legacy doodles that shipped before V3 */
.hero .doodle { display: none !important; }

/* === V3 REDESIGN END === */


/* === V3 MOBILE + AUX === */

/* Kein horizontales Scrollen durch Hero-Blobs o.ae. */
html, body { overflow-x: hidden; }
body { min-width: 280px; }

/* === Why Pets (pets.html) === */
.v3-why-pets {
  padding: 5rem 0 6rem;
  background: var(--v3-paper-warm);
}
.v3-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 3rem auto 0;
}
.v3-why-card {
  background: #fff;
  border: 2.5px solid var(--v3-ink);
  padding: 2rem 1.6rem;
  box-shadow: var(--v3-shadow-flat);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v3-why-card-1 { transform: rotate(-0.8deg); }
.v3-why-card-2 { transform: rotate(0.6deg); }
.v3-why-card-3 { transform: rotate(-0.3deg); }
.v3-why-card:hover {
  transform: rotate(0) translate(-3px, -3px);
  box-shadow: var(--v3-shadow-flat-lg);
}
.v3-why-icon {
  display: inline-flex;
  padding: 0.75rem;
  background: var(--v3-paper-warm);
  border: 2px solid var(--v3-ink);
  border-radius: 50%;
  color: var(--v3-accent);
  margin-bottom: 1rem;
}
.v3-why-card h3 {
  font-family: var(--v3-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: var(--v3-ink);
}
.v3-why-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--v3-ink-soft);
  margin: 0;
}
@media (max-width: 840px) {
  .v3-why-grid { grid-template-columns: 1fr; max-width: 420px; gap: 1.3rem; }
  .v3-why-card-1, .v3-why-card-2, .v3-why-card-3 { transform: none; }
}

/* === Cross-Sell === */
.v3-crosssell {
  padding: 4.5rem 0 6rem;
  background: var(--v3-paper);
  text-align: center;
}
.v3-crosssell-inner {
  max-width: 640px;
}
.v3-headline-sm { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.v3-crosssell-row {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* === Landscape Phone Breakpoints (800-950 width) === */
@media (max-width: 960px) and (orientation: landscape) {
  .v3-hero { padding: 3rem 0 4rem; }
  .v3-hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
  .v3-display { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
  .v3-hero-stack { height: 360px; }
  .v3-polaroid { width: 220px !important; }
  .v3-polaroid--back { top: 30px; left: 10px; }
  .v3-polaroid--mid { top: 70px; right: 0; width: 230px !important; }
  .v3-polaroid--front { bottom: 20px; left: 50%; width: 240px !important; }
  .v3-steps { grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; max-width: 100%; }
  .v3-step-connector { display: none; }
  .v3-filter-sticky { padding: 0.6rem 0; }
  .v3-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* === Tablets 720-900 === */
@media (max-width: 900px) and (orientation: portrait) {
  .v3-hero-grid { grid-template-columns: 1fr; }
  .v3-hero-stack { margin-top: 2rem; }
  .v3-hero-blob { width: 560px; height: 560px; opacity: 0.7; }
}

/* === Phone Portrait === */
@media (max-width: 520px) {
  .v3-container { padding: 0 1.1rem; }
  .v3-hero { padding: 2rem 0 3rem; }
  .v3-display { font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: 1.02; }
  .v3-lede { font-size: 1rem; margin-bottom: 1.5rem; }
  .v3-hand-annotation { font-size: 1.15rem; margin-top: 1.75rem; }
  .v3-cta-row { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .v3-btn { justify-content: center; font-size: 0.95rem; padding: 0.85rem 1.25rem; }
  .v3-btn-lg { padding: 1rem 1.4rem; font-size: 1rem; }

  .v3-hero-stack { height: 380px; }
  .v3-polaroid { width: 200px !important; padding: 0.6rem 0.6rem 2.6rem; }
  .v3-polaroid figcaption { font-size: 1.1rem; bottom: 0.65rem; }
  .v3-polaroid--back { left: 5%; top: 15px; }
  .v3-polaroid--mid { right: 5%; top: 90px; width: 210px !important; }
  .v3-polaroid--front { left: 50%; bottom: 10px; width: 220px !important; }

  .v3-stats { padding: 2rem 0; }
  .v3-stats-row { gap: 1.5rem 0.8rem; justify-content: space-around; }
  .v3-stat-num { font-size: 1.7rem; }
  .v3-stat-lbl { font-size: 0.7rem; letter-spacing: 0.1em; }

  .v3-how, .v3-pricing, .v3-shop-preview, .v3-faq, .v3-letter, .v3-crosssell, .v3-why-pets {
    padding: 3rem 0 3.5rem;
  }
  .v3-section-head { margin-bottom: 2rem; }

  .v3-ticket { padding: 1.75rem 1.4rem; }
  .v3-ticket-price { font-size: 2.8rem; }

  .v3-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .v3-shop-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .v3-shop-card--0, .v3-shop-card--1, .v3-shop-card--2 { transform: none; }
  .v3-shop-meta h3 { font-size: 1rem; }
  .v3-shop-sub { font-size: 0.8rem; }
  .v3-shop-price { font-size: 1.1rem; }
  .v3-shop-cta { font-size: 0.72rem; padding: 0.25rem 0.55rem; }

  .v3-filter-sticky { top: 62px; padding: 0.6rem 0; }
  .v3-chip { font-size: 0.85rem; padding: 0.5rem 0.85rem; }

  .v3-faq-item summary { font-size: 1rem; padding: 1rem 1.1rem; }
  .v3-faq-body { padding: 0 1.1rem 1rem; font-size: 0.92rem; }

  .v3-letter-inner { padding: 2.25rem 1.6rem 2rem; }
  .v3-letter-salute { font-size: 1.7rem; }
}

/* === Small Phones (320-380) === */
@media (max-width: 380px) {
  .v3-hero-stack { height: 340px; }
  .v3-polaroid--back { left: 2%; }
  .v3-polaroid--mid { right: 2%; }
  .v3-polaroid { width: 180px !important; }
  .v3-display { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .v3-shop-grid-full { grid-template-columns: 1fr; }
}

/* Site header mobile */
@media (max-width: 680px) {
  .site-header { padding: 0.8rem 1rem !important; }
  .site-header nav { flex-wrap: wrap; gap: 0.8rem; }
  .nav-links { gap: 0.6rem; }
  .nav-links .btn-primary { padding: 0.5rem 0.9rem !important; font-size: 0.85rem !important; }
  .brand { font-size: 1.2rem; }
}

/* Buttons richtig klickbar (accessibility) */
.v3-btn { min-height: 44px; }
.v3-chip { min-height: 40px; }

/* === V3 MOBILE END === */


/* === V3 HERO 4-POLAROID LAYOUT === */
.v3-hero-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem 1.25rem;
  align-items: center;
  justify-items: center;
  height: auto;
  min-height: 0;
  padding: 1rem 0.5rem;
}
.v3-polaroid--p1,
.v3-polaroid--p2,
.v3-polaroid--p3,
.v3-polaroid--p4 {
  position: static !important;
  width: 100%;
  max-width: 235px;
  margin: 0;
}
.v3-polaroid--p1 { transform: rotate(-3deg); z-index: 2; }
.v3-polaroid--p2 { transform: rotate(2deg); z-index: 3; }
.v3-polaroid--p3 { transform: rotate(3deg); z-index: 2; }
.v3-polaroid--p4 { transform: rotate(-2deg); z-index: 3; }
.v3-polaroid--p1:hover { transform: rotate(0) scale(1.05); z-index: 10; }
.v3-polaroid--p2:hover { transform: rotate(0) scale(1.05); z-index: 10; }
.v3-polaroid--p3:hover { transform: rotate(0) scale(1.05); z-index: 10; }
.v3-polaroid--p4:hover { transform: rotate(0) scale(1.05); z-index: 10; }

/* Labels: column labels over hero stack */
.v3-hero-stack::before,
.v3-hero-stack::after {
  font-family: var(--v3-font-hand);
  font-size: 1.1rem;
  color: var(--v3-ink-mute);
  position: absolute;
  top: -1.8rem;
  pointer-events: none;
}
.v3-hero-stack::before {
  content: "vorher";
  left: 25%;
  transform: translateX(-50%) rotate(-3deg);
}
.v3-hero-stack::after {
  content: "nachher →";
  right: 25%;
  transform: translateX(50%) rotate(2deg);
  color: var(--v3-accent);
}

@media (max-width: 980px) and (orientation: landscape) {
  .v3-hero-stack { gap: 1rem; padding: 1.5rem 0.5rem 0.5rem; }
  .v3-polaroid--p1, .v3-polaroid--p2, .v3-polaroid--p3, .v3-polaroid--p4 { max-width: 180px; }
}

@media (max-width: 520px) {
  .v3-hero-stack {
    gap: 1rem 0.75rem;
    padding: 2rem 0 0;
  }
  .v3-polaroid--p1, .v3-polaroid--p2, .v3-polaroid--p3, .v3-polaroid--p4 { max-width: 155px; }
  .v3-polaroid figcaption { font-size: 1rem; }
  .v3-hero-stack::before, .v3-hero-stack::after { font-size: 0.9rem; top: -1.4rem; }
}

@media (max-width: 360px) {
  .v3-polaroid--p1, .v3-polaroid--p2, .v3-polaroid--p3, .v3-polaroid--p4 { max-width: 135px; }
}
/* === V3 4-POLAROID END === */

/* === V3 DECO + TRANSITIONS === */

/* ---- DECO: Stern + gruene Welle ---- */
.v3-hero-stack .v3-star-1 {
  position: absolute !important;
  top: 50%; left: 50%;
  width: 90px !important; height: 90px;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 8;
  pointer-events: none;
  filter: drop-shadow(3px 3px 0 rgba(29,26,30,0.15));
  animation: v3-star-spin 18s linear infinite;
}
@keyframes v3-star-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.v3-hero-stack .v3-star-2 { display: none; }
.v3-hero-stack .v3-scribble {
  position: absolute !important;
  top: auto !important;
  bottom: -22px !important;
  left: -20px !important;
  right: auto !important;
  width: 340px !important;
  height: auto;
  z-index: 4;
  pointer-events: none;
  transform: rotate(-6deg);
  opacity: 0.95;
}

@media (max-width: 980px) and (orientation: landscape) {
  .v3-hero-stack .v3-star-1 { width: 72px !important; height: 72px; }
  .v3-hero-stack .v3-scribble { width: 280px !important; }
}
@media (max-width: 520px) {
  .v3-hero-stack .v3-star-1 { width: 65px !important; height: 65px; }
  .v3-hero-stack .v3-scribble { width: 260px !important; bottom: -14px !important; left: -10px !important; }
}
@media (max-width: 360px) {
  .v3-hero-stack .v3-star-1 { width: 54px !important; height: 54px; }
}

/* ---- SANFTE FARBÜBERGÄNGE ----
   Palette als Farb-Journey beim Scrollen:
   paper (FDF8EE) -> paper-warm (F7ECD0) -> paper-deep (EFDEB9)
   -> paper -> paper-warm -> sage-tint (EAEEE6) -> paper
   -> paper-warm -> paper  (back to Footer)
*/

:root {
  --v3-sage-tint: #EAEEE6;
  --v3-berry-tint: #F5E8EC;
}

/* Hero: soft fade into stats */
.v3-hero {
  background: linear-gradient(180deg, #FDF8EE 0%, #FBF4E4 70%, #F7ECD0 100%) !important;
}
.v3-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(247,236,208,0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Stats: paper-warm glow */
.v3-stats {
  background: linear-gradient(180deg, #F7ECD0 0%, #F2E4C2 60%, #EFDEB9 100%) !important;
}

/* How: deep cream -> hellt wieder auf */
.v3-how {
  background: linear-gradient(180deg, #EFDEB9 0%, #F5E9CC 45%, #FBF4E4 100%) !important;
}

/* Pricing: warmer Mittelteil */
.v3-pricing {
  background: linear-gradient(180deg, #FBF4E4 0%, #F7ECD0 100%) !important;
}

/* Shop Preview: warmer -> zarter sage-tint */
.v3-shop-preview {
  background: linear-gradient(180deg, #F7ECD0 0%, #F1EBD5 50%, #EAEEE6 100%) !important;
}

/* Trust: von sage-tint -> paper */
.v3-trust {
  background: linear-gradient(180deg, #EAEEE6 0%, #F0F0E6 40%, #FDF8EE 100%) !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* FAQ: paper -> cream warmer */
.v3-faq {
  background: linear-gradient(180deg, #FDF8EE 0%, #F9EED9 50%, #F7ECD0 100%) !important;
}

/* Letter: cream fade -> paper (smooth Richtung Footer-Kante) */
.v3-letter {
  background: linear-gradient(180deg, #F7ECD0 0%, #FBF4E4 50%, #FDF8EE 100%) !important;
}

/* Why-Pets (auf /pets): Gruene Note */
.v3-why-pets {
  background: linear-gradient(180deg, #F7ECD0 0%, #EAEEE6 100%) !important;
}

/* Shop-Hero (auf /malbuecher) */
.v3-shop-hero {
  background: linear-gradient(180deg, #FDF8EE 0%, #F9EED9 100%) !important;
}
.v3-filter-sticky {
  background: rgba(253, 248, 238, 0.92) !important;
}
.v3-shop-full {
  background: linear-gradient(180deg, #F9EED9 0%, #FDF8EE 100%) !important;
}

/* Crosssell */
.v3-crosssell {
  background: linear-gradient(180deg, #F7ECD0 0%, #FDF8EE 100%) !important;
}

/* Divider-SVGs transparent machen — die Gradients sind sauber genug */
.v3-divider path {
  fill: transparent !important;
}

/* Body base for smooth whole-page feel */
body { background: var(--v3-paper); }

/* === V3 DECO + TRANSITIONS END === */

/* === V3 FOOTER FADE === */

/* Letter endet warm/dunkler, gleitet in Footer rein */
.v3-letter {
  background: linear-gradient(180deg,
    #F7ECD0 0%,
    #F0E3BE 40%,
    #D6C4A3 75%,
    #5A4C4E 100%) !important;
  padding-bottom: 8rem !important;
  position: relative;
}

/* Letter-Karte bleibt hell (besser lesbar auf dunklem Verlauf) */
.v3-letter-inner {
  position: relative;
  z-index: 2;
}

/* Footer: Wave-Cutout am Top, gradient-in von dunkelbraun zu ink */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #5A4C4E 0%, #2E2529 20%, #1D1A1E 60%) !important;
  margin-top: -80px !important;
  padding-top: 6rem !important;
}

/* SVG-Wave-Divider am Footer-Top fuer organischen Uebergang */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q 360 0 720 40 T 1440 40 L 1440 0 L 0 0 Z' fill='%235A4C4E'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

/* Footer-Content ueber dem Wave */
.site-footer > * {
  position: relative;
  z-index: 2;
}

/* main-Container darf keinen weissen/cream background durchschimmern lassen */
main {
  background: transparent !important;
}

/* body explizit farbgebend bis zum Footer */
body {
  background: var(--v3-paper) !important;
}

html, body {
  min-height: 100%;
}

/* === V3 FOOTER FADE END === */

/* === V3 DIVIDER CLEANUP === */

/* Alle inline Divider-SVGs komplett weg - Gradients machen den Uebergang */
.v3-divider,
.v3-divider-top,
.v3-divider-bottom,
.v3-hero .v3-divider,
.v3-shop-preview .v3-divider {
  display: none !important;
}

/* Hero::after overlay auch weg - der Gradient reicht */
.v3-hero::after {
  content: none !important;
}

/* Sektionen ohne Abstaende untereinander (kein white gap) */
.v3-hero,
.v3-stats,
.v3-how,
.v3-pricing,
.v3-shop-preview,
.v3-trust,
.v3-faq,
.v3-letter,
.v3-why-pets,
.v3-crosssell,
.v3-shop-hero,
.v3-shop-full {
  margin: 0 !important;
}

/* Footer Wave Divider (am Top) - das behalten wir, aber exakt passend */
.site-footer::before {
  z-index: 1 !important;
}

/* === V3 DIVIDER CLEANUP END === */

/* === V3 SMOOTH BODY BACKGROUND === */

/* Ein einziger durchgehender Gradient auf body - laeuft komplett smooth
   ueber die ganze Seite, keine Section-Grenzen mehr sichtbar.
   Endet dunkel fuer weichen Footer-Uebergang. */

html {
  background: #FDF8EE;
  min-height: 100%;
}

body {
  background: linear-gradient(
    180deg,
    #FDF8EE 0%,
    #FBF4E4 8%,
    #F7ECD0 20%,
    #F2E4C2 32%,
    #F7ECD0 46%,
    #EAEEE6 60%,
    #F7ECD0 74%,
    #F0E3BE 86%,
    #8A7668 96%,
    #1D1A1E 100%
  ) no-repeat !important;
  background-size: 100% 100% !important;
  background-attachment: scroll !important;
  min-height: 100vh;
}

/* Alle Sektionen transparent - damit Body-Gradient durchscheint */
.v3-hero,
.v3-stats,
.v3-how,
.v3-pricing,
.v3-shop-preview,
.v3-trust,
.v3-faq,
.v3-letter,
.v3-why-pets,
.v3-crosssell,
.v3-shop-hero,
.v3-shop-full {
  background: transparent !important;
}

/* Hero-Blob sichtbar lassen aber subtil */
.v3-hero-blob {
  opacity: 0.6;
}

/* Stats decorative shapes weg lassen oder subtil */
.v3-stats::before, .v3-stats::after {
  opacity: 0.04 !important;
}

/* Trust ohne borders */
.v3-trust {
  border-top: none !important;
  border-bottom: none !important;
}

/* Footer bleibt dunkel */
.site-footer {
  background: #1D1A1E !important;
  margin-top: 0 !important;
  padding-top: 3.5rem !important;
  position: relative;
}
.site-footer::before { display: none !important; }

/* main container transparent */
main { background: transparent !important; }

/* Sticky Filter Bar: subtil backdrop */
.v3-filter-sticky {
  background: rgba(253, 248, 238, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* === V3 SMOOTH BG END === */


/* =========== MOBILE NAV — HAMBURGER =========== */

/* Mobile controls: hidden on desktop */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.nav-lang-mobile {
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1;
}
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--ink);
  padding: 7px 6px;
  cursor: pointer;
  border-radius: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop: show nav-links inline, hide mobile controls */
.nav-desktop-only { display: list-item; }

/* ---- MOBILE BREAKPOINT ---- */
@media (max-width: 820px) {
  .nav-mobile-right { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(251, 244, 228, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a.nav-text {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links a.nav-text::after { display: none; }

  /* Hide desktop-only items on mobile (lang + CTA are in mobile-right) */
  .nav-desktop-only { display: none !important; }

  /* Header needs position relative for dropdown */
  .site-header { position: sticky; }
  .site-header nav { position: relative; }

  /* CTA button in mobile-right */
  .nav-cta-mobile {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.8rem !important;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .nav-cta-mobile {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }
  .nav-lang-mobile { font-size: 1.1rem; }
}
