/* ═══════════════════════════════════════════
   Apotheke am neuen Pferdemarkt – Design
   Lädt nach Bootstrap → gewinnt ohne !important
═══════════════════════════════════════════ */

:root {
  --green:       #1a7a4a;
  --green-light: #25a264;
  --green-pale:  #e8f5ef;
  --accent:      #f0a500;
  --dark:        #0f1f17;
  --gray:        #4a5568;
  --light:       #f7faf8;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(26,122,74,.12);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
}

/* ── HEADER ─────────────────────────────── */
.apo-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,122,74,.08);
  border-bottom: none;
}

.apo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── LOGO ───────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo:hover, .logo:focus {
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .logo-sub {
  font-size: .7rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.logo-text .logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
}

/* ── NAV LINKS (Desktop) ────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links li > a {
  display: block;
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background .2s;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.nav-links li > a:hover,
.nav-links li > a:focus {
  color: var(--green);
  background: var(--green-pale);
  text-decoration: none;
  outline: none;
}

/* Letzter Link = CTA (Kontakt) */
.nav-links li:last-child > a {
  background: var(--green);
  color: var(--white);
  padding: 9px 22px;
}

.nav-links li:last-child > a:hover,
.nav-links li:last-child > a:focus {
  background: var(--green-light);
  color: var(--white);
}

/* Dropdown im Nav */
.nav-links .dropdown-menu {
  border: none;
  box-shadow: 0 8px 32px rgba(15,31,23,.12);
  border-radius: var(--radius);
  margin-top: 4px;
}

.nav-links .menu-list-link {
  font-size: .88rem;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
}

.nav-links .menu-list-link:hover {
  color: var(--green);
  text-decoration: none;
}

/* ── BURGER (Mobile) ────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  margin-left: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Nav-Right wrapper */
.nav-right {
  display: flex;
  align-items: center;
}

/* ── PROMO BANNER ───────────────────────── */
.apo-promo {
  background: var(--green);
  padding: 5px 0;
  text-align: center;
  font-size: .8rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── MOBILE MENU (Offcanvas) ────────────── */
#offcanvasMenu {
  display: none;
}

#offcanvasMenu.show {
  display: block;
}

@media (max-width: 768px) {
  #offcanvasMenu.modal {
    top: 72px;
  }

  #offcanvasMenu .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
  }

  #offcanvasMenu .modal-content {
    border: none;
    border-radius: 0;
    background: var(--white);
    min-height: calc(100vh - 72px);
  }
}

#offcanvasMenu .cart-drawer-header {
  padding: 16px 5%;
  border-bottom: 1px solid #e2ede7;
}

#offcanvasMenu .cart-drawer-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .08em;
  text-transform: uppercase;
}

#offcanvasMenu .modal-body {
  padding: 16px 5%;
}

#offcanvasMenu .menu-layer a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
}

#offcanvasMenu .menu-layer a:hover,
#offcanvasMenu .menu-layer a:focus {
  background: var(--green-pale);
  color: var(--green);
  text-decoration: none;
}

#offcanvasMenu .menu-layer li {
  border-bottom: none;
}

#offcanvasMenu .menu-layer .btn-link {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  text-align: left;
  width: 100%;
  border-radius: 10px;
  text-decoration: none;
}

#offcanvasMenu .menu-layer .btn-link:hover {
  background: var(--green-pale);
  color: var(--green);
  text-decoration: none;
}

#offcanvasMenu .close {
  color: var(--gray);
  opacity: 1;
  font-size: 1.4rem;
}

/* ── FOOTER ─────────────────────────────── */
.apo-footer {
  background: #080e0a;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  font-family: 'Inter', sans-serif;
}

.apo-footer a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.apo-footer a:hover {
  color: var(--green-light);
  text-decoration: none;
}

