/* ==========================================================================
   nayo elements – Praxiskleidung
   Ein einziges Stylesheet für den gesamten Shop.
   ========================================================================== */

:root {
  --ink: #14262d;
  --ink-soft: #5d7178;
  --ink-faint: #8fa2a8;
  --line: #e3eaeb;
  --line-strong: #cbd8da;
  --bg: #ffffff;
  --bg-soft: #f5f8f8;
  --bg-tint: #eef5f5;

  --accent: #0e7a86;
  --accent-dark: #0a5c66;
  --accent-soft: #e4f0f1;

  --warn: #b4531b;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 38, 45, .05), 0 8px 24px rgba(20, 38, 45, .06);
  --shadow-lift: 0 2px 4px rgba(20, 38, 45, .06), 0 16px 40px rgba(20, 38, 45, .10);

  --page: 1180px;
  --header-h: 68px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.lead { font-size: 1.1rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--soft { background: var(--bg-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --------------------------------------------------------- Buttons ------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: var(--line-strong); cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink-soft); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-tint); }

.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: currentColor; }

/* --------------------------------------------------------- Header ------- */

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .06em;
  text-align: center;
  padding: 8px 16px;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
.brand__sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.header__actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
  position: relative;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; order: -1; }
  .brand { margin-right: auto; }
}

/* Mobile-Navigation */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 38, 45, .4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav__panel {
  position: absolute; inset: 0 auto 0 0;
  width: min(320px, 86vw);
  background: #fff;
  padding: 22px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(-100%);
  transition: transform .25s ease;
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__panel a {
  padding: .8rem .2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 500;
}
.mobile-nav__close { align-self: flex-end; margin-bottom: 10px; }

/* --------------------------------------------------------- Hero --------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero__title { margin-bottom: .4em; }
.hero__text { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .8rem; font-weight: 600;
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------- USP bar ------ */

.usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.usp__item {
  background: #fff;
  padding: 20px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.usp__item svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: var(--accent); fill: none; stroke-width: 1.6; margin-top: 2px; }
.usp__item strong { display: block; font-size: .92rem; }
.usp__item span { font-size: .82rem; color: var(--ink-soft); }

@media (max-width: 780px) { .usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .usp { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Grid --------- */

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head p { margin: 0; max-width: 60ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.card { display: block; }
.card__media {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .3s ease;
}
.card__media .card__alt { opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card:hover .card__media { box-shadow: var(--shadow-lift); }

.card__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(255, 255, 255, .93);
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
}

.card__body { padding-top: 14px; }
.card__name { font-weight: 600; font-size: 1rem; }
.card__sub { font-size: .85rem; color: var(--ink-soft); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.card__price { font-weight: 600; font-size: .95rem; }

.swatches { display: flex; gap: 6px; }
.card__color {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; color: var(--ink-soft); white-space: nowrap;
}
.swatch-dot {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--line-strong);
}

/* --------------------------------------------------------- Kollektion --- */

.page-head { padding-block: clamp(32px, 5vw, 56px) 8px; }
.page-head h1 { margin-bottom: .3em; }
.page-head p { max-width: 62ch; color: var(--ink-soft); }

.breadcrumb { font-size: .82rem; color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }

/* --------------------------------------------------------- Produkt ------ */

.product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 28px 0 clamp(40px, 6vw, 72px);
}

.gallery__main {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button {
  width: 76px; height: 76px;
  padding: 0; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  background: var(--bg-soft); cursor: pointer;
}
.gallery__thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product__info { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product__info { position: static; }
}

.product__title { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-bottom: .15em; }
.product__subtitle { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1rem; }
.product__price { font-size: 1.45rem; font-weight: 600; }
.product__tax { font-size: .8rem; color: var(--ink-faint); margin-bottom: 1.4rem; }
.product__tax a { text-decoration: underline; }

.option { margin-bottom: 1.4rem; }
.option__label {
  display: block;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .6rem;
}
.option__label span { color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; }

.color-list { display: flex; gap: 10px; flex-wrap: wrap; }
.color-list a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: block; position: relative;
}
.color-list a.is-active { box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px var(--accent); border-color: var(--accent); }

.size-list { display: flex; gap: 8px; flex-wrap: wrap; }
.size-list button {
  min-width: 52px; padding: .6rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px; background: #fff;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.size-list button:hover { border-color: var(--ink-soft); }
.size-list button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.inquiry { margin-bottom: 1.4rem; }
.inquiry .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.inquiry__note {
  font-size: .84rem;
  color: var(--ink-soft);
  margin: .8rem 0 0;
}

.hint {
  display: flex; gap: 10px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .88rem;
  margin-bottom: 1.2rem;
}
.hint svg { width: 18px; height: 18px; flex: 0 0 18px; stroke: var(--accent-dark); fill: none; stroke-width: 1.7; margin-top: 3px; }
.hint p:last-child { margin-bottom: 0; }

.note-inline { font-size: .85rem; color: var(--warn); margin: -.6rem 0 1.2rem; }

/* Akkordeon */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  padding: 1rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: .98rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; width: 9px; height: 9px;
  border-right: 1.8px solid var(--ink-soft); border-bottom: 1.8px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.acc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc__body { padding: 0 0 1.2rem; font-size: .93rem; color: var(--ink-soft); }
.acc__body ul { margin: 0; padding-left: 1.1rem; }
.acc__body li { margin-bottom: .35rem; }
.acc__body p:last-child, .acc__body ul:last-child { margin-bottom: 0; }

.spec { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; font-size: .93rem; }
.spec dt { color: var(--ink-faint); }
.spec dd { margin: 0; }

/* Größentabelle */
.table-scroll { overflow-x: auto; }
table.sizes { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 420px; }
table.sizes th, table.sizes td { padding: .55rem .7rem; text-align: left; border-bottom: 1px solid var(--line); }
table.sizes thead th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
table.sizes tbody th { font-weight: 500; color: var(--ink-soft); }

/* Feature-Liste */
.feature-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.feature-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: .5rem;
  font-size: .95rem;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------- Inhalt ------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose address { font-style: normal; }

.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
/* Genau zwei Spalten, unabhaengig von der verfuegbaren Breite */
.cols-2--fixed { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .cols-2--fixed { grid-template-columns: 1fr; } }

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.tile h3 { margin-bottom: .4em; }
.tile p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  margin-bottom: 10px;
  background: #fff;
}
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 1rem 0; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.3rem; color: var(--ink-faint); line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .acc__body { color: var(--ink-soft); }

/* --------------------------------------------------------- Footer ------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  margin-top: clamp(48px, 7vw, 88px);
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1rem; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255, 255, 255, .5); }
.site-footer .brand img { filter: invert(1); }

.footer__note { max-width: 34ch; margin-top: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
