/* === DESIGN TOKENS === */
:root {
  --navy: #1B2A4A;
  --navy-dk: #111E35;
  --teal: #27B5AB;
  --teal-dk: #1E9990;
  --blue: #1B6FE8;
  --bg: #EEF2F7;
  --white: #ffffff;
  --text: #1B2A4A;
  --text-muted: #5E748F;
  --border: #D0DCE8;
  --shadow: 0 2px 14px rgba(27,42,74,0.09);
  --radius: 10px;
  --nav-h: 68px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dk); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.875rem, 4vw, 2.875rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { max-width: 68ch; }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  height: var(--nav-h);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}
.nav__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img { height: 34px; width: auto; }
.nav__logo-text {
  font-size: 1.0625rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.015em; line-height: 1.1;
}
.nav__logo-sub {
  display: block; font-size: 0.6875rem; font-weight: 400;
  color: rgba(255,255,255,0.55); letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links li a {
  color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: all 0.15s;
  text-decoration: none; display: block;
}
.nav__links li a:hover { color: var(--white); background: rgba(255,255,255,0.09); }
.nav__links li a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav__cta a {
  background: var(--teal) !important; color: var(--white) !important;
  border-radius: 6px !important; padding: 8px 18px !important;
}
.nav__cta a:hover { background: var(--teal-dk) !important; }

/* === HERO === */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39,181,171,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(39,181,171,0.18); color: var(--teal);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero__sub {
  font-size: 1.0625rem; color: rgba(255,255,255,0.7); max-width: 58ch;
  margin-bottom: 36px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 600; transition: all 0.15s;
  text-decoration: none; cursor: pointer; border: none; font-family: inherit;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dk); color: var(--white); }
.btn--outline-white { border: 2px solid rgba(255,255,255,0.28); color: var(--white); }
.btn--outline-white:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); color: var(--white); }
.btn--outline { border: 2px solid var(--teal); color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #243660; color: var(--white); }
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }

/* === SECTION HEADER === */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); margin-bottom: 14px; }
.section-header--dark h2 { color: var(--white); }
.section-header p { color: var(--text-muted); font-size: 1.0625rem; }
.section-header--dark p { color: rgba(255,255,255,0.65); }
.teal-bar { width: 44px; height: 4px; background: var(--teal); border-radius: 2px; margin-bottom: 18px; }
.section-header--center .teal-bar { margin: 0 auto 18px; }

/* === CARDS === */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(39,181,171,0.11); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.card h3 { color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9375rem; max-width: none; }

/* === PAGE HEADER === */
.page-header {
  background: var(--navy);
  padding: 60px 0 52px;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.65); font-size: 1.0625rem; max-width: 60ch; }

/* === CTA STRIP === */
.cta-strip {
  background: var(--navy); text-align: center;
  padding: 80px 0;
}
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.7); margin: 0 auto 32px; font-size: 1.0625rem; }

/* === FOOTER === */
.footer {
  background: var(--navy-dk); color: rgba(255,255,255,0.6);
  padding: 52px 0 28px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  margin-bottom: 44px;
}
.footer__brand img { height: 30px; margin-bottom: 14px; }
.footer__brand p { font-size: 0.875rem; max-width: 28ch; line-height: 1.6; }
.footer h4 {
  color: var(--white); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul a {
  color: rgba(255,255,255,0.55); font-size: 0.875rem; text-decoration: none; transition: color 0.15s;
}
.footer ul a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: var(--teal); }

/* === STATS === */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
.stat { text-align: center; padding: 40px 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat:last-child { border-right: none; }
.stat__num { font-size: 2.5rem; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.875rem; color: rgba(255,255,255,0.65); }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.about-photo {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 3/4; position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo__placeholder {
  width: 100%; height: 100%; background: var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted); gap: 8px; font-size: 0.875rem;
}
.about-photo__placeholder span { font-size: 2.5rem; }

/* === TIMELINE === */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 20px; padding-bottom: 28px; position: relative;
}
.timeline-item:not(:last-child)::after {
  content: ''; position: absolute;
  left: 95px; top: 8px; bottom: 0; width: 2px;
  background: var(--border);
}
.timeline-item__year {
  font-size: 0.8rem; font-weight: 700; color: var(--teal);
  text-align: right; padding-top: 2px; position: relative; z-index: 1;
}
.timeline-item__dot {
  position: absolute; left: 91px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--bg); z-index: 2;
}
.timeline-item__content h4 { color: var(--navy); margin-bottom: 4px; font-size: 0.9375rem; }
.timeline-item__content p { font-size: 0.875rem; color: var(--text-muted); max-width: none; }

