:root {
  color-scheme: light;
  --ink: #2f2525;
  --muted: #6e5f5a;
  --paper: #fffaf1;
  --paper-soft: #f6efe2;
  --linen: #ebe2d2;
  --sage: #637864;
  --sage-deep: #314838;
  --rose: #a3424b;
  --rose-deep: #6f2934;
  --amber: #bf7b3e;
  --wood: #3a2a23;
  --line: rgba(68, 48, 39, 0.18);
  --shadow: 0 18px 60px rgba(49, 35, 29, 0.14);
  --sans: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(99, 120, 100, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(99, 120, 100, 0.07) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: var(--sans);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.76), rgba(255, 250, 241, 0.93)),
    radial-gradient(circle at 16% 16%, rgba(163, 66, 75, 0.16), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(99, 120, 100, 0.16), transparent 30%);
  z-index: -1;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(58, 42, 35, 0.12);
  background: rgba(255, 250, 241, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(163, 66, 75, 0.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose-deep);
  background: linear-gradient(145deg, #fff7ee, #edd8c7);
  box-shadow: inset 0 0 0 6px rgba(163, 66, 75, 0.06);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--serif);
  font-size: 1.28rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--wood);
  background: var(--paper-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #4f403a;
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rose-deep);
  background: rgba(163, 66, 75, 0.1);
  outline: none;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 24, 20, 0.78), rgba(35, 24, 20, 0.28) 54%, rgba(35, 24, 20, 0.12)),
    linear-gradient(180deg, rgba(35, 24, 20, 0.08), rgba(35, 24, 20, 0.65));
  z-index: -1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(76px, 13vh, 140px) 0 clamp(48px, 8vh, 82px);
  color: #fffaf1;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  color: #f0d6bf;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.9);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fffaf1;
  background: rgba(163, 66, 75, 0.86);
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.12);
}

.button.light {
  border-color: rgba(49, 72, 56, 0.24);
  color: var(--sage-deep);
  background: #fffaf1;
}

.section {
  padding: clamp(54px, 9vw, 100px) 0;
}

.section.alt {
  background: rgba(235, 226, 210, 0.58);
  border-block: 1px solid rgba(58, 42, 35, 0.08);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  margin: 0 0 9px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
}

h3 {
  font-size: clamp(1.26rem, 2.1vw, 1.7rem);
  line-height: 1.16;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.card,
.note,
.person {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.84);
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(22px, 3vw, 34px);
}

.card,
.note,
.person {
  padding: 22px;
}

.card p,
.panel p,
.person p,
.note p {
  margin: 11px 0 0;
  color: var(--muted);
}

.feature-image {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.fact-list strong {
  color: var(--rose-deep);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffaf1;
  background: var(--sage-deep);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid rgba(99, 120, 100, 0.26);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(99, 120, 100, 0.09);
  font-size: 0.88rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf1;
  box-shadow: 0 12px 40px rgba(49, 35, 29, 0.1);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 12px 13px;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(72px, 11vw, 124px) 0 clamp(38px, 7vw, 72px);
  background:
    linear-gradient(120deg, rgba(49, 72, 56, 0.9), rgba(111, 41, 52, 0.72)),
    url("../img/hero-apotheke.png") center / cover;
  color: #fffaf1;
}

.page-hero .lead {
  color: rgba(255, 250, 241, 0.88);
}

.breadcrumb {
  margin: 0 0 16px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #fffaf1;
}

.list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.callout {
  border-left: 4px solid var(--rose);
  padding: 18px 20px;
  background: rgba(163, 66, 75, 0.08);
}

.footer {
  padding: 42px 0;
  color: rgba(255, 250, 241, 0.78);
  background: #2a211e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer a {
  color: #fffaf1;
}

.fineprint {
  margin: 8px 0 0;
  max-width: 760px;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .nav-wrap {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-top: 90px;
  }

  .nav-links.is-open {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}
