/* FBbag / Flickbuy UG – site styles. No external requests: font is self-hosted. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --puder: #f5eae8;
  --puder-2: #ecdad7;
  --ink: #2b1d2b;
  --ink-2: #4a3a48;
  --muted: #6f5f69;
  --line: #e6d8d6;
  --kirsche: #c41e3a;
  --kirsche-dunkel: #9f1730;
  --rose: #e7b4b1;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kirsche); }

:focus-visible { outline: 3px solid var(--kirsche); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 760;
  font-stretch: 74%;
  line-height: 1.02;
  letter-spacing: -0.01em;
  word-spacing: .07em;
  color: var(--ink);
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(32px, 3.8vw, 50px); }
h3 { font-size: 21px; line-height: 1.2; font-stretch: 86%; font-weight: 680; letter-spacing: 0; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-size: 16px; font-weight: 640; font-stretch: 92%;
  text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--kirsche); color: #fff; }
.btn-primary:hover { background: var(--kirsche-dunkel); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Placeholder markers (to be removed before review) ---------- */
.todo {
  display: inline-block; margin-top: 10px;
  font-size: 13px; line-height: 1.4; font-weight: 600; font-stretch: 100%;
  color: #7a4b00; background: #fff3c4; border: 1px dashed #c99700;
  padding: 3px 8px; border-radius: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { font-size: 30px; font-weight: 820; font-stretch: 122%; letter-spacing: -0.03em; }
.brand-sub { margin-top: 5px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }

.nav-main { display: flex; align-items: center; gap: 26px; }
.nav-main a { text-decoration: none; font-size: 15.5px; font-weight: 540; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-main a[aria-current="page"] { border-bottom-color: var(--kirsche); }
.nav-main .lang { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-main .lang:hover { border-color: var(--ink); color: var(--ink); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px;
  box-shadow: 0 18px 40px -20px rgba(43, 29, 43, .45);
}
.menu-panel a { display: block; padding: 13px 14px; text-decoration: none; font-weight: 560; border-radius: var(--radius); }
.menu-panel a[aria-current="page"] { background: var(--puder); }
.menu-panel .btn { width: 100%; margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(52px, 7vw, 100px); line-height: .94; letter-spacing: -0.018em; max-width: 9ch; hyphens: manual; }
.hero-lead { margin-top: 28px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-visual { position: relative; }
.gurt {
  position: absolute; z-index: 0; height: 46px;
  left: 3%; width: 150%; top: 56%;
  background: url("../img/gurt.svg") repeat-x left center / auto 46px;
  transform: rotate(-11deg); transform-origin: left center;
  box-shadow: 0 6px 18px -8px rgba(43, 29, 43, .5);
}
.frames { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.frames .frame:nth-child(1) { margin-top: 72px; }
.frames .frame:nth-child(3) { margin-top: 128px; }
.frame { text-decoration: none; display: block; }
.frame figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; font-weight: 560; }
.frame figcaption span { display: block; color: var(--muted); font-weight: 450; }
.frame figure { margin: 0; }
.frame:hover figcaption { color: var(--kirsche); }

@media (prefers-reduced-motion: no-preference) {
  .frames .frame { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .frames .frame:nth-child(2) { animation-delay: .08s; }
  .frames .frame:nth-child(3) { animation-delay: .16s; }
  .gurt { animation: slide .9s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes slide { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
}

/* ---------- Product media (photo or placeholder) ---------- */
.media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--puder); border-radius: var(--radius);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ph {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2);
  background:
    radial-gradient(120% 80% at 50% 110%, var(--puder-2), transparent 60%),
    var(--puder);
}
.media .ph svg { width: 38%; max-width: 120px; opacity: .38; }
.media .ph-label {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  font-size: 12.5px; line-height: 1.3; font-weight: 600; color: #7a4b00;
  background: #fff3c4; border: 1px dashed #c99700; border-radius: 3px; padding: 4px 7px; width: fit-content;
}
.badge {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 640; line-height: 1;
  padding: 7px 10px; border-radius: 3px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tint { background: var(--puder); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head p { margin: 14px 0 0; color: var(--muted); max-width: 40em; }
.textlink { font-weight: 620; text-decoration: underline; text-decoration-color: var(--kirsche); text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 28px 28px 30px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: 22px; font-weight: 700; font-stretch: 84%; line-height: 1.2; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.product { display: flex; flex-direction: column; }
.product .kind { margin: 16px 0 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.product h3 { font-size: 20px; hyphens: manual; }
.product h3 a { text-decoration: none; }
.product ul { margin: 12px 0 0; padding: 0 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.product ul li + li { margin-top: 3px; }
.product .shoplink { margin-top: auto; padding-top: 16px; font-size: 15px; }
.products-compact { gap: 36px 24px; }

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 18px;
  font-size: 64px; line-height: .8; font-weight: 800; font-stretch: 70%; color: var(--kirsche);
}
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Split: text + company data */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split p.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; }

.data { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; font-size: 16px; }
.data dt, .data dd { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.data dt { color: var(--muted); }
.data dd { font-weight: 560; }
.data-panel { background: #fff; padding: 8px 28px 16px; border-radius: 6px; }

/* Page intro (inner pages) */
.page-intro { padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-intro h1 { max-width: 20ch; hyphens: manual; }
.page-intro .lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }

/* Prose (about, legal) */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li + li { margin-top: 6px; }
.prose address { font-style: normal; }
.prose .note { font-size: 15px; color: var(--muted); }
.prose .box { background: var(--puder); border-left: 3px solid var(--kirsche); padding: 18px 22px; border-radius: 0 6px 6px 0; margin: 0 0 1em; }
.prose .box p:last-child { margin-bottom: 0; }

.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.toc { position: sticky; top: 104px; font-size: 15px; }
.toc p { font-weight: 640; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0 0 0 20px; color: var(--muted); }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--kirsche); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(64px, 8vw, 112px); }
.contact-card { border-top: 2px solid var(--ink); padding-top: 22px; }
.contact-card h2 { font-size: 26px; margin-bottom: 12px; }
.contact-card p { color: var(--ink-2); }
.contact-card .big { font-size: 20px; font-weight: 650; word-break: break-word; }
.contact-card address { font-style: normal; font-size: 18px; line-height: 1.55; font-weight: 520; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); max-width: 18ch; }
.cta-band p { margin: 10px 0 0; color: var(--rose); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #eadfe3; font-size: 15px; }
.site-footer::before { content: ""; display: block; height: 28px; background: url("../img/gurt.svg") repeat-x left center / auto 28px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-mark { font-size: 34px; color: #fff; }
.site-footer p { color: #cdbfc6; max-width: 30em; }
.footer-col h2 { font-size: 15px; font-stretch: 100%; font-weight: 650; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 8px 0; }
.site-footer a { color: #eadfe3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #b9a9b2; font-size: 14px; }

/* 404 */
.notfound { padding: clamp(72px, 10vw, 140px) 0; }
.notfound p { font-size: 19px; color: var(--ink-2); max-width: 34em; margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-main, .header-cta { display: none; }
  .menu { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; }
  .split { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--puder); padding: 18px 20px; border-radius: 6px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header .wrap { min-height: 66px; gap: 12px; }
  .brand-mark { font-size: 26px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(46px, 13.5vw, 60px); }
  .hero-lead { font-size: 17.5px; margin-top: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { margin-top: 12px; }
  .frames { gap: 10px; }
  .frames .frame:nth-child(1) { margin-top: 28px; }
  .frames .frame:nth-child(3) { margin-top: 48px; }
  .frame figcaption { display: none; }
  .gurt { height: 28px; background-size: auto 28px; top: 50%; }
  .media .ph-label { font-size: 11px; left: 6px; bottom: 6px; right: 6px; padding: 3px 5px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; margin-bottom: 28px; }
  .product h3 { font-size: 17px; }
  .product .shoplink { font-size: 14px; }
  .product ul { display: none; }
  .products-full .product ul { display: block; font-size: 14px; padding-left: 16px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li::before { font-size: 52px; }
  .data { grid-template-columns: 1fr; }
  .data dt { padding-bottom: 0; border-bottom: 0; font-size: 14px; }
  .data dd { padding-top: 2px; }
  .data-panel { padding: 4px 20px 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band .btn { width: 100%; }
}

@media print {
  .site-header, .site-footer, .menu, .gurt { display: none; }
}

/* Fenster fuer TikTok-Shop-Links am Computer (assets/shop.js) */
.shop-dialog {
  border: 0; border-radius: 10px; padding: 28px 28px 24px; width: calc(100% - 32px); max-width: 380px;
  text-align: center; color: var(--ink); background: var(--paper); box-shadow: 0 20px 60px rgba(43, 29, 43, .28);
}
.shop-dialog::backdrop { background: rgba(43, 29, 43, .55); }
.shop-dialog h2 { font-size: 22px; line-height: 1.25; margin: 0; }
.shop-dialog img { display: block; width: 220px; height: 220px; margin: 18px auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.shop-dialog p { font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.shop-dialog-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
