/* Skin Atelier by Malina – Stylesheet (keine externen Schriften, kein Tracking) */
:root {
  --creme: #fdf9f6;
  --beige: #f3e9e1;
  --rose: #e9d3cc;
  --rose-dunkel: #b98b80;
  --gold: #b8913f;
  --gold-hell: #e6cf8f;
  --anthrazit: #2f2c2b;
  --grau: #6e6764;
  --linie: rgba(184, 145, 63, 0.35);
  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthrazit);
  background-color: var(--creme);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(233, 211, 204, 0.55), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(230, 207, 143, 0.22), transparent 50%);
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 40px 20px 32px;
}

/* ---------- Kopfbereich ---------- */
.kopf { text-align: center; }

.logo {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(120, 90, 60, 0.14), 0 0 0 1px var(--linie);
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 6px;
}

.zusatz {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.trenner {
  width: 56px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.intro {
  color: var(--grau);
  font-size: 15.5px;
  margin: 0 auto 30px;
  max-width: 340px;
}

/* ---------- Buttons ---------- */
.links { display: grid; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--linie);
  background: rgba(255, 255, 255, 0.72);
  color: var(--anthrazit);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover { background: #fff; box-shadow: 0 6px 18px rgba(120, 90, 60, 0.10); transform: translateY(-1px); }
.btn:active { transform: scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn svg { width: 20px; height: 20px; flex: none; color: var(--gold); }
.btn-haupt svg { color: var(--gold-hell); }

.sterne { display: inline-flex; gap: 2px; }
.sterne svg { width: 15px; height: 15px; fill: var(--gold); }

.btn-haupt {
  background: var(--anthrazit);
  border-color: var(--anthrazit);
  color: #fbf6ef;
}
.btn-haupt:hover { background: #3b3735; }

/* Terminauswahl – reines HTML (details/summary), kein JavaScript */
.termin { border-radius: 14px; }
.termin summary { list-style: none; }
.termin summary::-webkit-details-marker { display: none; }
.termin summary .pfeil { transition: transform .25s ease; width: 16px; height: 16px; }
.termin[open] summary .pfeil { transform: rotate(180deg); }

.auswahl {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(243, 233, 225, 0.75);
  border: 1px solid var(--linie);
  animation: auf .25s ease;
}
.auswahl .hinweis {
  font-size: 13px;
  color: var(--grau);
  text-align: center;
  margin: 2px 0 4px;
}
.auswahl .btn { min-height: 50px; font-size: 15px; justify-content: flex-start; padding-left: 18px; }

.rechtliches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.rechtliches .btn { font-size: 14.5px; min-height: 50px; padding: 12px; background: transparent; }

/* ---------- Fußbereich ---------- */
.fuss {
  text-align: center;
  font-size: 12.5px;
  color: var(--grau);
  margin-top: 34px;
  line-height: 1.7;
}
.fuss a { color: var(--grau); }

/* ---------- Rechtsseiten ---------- */
.seite { max-width: 680px; }

.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--grau);
  text-decoration: none;
  margin-bottom: 26px;
}
.zurueck:hover { color: var(--anthrazit); }

.seitenkopf { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.seitenkopf img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px var(--linie); }
.seitenkopf h1 { font-size: 28px; margin: 0; text-align: left; }

.text {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--linie);
  border-radius: 16px;
  padding: 24px 22px;
}
.text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 26px 0 8px;
}
.text h2:first-child { margin-top: 0; }
.text h3 { font-size: 15.5px; margin: 18px 0 6px; }
.text p, .text li { font-size: 15px; color: #4a4542; overflow-wrap: anywhere; }
.text p { margin: 0 0 12px; }
.text ul { padding-left: 20px; margin: 0 0 12px; }
.text a { color: var(--anthrazit); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.stand { font-size: 13px; color: var(--grau); margin-top: 18px; }

/* ---------- Animation ---------- */
@keyframes auf { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ein { animation: auf .7s ease both; }
.ein-2 { animation-delay: .1s; }
.ein-3 { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 360px) {
  h1 { font-size: 26px; }
  .rechtliches { grid-template-columns: 1fr; }
}

/* ---------- Kacheln nebeneinander (V4) ---------- */
.kacheln {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 6px 16px;
  border: 1px solid var(--linie);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--anthrazit);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.kachel:hover { background: #fff; box-shadow: 0 6px 18px rgba(120, 90, 60, 0.10); }
.kachel:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.k-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--linie);
  background: var(--creme);
  color: var(--gold);
  transition: background-color .25s ease, color .25s ease;
}
.k-icon svg { width: 24px; height: 24px; }
.k-text { font-size: 14px; font-weight: 500; letter-spacing: 0.03em; }

.kachel[aria-expanded="true"] { background: #fff; border-color: var(--gold); box-shadow: 0 8px 22px rgba(120, 90, 60, 0.12); }
.kachel[aria-expanded="true"] .k-icon { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--gold-hell); }
.kachel[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #fffdfb;
  border-left: 1px solid var(--linie);
  border-top: 1px solid var(--linie);
  transform: rotate(45deg);
  z-index: 2;
}

.panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 16px 14px 14px;
  border-radius: 18px;
  background: #fffdfb;
  border: 1px solid var(--linie);
  box-shadow: 0 8px 22px rgba(120, 90, 60, 0.08);
}
.js .panel { display: none; }
.js .panel.offen { display: grid; animation: auf .3s ease; }
.panel .hinweis { font-size: 13.5px; color: var(--grau); text-align: center; margin: 0 0 4px; }

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--creme);
  border: 1px solid rgba(184, 145, 63, 0.22);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--anthrazit);
  transition: background-color .2s ease;
}
.option:hover { background: var(--beige); }
.option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--linie); color: var(--gold); flex: none; }
.opt-icon svg { width: 17px; height: 17px; }
.option .ext { width: 16px; height: 16px; margin-left: auto; color: var(--grau); opacity: .6; }
.option .sterne svg { width: 14px; height: 14px; }

