/* ================================================================
   WILDGEWACHSEN – Website Styles
   Brand: Editorial Warm · Organic · Authentic
   Based on: BRAND_THEME.md + Anthropic Frontend-Design Skill
   ================================================================ */

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Open+Sans:wght@300;400;600&family=Roboto:wght@400;500&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* Brand Colors (BRAND_THEME.md – verbindlich) */
  --deep-green: #03250F;
  --cream: #FDFAF1;
  --forest: #294633;
  --sage-light: #D7DACF;
  --text-dark: #1C1C1C;
  --text-muted: #8A8A8A;
  --white: #FFFFFF;

  /* Extended palette */
  --cream-dark: #F0ECE2;
  --forest-light: rgba(41, 70, 51, 0.08);
  --forest-medium: rgba(41, 70, 51, 0.15);
  --green-glow: rgba(3, 37, 15, 0.06);
  --overlay-dark: rgba(3, 37, 15, 0.65);
  --overlay-darker: rgba(3, 37, 15, 0.82);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 960px;
  --container-wide: 1200px;
  --container-narrow: 720px;

  /* Shapes */
  --radius-card: 16px;
  --radius-btn: 6px;
  --radius-pill: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-hero: 0 20px 60px rgba(0,0,0,0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--forest);
  color: var(--cream);
}

/* ===== Typography ===== */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }

h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--forest);
  margin-bottom: 12px;
}

.section--dark .eyebrow { color: var(--sage-light); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== Layout ===== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--dark {
  background: var(--deep-green);
  color: var(--white);
}
.section--dark h1, .section--dark h2 { color: var(--white); }

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

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

/* Subtle section divider */
.section--divider::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--sage-light);
  margin: 0 auto 48px;
}

/* ===== Header / Navigation ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--deep-green);
  transition: all 0.4s var(--ease-out);
}

.header--scrolled {
  background: rgba(3, 37, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.header__logo:hover img { opacity: 0.85; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.75;
  transition: opacity 0.2s;
  position: relative;
}

.header__nav a:hover { opacity: 1; }

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.3s var(--ease-out);
}
.header__nav a:hover::after { width: 100%; }

.header__cta {
  color: var(--cream) !important;
  border: 1px solid rgba(253, 250, 241, 0.4);
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  opacity: 1 !important;
  transition: all 0.3s var(--ease-out);
}
.header__cta::after { display: none !important; }
.header__cta:hover {
  background: var(--cream);
  color: var(--deep-green) !important;
  border-color: var(--cream);
}

/* Mobile Nav */
.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s var(--ease-out);
  border-radius: 1px;
}

/* Burger animation */
.header__burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--deep-green);
  padding: 120px 32px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 28px;
}
.header__mobile-nav.open {
  display: flex;
  animation: fadeIn 0.3s var(--ease-out);
}
.header__mobile-nav a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0.9;
}
.header__mobile-nav a:hover { opacity: 1; }

/* Body offset for fixed header */
body { padding-top: 76px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 15px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--deep-green);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(3, 37, 15, 0.3);
}

.btn--primary-inverted {
  background: var(--cream);
  color: var(--deep-green);
}
.btn--primary-inverted:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn--outline {
  background: transparent;
  color: var(--deep-green);
  border: 1.5px solid var(--deep-green);
}
.btn--outline:hover {
  background: var(--deep-green);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(253, 250, 241, 0.4);
}
.btn--outline-light:hover {
  background: rgba(253, 250, 241, 0.1);
  border-color: var(--cream);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 37, 15, 0.88) 0%,
    rgba(3, 37, 15, 0.72) 40%,
    rgba(3, 37, 15, 0.55) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sage-light);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  aspect-ratio: 4 / 5;
  max-height: 500px;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  pointer-events: none;
}

/* ===== Trust Bar ===== */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sage-light);
  padding: 20px 0;
  position: relative;
}

.trust-bar__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__item {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}

/* ===== About Teaser ===== */

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

