:root {
  --black: #090909;
  --dark: #111111;
  --surface: #121212;
  --surface-hover: #171717;

  --white: #f3f2ee;
  --grey: #aaa9a5;
  --grey-dark: #6d6d68;

  --line: #292929;
  --accent: #42e0d3;

  --page-width: 1180px;
  --page-gutter: 80px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;

  background: var(--black);
  color: var(--white);

  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/* =========================================================
   GLOBALE BAUSTEINE
   ========================================================= */

/* Label wird auch im Blog verwendet */

.small-label {
  margin: 0 0 18px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button-primary {
  display: inline-flex;
  align-items: center;

  padding: 13px 22px;

  border-radius: 999px;

  background: var(--white);
  color: var(--black);

  font-size: 14px;
  font-weight: 700;

  transition: background 0.2s ease;
}

.button-primary:hover {
  background: #ffffff;
}

.text-link {
  display: inline-block;

  padding-bottom: 3px;

  border-bottom: 1px solid var(--accent);

  font-size: 14px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--accent);
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
  width: 100%;

  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(9, 9, 9, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);
  min-height: 74px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  width: 170px;
  height: auto;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  color: #d1d0cc;
  font-size: 14px;
}

.navigation a:hover {
  color: var(--white);
}

.contact-link {
  padding: 9px 18px;

  border: 1px solid #555;
  border-radius: 999px;
}

.contact-link:hover {
  border-color: var(--white);
}


/* =========================================================
   STARTSEITE – HERO
   ========================================================= */

.home-hero {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
  padding: 72px 0 80px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.85fr);
  gap: 64px;

  align-items: center;
}

.home-hero-text {
  min-width: 0;
}

.home-hero h1 {
  max-width: 620px;
  margin: 0;

  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.home-hero-lead {
  max-width: 540px;
  margin: 26px 0 0;

  color: var(--grey);

  font-size: 18px;
  line-height: 1.6;
}

.home-hero-actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}


/* HERO-BILD – KOMPAKT, MIT WEICHEM RAND */

.home-hero-image {
  position: relative;

  aspect-ratio: 5 / 4;

  overflow: hidden;
  border-radius: 6px;
}

.home-hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 65% 50%;
}

.home-hero-image::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  box-shadow: inset 0 0 60px 20px var(--black);
}


/* =========================================================
   STARTSEITE – BEREICHE
   ========================================================= */

.home-section {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
  padding: 80px 0;

  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 44px;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 64px;

  align-items: end;
}

.section-head h2 {
  margin: 0;

  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 480px;
  margin: 0;

  color: var(--grey);

  font-size: 16px;
  line-height: 1.6;
}


/* =========================================================
   KATEGORIEN
   ========================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;

  min-height: 280px;
  padding: 28px 24px 24px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

a.category-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}

.category-icon {
  width: 28px;
  height: 28px;

  margin-bottom: 28px;

  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card h3 {
  margin: 0 0 12px;

  font-size: 21px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.category-card p {
  margin: 0;

  color: var(--grey);

  font-size: 14px;
  line-height: 1.55;
}

.category-status {
  margin-top: auto;
  padding-top: 24px;

  color: var(--grey-dark);

  font-size: 13px;
}

.category-status.is-live {
  color: var(--accent);
  font-weight: 700;
}


/* NOCH OHNE INHALT */

.category-card.is-upcoming .category-icon {
  stroke: var(--grey-dark);
}

.category-card.is-upcoming h3 {
  color: #cfceca;
}


/* =========================================================
   BEITRÄGE
   ========================================================= */

.post-meta {
  margin: 0 0 14px;

  color: var(--accent);

  font-size: 13px;
  font-weight: 700;
}

.post-meta a:hover {
  text-decoration: underline;
}


/* FEATURE – NEUESTER BEITRAG */

.post-feature {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(0, 1fr);

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;

  overflow: hidden;
}

.post-feature-image {
  display: block;

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.post-feature-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.post-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: 36px 40px;
}

