/* ============================================================
   APOTHEKIA BUSINESS – STYLESHEET
   Design: Premium B2B, Magenta/Mint, Montserrat + Source Sans 3
   Letzte Änderung: 2026-03-17
   ============================================================ */

/* --- CUSTOM PROPERTIES (zentrale Config) --- */
:root {
  --magenta: #BB1B5B;
  --magenta-dark: #9A1049;
  --magenta-light: #D94D80;
  --mint: #D6EBEE;
  --mint-light: #EAF5F7;
  --mint-dark: #459BD6;
  --teal: #2A7AB5;
  --dark: #1A1A2E;
  --text: #3b3b3b;
  --text-light: #6b6b6b;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --border: #E8E8E8;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 24px rgba(26,26,46,0.08);
  --shadow-lg: 0 12px 48px rgba(26,26,46,0.12);
  --shadow-glow: 0 0 40px rgba(187,27,91,0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--magenta-dark); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

p { margin-bottom: 1em; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; line-height: 1.8; }
.text-xl { font-size: 1.25rem; line-height: 1.6; }
.text-magenta { color: var(--magenta); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

/* Akzent-Strich unter Headlines */
.accent-line::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--magenta);
  margin-top: 1rem;
  border-radius: 2px;
}

.accent-line--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-xl) 0;
}

.section--mint {
  background: var(--mint-light);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

/* Grid-System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(187,27,91,0.3);
}

.btn--primary:hover {
  background: var(--magenta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(187,27,91,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--magenta);
  border: 2px solid var(--magenta);
}

.btn--outline:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--magenta);
}

.btn--white:hover {
  background: var(--mint-light);
  color: var(--magenta-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

/* Pfeil-Icon im Button */
.btn .arrow {
  transition: transform var(--transition);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- TOP BAR --- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.topbar a:hover {
  color: var(--white);
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.header__logo img {
  height: 42px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 0.2rem; }

.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--magenta);
  background: rgba(187,27,91,0.05);
}

.nav__cta {
  margin-left: 0.8rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

@media (max-width: 968px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    z-index: 200;
  }

  .nav.is-open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .nav__cta { margin-left: 0; margin-top: 1rem; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
  }

  .nav-overlay.is-open { display: block; }
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 60%;
  height: 120%;
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--mint) 100%);
  border-radius: 0 0 0 40%;
  z-index: 0;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(187,27,91,0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--magenta);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img {
  width: 100%;
  display: block;
}

/* Floating badge on hero image */
.hero__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__badge-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--magenta);
  line-height: 1;
}

.hero__badge-label {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero__bg {
    width: 100%;
    right: -20%;
    top: 50%;
    height: 60%;
    border-radius: 40% 0 0 0;
  }

  .hero__badge {
    bottom: -10px;
    left: 10px;
  }
}

/* --- KPI STATS --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.stat {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat:last-child::after { display: none; }

.stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--magenta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .stat::after { display: none; }

  .stat {
    padding: var(--space-sm);
    border-radius: var(--radius);
    background: var(--off-white);
  }
}

/* --- PROOF SECTION (Sell-out, Qualität, Zielgruppe) --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.proof-card {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.proof-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.proof-card:hover::before {
  transform: scaleX(1);
}

.proof-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(187,27,91,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.proof-card h3 {
  margin-bottom: 0.75rem;
}

.proof-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.proof-card__highlight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--magenta);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial__quote {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--magenta);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint);
}

.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* --- PARTNER LOGOS --- */
.partners {
  overflow: hidden;
  padding: var(--space-md) 0;
  position: relative;
}

.partners::before,
.partners::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.partners::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white), transparent);
}

.section--mint .partners::before {
  background: linear-gradient(90deg, var(--mint-light), transparent);
}

.section--mint .partners::after {
  background: linear-gradient(-90deg, var(--mint-light), transparent);
}

.partners__track {
  display: flex;
  gap: var(--space-lg);
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}

.partners__logo {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
  flex-shrink: 0;
}

.partners__logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn--white {
  font-size: 1rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer__links {
  list-style: none;
}

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer__social a:hover {
  background: var(--magenta);
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal a {
  color: rgba(255,255,255,0.5);
  margin-left: 1.5rem;
}

.footer__legal a:hover { color: var(--white); }

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* --- FAQ ACCORDION --- */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--magenta);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--magenta);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer__inner {
  padding-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* --- UTILITY --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
