/* ==========================================================================
   GetMyUndies.com – Template
   Referenzbreite der Vorlage: 1094 px. Fluide Werte (clamp) treffen bei
   dieser Breite die Maße des Entwurfs und skalieren davon ausgehend.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben – Basis #800020, Flächenwerte am Screenshot abgeglichen */
  --brand: #800020;
  --bordeaux: #660117;          /* Header, Hero, Footer */
  --bordeaux-deep: #5a0013;
  --bordeaux-button: #6b0117;   /* CTA-Button */
  --bordeaux-ink: #77071f;      /* Überschriften auf hellem Grund */
  --rose-50: #fdf3f7;
  --blush: #f8dfe8;             /* Favoriten-Karte */
  --blush-item: #fbebf1;
  --rose-200: #f6c8d8;          /* Hero-Button, Header-Button */
  --rose-300: #f3b8cc;          /* CTA-Fläche */
  --rose-350: #eda7bf;          /* Filter-Button */
  --rose-400: #f291b5;          /* aktiver Kategorie-Chip, Badges */
  --pink-on-dark: #faa5bf;      /* Logo-Akzent, Eyebrow im Hero */
  --pink-pale: #ffe0ee;         /* dritte Hero-Zeile */
  --pink-ink: #b8305e;          /* kontraststarker Rosaton auf Hell */
  --bg: #fcfbfc;
  --white: #ffffff;
  --text: #3a0b18;
  --muted: #7c4a5a;
  --line: #f0dce4;

  --font: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 6vw, 80px);
  --container: min(100% - 2 * var(--gutter), 1240px);
  --inset: clamp(0px, 1.55vw, 24px);

  /* Vertikaler Rhythmus: innerhalb eines Blocks klein, Überschrift → Inhalt mittel, zwischen Sektionen groß */
  --space-2xs: clamp(6px, .6vw, 10px);    /* Eyebrow → Überschrift */
  --space-sm: clamp(16px, 1.6vw, 24px);   /* zusammengehörige Elemente (Karten → Kategorien) */
  --space-md: clamp(24px, 2.5vw, 40px);   /* Überschrift → Inhalt */
  --space-lg: clamp(48px, 5vw, 88px);     /* zwischen Sektionen */                       /* Überstand von Filterleiste und Header-Button */
  --wide: min(100% - 2 * var(--gutter) + 2 * var(--inset), 1288px);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-bar: 0 10px 30px rgba(102, 1, 23, .12), 0 2px 6px rgba(102, 1, 23, .06);
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--brand);
  --focus-dark: 0 0 0 3px var(--bordeaux), 0 0 0 5px var(--pink-pale);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--white); color: var(--bordeaux); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: var(--container); margin-inline: auto; }

.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: clamp(40px, 3.84vw, 50px);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--btn-h);
  padding: 0 clamp(16px, 1.75vw, 24px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: clamp(14px, 1.37vw, 18px);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { font-size: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--rose { background: var(--rose-200); color: var(--bordeaux-ink); }
.btn--rose:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255, 224, 238, .75); color: var(--white); font-weight: 400; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--bordeaux { background: var(--bordeaux-button); color: var(--white); }
.btn--bordeaux:hover { background: var(--brand); }
.btn--outline { border-color: var(--bordeaux-ink); color: var(--bordeaux-ink); background: transparent; }
.btn--outline:hover { background: var(--blush); }
.btn--sm {
  --btn-h: clamp(36px, 3.2vw, 44px);
  padding: 0 clamp(12px, 1.25vw, 18px);
  font-size: clamp(12px, 1.12vw, 16px);
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { box-shadow: var(--focus-dark); }

/* ---------- Logo (Wortmarke laut Grafikpaket, im Website-Font gesetzt) ---------- */
.logo {
  display: inline-flex; flex-direction: column;
  color: var(--white); text-decoration: none; line-height: 1;
}
.logo__word {
  font-size: clamp(23px, 2.56vw, 34px);
  font-weight: 700;
  letter-spacing: -.025em;
}
.logo__accent { color: var(--pink-on-dark); }
.logo__tag {
  margin-top: .22em;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: .005em;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--bordeaux); color: var(--white); }
.header__inner {
  width: var(--wide);
  display: flex; align-items: center; gap: clamp(20px, 2.9vw, 40px);
  min-height: clamp(54px, 5.2vw, 72px);
  padding-left: var(--inset);
}
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); padding-left: 2px; }
.site-nav a { text-decoration: none; }
.site-nav__list a, .site-nav__login {
  display: inline-block; padding: 6px 0;
  font-size: clamp(12px, 1.1vw, 16px); font-weight: 400;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.site-nav__list a:hover, .site-nav__login:hover,
.site-nav__list a[aria-current="page"] { background-size: 100% 1px; }
.site-nav__actions { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 20px); margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 224, 238, .45); border-radius: var(--radius);
  background: transparent; color: var(--white); font-size: 22px;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--bordeaux); color: var(--white); padding-bottom: clamp(48px, 4.8vw, 84px); }
