/* Izmir Pharmacy — Archetyp "Heritage Stone" (design-dna.md #10)
   Stone-Town-Apotheke: Elfenbein · Tiefrot vom Ladenschild · Messing · geschnitzte Türen
   Playfair Display + Source Sans 3 */
:root {
  --ivory: #f7f3ea;
  --ivory-deep: #efe8d9;
  --ink: #23201b;
  --red: #b3232a;
  --red-deep: #8e1b21;
  --brass: #b08d3f;
  --wood: #6b4a2c;
  --line: #e2d9c6;
  --muted: #6f675a;
  --wa: #1daa50;
  --wa-dark: #168a40;
  --radius: 6px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; }

.kicker { font-weight: 700; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; font-family: var(--sans); }
.kicker--brass { color: var(--brass); }

/* Topbar */
.topbar { background: var(--ink); color: var(--ivory); font-size: .82rem; font-weight: 600; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding: .45rem 1rem; }
.topbar p { display: flex; align-items: center; gap: .5rem; }
.topbar__sep { opacity: .5; }
.topbar__dot { width: 9px; height: 9px; border-radius: 50%; background: #777; }
.topbar__dot.is-open { background: #4be37a; box-shadow: 0 0 0 3px rgba(75,227,122,.22); }
.topbar__phone { font-weight: 700; color: var(--brass); }
.topbar__phone:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,234,.97); border-bottom: 1.5px solid var(--line); }
.header__in { max-width: 1140px; margin: 0 auto; padding: .6rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 42px; height: 42px; border: 1.5px solid var(--brass); color: var(--red); font: 700 1.05rem var(--serif); display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #fff; }
.brand__text { font: 700 1.2rem var(--serif); color: var(--ink); line-height: 1.1; }
.brand__text small { display: block; font: 600 .6rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-top: .15rem; }
.nav { display: flex; gap: 1.3rem; font-weight: 600; font-size: .92rem; margin-left: auto; }
.nav a:hover { color: var(--red); }
.header__actions { display: flex; align-items: center; gap: .8rem; }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.lang__btn { border: 0; background: transparent; font: 700 .76rem var(--sans); padding: .35rem .55rem; cursor: pointer; color: var(--muted); }
.lang__btn.is-active { background: var(--red); color: #fff; }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 .93rem var(--sans); padding: .72rem 1.35rem; border-radius: 4px; transition: transform .12s, background .15s; white-space: nowrap; letter-spacing: .02em; }
.btn:active { transform: scale(.97); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--red); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: #97772f; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--red-deep); }
.btn--light:hover { background: #fff; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }

/* Hero */
.hero { background: var(--ivory); border-bottom: 1.5px solid var(--line); }
.hero__in { max-width: 1140px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.2rem) 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; }
.hero__title em { font-style: italic; color: var(--red); }
.hero__sub { margin: 1.2rem 0 1.6rem; color: var(--muted); max-width: 32rem; font-size: 1.05rem; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 1.8rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.2rem; }
.hero__trust strong { color: var(--red); display: block; font-size: 1.05rem; font-family: var(--serif); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); border: 1.5px solid var(--line); box-shadow: 12px 12px 0 0 var(--ivory-deep), 12px 12px 0 1.5px var(--brass); }
.hero__media figcaption { margin-top: 1.3rem; font-size: .82rem; color: var(--muted); font-style: italic; }

/* Ornament-Trenner */
.rule { display: flex; align-items: center; gap: 1rem; max-width: 1140px; margin: 0 auto; padding: 1.8rem 1.25rem 0; color: var(--brass); }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Sections */
.section { max-width: 1140px; margin: 0 auto; padding: clamp(2.8rem, 6.5vw, 4.2rem) 1.25rem; }
.section--paper { max-width: none; background: #fdfbf6; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.section--paper > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 2.1rem; max-width: 44rem; }
.section__head p { color: var(--muted); margin-top: .55rem; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: center; }
.story-grid h2 { margin-bottom: 1rem; }
.story-grid p:not(.kicker) { color: var(--muted); margin-bottom: .9rem; max-width: 38rem; }
.story__card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.story__card img { margin: 0 auto; border-radius: 4px; }
.story__card figcaption { margin-top: .9rem; font-size: .85rem; }
.story__card strong { font-family: var(--serif); font-size: 1rem; display: block; }
.story__card span { color: var(--muted); }

/* Branches */
.branch-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.1rem; }
.branch { position: relative; background: #fff; border: 1.5px solid var(--line); border-top: 4px solid var(--brass); border-radius: var(--radius); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.branch--main { border-top-color: var(--red); }
.branch__tag { position: absolute; top: -12px; right: 1rem; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 3px; }
.branch h3 { font-size: 1.3rem; }
.branch p { font-size: .92rem; color: var(--muted); }
.branch__hours { font-weight: 600; color: var(--ink) !important; font-size: .85rem !important; }
.branch .btn { margin-top: auto; align-self: flex-start; }

/* Range */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.range { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; transition: border-color .15s, transform .15s; }
.range:hover { border-color: var(--brass); transform: translateY(-3px); }
.range__ic { font-size: 1.5rem; color: var(--red); display: block; margin-bottom: .7rem; }
.range h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.range p { font-size: .88rem; color: var(--muted); }
.brands { margin-top: 2.2rem; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; background: #fdfbf6; }
.brands__label { font-weight: 700; font-size: .85rem; letter-spacing: .04em; margin-bottom: .7rem; color: var(--wood); }
.brands__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.brands__list li { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: .25rem .7rem; font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Wholesale */
.wholesale { background: var(--ink); color: var(--ivory); }
.wholesale__in { max-width: 1140px; margin: 0 auto; padding: clamp(2.8rem, 6.5vw, 4.2rem) 1.25rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.wholesale h2 { margin-bottom: 1rem; color: #fff; }
.wholesale p { color: #cfc8b8; max-width: 34rem; margin-bottom: 1.4rem; }
.wholesale__media img { border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,.15); }
.wholesale__media figcaption { margin-top: .7rem; font-size: .8rem; color: #a59d8b; font-style: italic; }

/* Reviews */
.rating-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--ivory); border-radius: 3px; padding: .45rem 1rem; margin-bottom: 1rem; }
.rating-badge strong { color: var(--brass); font-family: var(--serif); font-size: 1.05rem; }
.rating-badge span { font-size: .82rem; font-weight: 600; }
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.rev { background: #fff; border: 1.5px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.rev blockquote { font-size: .97rem; font-style: italic; font-family: var(--serif); }
.rev figcaption { margin-top: .8rem; font-size: .82rem; font-weight: 700; color: var(--muted); font-family: var(--sans); }

/* FAQ */
.faq { max-width: 760px !important; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--brass); font: 700 1.3rem var(--serif); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); font-size: .93rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; text-align: center; padding: clamp(2.8rem, 6.5vw, 4.2rem) 1.25rem; }
.cta-band h2 { margin-bottom: .6rem; color: #fff; }
.cta-band p { opacity: .92; margin-bottom: 1.6rem; }

/* Footer */
.footer { background: var(--ink); color: #b7af9e; font-size: .9rem; }
.footer__in { max-width: 1140px; margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1.4fr 1.1fr 1.1fr .8fr; gap: 2rem; }
.footer__brand { font: 700 1.25rem var(--serif); color: var(--ivory); margin-bottom: .6rem; }
.footer h4 { color: var(--ivory); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .7rem; font-family: var(--sans); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); max-width: 1140px; margin: 0 auto; padding: 1.1rem 1.25rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #847c6c; }
.footer__demo { font-style: italic; }

/* FAB */
.wa-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.3); }

/* Responsive */
@media (max-width: 980px) {
  .hero__in, .story-grid, .wholesale__in { grid-template-columns: 1fr; gap: 2rem; }
  .branch-grid, .range-grid { grid-template-columns: 1fr 1fr; }
  .hero__media img { box-shadow: 8px 8px 0 0 var(--ivory-deep), 8px 8px 0 1.5px var(--brass); }
  .story__card { max-width: 320px; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1.5px solid var(--line); flex-direction: column; gap: 0; padding: .5rem 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 1.5rem; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header__actions .btn--wa { display: none; }
  .branch-grid, .range-grid, .rev-grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .wa-fab { display: flex; }
  .topbar { font-size: .74rem; gap: .6rem; }
}
@media (max-width: 460px) { .footer__in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .range { transition: none; }
}
