/* ========================================
   GRUNDEINSTELLUNGEN
   ======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #171717;
  background: #fff;
  line-height: 1.6;
}


/* ========================================
   SEITENBREITE
   ======================================== */

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.narrow {
  max-width: 820px;
}


/* ========================================
   NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e8e8;
  z-index: 5;
}

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

.brand {
  font-weight: 800;
  letter-spacing: .08em;
  color: #171717;
  text-decoration: none;
}

.brand span {
  font-weight: 400;
}

.nav-link {
  color: #171717;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}


/* ========================================
   HERO
   ======================================== */

.hero {
  padding: 110px 0 100px;
  background: #f3f1ec;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  font-weight: 800;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0 0 28px;
}

.hero h1 em {
  font-style: normal;
}

.lead {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 34px;
}

.button {
  display: inline-block;
  background: #171717;
  color: #fff;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}

.hero-card {
  background: #171717;
  color: #fff;
  padding: 38px;
  border-radius: 6px;
  font-size: 1.35rem;
}

.hero-card .mark {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 45px;
}

.hero-card .small {
  font-size: 1rem;
  color: #d7d7d7;
}


/* ========================================
   INHALTSBEREICHE
   ======================================== */

.section {
  padding: 100px 0;
}

.light {
  background: #f7f7f7;
}

/*
   Dezentes Grau statt schwarzem Hintergrund.
   Gut geeignet für längere Wissensartikel.
*/

.dark {
  background: #e9e9e7;
  color: #171717;
}

.dark .eyebrow {
  color: #666;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 28px;
}

.section p {
  font-size: 1.08rem;
}


/* ========================================
   KARTEN
   ======================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.cards article {
  border: 1px solid #ddd;
  padding: 28px;
}

.cards h3 {
  font-size: 1.4rem;
  margin-top: 0;
}


/* ========================================
   ZWEISPALTIGE BEREICHE
   ======================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}


/* ========================================
   HINWEISE
   ======================================== */

.note {
  font-size: .85rem !important;
  color: #777;
  margin-top: 22px;
}


/* ========================================
   ARTIKEL UND INTERNE VERLINKUNGEN
   ======================================== */

.article-link {
  display: inline-block;
  margin-top: 12px;
  color: #171717;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #171717;
}

.article-link:hover {
  opacity: .65;
}

/* ========================================
   ÜBUNGSBILDER
   ======================================== */

.exercise-title {
  font-size: 1.8rem;
  margin-top: 45px;
  margin-bottom: 25px;
}

figure {
  margin: 40px 0;
}

figure img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 4px;
}

figcaption {
  max-width: 720px;
  margin-top: 10px;
  font-size: .9rem;
  line-height: 1.45;
  color: #555;
}

/* ========================================
   QUELLEN UND LITERATUR
   ======================================== */

.sources {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #ccc;
}

.sources h3 {
  margin-bottom: 16px;
}

.sources li {
  margin-bottom: 10px;
}


/* ========================================
   FOOTER
   ======================================== */

.footer-grid {
  padding: 35px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  font-size: .9rem;
}

.footer-grid a {
  color: inherit;
}

.legal {
  text-align: right;
}


/* ========================================
   HANDY / MOBILE
   ======================================== */

@media (max-width: 750px) {

  .hero {
    padding: 75px 0;
  }

  .hero-grid,
  .two-col,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 10px;
  }

  .section {
    padding: 70px 0;
  }

  .legal {
    text-align: left;
  }

  .hero h1 {
    font-size: 3rem;
  }

}