/* Menü-Spalten */
.apo-footer-top {
  padding: 48px 5% 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.apo-footer-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.apo-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apo-footer-col li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.apo-footer-col li a:hover {
  color: var(--green-light);
}

.apo-footer-heading {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.apo-footer-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.apo-footer-social a {
  color: rgba(255,255,255,.4);
  font-size: 1.2rem;
  transition: color .2s;
}

.apo-footer-social a:hover {
  color: var(--green-light);
}

/* Copyright-Zeile */
.apo-footer-bottom {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.apo-footer-bottom a {
  color: var(--green-light);
  text-decoration: none;
}

.apo-footer-bottom a:hover {
  text-decoration: underline;
}

.apo-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .apo-footer-top     { flex-direction: column; }
  .apo-footer-columns { gap: 24px; }
  .apo-footer-bottom  { justify-content: center; text-align: center; }
}

/* ── SECTION GEMEINSAME STYLES ─────────── */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

/* ── PAGE CONTENT ───────────────────────── */
.page-content-section {
  padding: 72px 8%;
}

.page-content-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-content-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--green-pale);
}

.page-content-body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

.page-content-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 12px;
}

.page-content-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}

.page-content-body p  { margin-bottom: 16px; }
.page-content-body ul,
.page-content-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-content-body li { margin-bottom: 6px; }

.page-content-body a {
  color: var(--green);
  text-decoration: underline;
}

.page-content-body a:hover { color: var(--green-light); }

@media (max-width: 768px) {
  .page-content-section { padding: 48px 5%; }
}

/* ── CONTACT ────────────────────────────── */
.contact-section {
  padding: 96px 8%;
  background: var(--dark);
}

.contact-section .section-tag  { color: var(--green-light); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-sub  { color: rgba(255,255,255,.6); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 52px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.ci-body strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.ci-body p,
.ci-body address {
  font-size: .95rem;
  color: var(--white);
  line-height: 1.6;
  font-style: normal;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.ci-body a {
  color: var(--green-light);
  text-decoration: none;
}

.ci-body a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .contact-section { padding: 72px 5%; }
}

/* ── ENUMERATION (Leistungen) ───────────── */
.enumeration-section {
  padding: 96px 8%;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e2ede7;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

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

.svc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.svc-text {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .enumeration-section { padding: 72px 5%; }
  .services-grid        { grid-template-columns: 1fr; }
}

/* ── IMG SPLIT (Über uns) ────────────────── */
.img-split-section {
  padding: 96px 8%;
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 56px;
}

.about-image { position: relative; }

.about-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge-box strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}

.about-badge-box span {
  font-size: .78rem;
  font-weight: 500;
  opacity: .9;
  font-family: 'Inter', sans-serif;
}

.about-content { padding-left: 20px; }

.about-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 10px;
  border-left: 3px solid var(--green);
}

.feature-item .fi-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.feature-item span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 1024px) {
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .img-split-section { padding: 72px 5%; }
  .about-grid         { grid-template-columns: 1fr; gap: 40px; }
  .about-content      { padding-left: 0; }
  .about-badge-box    { right: 0; }
}

/* ── HERO SECTION ───────────────────────── */
.hero-section {
  min-height: 100vh;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 !important;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 80px 8%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-pale);
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}

.hero-title em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

.hero-actions .btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,122,74,.35);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all .2s;
  border: none;
}

.hero-actions .btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,122,74,.4);
  color: var(--white);
}

.hero-actions .btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all .2s;
}

.hero-actions .btn-outline:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
  color: var(--green);
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2ede7;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--gray);
}

.hero-info-item svg { flex-shrink: 0; stroke: var(--green); }
.hero-info-item address { font-style: normal; margin: 0; }

.hero-right {
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 60px 5% 48px;
    align-items: center;
    text-align: center;
  }

  .hero-sub    { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-badge  { margin-left: auto; margin-right: auto; }
  .hero-right  { display: none; }
}

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  background-color: var(--green);
  border-color: var(--green);
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--green-light);
  border-color: var(--green-light);
}

.btn-outline-secondary {
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  .nav-links        { display: none; }
  .burger           { display: flex; }
  .apo-footer       { justify-content: center; }
}
