/* =============================================
   Malita UG – Stylesheet
   Design angelehnt an schulprozess.de
   ============================================= */

:root {
  --primary:        #2b6cb0;
  --primary-hover:  #2c5282;
  --primary-light:  #e8f0fb;
  --bg:             #f6f7fb;
  --white:          #ffffff;
  --text:           #1f2937;
  --text-muted:     #4a5568;
  --text-light:     #718096;
  --border:         #dcdfe6;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.10);
  --radius:         8px;
  --radius-lg:      12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout helpers ---- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo img {
  height: 32px;
  display: block;
}

.nav__links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  display: block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.nav__links a:hover {
  background: var(--bg);
  color: var(--primary);
  text-decoration: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  max-width: 640px;
  margin: 0 auto 16px;
}

.hero__title span {
  color: var(--primary);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.section {
  padding: 56px 0;
}

.section__header {
  margin-bottom: 32px;
}

.section__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.section__desc {
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 560px;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card__link:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.product-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}

.product-card__link:hover svg {
  transform: translateX(3px);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.fact__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.fact__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer__links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* =============================================
   IMPRESSUM PAGE
   ============================================= */
.page-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}

.page-header__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.page-header__sub {
  color: var(--text-muted);
  margin-top: 6px;
}

.content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.content-block h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.content-block p,
.content-block address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.content-block a {
  color: var(--primary);
}

.notice-box {
  background: var(--primary-light);
  border: 1px solid #bee3f8;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--primary-hover);
  margin-top: 12px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 680px) {
  .hero__title { font-size: 1.6rem; }

  .about__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__links {
    gap: 2px;
  }

  .nav__links a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}
