[data-md-template="home.html"] .md-main {
  padding-top: 0;
}

[data-md-template="home.html"] .md-main__inner {
  margin-top: 0;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(2rem, 3vw, 3rem);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  opacity: 0.35;
  background: var(--md-default-fg-color--lightest);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero__content {
  max-width: 46rem; 
}

.hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.92;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;        
  padding: 0;
}

.hero__buttons .md-button {
  margin: 0;                 
  border-radius: 12px;
  padding: 0.55rem 1rem;
}

.hero__buttons .md-button--primary {
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 2.25rem 0 2rem;
  }

  .hero__inner {
    justify-content: center;
    text-align: center;
  }

  .hero__content {
    max-width: 34rem;
  }
}

.md-content__inner {
  max-width: 72rem;          
  margin: 0 auto;
  padding-top: 1.2rem;
}

.md-content__inner h1 {
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.md-content__inner h2 {
  margin-top: 2.0rem;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
}

.md-content__inner h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

/* Trennlinien: dezent */
.md-content__inner hr {
  margin: 1.5rem 0;
  opacity: 0.35;
}


.md-typeset .grid.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}

@media (max-width: 900px) {
  .md-typeset .grid.cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .md-typeset .grid.cards {
    grid-template-columns: 1fr;
  }
}

.md-typeset .grid.cards > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.md-typeset .grid.cards > ul > li {
  padding: 0.9rem 1.1rem;
  border-radius: 0.7rem;
  background: var(--md-default-bg-color);
  box-shadow: var(--md-shadow-z1);
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.md-typeset .grid.cards > ul > li:hover {
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-z2);
  border-color: var(--md-accent-fg-color);
}

.md-typeset .grid.cards a {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 600;
  text-decoration: none;
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li {
  box-shadow: var(--md-shadow-z1);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li:hover {
  box-shadow: var(--md-shadow-z3);
  border-color: var(--md-accent-fg-color);
}
