:root {
  color-scheme: light;
  --ink: #25211f;
  --muted: #706964;
  --paper: #fffdf8;
  --sand: #f4eee5;
  --clay: #b85d3d;
  --orange: #e48654;
  --sage: #b9c7ac;
  --line: rgba(37, 33, 31, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--sand); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header,
main,
footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; width: 46px; aspect-ratio: 1; place-items: center; border-radius: 48% 52% 46% 54%; color: #fff; background: var(--clay); font-family: Georgia, serif; font-weight: 700; transform: rotate(-5deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1.18rem; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-actions { display: flex; align-items: center; gap: 18px; }
.site-actions > a,
.world-navigation summary { font-size: .86rem; font-weight: 750; text-decoration: none; }
.site-actions > a:hover,
.site-actions > a:focus-visible,
.world-navigation summary:hover { color: var(--clay); }
.world-navigation { position: relative; }
.world-navigation summary { cursor: pointer; list-style: none; }
.world-navigation summary::-webkit-details-marker { display: none; }
.world-navigation summary::after { margin-left: 6px; content: "⌄"; }
.world-navigation[open] summary::after { content: "⌃"; }
.world-navigation > div { position: absolute; z-index: 20; top: calc(100% + 14px); right: 0; display: grid; min-width: 245px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 18px 45px rgba(67, 49, 37, .16); }
.world-navigation > div a { padding: 11px 15px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 750; text-decoration: none; }
.world-navigation > div a:last-child { border-bottom: 0; }
.world-navigation > div a[aria-current="page"] { color: #fff; background: var(--clay); }
.cart-link { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, .72); }
.cart-link span { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--clay); font-size: .68rem; }
.cart-link span[hidden] { display: none; }

