/* CozyPages – Website 2026 (Startseite DE/EN). Impressum/Datenschutz nutzen weiter styles.css. */
:root {
  --cream: #FFF8F0; --paper: #FFFDF9; --sand: #FCEFE3; --peach: #FFE3D3;
  --ink: #2B2320; --muted: #6E625B; --line: rgba(120, 70, 40, .12);
  --coral: #F4845F; --coral-d: #D9603A; --pink: #FF8FA3; --butter: #FFD166; --sage: #7FB685; --sky: #89CFF0;
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --shadow: 0 1px 2px rgba(90, 40, 20, .06), 0 12px 32px -12px rgba(90, 40, 20, .22);
  --shadow-lg: 0 2px 4px rgba(90, 40, 20, .06), 0 40px 80px -30px rgba(90, 40, 20, .40);
  --pad: clamp(56px, 7vw, 96px);
  --w: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--coral-d); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(110deg, var(--coral) 10%, var(--pink) 60%, var(--coral-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hand { font-family: "Caveat", "Bradley Hand", cursive; font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); }
.section { padding: var(--pad) 0; }
.head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 240, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin-left: auto; align-items: center; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; opacity: .8; }
.nav ul a:hover { opacity: 1; color: var(--coral-d); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; border-radius: 999px; padding: 12px 22px; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: linear-gradient(120deg, var(--coral), #F7967A); color: #fff; box-shadow: 0 10px 22px -10px rgba(217, 96, 58, .7); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(217, 96, 58, .8); }
.nav .btn { padding: 9px 18px; font-size: 15px; opacity: 1; color: #fff; }
.menu { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(255, 176, 136, .45), transparent); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -.035em; margin: 14px 0 18px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.stores img { height: 50px; width: auto; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; font-size: 15px; font-weight: 700; color: var(--muted); }
.checks li::before { content: "✓"; color: var(--sage); font-weight: 900; margin-right: 6px; }
.film { position: relative; }
.film-box { position: relative; border-radius: var(--r-l); overflow: hidden; background: #1d1612; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; transform: rotate(.6deg); }
.film-box video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.play svg { width: 88px; height: 88px; filter: drop-shadow(0 12px 22px rgba(120, 40, 10, .45)); transition: transform .2s; }
.play:hover svg { transform: scale(1.08); }
.play[hidden] { display: none; }
.film-note { position: absolute; left: -8px; bottom: -46px; display: flex; align-items: center; gap: 6px; font-size: 25px; color: var(--coral-d); transform: rotate(-3deg); }
.film-note svg { width: 54px; height: 34px; transform: scaleY(-1) rotate(10deg); }

/* Echte Bücher */
.books { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.books-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.photo { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); aspect-ratio: 16 / 9; }
.photo video, .photo img { width: 100%; height: 100%; object-fit: cover; }
/* Fotobuch zum Umblättern */
.flip { --pw: min(400px, 38vw); position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(32px, 5vw, 56px); }
.book { position: relative; width: calc(var(--pw) * 2); aspect-ratio: 1520 / 1081; perspective: 2400px; cursor: pointer; outline: none; transition: transform .7s cubic-bezier(.3, .7, .3, 1); }
.book[data-state="start"] { transform: translateX(calc(var(--pw) * -.5)); }
.book[data-state="end"] { transform: translateX(calc(var(--pw) * .5)); }
.book:focus-visible { outline: 3px solid var(--coral); outline-offset: 10px; border-radius: 6px; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.35, .6, .25, 1); }
.leaf.turned { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face.front { border-radius: 2px 6px 6px 2px; box-shadow: 0 30px 50px -25px rgba(90, 40, 20, .45), 0 2px 6px rgba(90, 40, 20, .12); }
.face.backside { transform: rotateY(180deg); border-radius: 6px 2px 2px 6px; box-shadow: 0 30px 50px -25px rgba(90, 40, 20, .45), 0 2px 6px rgba(90, 40, 20, .12); }
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.face.front::after { background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .04) 6%, transparent 14%); }
.face.backside::after { background: linear-gradient(270deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .04) 6%, transparent 14%); }
.cover { position: absolute; inset: 0; background: linear-gradient(135deg, #fffdf9, #f4ece4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--pw) * .02); padding: 0 12%; }
.cover img { width: 100%; height: auto; aspect-ratio: 7 / 9; border-radius: 2px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); margin-bottom: calc(var(--pw) * .04); }
.cover b { font-size: calc(var(--pw) * .1); line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.cover span { font-size: calc(var(--pw) * .036); color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.cover.back { justify-content: center; gap: 8px; padding: 0; background: linear-gradient(135deg, #f7efe7, #efe3d8); }
.cover.back img { width: calc(var(--pw) * .15); height: auto; margin: 0; aspect-ratio: 1; border-radius: 14px; box-shadow: var(--shadow); }
.cover.back b { margin: 0; font-size: calc(var(--pw) * .055); }
.cover.back span { font-weight: 600; letter-spacing: 0; }
.face.front.covered, .leaf:first-child .face.front { border-radius: 3px 8px 8px 3px; }
.flip-nav { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--coral-d); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding-bottom: 4px; transition: transform .15s, opacity .2s; z-index: 2; }
.flip-nav:hover:not(:disabled) { transform: scale(1.06); }
.flip-nav:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .leaf, .book { transition: none; } }
@media (max-width: 760px) { .flip { --pw: 41vw; gap: 0; } .flip-nav { position: absolute; bottom: -62px; } .flip-nav.prev { left: calc(50% - 60px); } .flip-nav.next { right: calc(50% - 60px); } .books .flip + .hint { margin-top: 74px; } }
.flip + .hint { margin-top: 22px; }
.hint { font-size: 22px; color: var(--muted); text-align: center; margin-top: 4px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; list-style: none; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.step .shot { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--line); }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step div.txt { padding: 18px 20px 22px; }
.step h3 { display: flex; gap: 10px; align-items: baseline; }
.step h3::before { counter-increment: s; content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--coral-d); font-size: 15px; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* Mac + iPad */
.duo { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.duo-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.devices { position: relative; padding-bottom: 8%; }
.mac { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #2a2a2c; background: #2a2a2c; }
.ipad { position: absolute; right: -4%; bottom: -2%; width: 32%; border-radius: 18px; border: 7px solid #1f1f21; overflow: hidden; box-shadow: var(--shadow-lg); background: #1f1f21; }
.list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.list .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 18px; }
.list b { display: block; }
.list span { color: var(--muted); font-size: 15.5px; }
.sofa { margin-top: 26px; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 9; }
.sofa video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* Funktionen (Bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; position: relative; overflow: hidden; }
.tile .ic { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.tile p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.tile .tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 800; color: var(--coral-d); background: var(--peach); border-radius: 999px; padding: 2px 9px; }
.tile.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.tile.big img { border-radius: 12px; box-shadow: var(--shadow); }
.tile.warm { background: linear-gradient(140deg, #FFF1E7, #FFE6EA); }

/* Drucken */
.print { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-size: 14px; font-weight: 700; background: var(--sand); border-radius: 999px; padding: 4px 12px; }
.tip { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; background: #FFF6D9; border-radius: var(--r-s); padding: 16px 20px; font-size: 16px; }

/* Persönlich */
.story { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.polas { position: relative; height: 420px; }
.pola { position: absolute; background: #fff; padding: 12px 12px 46px; border-radius: 4px; box-shadow: var(--shadow-lg); width: 58%; }
.pola img { aspect-ratio: 1; object-fit: cover; }
.pola span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 26px; color: #5a4a42; }
.pola:nth-child(1) { left: 0; top: 10px; transform: rotate(-7deg); }
.pola:nth-child(2) { right: 0; top: 70px; transform: rotate(5deg); }
.letter p { font-size: 18px; margin-top: 14px; }
.letter .sig { font-size: 34px; color: var(--coral-d); margin-top: 14px; line-height: 1.1; }
.letter .rate { margin-top: 20px; font-size: 15.5px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; align-items: start; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 28px 16px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--coral); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 16px; }

/* Abschluss */
.cta { text-align: center; }
.cta-box { position: relative; border-radius: var(--r-l); padding: clamp(40px, 6vw, 64px) 24px; background: linear-gradient(135deg, #FFE1CF, #FFD3DC 60%, #FFF0C9); overflow: hidden; }
.cta-box img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.cta-box p { color: #5d4f48; margin: 10px auto 0; max-width: 540px; }
.cta-box .stores { justify-content: center; }
.small { font-size: 14px; color: var(--muted); }
footer { padding: 36px 0 44px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--coral-d); }

/* Einblenden */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1020px) {
  .steps, .bento { grid-template-columns: repeat(2, 1fr); }
  .nav ul li.opt { display: none; }
}
/* Handy */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu { display: block; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav ul.open { display: flex; }
  .nav ul li.opt { display: block; }
  .nav ul a { display: block; padding: 10px 4px; }
  .nav ul .btn { justify-content: center; margin-top: 8px; }
  .wrap { padding: 0 16px; }
  .hero .wrap, .books-grid, .duo-grid, .story-grid, .print, .faq { grid-template-columns: 1fr; }
  .film-box { transform: none; }
  .film-note { position: static; margin-top: 10px; justify-content: center; font-size: 22px; }
  .film-note svg { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; }
  .step .shot { flex: 0 0 38%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; grid-template-columns: 1fr; }
  .polas { height: 300px; max-width: 360px; margin: 0 auto; width: 100%; }
  .stores img { height: 44px; }
  .sofa { aspect-ratio: 16 / 9; }
  footer nav { margin-left: 0; }
}