/* === LEISTUNGEN === */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block--flip .service-block__text { order: 2; }
.service-block--flip .service-block__visual { order: 1; }
.service-block__visual {
  background: var(--navy); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; font-size: 4rem;
}
.service-block__text h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 14px; }
.service-block__text p { color: var(--text-muted); margin-bottom: 18px; max-width: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(39,181,171,0.1); color: var(--teal-dk);
  font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px;
}

/* === REFERENZEN === */
.ref-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.ref-card__org {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); margin-bottom: 8px;
}
.ref-card h4 { color: var(--navy); margin-bottom: 10px; font-size: 1rem; }
.ref-card p { font-size: 0.875rem; color: var(--text-muted); max-width: none; }

/* === PRODUKTE === */
.product-feature {
  background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.product-feature__content { padding: 48px; }
.product-badge {
  display: inline-block;
  background: rgba(39,181,171,0.12); color: var(--teal);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.product-feature__content h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; }
.product-feature__content p { color: var(--text-muted); margin-bottom: 24px; max-width: none; }
.product-feature__visual {
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  padding: 48px; min-height: 280px;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.product-card-sm {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border-top: 3px solid var(--border); opacity: 0.75;
}
.product-card-sm .product-badge { background: rgba(94,116,143,0.1); color: var(--text-muted); }
.product-card-sm h4 { color: var(--navy); margin-bottom: 8px; }
.product-card-sm p { font-size: 0.875rem; color: var(--text-muted); max-width: none; }

/* === KONTAKT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item__icon {
  width: 44px; height: 44px; background: rgba(39,181,171,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.contact-info-item__label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 3px;
}
.contact-info-item__value { color: var(--navy); font-weight: 500; }
.contact-info-item__value a { color: var(--navy); }
.contact-info-item__value a:hover { color: var(--teal); }
.form-card { background: var(--white); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.9375rem; color: var(--text);
  background: var(--bg); transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === FEATURE LIST === */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text-muted);
}
.feature-list li::before {
  content: '✓'; color: var(--teal); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* === PHARMALINK PAGE === */
.pl-arch {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0; align-items: center;
  background: var(--white); border-radius: 12px; padding: 32px; box-shadow: var(--shadow);
}
.pl-arch__node {
  text-align: center; padding: 20px;
}
.pl-arch__box {
  background: var(--navy); color: var(--white); border-radius: 8px;
  padding: 14px 20px; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px;
}
.pl-arch__box--teal { background: var(--teal); }
.pl-arch__label { font-size: 0.75rem; color: var(--text-muted); }
.pl-arch__arrow { text-align: center; font-size: 1.5rem; color: var(--border); }
.pricing-card {
  background: var(--white); border-radius: 12px; padding: 36px; box-shadow: var(--shadow);
  border-top: 4px solid var(--teal); text-align: center;
}
.pricing-card__price { font-size: 2.25rem; font-weight: 700; color: var(--navy); margin: 16px 0 4px; }
.pricing-card__period { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block--flip .service-block__text { order: unset; }
  .service-block--flip .service-block__visual { order: unset; }
  .product-feature { grid-template-columns: 1fr; }
  .product-feature__visual { min-height: 160px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .pl-arch { grid-template-columns: 1fr; }
  .pl-arch__arrow { transform: rotate(90deg); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(even) { border-right: none; }
  .timeline-item { grid-template-columns: 72px 1fr; }
}
@media (max-width: 500px) {
  .hero { padding: 64px 0 52px; }
  .section { padding: 56px 0; }
  .cards--3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
}
