/* ============================================
   GalenCann — Globales Stylesheet
   ============================================ */

@import url('../Design/variables.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--text-body);
  color: var(--text);
  background: var(--off-white);
  line-height: var(--line-text);
}

/* ── Typography ── */
h1 { font-size: var(--text-h1); font-weight: var(--weight-bold);   line-height: var(--line-heading); }
h2 { font-size: var(--text-h2); font-weight: var(--weight-semi);   line-height: var(--line-heading); }
h3 { font-size: var(--text-h3); font-weight: var(--weight-semi);   line-height: var(--line-heading); }
h4 { font-size: var(--text-h4); font-weight: var(--weight-semi);   line-height: var(--line-heading); }
p  { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}
.section {
  padding: var(--space-4xl) 0;
}
.section--gray  { background: var(--off-white); }
.section--white { background: var(--white); }
.section--green { background: var(--green-light); }
.section--dark  { background: var(--green-deep); color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section__header h2 { color: var(--green-dark); margin-bottom: var(--space-md); }
.section__header p  { color: var(--gray-dark); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: var(--text-body);
  font-weight: var(--weight-semi);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn--secondary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}
.btn--sm { padding: 10px 20px; font-size: var(--text-small); }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-xl);
}
.nav__logo img {
  height: 40px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__links a {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--gray-dark);
  transition: color var(--transition);
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
}
.nav__cta { flex-shrink: 0; }

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-image: url('../Pictures/01_Hero_Home.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 46, 33, 0.88) 0%,
    rgba(17, 46, 33, 0.65) 60%,
    rgba(17, 46, 33, 0.30) 100%
  );
}
.hero__content {
  position: relative;
  max-width: 600px;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero__logo-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__brand-logo {
  width: 450px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.hero__divider {
  width: 1px;
  height: 180px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.hero__content {
  flex: 1;
}

.hero__label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   TRUST PILLARS
══════════════════════════════════════ */
.trust { background: var(--white); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.trust__item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.trust__item:hover {
  border-color: var(--green-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.trust__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
}
.trust__icon img { width: 64px; height: 64px; object-fit: contain; }
.trust__item h3 {
  font-size: var(--text-h4);
  color: var(--green-dark);
  margin-bottom: var(--space-sm);
}
.trust__item p {
  font-size: var(--text-small);
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   WIE ES FUNKTIONIERT
══════════════════════════════════════ */
.steps { background: var(--green-pale); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}
.steps__grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + var(--space-lg));
  right: calc(16.6% + var(--space-lg));
  height: 2px;
  background: var(--green-light);
  z-index: 0;
}
.step {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.step__number {
  width: 56px;
  height: 56px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: var(--weight-bold);
  margin: 0 auto var(--space-lg);
}
.step h3 {
  font-size: var(--text-h4);
  color: var(--green-dark);
  margin-bottom: var(--space-sm);
}
.step p {
  font-size: var(--text-small);
  color: var(--gray-dark);
}

/* ══════════════════════════════════════
   PRODUKTE TEASER
══════════════════════════════════════ */
.products { background: var(--white); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}
.product-card {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--green-pale);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img {
  transform: scale(1.04);
}
.product-card__body {
  padding: var(--space-lg);
}
.product-card__body h3 {
  font-size: var(--text-h4);
  color: var(--green-dark);
  margin-bottom: var(--space-sm);
}
.product-card__body p {
  font-size: var(--text-small);
  color: var(--gray-dark);
}
.products__cta { text-align: center; }

/* ══════════════════════════════════════
   COMPLIANCE BLOCK
══════════════════════════════════════ */
.compliance {
  background-image: url('../Pictures/09_Hintergrund_Dunkel.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}
.compliance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 46, 33, 0.80);
}
.compliance__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.compliance__text h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}
.compliance__text p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: var(--space-xl);
}
.compliance__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.compliance__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.compliance__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-mid);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: var(--weight-bold);
  margin-top: 1px;
}
.compliance__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════
   TEAM
══════════════════════════════════════ */
.team { background: var(--off-white); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--green-pale);
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__body {
  padding: var(--space-lg);
}
.team-card__name {
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  color: var(--text);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: var(--text-small);
  font-weight: var(--weight-semi);
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}
.team-card__desc {
  font-size: var(--text-small);
  color: var(--gray-dark);
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
  background: var(--green-dark);
  text-align: center;
  padding: var(--space-4xl) 0;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: var(--space-md); }
.cta-section p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
}
.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section__contact {
  margin-top: var(--space-xl);
  font-size: var(--text-small);
  opacity: 0.75;
}
.cta-section__contact a { color: var(--white); text-decoration: underline; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.75);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer__brand img { height: 36px; margin-bottom: var(--space-lg); filter: brightness(0) invert(1); }
.footer__brand p {
  font-size: var(--text-small);
  line-height: 1.7;
  margin-bottom: 0;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: var(--weight-semi);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-lg);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__col a {
  font-size: var(--text-small);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}
.footer__legal { display: flex; gap: var(--space-lg); }
.footer__legal a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer__legal a:hover { color: var(--white); }

/* ══════════════════════════════════════
   HINWEIS-BOX
══════════════════════════════════════ */
.notice {
  background: var(--green-light);
  border-left: 4px solid var(--green-dark);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-small);
  color: var(--green-deep);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .trust__grid    { grid-template-columns: repeat(2, 1fr); }
  .footer__grid   { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .compliance__inner { grid-template-columns: 1fr; }
  .compliance__image { display: none; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: var(--space-lg) var(--page-margin);
    border-top: 1px solid var(--gray-light);
    box-shadow: var(--shadow-md);
    gap: var(--space-lg);
  }
  .steps__grid    { grid-template-columns: 1fr; }
  .steps__grid::before { display: none; }
  .products__grid { grid-template-columns: 1fr; }
  .team__grid     { grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .hero { min-height: 460px; }
  .hero__inner { flex-direction: column; gap: var(--space-xl); }
  .hero__brand-logo { width: 220px; }
  .hero__divider { display: none; }
  .hero__actions  { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-section__actions { flex-direction: column; align-items: center; }
}

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