/* ============================================
   FRONTPAGE SPECIFIC STYLES
   Nutzt Variablen aus style.css
   ============================================ */

/* ============ HERO ============ */
.hero-banner {
  background: var(--header-bg);
  padding: 0 24px 140px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image .ph {
  font-family: var(--display);
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============ MAIN WRAPPER ============ */
.main-wrapper {
  max-width: var(--max-w);
  margin: -100px auto 0;
  padding: 0 24px 80px;
  position: relative;
  z-index: 5;
}

/* ============ SECTIONS ============ */
section {
  margin-bottom: 56px;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-mid);
  margin-top: 6px;
}

/* ============ KATEGORIE CARDS ============ */
.categories-section {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 44px 40px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(183, 43, 43, 0.08);
  transform: translateY(-2px);
}

.cat-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E0D0C4, #D5C0B0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-thumb .ph {
  font-size: 11px;
  color: rgba(0,0,0,0.15);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cat-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cat-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.cat-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0;
}

.cat-link {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 4px;
}

/* ============ PHILOSOPHIE ============ */
.philo-section {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 44px 40px;
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.philo-card {
  padding: 24px 28px;
  position: relative;
}

.philo-card:nth-child(1) {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philo-card:nth-child(2) {
  border-bottom: 1px solid var(--border);
}

.philo-card:nth-child(3) {
  border-right: 1px solid var(--border);
}

.philo-num {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 6px;
  line-height: 1;
}

.philo-card h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.philo-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

/* ============ ARTIKEL LISTE ============ */
.articles-section {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 44px 40px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}

.article-row:last-child {
  border-bottom: none;
}

.article-row:hover {
  background: var(--bg-light);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 6px;
}

.article-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E0D0C4, #CBBAA8);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-thumb .ph {
  font-size: 11px;
  color: rgba(0,0,0,0.15);
  font-family: var(--display);
}

.article-cat {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 4px;
}

.article-info h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.article-info p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

.article-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
  font-family: var(--display);
}

/* ============ ÜBER MICH ============ */
.about-section {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-light);
}

.about-text h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.about-link:hover {
  gap: 10px;
}

/* ============ NEWSLETTER ============ */
.newsletter-section {
  background: var(--header-bg);
  border-radius: 8px;
  padding: 52px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}

.newsletter-section h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  color: white;
}

.newsletter-section > p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 28px;
  position: relative;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.nl-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.nl-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  font-family: var(--body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.nl-form input:focus {
  border-color: rgba(255,255,255,0.5);
}

.nl-form button {
  padding: 14px 28px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
  white-space: nowrap;
}

.nl-form button:hover {
  transform: translateY(-1px);
}

.nl-micro {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  position: relative;
  font-family: var(--display);
}


/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-banner {
    padding-bottom: 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 0 0;
    gap: 32px;
  }

  .hero-image {
    max-width: 400px;
  }

  .main-wrapper {
    margin-top: -60px;
    padding: 0 16px 48px;
  }

  .categories-section,
  .articles-section,
  .about-section,
  .newsletter-section,
  .philo-section {
    padding: 28px 20px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .philo-grid {
    grid-template-columns: 1fr;
  }

  .philo-card:nth-child(1),
  .philo-card:nth-child(2),
  .philo-card:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .philo-card:nth-child(4) {
    border-bottom: none;
  }

  .article-row {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    max-width: 280px;
  }

  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .nl-form {
    flex-direction: column;
  }
}