.hero__grid { display: grid; grid-template-columns: 42.74% 57.26%; align-items: start; }
.hero__text { padding-top: clamp(24px, 3.5vw, 50px); }
.eyebrow {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #f9e9ef; }
.hero__title {
  margin-top: clamp(2px, .3vw, 6px);
  font-size: clamp(40px, 5.3vw, 74px);
  font-weight: 760;
  line-height: .955;
  letter-spacing: -.035em;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--pink-pale); }
.hero__lead {
  margin-top: clamp(14px, 1.5vw, 22px);
  max-width: 26em;
  font-size: clamp(16px, 1.74vw, 23px);
  font-weight: 400;
  line-height: 1.3;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.3vw, 16px); margin-top: clamp(16px, 1.65vw, 24px); }
.hero__actions .btn { --btn-h: clamp(42px, 3.9vw, 54px); padding-inline: clamp(16px, 1.65vw, 24px); font-size: clamp(14px, 1.33vw, 18px); }
.hero__actions .btn--rose { min-width: clamp(200px, 20.9vw, 290px); }
.hero__actions .btn--ghost { min-width: clamp(140px, 13.5vw, 190px); }
.hero__note { margin-top: clamp(10px, 1vw, 14px); font-size: clamp(12px, 1.1vw, 14px); color: #f6e3ea; }

/* Bildcollage: Positionen in % der Collage (Referenz 552 × 394 px) */
.collage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 552 / 394;
}
.collage__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--links { left: 0; top: 0; width: 46.56%; height: 69.29%; z-index: 2; }
.collage__img--rechts { left: 50.18%; top: .51%; width: 49.82%; height: 49.49%; }
.collage__img--unten { left: .18%; top: 53.05%; width: 99.82%; height: 46.95%; }
/* Bildausschnitte so wählen, dass die Socken sichtbar bleiben */
.collage__img--links img { object-position: center 70%; }
.collage__img--rechts img { object-position: center 78%; }
.collage__img--unten img { object-position: 60% 86%; }
.collage__heart { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.collage__badge {
  position: absolute; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  padding: .5em .9em;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 7px;
  background: var(--bordeaux);
  color: var(--white);
  font-size: max(11px, 2.36cqi);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
/* oberhalb der Socken platziert, damit die Motive frei bleiben */
.collage__badge--profile { left: 1.8%; top: 3.6%; }
.collage__badge--wish { left: 77.9%; top: 4.1%; }

/* ---------- Such- und Filterleiste ---------- */
.finder {
  position: relative; z-index: 5;
  width: var(--wide);
  margin: calc(-1 * clamp(20px, 2.2vw, 30px)) auto 0;
  padding: clamp(11px, 1.1vw, 16px) var(--inset);
  display: grid;
  grid-template-columns: auto minmax(0, 1.22fr) minmax(0, 1.17fr) minmax(0, 1fr) auto;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-bar);
}
.finder__title {
  padding-right: clamp(14px, 1.55vw, 22px);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 700;
  color: var(--bordeaux-ink);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.field {
  position: relative;
  padding: 0 clamp(11px, 1.1vw, 22px);
  border-left: 1px solid var(--line);
}
.field label {
  display: block;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  color: var(--bordeaux-ink);
}
.field__control { position: relative; }

/* Fallback ohne JavaScript: native Auswahl im gleichen Look */
.field select {
  width: 100%;
  appearance: none;
  padding: 2px 20px 4px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: clamp(13.5px, 1.25vw, 17px);
  color: var(--bordeaux-ink);
  text-overflow: ellipsis;
  cursor: pointer;
}
.field select:focus-visible { box-shadow: none; outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.field__control > .icon {
  position: absolute; right: 2px; top: 50%; translate: 0 -55%;
  font-size: 16px; color: var(--rose-400); pointer-events: none;
}

/* Gestaltete Auswahl (wird per JavaScript aus der <select> erzeugt) */
.select { position: relative; }
.select__button {
  width: 100%;
  display: flex; align-items: center; gap: 5px;
  padding: 2px 0 4px;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent;
  color: var(--bordeaux-ink);
  font-size: clamp(13.5px, 1.25vw, 17px);
  line-height: 1.35;
  text-align: left;
  transition: border-color .2s var(--ease);
}
.select__button:hover, .select.is-open .select__button { border-bottom-color: var(--rose-400); }
.select__button:focus-visible { box-shadow: none; outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 3px; }
.select__lead { display: grid; flex: none; color: var(--pink-ink); font-size: 1.1em; }
.select__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__chevron { font-size: 15px; color: var(--rose-400); transition: rotate .2s var(--ease); }
.select.is-open .select__chevron { rotate: 180deg; }
.select__list {
  position: absolute; z-index: 40; left: -12px; top: calc(100% + 10px);
  min-width: calc(100% + 24px); width: max-content; max-width: min(320px, calc(100vw - 32px));
  max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px rgba(102, 1, 23, .2), 0 4px 10px rgba(102, 1, 23, .08);
  animation: select-in .16s var(--ease);
}
.select__list:focus-visible { box-shadow: 0 0 0 2px var(--brand), 0 20px 44px rgba(102, 1, 23, .2); }
.select.is-up .select__list { top: auto; bottom: calc(100% + 10px); }
@keyframes select-in { from { opacity: 0; translate: 0 -6px; } }
.select__option {
  display: flex; align-items: center; gap: 11px;
  min-height: 44px; padding: 6px 10px 6px 6px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}
.select__option-icon {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--rose-50); color: var(--bordeaux-ink); font-size: 19px;
  transition: background-color .15s var(--ease);
}
.select__option-text { flex: 1; white-space: nowrap; }
.select__check { margin-left: 8px; font-size: 18px; color: var(--brand); opacity: 0; }
.select__option.is-active { background: var(--blush-item); }
.select__option.is-active .select__option-icon { background: var(--rose-200); }
.select__option[aria-selected="true"] { color: var(--bordeaux-ink); font-weight: 600; }
.select__option[aria-selected="true"] .select__option-icon { background: var(--rose-400); }
.select__option[aria-selected="true"] .select__check { opacity: 1; }

/* Text- und E-Mail-Felder */
.field input, .field textarea {
  width: 100%;
  appearance: none;
  padding: 11px 14px;
  border: 1px solid #ecd3dd;
  border-radius: var(--radius);
  background: var(--rose-50);
  color: var(--text);
  font-size: 16px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.45; }
.field input:hover, .field textarea:hover { border-color: var(--rose-400); }
.field input:focus-visible, .field textarea:focus-visible {
  border-color: var(--brand); background: var(--white); border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(128, 0, 32, .14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0264f; background: #fff6f8; }
.field__error {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px; color: #b01d45; font-size: 14px; font-weight: 500;
}
.field__error .icon { font-size: 15px; stroke-width: 2.2; }
.field__error[hidden] { display: none; }
.finder__submit { padding-left: clamp(14px, 1.55vw, 20px); border-left: 1px solid var(--line); }
.finder__submit .btn {
  min-width: clamp(150px, 15vw, 230px);
  --btn-h: clamp(40px, 3.66vw, 50px);
  background: var(--rose-350); color: var(--bordeaux-ink); font-size: clamp(14px, 1.33vw, 17px);
}
.finder__submit .btn:hover { background: var(--rose-400); }

/* ---------- Sektionen ---------- */
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: var(--space-md);
}
.section-eyebrow {
  text-transform: uppercase;
  color: var(--pink-ink);
  font-size: clamp(11px, .96vw, 13px);
  font-weight: 600;
  letter-spacing: .16em;
}
.section-title {
  margin-top: var(--space-2xs);
  font-size: clamp(26px, 3.25vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--bordeaux-ink);
}
.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: clamp(13px, 1.2vw, 16px); font-weight: 500;
  color: var(--bordeaux-ink);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  white-space: nowrap;
}
.text-link .icon { font-size: 1.1em; }
.text-link:hover { color: var(--brand); text-decoration-thickness: 2px; }

/* ---------- Profile ---------- */
.profiles { padding-top: var(--space-lg); }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 16px); }
.profile-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2b1a1f;
  aspect-ratio: 232 / 264;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.profile-card[hidden] { display: none; }