.about-teaser__image {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-teaser__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 75%;
  transition: transform 0.6s var(--ease-out);
}
.about-teaser__image:hover img { transform: scale(1.03); }

/* Startseite Familienfoto (separat vom Hochzeitsfoto auf Über-uns) */
.about-teaser__image--home img {
  object-position: center 15%;
  transform: scale(1.4);
}
.about-teaser__image--home:hover img { transform: scale(1.43); }

/* Decorative corner accent */
.about-teaser__image::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--forest);
  border-left: 2px solid var(--forest);
  border-radius: 2px 0 0 0;
  z-index: 2;
}

.about-teaser__text .eyebrow { margin-bottom: 8px; }

.about-teaser__text h2 { margin-bottom: 20px; }

.about-teaser__text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* ===== Article Cards ===== */

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

.article-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.article-card__image {
  height: 220px;
  background: var(--sage-light);
  overflow: hidden;
  position: relative;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.article-card:hover .article-card__image img { transform: scale(1.05); }

.article-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  background: var(--forest-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  align-self: flex-start;
}

.article-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: normal;
  flex: 1;
}

.article-card__meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ===== Topics Grid ===== */

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

.topic-card {
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.topic-card:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.topic-card:hover::before { transform: scaleX(1); }

.topic-card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}

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

.topic-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Timeline Teaser (Homepage) ===== */

.timeline-section {
  position: relative;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.timeline-teaser {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  padding-top: 28px;
}

.timeline-teaser::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.12);
}

.timeline-teaser__item {
  position: relative;
  text-align: center;
  flex: 1;
  z-index: 1;
}

.timeline-teaser__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 auto 14px;
  transition: all 0.3s var(--ease-out);
}

.timeline-teaser__dot--done {
  background: var(--sage-light);
}
.timeline-teaser__dot--current {
  background: var(--cream);
  box-shadow: 0 0 0 5px rgba(253, 250, 241, 0.2), 0 0 20px rgba(253, 250, 241, 0.15);
}
.timeline-teaser__dot--upcoming {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}

.timeline-teaser__date {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sage-light);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.timeline-teaser__label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
}

/* ===== Newsletter CTA ===== */

.newsletter {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter h2 { margin-bottom: 12px; }

.newsletter p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 15px 20px;
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s var(--ease-out);
}
.newsletter__input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-light);
}
.newsletter__input::placeholder { color: var(--text-muted); }

.section--dark .newsletter p { color: var(--sage-light); }
.section--dark .newsletter__input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.section--dark .newsletter__input:focus {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
.section--dark .newsletter__input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter__hint {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.section--dark .newsletter__hint { color: rgba(255,255,255,0.35); }

/* ===== Footer ===== */

.footer {
  background: var(--deep-green);
  color: var(--white);
  padding: 72px 0 24px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer__grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  line-height: 1.65;
}

.footer__brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.footer__links a:hover { opacity: 1; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--white);
  opacity: 0.7;
  transition: all 0.3s var(--ease-out);
}
.footer__social a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.footer__newsletter-mini .newsletter__form { max-width: 100%; }

.footer__bottom {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom a {
  color: rgba(255,255,255,0.35);
  margin-left: 24px;
  transition: color 0.2s;
}
.footer__bottom a:hover { color: var(--white); }

/* ===== Blog Page ===== */

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.blog-filter {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage-light);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.blog-filter:hover { border-color: var(--forest); color: var(--text-dark); }
.blog-filter.active {
  background: var(--deep-green);
  color: var(--white);
  border-color: var(--deep-green);
}

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

/* ===== Article Page ===== */

.article-header {
  padding: 72px 0 48px;
  position: relative;
}

.article-header__category {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  background: var(--forest-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.article-header h1 { margin-bottom: 20px; }

.article-header__meta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.article-body {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.article-body h2 {
  margin: 56px 0 18px;
  font-size: 1.6rem;
}

.article-body h3 {
  margin: 36px 0 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.article-body p { font-size: 1rem; line-height: 1.85; }

.article-body img {
  border-radius: var(--radius-card);
  margin: 36px 0;
  box-shadow: var(--shadow-card);
}

.article-body blockquote {
  border-left: 3px solid var(--forest);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--white);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--forest);
  line-height: 1.7;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 32px 0;
}

.info-box__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 8px;
}

.trust-box {
  background: var(--forest-light);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin: 48px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.author-box {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--sage-light);
  margin: 48px 0;
}

.author-box__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage-light);
  flex-shrink: 0;
  overflow: hidden;
}
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-box__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.author-box__bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Article TOC */
.article-toc {
  background: var(--white);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 48px;
}

.article-toc__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.article-toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--forest);
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: all 0.2s;
}
.article-toc a:last-child { border-bottom: none; }
.article-toc a:hover { color: var(--deep-green); padding-left: 8px; }