.hero { display: grid; min-height: 690px; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); align-items: center; gap: clamp(40px, 8vw, 110px); padding: 86px 0; }
.hero-copy { max-width: 720px; }
.preview-pill, .product-badge { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, .72); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.preview-pill { margin-bottom: 34px; padding: 9px 12px; }
.eyebrow { margin: 0 0 14px; color: var(--clay); font-size: .77rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.8rem, 7vw, 7.1rem); line-height: .93; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.7; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 850; text-decoration: none; }
.button--primary { color: #fff; background: var(--ink); }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.hero-art { position: relative; min-height: 500px; border-radius: 46% 54% 43% 57%; background: #ddc9ae; box-shadow: inset 0 0 0 1px rgba(37, 33, 31, .08), 0 26px 75px rgba(67, 49, 37, .13); transform: rotate(3deg); }
.cookie { position: absolute; display: grid; place-items: center; color: rgba(94, 52, 32, .66); background: #d69b5a; box-shadow: inset 0 0 0 8px rgba(255, 235, 193, .23), 0 18px 32px rgba(88, 51, 28, .16); font-family: Georgia, serif; font-size: 2.4rem; }
.cookie--bone { top: 14%; left: 13%; width: 210px; height: 105px; border-radius: 45px 70px 70px 45px; transform: rotate(-12deg); }
.cookie--heart { top: 18%; right: 12%; width: 150px; aspect-ratio: 1; border-radius: 52% 48% 54% 46%; transform: rotate(11deg); }
.cookie--paw { bottom: 13%; left: 30%; width: 190px; aspect-ratio: 1; border-radius: 50%; transform: rotate(-4deg); }
.hero-art-label { position: absolute; right: 11%; bottom: 13%; padding: 13px 15px; border: 1px solid rgba(37, 33, 31, .16); border-radius: 50%; background: rgba(255, 253, 248, .78); font-family: Georgia, serif; font-size: .9rem; line-height: 1.15; text-align: center; transform: rotate(-9deg); }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.trust-row p { margin: 0; padding: 25px 30px; border-right: 1px solid var(--line); }
.trust-row p:last-child { border-right: 0; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { margin-bottom: 5px; font-family: Georgia, serif; font-size: 1.25rem; }
.trust-row span { color: var(--muted); font-size: .9rem; }

.catalog { padding: 120px 0 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-heading h2, .care h2, .preview-note h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 1; }
.section-heading > p { max-width: 470px; margin-bottom: 4px; color: var(--muted); line-height: 1.65; }
.catalog-status { margin: -24px 0 30px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(255, 253, 248, .72); font-size: .82rem; }
.catalog-status--ready { color: #355d3f; background: #edf5e9; }
.catalog-status--error { color: #8d2922; background: #fff0ed; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: 0 16px 45px rgba(67, 49, 37, .06); }
.product-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: #eee5da; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-badge { position: absolute; z-index: 1; top: 15px; left: 15px; padding: 7px 10px; backdrop-filter: blur(8px); }
.product-body { display: flex; min-height: 285px; flex-direction: column; padding: 24px; }
.product-kicker { margin-bottom: 10px; color: var(--clay); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; line-height: 1.08; }
.product-card h3 a { text-decoration: none; }
.product-body > p:not(.product-kicker) { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.product-meta { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.product-meta strong { font-family: Georgia, serif; font-size: 1.35rem; }
.product-meta span { max-width: 175px; color: var(--clay); font-size: .79rem; font-weight: 850; line-height: 1.35; text-align: right; }
.product-purchase { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.purchase-form { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 13px; }
.purchase-configuration { display: grid; grid-column: 1 / -1; gap: 13px; }
.purchase-form label { display: grid; grid-column: 1 / -1; gap: 7px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.purchase-form label:has(input[name="quantity"]) { grid-column: 2; }
.purchase-form input,
.purchase-form select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; }
.purchase-form input:focus,
.purchase-form select:focus { border-color: var(--clay); outline: 3px solid rgba(228, 134, 84, .22); }
.purchase-price { align-self: end; padding-bottom: 12px; font-family: Georgia, serif; font-size: 1.4rem; }
.purchase-button { grid-column: 1 / -1; border: 0; cursor: pointer; }
.purchase-button:disabled { cursor: wait; opacity: .58; transform: none; }
.purchase-status { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.purchase-status--error { color: #a22920; font-weight: 750; }
.purchase-status--muted { padding: 12px 14px; border-radius: 12px; background: var(--sand); }
.notice { display: grid; gap: 6px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.notice span { color: var(--muted); }

.care { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 130px); padding: 110px clamp(28px, 6vw, 80px); border-radius: 38px; color: #f8f3eb; background: var(--ink); }
.care h2 { color: #fff; }
.care-grid { display: grid; gap: 0; }
.care-grid p { margin: 0; padding: 27px 0; border-bottom: 1px solid rgba(255, 255, 255, .17); }
.care-grid p:first-child { padding-top: 0; }
.care-grid p:last-child { border-bottom: 0; }
.care-grid strong, .care-grid span { display: block; }
.care-grid strong { margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.35rem; }
.care-grid span { color: rgba(248, 243, 235, .68); line-height: 1.65; }

.preview-note { max-width: 900px; padding: 130px 0; }
.preview-note > p:last-child { max-width: 780px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

footer { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(220px, 1fr) minmax(220px, .8fr); align-items: start; gap: 34px; padding: 32px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
footer > div,
.footer-worlds { display: grid; align-items: start; gap: 9px; }
footer a { text-decoration: none; }
.footer-worlds a[aria-current="page"] { color: var(--clay); font-weight: 800; }

@media (max-width: 980px) {
  .site-actions > a[href^="#"] { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header, main, footer { width: min(100% - 28px, 1240px); }
  .site-header { min-height: 80px; }
  .site-actions { gap: 10px; }
  .world-navigation summary { font-size: .8rem; }
  .cart-link { min-height: 38px; padding: 7px 10px; font-size: .78rem; }
  .hero { min-height: 0; padding: 68px 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-art { min-height: 340px; }
  .cookie--bone { width: 150px; height: 78px; }
  .cookie--heart { width: 110px; }
  .cookie--paw { width: 140px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row p { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-row p:last-child { border-bottom: 0; }
  .catalog { padding: 90px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-body { min-height: 260px; }
  .care { padding: 72px 24px; border-radius: 28px; }
  .preview-note { padding: 90px 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .site-header { align-items: center; }
  .site-header .brand > span:last-child { display: none; }
  .brand small { display: none; }
  .brand-mark { width: 40px; }
  .site-actions { margin-left: auto; }
  .site-actions > .cart-link { font-size: 0; }
  .cart-link::before { font-size: .78rem; content: "Warenkorb"; }
  .world-navigation > div { right: -110px; min-width: min(285px, calc(100vw - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-image img { transition: none; }
}