.post-feature-content h3 {
  margin: 0 0 16px;

  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.post-feature-content h3 a:hover {
  color: var(--accent);
}

.post-feature-content > p:not(.post-meta) {
  margin: 0 0 26px;

  color: var(--grey);

  font-size: 16px;
  line-height: 1.6;
}


/* KARTEN – WEITERE BEITRÄGE */

.post-grid {
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  display: flex;
  flex-direction: column;

  padding-bottom: 24px;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;

  overflow: hidden;
}

.post-card-image {
  display: block;

  margin-bottom: 22px;

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.post-card .post-meta,
.post-card h3,
.post-card > p:not(.post-meta) {
  padding: 0 24px;
}

.post-card h3 {
  margin: 0 0 10px;

  font-size: 21px;
  line-height: 1.2;
  font-weight: 400;
}

.post-card h3 a:hover {
  color: var(--accent);
}

.post-card > p:not(.post-meta) {
  margin: 0;

  color: var(--grey);

  font-size: 14px;
  line-height: 1.55;
}


/* =========================================================
   ÜBER UNS
   ========================================================= */

.home-about {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 64px;
}

.home-about-intro h2 {
  margin: 0 0 24px;

  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.home-about-intro p {
  max-width: 480px;
  margin: 0 0 16px;

  color: var(--grey);

  font-size: 17px;
  line-height: 1.6;
}

.home-about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}

.about-point {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-point h3 {
  margin: 0 0 10px;

  font-size: 17px;
  font-weight: 700;
}

.about-point p {
  margin: 0;

  color: var(--grey);

  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   KATEGORIESEITE
   ========================================================= */

.category-page {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
  padding: 64px 0 40px;
}

.breadcrumb {
  margin: 0 0 28px;

  color: var(--grey-dark);

  font-size: 13px;
}

.breadcrumb a {
  color: var(--grey);
}

.breadcrumb a:hover {
  color: var(--white);
}

.category-page h1 {
  margin: 0;

  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.category-page-lead {
  max-width: 620px;
  margin: 20px 0 48px;

  color: var(--grey);

  font-size: 17px;
  line-height: 1.6;
}


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

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
  padding: 42px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 32px;
}

.footer-logo {
  width: 150px;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;

  margin: 0;
}

.footer-links a {
  color: var(--grey);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  color: var(--grey-dark);
  font-size: 11px;
}


/* =========================================================
   RECHTLICHE SEITEN
   IMPRESSUM / DATENSCHUTZ / AFFILIATE-HINWEIS
   ========================================================= */

.legal-page {
  width: calc(100% - var(--page-gutter));
  max-width: var(--page-width);

  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal-page > h1 {
  max-width: 900px;
  margin: 0 0 55px;

  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.legal-content {
  width: 100%;
  max-width: 780px;
  margin: 0;
}

.legal-content h2 {
  margin: 42px 0 14px;

  color: var(--white);

  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  max-width: 760px;
  margin: 0 0 18px;

  color: var(--grey);

  font-size: 16px;
  line-height: 1.65;
}

.legal-content strong {
  color: var(--white);
}

.legal-content a {
  color: var(--white);
  border-bottom: 1px solid var(--accent);
}


/* =========================================================
   WENIGER BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .button-primary,
  .category-card {
    transition: none;
  }

}


/* =========================================================
   TABLET (BIS 1000 PX)
   ========================================================= */

@media (max-width: 1000px) {

  :root {
    --page-gutter: 50px;
  }

  .home-hero {
    gap: 40px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 240px;
  }

  .post-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-feature-content {
    padding: 30px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

}


/* =========================================================
   SMARTPHONE (BIS 760 PX)
   ========================================================= */

@media (max-width: 760px) {

  :root {
    --page-gutter: 28px;
  }

  html {
    scroll-padding-top: 80px;
  }


  /* HEADER */

  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .logo {
    width: 130px;
  }

  .navigation {
    gap: 16px;
  }

  .navigation a {
    font-size: 13px;
  }

  .navigation .nav-secondary {
    display: none;
  }

  .contact-link {
    padding: 7px 13px;
  }


  /* HERO */

  .home-hero {
    padding: 44px 0 56px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .home-hero h1 {
    font-size: clamp(32px, 8.4vw, 40px);
  }

  .home-hero-lead {
    font-size: 16px;
  }

  .home-hero-actions {
    gap: 22px;
  }

  .home-hero-image {
    aspect-ratio: 16 / 10;
  }


  /* BEREICHE */

  .home-section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 30px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .section-head p {
    font-size: 15px;
  }


  /* KATEGORIEN */

  .category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .category-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .category-icon {
    margin-bottom: 18px;
  }

  .category-status {
    padding-top: 18px;
  }


  /* BEITRÄGE */

  .post-feature-content {
    padding: 24px 22px 28px;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  /* ÜBER UNS */

  .home-about-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .home-about-intro p {
    font-size: 15px;
  }


  /* KATEGORIESEITE */

  .category-page {
    padding: 44px 0 20px;
  }

  .category-page-lead {
    margin-bottom: 32px;
    font-size: 15px;
  }


  /* FOOTER */

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-logo {
    width: 130px;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }


  /* RECHTLICHE SEITEN */

  .legal-page {
    padding: 45px 0 65px;
  }

  .legal-page > h1 {
    margin-bottom: 38px;
    font-size: 36px;
  }

  .legal-content h2 {
    margin-top: 36px;
    font-size: 20px;
  }

  .legal-content p {
    font-size: 15px;
  }

}
