@import url('https://api.fontshare.com/v2/css?f[]=sentient@400,500,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand-light: #375553;
  --brand-dark: #07221F;
  --gold: #DFAF2B;
  --anthrazit: #2E2E2E;
  --off-white: #F5F2EE;
  --warm-beige: #E8E0D4;
  --rule-grey: #D0C8BE;
  --brand-gradient: linear-gradient(to right, #375553, #07221F);
  --brand-gradient-v: linear-gradient(to bottom, #375553, #07221F);
  font-size: 16px;
}

/* Typography – global rules, do not override per-component */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sentient', Georgia, serif;
  font-weight: 700;
}

body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 300;
  background: var(--off-white);
  color: var(--anthrazit);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid var(--rule-grey);
  background: var(--off-white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--brand-dark);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--brand-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
}

/* Main & Footer */
main {
  flex: 1;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--brand-light);
  font-size: 0.85rem;
  border-top: 0.5px solid var(--rule-grey);
}

/* Buttons – explicit font-family needed, buttons don't inherit */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  font-family: 'Sentient', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--brand-light);
  border: 1px solid var(--brand-light);
}

.btn-outline:hover {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  opacity: 1;
}

/* Outline button on dark (gradient) backgrounds */
.youtube .btn-outline {
  color: #fff;
  border-color: #fff;
}

.youtube .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Hero */
.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--brand-light);
  margin-bottom: 2.5rem;
}

/* YouTube Section */
.youtube {
  background: var(--brand-gradient);
  text-align: center;
  padding: 5rem 2rem;
}

.youtube h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.youtube p {
  max-width: 480px;
  margin: 0 auto 2rem;
  color: var(--warm-beige);
}

/* Downloads */
.downloads {
  background: var(--warm-beige);
  border-top: 0.5px solid var(--rule-grey);
  padding: 5rem 2rem;
}

.downloads-inner {
  max-width: 720px;
  margin: 0 auto;
}

.downloads h2 {
  font-size: 1.8rem;
  color: var(--brand-dark);
  margin-bottom: 0.75rem;
}

.downloads > .downloads-inner > p {
  color: var(--brand-light);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.download-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.download-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 0.5px solid var(--rule-grey);
}

.download-card:first-child {
  border-top: 0.5px solid var(--rule-grey);
}

.download-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-info h3 {
  font-size: 1.1rem;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

.download-info p {
  font-size: 0.9rem;
  color: var(--brand-light);
}

.download-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
}

/* Blog */
.blog-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
  color: var(--brand-dark);
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-card {
  padding: 2.5rem 0;
  border-bottom: 0.5px solid var(--rule-grey);
}

.blog-card:first-child {
  border-top: 0.5px solid var(--rule-grey);
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--brand-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.blog-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--brand-dark);
}

.blog-card p {
  color: var(--brand-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.9rem;
  color: var(--brand-light);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-light);
  padding-bottom: 1px;
  font-weight: 700;
}

.read-more:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Über mich */
.about-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem;
}

.about-content {
  max-width: 560px;
  text-align: center;
}

.about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-family: 'Sentient', Georgia, serif;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.about-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.about-content p {
  color: var(--brand-light);
  margin-bottom: 1rem;
}

.about-content .btn {
  margin-top: 1rem;
}

/* Blog Einzelseite */
.post-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--rule-grey);
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--brand-dark);
  margin: 0.75rem 0 1.25rem;
  letter-spacing: -0.02em;
}

.post-intro {
  font-size: 1.15rem;
  color: var(--brand-light);
  font-style: italic;
  font-family: 'Sentient', Georgia, serif;
}

.post-body h2 {
  font-size: 1.4rem;
  color: var(--brand-dark);
  margin: 2.5rem 0 1rem;
}

.post-body p {
  font-size: 1rem;
  color: var(--anthrazit);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--rule-grey);
}

/* Responsive */
@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .download-card {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }

  .download-btn {
    grid-column: 2;
    margin-top: 0.5rem;
  }
}