/* ===== Timeline Page ===== */

.timeline {
  position: relative;
  padding-left: 44px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--forest), var(--sage-light));
}

.timeline__item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 36px;
}

.timeline__dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 3px solid var(--cream);
  transition: all 0.3s var(--ease-out);
}
.timeline__dot--done { background: var(--forest); }
.timeline__dot--current {
  background: var(--deep-green);
  box-shadow: 0 0 0 6px rgba(3, 37, 15, 0.1);
}

.timeline__date {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline__status {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
}
.timeline__status--done { background: var(--forest-light); color: var(--forest); }
.timeline__status--current { background: var(--deep-green); color: var(--white); }
.timeline__status--upcoming { background: var(--cream-dark); color: var(--text-muted); }

/* ===== Countdown ===== */

.countdown {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 36px 0;
}

.countdown__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--white);
}

.countdown__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-light);
  margin-top: 8px;
}

/* ===== Credentials ===== */

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.credential-tag {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--forest-light);
  color: var(--forest);
  transition: all 0.2s;
}
.credential-tag:hover { background: var(--forest-medium); }

/* ===== Family Grid (About Page) ===== */

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.family-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--sage-light);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.family-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.family-card:hover { box-shadow: var(--shadow-card); }
.family-card:hover::after { transform: scaleX(1); }

.family-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.family-card__role {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--forest);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.family-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Contact Form ===== */

.contact-form { max-width: 560px; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 18px;
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s var(--ease-out);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-light);
}
.form-group textarea { resize: vertical; min-height: 160px; }

/* ===== Legal Page ===== */

.legal-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.legal-content h2 { margin: 48px 0 14px; font-size: 1.4rem; }
.legal-content h3 { margin: 28px 0 8px; color: var(--text-dark); }
.legal-content p, .legal-content li { font-size: 0.92rem; line-height: 1.75; }

/* ===== Utilities ===== */

.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* ===== Animations ===== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-out);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__image-frame { max-width: 360px; margin: 0 auto; aspect-ratio: 3/4; }

  .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .about-teaser__image::before { display: none; }
  .about-teaser__image--home img { transform: scale(1.1); object-position: center 20%; }
  .about-teaser__image--home:hover img { transform: scale(1.13); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .family-grid { grid-template-columns: 1fr; }

  .timeline-teaser { flex-direction: column; gap: 20px; }
  .timeline-teaser::before { display: none; }
}

@media (max-width: 640px) {
  :root { --section-padding: 56px; }
  body { padding-top: 68px; }

  .header__inner { height: 68px; }
  .header__nav { display: none; }
  .header__burger { display: block; }

  .hero { min-height: 70vh; }
  h1 { font-size: 2rem; }
  .articles-grid,
  .articles-grid--2col { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .newsletter__form { flex-direction: column; }
  .countdown__number { font-size: 2.4rem; }
  .trust-bar__inner { gap: 20px; }
}

/* ===== Print ===== */
@media print {
  .header, .footer, .newsletter, .btn { display: none; }
  body { padding-top: 0; background: white; }
  .section { padding: 24px 0; }
}