.profile-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(102, 1, 23, .18); }
.profile-card__link { position: absolute; inset: 0; display: block; color: var(--white); text-decoration: none; border-radius: inherit; }
.profile-card__link:focus-visible { box-shadow: inset 0 0 0 3px var(--pink-pale), inset 0 0 0 5px var(--brand); }
.profile-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; transition: transform .5s var(--ease); }
.profile-card:hover img { transform: scale(1.03); }
.profile-card__link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 6, 9, .72) 0%, rgba(18, 6, 9, .35) 22%, rgba(18, 6, 9, 0) 42%);
}
.profile-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 clamp(10px, 1.3vw, 18px) clamp(9px, .95vw, 14px); }
.profile-card__name { display: block; font-size: clamp(15px, 1.7vw, 22px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.profile-card__meta { display: block; margin-top: 2px; font-size: clamp(12.5px, 1.34vw, 18px); line-height: 1.25; }
.fav-btn {
  position: absolute; z-index: 2; top: 3.4%; right: 2.6%;
  width: clamp(34px, 3.3vw, 44px); height: clamp(34px, 3.3vw, 44px);
  display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(40, 18, 24, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.fav-btn:hover { background: rgba(40, 18, 24, .32); transform: scale(1.06); }
.fav-btn[aria-pressed="true"] { color: var(--rose-400); }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.fav-btn:focus-visible { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand); }

/* Kategorieauswahl */
.chip-bar { position: relative; display: flex; align-items: center; margin-top: var(--space-sm); }
.chips {
  display: flex; gap: clamp(6px, .75vw, 12px); margin-inline: auto;
  overflow-x: auto; scrollbar-width: none; padding: 3px 4px;
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 26px; padding: 2px clamp(12px, 1.3vw, 18px);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--bordeaux-ink);
  font-size: clamp(12px, 1.05vw, 14px); font-weight: 500;
  transition: background-color .2s var(--ease);
}
.chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.chip[aria-current="true"], .chip[aria-current="page"] { background: var(--rose-400); font-weight: 600; }
.chip .icon { font-size: 1.3em; }
.chip:hover { background: var(--blush); }
.chip[aria-pressed="true"] { background: var(--rose-400); font-weight: 600; }
.chip-bar__note { position: absolute; right: 0; font-size: 11px; font-weight: 500; color: var(--pink-ink); }
.filter-status { margin-top: 10px; text-align: center; color: var(--muted); font-size: 14px; }
.filter-status:empty { display: none; }

/* ---------- Bild- und Kategorienbereich ---------- */
.highlights {
  width: min(100% - 2 * var(--gutter) + 2 * clamp(0px, 1.75vw, 26px), 1292px);
  margin: var(--space-lg) auto 0;
  display: grid;
  grid-template-columns: 59.6fr 40.4fr;
  gap: clamp(10px, 1.3vw, 16px);
}
.story-card {
  position: relative; overflow: hidden;
  min-width: 0;
  min-height: clamp(240px, 25.5vw, 360px);
  border-radius: 10px;
  background: #24160f;
  color: var(--white);
}
.story-card__media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.story-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 4, 10, .78) 0%, rgba(26, 4, 10, .4) 32%, rgba(26, 4, 10, 0) 58%);
}
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 6px;
  background: var(--rose-400); color: var(--bordeaux-ink);
  font-size: clamp(11px, 1vw, 13px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.story-card .badge { position: absolute; z-index: 2; left: 2.5%; top: 4.7%; min-width: 17.9%; min-height: 11%; justify-content: center; padding-inline: 12px; }
.story-card figcaption { position: absolute; z-index: 2; left: 3.4%; right: 4%; bottom: clamp(16px, 2.1vw, 28px); }
.story-card__title { font-size: clamp(28px, 3.88vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.story-card__text { margin-top: clamp(4px, .55vw, 8px); font-size: clamp(15px, 1.6vw, 21px); }

.favorites {
  padding: clamp(10px, 1.05vw, 16px) clamp(14px, 1.5vw, 22px) clamp(10px, 1vw, 16px) clamp(14px, 1.4vw, 20px);
  border-radius: var(--radius-lg);
  background: var(--blush);
}
.favorites__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 clamp(2px, .4vw, 6px) clamp(6px, .75vw, 12px); }
.favorites__title { font-size: clamp(21px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--bordeaux-ink); }
.favorites__head a { font-size: clamp(13px, 1.2vw, 16px); color: var(--bordeaux-ink); text-decoration: none; }
.favorites__head a:hover { text-decoration: underline; }
.favorites__list { display: grid; gap: clamp(3px, .3vw, 6px); }
.fav-item {
  display: grid; grid-template-columns: clamp(78px, 9.05vw, 124px) 1fr auto; align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(5px, .55vw, 8px) clamp(12px, 1.6vw, 22px) clamp(5px, .55vw, 8px) clamp(6px, .8vw, 10px);
  border-radius: 10px;
  background: var(--blush-item);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
  color: var(--bordeaux-ink); text-decoration: none;
  transition: background-color .2s var(--ease);
}
.fav-item:hover { background: var(--white); }
.fav-item img { width: 100%; height: auto; aspect-ratio: 95 / 55; object-fit: cover; object-position: center 80%; border-radius: var(--radius-sm); }
.fav-item__title { display: block; font-size: clamp(15px, 1.42vw, 19px); font-weight: 600; letter-spacing: -.01em; }
.fav-item__text { display: block; font-size: clamp(13px, 1.2vw, 16px); color: #a3365c; }
.fav-item .icon { font-size: 18px; transition: transform .2s var(--ease); }
.fav-item:hover .icon { transform: translateX(3px); }

/* ---------- CTA ---------- */
.cta { margin-top: var(--space-lg); background: var(--rose-300); }
.cta__inner {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.75vw, 40px) clamp(16px, 3.85vw, 56px);
  display: grid; grid-template-columns: 29% 1fr auto; align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  min-height: clamp(110px, 10.7vw, 150px);
  padding-block: clamp(16px, 1.8vw, 32px);
}
.cta__art { width: 100%; max-height: clamp(90px, 9vw, 130px); object-fit: contain; object-position: left center; }
.cta__title {
  text-align: center;
  font-size: clamp(26px, 3.43vw, 48px); font-weight: 760; line-height: 1.04; letter-spacing: -.035em;
  color: var(--bordeaux-button);
}
.cta .btn { --btn-h: clamp(44px, 4.1vw, 56px); min-width: clamp(170px, 17.7vw, 240px); font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bordeaux); color: var(--white); }
.footer__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); min-height: clamp(76px, 6.95vw, 96px); padding-block: 14px; }
.site-footer nav { margin-left: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px clamp(14px, 1.6vw, 30px); }
.footer__links a, .footer__meta { white-space: nowrap; }
.footer__links a, .footer__meta { font-size: clamp(12px, 1.1vw, 14px); }
.footer__links a { text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.footer__divider { width: 1px; align-self: stretch; margin-block: 8px; background: rgba(255, 224, 238, .5); }
.footer__meta { color: #f9e9ef; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.page-hero { background: var(--bordeaux); color: var(--white); padding: clamp(28px, 4vw, 56px) 0 clamp(52px, 6vw, 80px); }
.page-hero .eyebrow { color: var(--pink-on-dark); }
.page-hero h1 { margin-top: 10px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.page-hero h1 .accent { color: var(--pink-pale); }
.page-hero p { margin-top: 14px; max-width: 38em; font-size: clamp(16px, 1.5vw, 20px); color: #f9e9ef; }
.page-main { padding-bottom: clamp(40px, 5vw, 72px); }
.finder + .page-main { padding-top: clamp(24px, 3vw, 40px); }
.page-main--spaced { padding-top: clamp(28px, 4vw, 56px); }
.section-title--spaced { margin-bottom: 18px; }
.actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.sample-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 clamp(18px, 2vw, 26px); padding: 12px 16px;
  border: 1px dashed var(--rose-400); border-radius: var(--radius);
  background: var(--rose-50); color: var(--bordeaux-ink); font-size: 14px;
}
.sample-note strong { font-weight: 600; }
.notice {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--radius);
  background: var(--blush); color: var(--bordeaux-ink); font-size: 15px;
}
.notice:empty { display: none; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.results-count { font-size: 15px; color: var(--muted); }
/* Schalter statt nativer Checkbox */
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--bordeaux-ink); cursor: pointer; user-select: none; }
.toggle input {
  appearance: none; flex: none; position: relative; margin: 0;
  width: 44px; height: 26px; border-radius: 999px;
  background: #ecd3dd; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.toggle input::before {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(60, 0, 15, .25);
  transition: translate .2s var(--ease);
}
.toggle input:checked { background: var(--brand); }
.toggle input:checked::before { translate: 18px 0; }
.toggle input:hover { background: var(--rose-400); }
.toggle input:checked:hover { background: var(--bordeaux-button); }
.toggle input:focus-visible { box-shadow: var(--focus); border-radius: 999px; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
/* Porträts bleiben klein, damit die Ausschnitte nicht hochskaliert werden */
.item-card {
  position: relative; display: grid; grid-template-columns: clamp(96px, 9vw, 124px) 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .06);
}
.item-card__media { position: relative; aspect-ratio: 232 / 264; background: var(--blush); }
.item-card__media img { width: 100%; height: 100%; object-fit: cover; }
.item-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 52px 12px 16px; }
.item-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 6px; border-radius: 5px; background: var(--blush); color: var(--bordeaux-ink); font-size: 12px; font-weight: 500; }
.item-card__title { font-size: 17px; line-height: 1.25; font-weight: 600; color: var(--bordeaux-ink); letter-spacing: -.01em; }
.item-card__seller { font-size: 14px; color: var(--muted); }
.item-card__price { margin-top: auto; padding-top: 8px; font-size: 16px; font-weight: 600; color: var(--bordeaux-ink); }
.item-card__price small { font-weight: 400; color: var(--muted); font-size: 12px; }
.item-card__link { color: inherit; text-decoration: none; }
.item-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.item-card__link:focus-visible { box-shadow: none; }
.item-card:has(.item-card__link:focus-visible) { box-shadow: var(--focus); }
.item-card .fav-btn { top: 8px; right: 8px; z-index: 3; color: var(--bordeaux-ink); background: var(--blush); -webkit-backdrop-filter: none; backdrop-filter: none; }
.item-card .fav-btn:hover { background: var(--rose-200); }
.item-card .fav-btn[aria-pressed="true"] { color: var(--brand); }
.empty-state { padding: 40px 20px; text-align: center; border-radius: var(--radius-lg); background: var(--white); color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 6px; font-size: 18px; color: var(--bordeaux-ink); }

