/* Olja Hergert – Anpassungen an der Outre-Vorlage. Vorlagen-CSS liegt in @layer, diese Datei ist ungeschichtet und gewinnt. */
::selection { background: #b8913f; color: #161310; }
html { scrollbar-color: #b8913f #efe9df; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--color-2); color: var(--color-1); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Navigation */
#nav .nav__logo { gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
#nav .nav__logo img { width: 38px; height: 38px; border-radius: 50%; }
#nav .nav__logo {
  color: #fff;
  background: var(--color-2);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  margin-inline-start: clamp(4px, 1vw, 14px);
}
#nav .nav__logo:hover { color: #fff; box-shadow: 0 0 0 2px #b8913f; }
@media(max-width: 400px) {
  #nav .nav__logo { font-size: 14px; letter-spacing: .08em; gap: 7px; }
}
#nav .nav__links { gap: 28px; }
#nav .nav__wa { background: var(--color-2); color: var(--color-1); }

/* Start: maßvoll statt bildschirmsprengend */
@media (min-width: 761px) { #opening .hero__stage { --ph: 86cqh; --pt: 5cqh; --title: min(25cqh, calc(84cqw / (7 * .64))); } }
#opening .hero__line, #opening .hero__line[data-line="2"] { font-size: min(21cqh, calc(84cqw / (var(--len) * .64))); }
#opening .hero__line[data-line="1"] { font-size: min(32cqh, calc(62cqw / (var(--len) * .64))); }
#opening .hero__img { object-position: 50% 60%; }
#opening .hero__kicker { color: #8a6a28; }
#opening .about__statement { max-width: 760px; }

/* Produkte */
#produkte .col__looks { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin-inline: auto; gap: clamp(16px, 2vw, 28px); }
#produkte .col__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 0; }
#produkte .col__open:focus-visible { outline: 2px solid #d8b46c; outline-offset: 4px; }
#produkte .col__photo { background: #efe9df; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
#produkte .col__photo img { object-position: 50% 50%; transition: transform .9s cubic-bezier(.2, .7, .1, 1); }
@media (hover: hover) { #produkte .col__open:hover .col__photo img { transform: scale(1.05); } }
#produkte .col__meta { align-items: baseline; }
#produkte .col__meta .m-text-4 { font-size: 13px; }
#produkte .col__preis { color: #d8b46c; font-size: 14px; font-weight: 500; }
#produkte .col__art { color: #b3a998; margin-top: -8px; }
#produkte .col__text { color: #c9bfb0; max-width: 34ch; }
#produkte .col__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
#produkte .col__bestellen { font-size: 13px; color: #d8b46c; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(216, 180, 108, .45); }
#produkte .col__bestellen:hover { text-decoration-color: currentColor; }
#produkte .col__extra { max-width: 1280px; margin: clamp(80px, 10vw, 140px) auto 0; padding-top: 32px; border-top: 1px solid rgba(250, 247, 242, .14); }
#produkte .col__extra-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
#produkte .col__extra-kopf .m-text-4 { color: var(--color-1); }
#produkte .col__extra-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
#produkte .col__extra-item { display: grid; gap: 14px; align-content: start; }
#produkte .col__extra-item .col__photo { aspect-ratio: 4 / 5; }
#produkte .col__hinweis { max-width: 1280px; margin: 56px auto 0; text-align: center; }

/* Produkt-Pop-up */
.pd { width: min(1040px, calc(100vw - 32px)); max-height: min(88svh, 760px); padding: 0; border: 0; border-radius: 4px; background: var(--color-1); color: var(--color-2); box-shadow: 0 40px 90px -30px rgba(22, 19, 16, .55); overflow: hidden; }
.pd::backdrop { background: rgba(22, 19, 16, .62); backdrop-filter: blur(3px); }
.pd[open] { animation: pd-auf .45s cubic-bezier(.2, .7, .1, 1); }
.pd[open]::backdrop { animation: pd-hg .35s ease; }
@keyframes pd-auf { from { opacity: 0; translate: 0 24px; scale: .98; } }
@keyframes pd-hg { from { opacity: 0; } }
.pd__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); max-height: inherit; overflow: auto; overscroll-behavior: contain; }
.pd__bild { margin: 0; min-height: 100%; }
.pd__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd__text { padding: clamp(28px, 4vw, 52px); display: grid; gap: 10px; align-content: start; }
.pd__art { color: #8a6a28; }
.pd__name { margin: 0; font: 800 clamp(28px, 3.4vw, 44px)/1 var(--font-1); letter-spacing: -.02em; text-transform: uppercase; }
.pd__preis { font: 500 20px/1.3 var(--font-2); margin: 4px 0 14px; }
.pd__text h3 { margin-top: 14px; color: var(--color-4); }
.pd__text .m-text { color: var(--color-2); max-width: 52ch; }
.pd__stoffe { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__stoffe li { padding: 6px 12px; border: 1px solid var(--color-5); border-radius: 999px; font-size: 13px; }
.pd__inci { color: var(--color-4); margin-top: 6px; }
.pd__bestellen { justify-self: start; margin-top: 18px; text-decoration: none; }
.pd__zu { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--color-1); }
@media (max-width: 760px) {
  .pd { max-height: 92svh; }
  .pd__in { grid-template-columns: 1fr; }
  .pd__in { display: block; }
  .pd__bild { position: relative; height: min(42svh, 340px); min-height: 0; overflow: hidden; }
  .pd__bild img { position: absolute; inset: 0; }
  .pd__text { text-align: center; justify-items: center; padding: 24px 20px 32px; }
  .pd__stoffe { justify-content: center; }
  .pd__bestellen { justify-self: center; }
}

/* Übersicht */
#index .idx__link { font-size: clamp(38px, 5.4vw, 80px); }

/* Kundenstimme */
#voice .voice__photo img { object-position: 50% 30%; }

/* New Launch: Kornblumenfeld */
#arrivals .arr__photo > img { object-position: 50% 55%; }

/* Inhaltsstoffe: Farben und Lesbarkeit */
#palette .pal__band:nth-child(5n+1) { color: var(--color-2); }
#palette .pal__band:nth-child(5n+3) { color: var(--color-1); }
#palette .pal__band:nth-child(5n+4) { color: #fff; }
/* Bänder kompakt: Name links, Text Mitte, Produktfoto rechts */
#palette { overflow-x: clip; }
#palette .pal__band { min-height: 0; height: auto; padding: clamp(20px, 2.4vw, 32px) var(--space-1); grid-template-columns: minmax(0, 1fr) minmax(0, 340px) clamp(110px, 11vw, 160px); grid-template-rows: auto auto; gap: 8px clamp(20px, 3vw, 48px); align-items: end; }
#palette .pal__tag { grid-column: 1 / -1; grid-row: 1; }
#palette .pal__name { grid-column: 1; grid-row: 2; font-size: clamp(44px, 7.4vw, 112px); line-height: .84; }
#palette .pal__use { grid-column: 2; grid-row: 2; display: grid; gap: 12px; justify-items: start; align-self: end; }
#palette .pal__bild { grid-column: 3; grid-row: 1 / 3; margin: 0; align-self: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; box-shadow: 0 18px 34px -18px rgba(22, 19, 16, .55); rotate: 3deg; transition: rotate .5s cubic-bezier(.2, .7, .1, 1); }
#palette .pal__band:nth-child(even) .pal__bild { rotate: -3deg; }
#palette .pal__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) { #palette .pal__band:hover .pal__bild { rotate: 0deg; } }
#palette .pal__link { padding: 0; border: 0; background: none; color: inherit; font: 500 13px/1.3 var(--font-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); cursor: pointer; }
#palette .pal__link:hover { text-decoration-color: currentColor; }
@media (max-width: 760px) {
  #palette .pal__band { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; justify-items: center; text-align: center; gap: 10px; padding: 24px 20px 28px; }
  #palette .pal__bild { grid-column: 1; grid-row: 1; width: 64px; align-self: auto; margin-bottom: 4px; }
  #palette .pal__tag { grid-column: 1; grid-row: 2; }
  #palette .pal__name { grid-column: 1; grid-row: 3; font-size: min(13vw, 60px); }
  #palette .pal__use { grid-column: 1; grid-row: 4; justify-items: center; }
}

/* Studio */
#studio .studio__photo { aspect-ratio: 4 / 5; max-width: 520px; justify-self: end; background: #d8cfc2; }
#studio .studio__photo img { object-position: 50% 15%; }
#studio .studio__text .m-link { justify-self: start; }

/* Kontakt ohne Formular */
#contact .ct__form { align-content: start; justify-items: start; }

/* Fußzeile */
#footer .ft__news .ft__row { grid-template-columns: auto; justify-content: start; }
#footer .ft__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp dauerhaft */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--color-2); color: var(--color-1); font: 500 14px/1 var(--font-2); box-shadow: 0 14px 30px -14px rgba(22, 19, 16, .6); transition: background .3s ease, transform .3s ease; }
.wa-float svg { width: 22px; height: 22px; color: #d8b46c; }
@media (hover: hover) { .wa-float:hover { background: #8a6a28; transform: translateY(-2px); } }

/* Handy: alles mittig (Kevins Standard) */
@media (max-width: 760px) {
  #opening .hero__line[data-line="1"] { font-size: calc(96cqw / (var(--len) * .64)); }
  #opening .hero__stage { --ph: 52cqh; --pt: 6cqh; }
  #opening .hero__grid i:nth-child(1) { display: none; }
  #opening .hero__aside { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  #opening .hero__kicker { left: 0; right: 0; text-align: center; }
  #opening .hero__intro { justify-content: center; }
  #opening .hero__line[data-line="2"] { font-size: calc(92cqw / (var(--len) * .64)); }
  #opening .hero__stage { --title: calc(92cqw / (7 * .64)); }
  #opening .about__statement, #opening .about__note { text-align: center; justify-self: center; margin-inline: auto; }
  #produkte .col__head { text-align: center; }
  #produkte .col__statement { text-align: center; }
  #produkte .col__looks, #produkte .col__extra-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  #produkte .col__look, #produkte .col__extra-item { justify-items: center; text-align: center; }
  #produkte .col__meta { flex-direction: column; align-items: center; gap: 2px; }
  #produkte .col__knoepfe { justify-content: center; flex-direction: column; gap: 10px; }
  #produkte .col__text { margin-inline: auto; font-size: 12.5px; }
  #produkte .col__extra-kopf { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  #produkte .col__hinweis { padding-inline: 8px; }
  #index .idx__side { justify-content: center; gap: 14px; }
  #voice { text-align: center; }
  #voice .voice__media { justify-self: center; }
  #arrivals .arr__foot { align-items: center; text-align: center; }
  #palette .pal__head { text-align: center; }
  #palette .pal__band { text-align: center; justify-items: center; }
  #studio .studio__photo { justify-self: center; width: 100%; max-width: 360px; }
  #studio .studio__text { text-align: center; justify-items: center; }
  #studio .studio__text .m-link { justify-self: center; }
  #faq .faq__side { justify-items: center; text-align: center; }
  #contact .ct__title { text-align: center; }
  #contact .ct__store { text-align: center; justify-items: center; }
  #contact .ct__form { justify-items: center; text-align: center; }
  #footer .ft__news { justify-items: center; text-align: center; margin-inline: auto; }
  #footer .ft__news .ft__row { justify-content: center; }
  #footer .ft__cols { text-align: center; }
  #footer .ft__legal { align-items: center; text-align: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 0 13px; }
}