nav > .rechtliches { margin-top: 18px; }

/* ---------- Kopf V6 ---------- */
.kopf h1 { letter-spacing: 0.14em; margin-bottom: 4px; }
.by { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--anthrazit); margin: 0 0 10px; }
.kopf .zusatz { text-transform: none; letter-spacing: 0.18em; font-size: 13px; }

/* ---------- Wortmarke wie im Logo (V7) ---------- */
@font-face {
  font-family: "Cinzel";
  src: url("cinzel.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.kopf .wortmarke {
  position: relative;
  display: inline-block;
  font-family: "Cinzel", var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 4px 0 66px;
  color: var(--anthrazit);
}
.wortmarke .sig {
  position: absolute;
  width: 108px;
  height: auto;
  left: 65%;
  top: 48%;
  pointer-events: none;
}
.kopf .zusatz { margin-top: 0; }
@media (max-width: 360px) {
  .kopf .wortmarke { font-size: 29px; }
  .wortmarke .sig { width: 94px; }
}

/* ---------- V11: Fließtext wieder in Grundschrift ---------- */
.kopf .wortmarke { margin: 4px 0 10px; }
.kopf .zusatz { font-size: 12px; letter-spacing: 0.26em; margin-bottom: 20px; }
.intro { font-size: 15.5px; line-height: 1.65; color: var(--grau); margin: 0 auto 12px; max-width: 350px; }
.claim { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold); margin: 20px auto 30px; }
.kacheln { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kachel { padding: 14px 2px 12px; gap: 8px; border-radius: 16px; text-decoration: none; }
.k-icon { width: 46px; height: 46px; }
.k-icon svg { width: 22px; height: 22px; }
.k-text { font-size: 12.5px; letter-spacing: 0.01em; }
@media (max-width: 360px) { .k-text { font-size: 11.5px; } .k-icon { width: 40px; height: 40px; } }

/* ---------- V14: Markenname immer in Logo-Schrift ---------- */
.marke { white-space: nowrap; }
.kopf .wortmarke { letter-spacing: 0.06em; font-size: 31px; }
@media (max-width: 360px) { .kopf .wortmarke { font-size: 27px; } }

/* ---------- V18: Bewertungsplattformen ---------- */
.option.bew { gap: 14px; }
.bew-text { display: flex; flex-direction: column; line-height: 1.25; }
.bew-text strong { font-weight: 600; font-size: 15px; }
.bew-text small { font-size: 12.5px; color: var(--grau); font-weight: 400; }

/* ---------- V21: Sprachwahl & Sprachhinweis ---------- */
.wrap { position: relative; }
.sprachwahl {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: -24px 0 8px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--linie);
}
.sprachwahl a {
  color: var(--grau);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
}
.sprachwahl a:hover { color: var(--anthrazit); }
.sprachwahl a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); font-weight: 600; }
.sprachen {
  margin: -12px auto 26px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--grau);
  text-align: center;
}
.sprachen strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- V23: Dermalogica-Partnerschaft ---------- */
.partner {
  margin: 4px auto 30px;
  padding: 18px 20px 16px;
  max-width: 340px;
  text-align: center;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.partner-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grau);
  margin-bottom: 6px;
}
.partner-marke {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--anthrazit);
  margin-bottom: 10px;
}
.partner-logo { display: block; height: 20px; width: auto; max-width: 70%; margin: 4px auto 12px; }
.partner-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--grau);
  margin: 0;
}
.partner + .sprachen { margin-top: 0; }

/* ---------- V25: Dermalogica-Vorteile ---------- */
.vorteile {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 16px 0 2px;
}
.vorteile li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--grau);
  text-align: center;
}
.v-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--linie);
  color: var(--gold);
}
.v-icon svg { width: 19px; height: 19px; }

/* ---------- V26: Quelle Dermalogica-Angaben ---------- */
.partner-quelle { font-size: 10.5px; color: var(--grau); opacity: .8; margin: 10px 0 0; letter-spacing: .02em; }

/* ---------- V27: Vorteile ohne Icons ---------- */
.vorteile { gap: 12px 10px; margin-top: 14px; }
.vorteile li { padding: 10px 6px; border-top: 1px solid var(--linie); justify-content: center; }

/* ---------- V27: Social Media (Instagram + Facebook) ---------- */
.panel .gruppe {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 2px 0;
}
.panel .hinweis + .gruppe { margin-top: 0; }