.profile-detail { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.profile-detail__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 232 / 264; max-width: 260px; }
.profile-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-detail h2 { font-size: clamp(22px, 2.2vw, 28px); color: var(--bordeaux-ink); letter-spacing: -.02em; margin-bottom: 14px; }
.profile-detail__intro { font-size: 17px; max-width: 40em; margin-bottom: 26px; }
.offer-list { display: grid; gap: 12px; }
.tag .icon { font-size: 15px; }
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line);
}
.offer__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--blush); color: var(--bordeaux-ink); font-size: 24px; }
.offer__title { font-weight: 600; color: var(--bordeaux-ink); }
.offer__meta { font-size: 14px; color: var(--muted); }
.offer__price { font-weight: 600; color: var(--bordeaux-ink); text-align: right; }

.prose { max-width: 46rem; }
.prose h2 { margin: 32px 0 10px; font-size: clamp(22px, 2.2vw, 28px); color: var(--bordeaux-ink); letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 22px 0 6px; font-size: clamp(18px, 1.6vw, 21px); color: var(--bordeaux-ink); }
.prose p, .prose li { font-size: 17px; }
.prose p + p { margin-top: 10px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.placeholder { padding: 1px 6px; border-radius: 4px; background: var(--blush); color: var(--bordeaux-ink); font-weight: 500; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.step { padding: 22px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(102, 1, 23, .05); }
.step__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rose-200); color: var(--bordeaux-ink); font-weight: 700; }
.step h3 { margin: 14px 0 6px; font-size: 19px; color: var(--bordeaux-ink); }
.step p { color: var(--muted); }
.split-section { margin-top: clamp(36px, 5vw, 64px); }
.split-section > h2 { margin-bottom: 18px; font-size: clamp(24px, 2.6vw, 34px); color: var(--bordeaux-ink); letter-spacing: -.025em; }

