/* ============================================================
   vorm check — Unternehmenswebsite
   Palette: Warmgrau #f2f2f2 / Marineblau #082D4F / Blaugrün #0e7490
   ============================================================ */

:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --ink: #082d4f;
  --ink-soft: rgba(8, 45, 79, 0.72);
  --ink-faint: rgba(8, 45, 79, 0.5);
  --line: rgba(8, 45, 79, 0.16);
  --line-strong: rgba(8, 45, 79, 0.32);
  --accent: #0e7490;
  --accent-dark: #0a5c73;
  --radius: 3px;
  --max: 1120px;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #fff; }

img, svg { display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark .mark {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex: none;
}

.wordmark .mark svg { width: 13px; height: 13px; }

.wordmark .mark-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  flex: none;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }

.nav-cta {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--accent);
  padding: 9px 18px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--ink);
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

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

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

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

.hero {
  padding: 120px 0 100px;
  border-bottom: none;
  background:
    linear-gradient(105deg, rgba(8, 45, 79, 0.93) 0%, rgba(8, 45, 79, 0.82) 55%, rgba(14, 116, 144, 0.55) 100%),
    url('../img/hero-panel.jpg') center 35% / cover no-repeat;
  color: #fff;
}

.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 16em;
  margin-bottom: 26px;
}

.hero .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44em;
  margin-bottom: 40px;
}

.hero .label { color: #7fd4e8; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.85); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-surface { background: var(--surface); }

.section-head { max-width: 40em; margin-bottom: 56px; }

.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-head p { font-size: 18px; color: var(--ink-soft); }

/* ---------- Leistungsliste (nummeriert, mit Trennlinien) ---------- */

.service-list { border-top: 1px solid var(--line-strong); }

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  transition: background 0.15s ease;
}

.service-row .num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent);
}

.service-row h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 6px;
}

.service-row p { color: var(--ink-soft); font-size: 16px; max-width: 46em; }

.service-row .arrow {
  font-size: 22px;
  color: var(--ink-faint);
  transition: color 0.15s ease, transform 0.15s ease;
}

.service-row:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* ---------- Ablauf / Schritte ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.step { border-top: 3px solid var(--ink); padding-top: 22px; }

.step .step-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 10px;
}

.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Fakten / Argumente ---------- */

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }

.fact { padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: none; }

.fact h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fact h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
  flex: none;
}

.fact p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Apotheken-Hinweisband ---------- */

.pharmacy-band {
  background:
    linear-gradient(rgba(8, 45, 79, 0.93), rgba(8, 45, 79, 0.88)),
    url('../img/apotheke.jpg') center / cover no-repeat;
  color: #fff;
  padding: 88px 0;
}

.pharmacy-band .label { color: var(--accent); }

.pharmacy-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  max-width: 18em;
  margin-bottom: 20px;
}

.pharmacy-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 44em;
  margin-bottom: 34px;
}

.pharmacy-band .topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.pharmacy-band .topics span {
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- CTA-Band ---------- */

.cta-band { text-align: left; padding: 96px 0; }

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  max-width: 20em;
  margin-bottom: 18px;
}

.cta-band p { font-size: 18px; color: var(--ink-soft); max-width: 40em; margin-bottom: 34px; }

/* ---------- Leistungs-Detailseite ---------- */

.service-detail { padding: 72px 0; border-bottom: 1px solid var(--line-strong); }
.service-detail:first-of-type { border-top: 1px solid var(--line-strong); }

.service-detail .inner {
  display: grid;
  grid-template-columns: 72px 1fr 320px;
  gap: 40px;
  align-items: start;
}

.service-detail .num { font-family: var(--serif); font-size: 20px; color: var(--accent); padding-top: 6px; }

.service-detail h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 14px;
}

.service-detail .desc { color: var(--ink-soft); max-width: 44em; margin-bottom: 24px; }

.service-detail ul.ticklist { list-style: none; }
.service-detail ul.ticklist li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-soft);
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.service-detail ul.ticklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.norm-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: sticky;
  top: 96px;
}

.norm-box .norm-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.norm-box p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.norm-box strong { color: var(--ink); }

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head { padding: 90px 0 70px; }

.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 18em;
  margin-bottom: 20px;
}

.page-head .lead { font-size: 19px; color: var(--ink-soft); max-width: 44em; }

/* ---------- Über uns ---------- */

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }

.about-grid .prose p { margin-bottom: 20px; color: var(--ink-soft); font-size: 18px; }
.about-grid .prose p strong { color: var(--ink); }

.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.profile-card .role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.profile-card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 12px; }
.profile-card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.profile-card .contact-line { font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile-card .contact-line a { color: var(--ink); font-weight: 500; text-decoration-color: var(--accent); }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }

.contact-info h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin-bottom: 16px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 32px; max-width: 30em; }

.contact-block { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-block .cb-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.contact-block a, .contact-block span { font-size: 18px; font-weight: 500; }
.contact-block a { text-decoration-color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--ink-faint); }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.field textarea { min-height: 140px; resize: vertical; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.consent label { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.consent a { color: var(--ink); text-decoration-color: var(--accent); }

/* ---------- Rechtsseiten ---------- */

.legal { max-width: 46em; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  margin: 44px 0 12px;
}
.legal h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.6; }
.legal a { color: var(--ink); text-decoration-color: var(--accent); }

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

.site-footer { background: var(--ink); color: #fff; padding: 72px 0 0; margin-top: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
}

.site-footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.site-footer p, .site-footer address { font-style: normal; font-size: 15px; color: rgba(255, 255, 255, 0.75); line-height: 1.7; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }

.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 15px; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--accent); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Danke-Seite ---------- */

.thanks { padding: 140px 0; text-align: left; max-width: 40em; }
.thanks h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 18px; }
.thanks p { font-size: 18px; color: var(--ink-soft); margin-bottom: 34px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .service-detail .inner { grid-template-columns: 48px 1fr; }
  .service-detail .norm-box { grid-column: 2; position: static; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }

  .nav-toggle { display: grid; place-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-cta { text-align: center; margin-top: 14px; padding: 13px 18px !important; }

  .service-row { grid-template-columns: 44px 1fr; }
  .service-row .arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
