@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: #f4f6ef;
  color: #173624;
}

.page {
  min-height: 100vh;
  padding: 1.75rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 3.5rem);
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(90deg, #fbfcf7 0%, #fbfcf7 62%, #f1f4ea 62%, #f1f4ea 100%);
  box-shadow: 0 20px 60px rgba(32, 48, 35, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -10rem;
  width: 34rem;
  height: 24rem;
  border-radius: 0 0 45% 45%;
  background: rgba(213, 221, 207, 0.65);
  z-index: 0;
}

.nav {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.7rem 2.8rem 0;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.05rem;
  border-radius: 999px;

  background: #ffffff;
  color: #173624;

  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 62% 38%;
}

.hero-left {
  padding: 3.8rem 2.8rem 2.8rem;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 560px;

  font-size: clamp(2.7rem, 3.6vw, 3.45rem);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.lead {
  margin: 1.9rem 0 0;
  max-width: 620px;

  color: #5f6d65;
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 400;
}

.cards {
  margin-top: 2.2rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  align-items: center;
  gap: 1rem;

  min-height: 92px;
  padding: 1.1rem 1.25rem;

  border-radius: 24px;
  background: #ffffff;

  color: inherit;
  text-decoration: none;

  box-shadow:
          inset 0 0 0 1px rgba(32,48,35,0.06),
          0 12px 34px rgba(32,48,35,0.08);
}

.icon {
  font-size: 1.8rem;
  line-height: 1;
}

.card strong {
  display: block;
  margin-bottom: 0.2rem;

  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card p {
  margin: 0;

  color: #68746d;
  font-size: 1.05rem;
  line-height: 1.35;
}

.notice {
  margin-top: 1.2rem;
  padding: 1rem 1.25rem;

  border-radius: 0 24px 24px 24px;
  background: #1f432b;
  color: #ffffff;

  font-size: 1rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.notdienst-toggle {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: transparent;
  border: 0;
  padding: 0;

  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-transform: uppercase;
}

.toggle-icon {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
}

.notdienst-content {
  display: none;
  margin-top: 0.75rem;
}

.notdienst-content.open {
  display: block;
}

.notdienst-row {
  display: grid;
  grid-template-columns: 135px 1fr auto;
  gap: 0.9rem;
  align-items: center;

  padding: 0.38rem 0;
  border-top: 1px solid rgba(255,255,255,0.18);

  font-size: 0.9rem;
  line-height: 1.3;
}

.notdienst-date,
.notdienst-phone {
  font-weight: 800;
}

.notdienst-phone {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.notdienst-phone:hover {
  text-decoration: underline;
}

.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5rem;
}

.watermark {
  width: 290px;
  opacity: 0.055;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.hero,
.hero-inner,
.hero-left,
.hero-content,
.cards,
.card,
.notice,
.notdienst-content {
  min-width: 0;
}

.card p,
.notdienst-practice,
.notdienst-phone,
.lead,
h1 {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 1100px) {
  .hero {
    background: #fbfcf7;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    padding: 0.75rem;
  }

  .hero {
    min-height: auto;
    border-radius: 24px;
  }

  .hero::after {
    width: 22rem;
    height: 16rem;
    right: -8rem;
    top: -7rem;
  }

  .nav {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .logo {
    width: 190px;
  }

  .nav-links {
    width: 100%;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .nav-links a {
    max-width: 100%;
    padding: 0.65rem 0.95rem;
    font-size: 0.9rem;
  }

  .hero-left {
    padding: 1.5rem;
    padding-top: 1rem;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .eyebrow {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .lead {
    max-width: 100%;
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .cards {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
    min-width: 0;
  }

  .notice {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .notdienst-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .notdienst-phone {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 0.5rem;
  }

  .hero {
    border-radius: 18px;
  }

  .nav,
  .hero-left {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    width: 175px;
  }

  h1 {
    font-size: clamp(1.9rem, 13vw, 2.8rem);
  }

  .card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .icon {
    font-size: 1.5rem;
  }
}