.form-card {
  max-width: 460px; padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-bar);
}
.form-card .field { padding: 0; border: 0; margin-bottom: 18px; }
.form-card .field label { margin-bottom: 6px; font-size: 14px; }
.form-card .btn { width: 100%; }
.form-card__hint { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1093px) {
  .hero__title { font-size: clamp(40px, 5.1vw, 74px); }
  .highlights { grid-template-columns: 1.38fr 1fr; }
  .fav-item { column-gap: clamp(10px, 1.2vw, 18px); padding-right: clamp(10px, 1.2vw, 18px); }
}

@media (max-width: 1079px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .finder__title { grid-column: 1 / -1; padding: 0; }
  .field:nth-of-type(1) { border-left: 0; padding-left: 0; }
  .finder__submit { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
  .finder__submit .btn { width: 100%; }
}

@media (max-width: 899px) {
  /* Navigation */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bordeaux-deep);
    box-shadow: 0 18px 30px rgba(40, 0, 10, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a, .site-nav__login {
    display: block; padding: 13px 0; font-size: 17px;
    border-bottom: 1px solid rgba(255, 224, 238, .16); background: none;
  }
  .site-nav__actions { flex-direction: column; align-items: stretch; margin: 0; gap: 14px; }
  .site-nav__actions .btn { --btn-h: 48px; font-size: 16px; }

  /* Hero */
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { padding-top: 18px; }
  .hero__title { font-size: clamp(40px, 9.6vw, 64px); }
  .hero__lead { font-size: clamp(16px, 2.6vw, 20px); }
  .collage { margin-top: 30px; width: 100%; max-width: 620px; justify-self: center; }
  .collage__badge--wish { left: auto; right: 0; }

  .profile-grid { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
  .chip-bar { flex-direction: column; gap: 6px; }
  .chip { min-height: 34px; }
  .header__inner { width: var(--container); padding-left: 0; }
  .chips {
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .chips.is-scrolled-end { -webkit-mask-image: none; mask-image: none; }
  .chip-bar__note { position: static; }

  .highlights { grid-template-columns: 1fr; width: var(--container); gap: var(--space-sm); }
  .story-card { aspect-ratio: 590 / 300; min-height: 0; }

  .cta__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; padding-block: 36px 40px; }
  .cta__art { width: min(100%, 360px); max-height: none; object-position: center; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .site-footer nav { margin-left: 0; }
  .footer__divider { display: none; }

  .profile-detail { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; width: var(--container); }
  .field { border-left: 0; padding: 0; }
  .select__list { left: 0; right: 0; min-width: 0; width: auto; max-width: none; }
  .select__button { min-height: 40px; }
  .hero__actions .btn { flex: 1 1 100%; min-width: 0; }
  .hero__lead br { display: none; }
  .collage__badge--wish { top: 57%; right: 2%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chips { justify-content: flex-start; margin-inline: 0; width: 100%; }
  .story-card { aspect-ratio: 4 / 3; }
  .fav-item { grid-template-columns: 76px 1fr auto; gap: 12px; padding-right: 12px; }
  .offer { grid-template-columns: auto 1fr; }
  .offer__price { grid-column: 2; text-align: left; }
}
