:root {
  --color-honeysuckle: #da7da0;
  --color-baby-blue: #c1dbed;
  --color-coffee-pot: #6e5e5e;
  --color-emerald-green: #7ba38e;
  --color-background: #faf7f6;
  --color-text: #292526;
  --color-white: #ffffff;

  --page-width: 75rem;
  --page-padding: clamp(1.25rem, 4vw, 3rem);
}

/* Grundeinstellungen */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: Arial, Helvetica, sans-serif;
}

/* Barrierefreier Sprunglink */

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  background: var(--color-coffee-pot);
  border-radius: 0.5rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  width: 100%;
  background: var(--color-background);
  border-bottom: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 18%,
      transparent
    );
}

.header-inner {
  width: min(100%, var(--page-width));
  min-height: 5.5rem;
  margin-inline: auto;
  padding-inline: var(--page-padding);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */

.site-logo {
  flex-shrink: 0;
  color: var(--color-coffee-pot);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.site-logo span {
  color: var(--color-honeysuckle);
}

/* Desktop-Navigation */

.main-navigation {
  margin-left: auto;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  list-style: none;
}

.main-navigation a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover-Unterstreichung am Desktop */

.main-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.15rem;
  background: var(--color-honeysuckle);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Tastaturfokus */

.site-logo:focus-visible,
.main-navigation a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--color-emerald-green);
  outline-offset: 4px;
}

/* Menü-Schriftzug visuell ausblenden,
   aber für Screenreader behalten */

.menu-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Hamburger-Button */

.menu-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-coffee-pot);
  border-radius: 50%;
  cursor: pointer;
}

/* Hamburger-Symbol */

.menu-icon {
  width: 1.25rem;
  display: grid;
  gap: 0.25rem;
}

.menu-icon span {
  width: 100%;
  height: 2px;
  display: block;
  background: var(--color-coffee-pot);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Hamburger wird beim Öffnen zum X */

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Kompaktere Navigation bei mittleren Bildschirmgrößen */

@media (min-width: 45.01rem) and (max-width: 60rem) {
  .header-inner {
    gap: 1.5rem;
  }

  .main-navigation ul {
    gap: clamp(1rem, 2vw, 1.75rem);
  }

  .main-navigation a {
    font-size: 0.9rem;
  }
}

/* Hamburger-Menü auf Smartphones */

@media (max-width: 45rem) {
  .header-inner {
    min-height: 4.75rem;
    padding-block: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    width: 100%;
    margin: 0;
    padding-top: 0.75rem;
    display: none;
    border-top: 1px solid
      color-mix(
        in srgb,
        var(--color-coffee-pot) 18%,
        transparent
      );
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    width: 100%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation a {
    width: 100%;
    padding: 0.9rem 0;
    display: block;
    font-size: 1rem;
  }

  /* Keine Hover-Unterstreichungen im mobilen Menü */

  .main-navigation a::after {
    display: none;
    content: none;
  }
}

/* Kleine Smartphones */

@media (max-width: 30rem) {
  .site-logo {
    font-size: 1.6rem;
  }
}

/* Reduzierte Animationen */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .main-navigation a::after,
  .menu-icon span {
    transition: none;
  }
}


/* Footer CSS */

.site-footer {
  width: 100%;
  margin-top: clamp(4rem, 10vw, 8rem);
  color: var(--color-white);
  background: var(--color-coffee-pot);
}

.footer-inner {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding:
    clamp(3rem, 7vw, 5rem)
    var(--page-padding)
    1.5rem;
}

/* Oberer Footer-Bereich */

.footer-main {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 3rem;
}

.footer-brand {
  max-width: 34rem;
}

.footer-logo {
  display: inline-block;
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.footer-logo span {
  color: var(--color-honeysuckle);
}

.footer-brand p {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  color: color-mix(
    in srgb,
    var(--color-white) 78%,
    transparent
  );
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer-Navigation */

.footer-navigation ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.footer-navigation a {
  position: relative;
  padding-block: 0.4rem;
  display: inline-block;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-honeysuckle);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.footer-navigation a:hover::after,
.footer-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Unterer Footer-Bereich */

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid
    color-mix(
      in srgb,
      var(--color-white) 18%,
      transparent
    );
}

.footer-bottom p {
  margin: 0;
  color: color-mix(
    in srgb,
    var(--color-white) 65%,
    transparent
  );
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-top-link span {
  color: var(--color-honeysuckle);
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.footer-top-link:hover span {
  transform: translateY(-3px);
}

/* Tastaturfokus */

.footer-logo:focus-visible,
.footer-navigation a:focus-visible,
.footer-top-link:focus-visible {
  outline: 3px solid var(--color-honeysuckle);
  outline-offset: 4px;
}

/* Smartphone und Tablet */

@media (max-width: 45rem) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-navigation ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-navigation a {
    padding-block: 0.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 1rem;
  }
}

/* Reduzierte Animationen */

@media (prefers-reduced-motion: reduce) {
  .footer-navigation a::after,
  .footer-top-link span {
    transition: none;
  }
}

/* =====================================================
   HAUPTINHALT
===================================================== */

main {
  overflow: hidden;
}

main > section {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

main h1,
main h2,
main h3,
main p {
  margin-top: 0;
}

main h1,
main h2,
main h3 {
  color: var(--color-text);
}

main h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

main h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.25;
}

main p {
  line-height: 1.7;
}


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

#hero {
  position: relative;
  min-height: clamp(34rem, 75vh, 48rem);
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(5rem, 12vw, 9rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  top: clamp(3rem, 8vw, 6rem);
  right: clamp(-12rem, -10vw, -5rem);
  z-index: -1;
  width: clamp(18rem, 45vw, 36rem);
  aspect-ratio: 1;
  background: var(--color-honeysuckle);
  border-radius:
    45% 55% 60% 40% /
    50% 40% 60% 50%;
  opacity: 0.2;
  transform: rotate(-12deg);
}

#hero::after {
  content: "";
  position: absolute;
  right: clamp(2rem, 8vw, 8rem);
  bottom: clamp(2rem, 5vw, 5rem);
  z-index: -1;
  width: clamp(8rem, 20vw, 15rem);
  aspect-ratio: 1;
  background: var(--color-baby-blue);
  border-radius: 50%;
  opacity: 0.65;
}

#hero > p:first-child {
  margin-bottom: 1.25rem;
  color: var(--color-coffee-pot);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#hero h1 {
  max-width: 58rem;
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

#hero h1::selection {
  background: var(--color-honeysuckle);
}

#hero h1 + p {
  max-width: 47rem;
  margin-bottom: 2rem;
  color: color-mix(
    in srgb,
    var(--color-text) 82%,
    transparent
  );
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

#hero > p:last-child {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#hero > p:last-child a {
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border: 2px solid var(--color-honeysuckle);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

#hero > p:last-child a:first-child {
  background: var(--color-honeysuckle);
}

#hero > p:last-child a:last-child {
  background: transparent;
}

#hero > p:last-child a:hover {
  background: var(--color-baby-blue);
  border-color: var(--color-baby-blue);
  transform: translateY(-2px);
}


/* =====================================================
   EINLEITUNG
===================================================== */

#intro {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 7rem);
  border-top: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 18%,
      transparent
    );
}

#intro h2 {
  margin-bottom: 0;
}

#intro p {
  margin-bottom: 0;
  padding-top: 0.4rem;
  color: color-mix(
    in srgb,
    var(--color-text) 78%,
    transparent
  );
  font-size: clamp(1rem, 2vw, 1.2rem);
}


/* =====================================================
   GEMEINSAME BEREICHSÜBERSCHRIFTEN
===================================================== */

#leistungen > header,
#projekte > header,
#arbeitsweise > header,
#ueber-uns > header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

#leistungen > header > p,
#projekte > header > p,
#arbeitsweise > header > p,
#ueber-uns > header > p {
  margin-bottom: 0.8rem;
  color: var(--color-coffee-pot);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#leistungen > header h2,
#projekte > header h2,
#arbeitsweise > header h2,
#ueber-uns > header h2 {
  max-width: 50rem;
  margin-bottom: 0;
}


/* =====================================================
   LEISTUNGEN
===================================================== */

#leistungen {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

#leistungen > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 20%,
      transparent
    );
  border-left: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 20%,
      transparent
    );
}

#leistungen article {
  min-height: 15rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-right: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 20%,
      transparent
    );
  border-bottom: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 20%,
      transparent
    );
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

#leistungen article:nth-child(1) {
  background: color-mix(
    in srgb,
    var(--color-honeysuckle) 14%,
    transparent
  );
}

#leistungen article:nth-child(2) {
  background: color-mix(
    in srgb,
    var(--color-baby-blue) 25%,
    transparent
  );
}

#leistungen article:nth-child(3) {
  background: color-mix(
    in srgb,
    var(--color-emerald-green) 14%,
    transparent
  );
}

#leistungen article:nth-child(4) {
  background: color-mix(
    in srgb,
    var(--color-coffee-pot) 8%,
    transparent
  );
}

#leistungen article:hover {
  background: var(--color-white);
  transform: translateY(-4px);
}

#leistungen article h3 {
  max-width: 22rem;
  margin-bottom: 1.25rem;
}

#leistungen article p {
  max-width: 29rem;
  margin-bottom: 0;
  color: color-mix(
    in srgb,
    var(--color-text) 75%,
    transparent
  );
}


/* =====================================================
   ETERNYX-PROJEKT
===================================================== */

#projekte {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

#projekte > article {
  position: relative;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-coffee-pot);
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
  isolation: isolate;
}

#projekte > article::after {
  content: "";
  position: absolute;
  right: clamp(-9rem, -8vw, -3rem);
  bottom: clamp(-10rem, -8vw, -4rem);
  z-index: -1;
  width: clamp(18rem, 40vw, 31rem);
  aspect-ratio: 1;
  background: var(--color-honeysuckle);
  border-radius: 50%;
  opacity: 0.22;
}

#projekte article > p:first-child {
  margin-bottom: 1rem;
  color: var(--color-honeysuckle);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#projekte article h3 {
  max-width: 47rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

#projekte article h3 + p {
  max-width: 48rem;
  color: color-mix(
    in srgb,
    var(--color-white) 82%,
    transparent
  );
  font-size: clamp(1rem, 2vw, 1.15rem);
}

#projekte dl {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid
    color-mix(
      in srgb,
      var(--color-white) 25%,
      transparent
    );
}

#projekte dl > div {
  padding: 1.5rem 1.5rem 0 0;
}

#projekte dt {
  margin-bottom: 0.5rem;
  color: var(--color-honeysuckle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#projekte dd {
  margin: 0;
  line-height: 1.5;
}

#projekte dd a {
  color: var(--color-white);
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

#projekte article > p:last-child {
  max-width: 48rem;
  margin: 2.5rem 0 0;
  color: color-mix(
    in srgb,
    var(--color-white) 62%,
    transparent
  );
}


/* =====================================================
   ARBEITSWEISE
===================================================== */

#arbeitsweise {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

#arbeitsweise ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  counter-reset: arbeitsschritt;
}

#arbeitsweise li {
  position: relative;
  padding-top: 5rem;
  counter-increment: arbeitsschritt;
  border-top: 2px solid var(--color-honeysuckle);
}

#arbeitsweise li::before {
  content: "0" counter(arbeitsschritt);
  position: absolute;
  top: 1.25rem;
  left: 0;
  color: var(--color-honeysuckle);
  font-size: 1rem;
  font-weight: 800;
}

#arbeitsweise li h3 {
  margin-bottom: 1rem;
}

#arbeitsweise li p {
  margin-bottom: 0;
  color: color-mix(
    in srgb,
    var(--color-text) 75%,
    transparent
  );
}


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

#ueber-uns {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 8vw, 7rem);
  background: color-mix(
    in srgb,
    var(--color-baby-blue) 24%,
    var(--color-background)
  );
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
}

#ueber-uns > header {
  margin-bottom: 0;
}

#ueber-uns > p {
  margin-bottom: 0;
  padding-top: 2rem;
  color: color-mix(
    in srgb,
    var(--color-text) 78%,
    transparent
  );
  font-size: clamp(1rem, 2vw, 1.2rem);
}


/* =====================================================
   KONTAKT
===================================================== */

#kontakt {
  padding-top: clamp(6rem, 12vw, 11rem);
  padding-bottom: clamp(6rem, 12vw, 11rem);
  text-align: center;
}

#kontakt h2 {
  max-width: 55rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

#kontakt > p:not(:last-child) {
  max-width: 43rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: color-mix(
    in srgb,
    var(--color-text) 78%,
    transparent
  );
  font-size: clamp(1rem, 2vw, 1.2rem);
}

#kontakt > p:last-child {
  margin-bottom: 0;
}

#kontakt > p:last-child a {
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background: var(--color-honeysuckle);
  border: 2px solid var(--color-honeysuckle);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

#kontakt > p:last-child a:hover {
  background: var(--color-baby-blue);
  border-color: var(--color-baby-blue);
  transform: translateY(-2px);
}


/* =====================================================
   FOKUSZUSTÄNDE
===================================================== */

#hero a:focus-visible,
#projekte a:focus-visible,
#kontakt a:focus-visible {
  outline: 3px solid var(--color-emerald-green);
  outline-offset: 4px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 55rem) {
  #intro,
  #ueber-uns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #intro p,
  #ueber-uns > p {
    max-width: 45rem;
    padding-top: 0;
  }

  #leistungen > div {
    grid-template-columns: 1fr;
  }

  #leistungen article {
    min-height: auto;
  }

  #projekte dl {
    grid-template-columns: 1fr;
  }

  #projekte dl > div {
    padding: 1.25rem 0;
    border-bottom: 1px solid
      color-mix(
        in srgb,
        var(--color-white) 18%,
        transparent
      );
  }

  #arbeitsweise ol {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   SMARTPHONE */

@media (max-width: 45rem) {
  #hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  #hero::before {
    top: 2rem;
    right: -10rem;
    opacity: 0.14;
  }

  #hero::after {
    display: none;
  }

  #hero > p:last-child {
    align-items: stretch;
    flex-direction: column;
  }

  #hero > p:last-child a {
    width: 100%;
  }

  #leistungen,
  #projekte,
  #arbeitsweise,
  #ueber-uns,
  #kontakt {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #projekte > article {
    border-radius: 1.25rem;
  }

  #ueber-uns {
    width: calc(100% - 2rem);
    padding-inline: 1.5rem;
  }
}


/* REDUZIERTE ANIMATIONEN */

@media (prefers-reduced-motion: reduce) {
  #hero > p:last-child a,
  #leistungen article,
  #kontakt > p:last-child a {
    transition: none;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.team-member {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns:
    minmax(15rem, 0.85fr)
    minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background: var(--color-white);
  border: 1px solid
    color-mix(
      in srgb,
      var(--color-coffee-pot) 18%,
      transparent
    );
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
}

/* Bei Bastian steht das Bild rechts */

.team-member:nth-child(even) {
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(15rem, 0.85fr);
}

.team-member:nth-child(even) .team-photo-placeholder,
.team-member:nth-child(even) img {
  order: 2;
}

.team-member:nth-child(even) .team-member-content {
  order: 1;
}

.team-photo-placeholder,
.team-member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: clamp(1rem, 2vw, 1.5rem);
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coffee-pot);
  background: color-mix(
    in srgb,
    var(--color-honeysuckle) 35%,
    var(--color-baby-blue)
  );
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.team-member:nth-child(2) .team-photo-placeholder {
  background: color-mix(
    in srgb,
    var(--color-emerald-green) 45%,
    var(--color-baby-blue)
  );
}

.team-member img {
  display: block;
  object-fit: cover;
}

.team-member-content {
  max-width: 35rem;
}

.team-role {
  margin-bottom: 0.65rem;
  color: var(--color-honeysuckle);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-member h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.team-member-content > p:last-child {
  margin-bottom: 0;
  color: color-mix(
    in srgb,
    var(--color-text) 75%,
    transparent
  );
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

@media (max-width: 45rem) {
  .team-member,
  .team-member:nth-child(even) {
    padding: 1.25rem;
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .team-member:nth-child(even) .team-photo-placeholder,
  .team-member:nth-child(even) img,
  .team-member:nth-child(even) .team-member-content {
    order: initial;
  }

  .team-photo-placeholder,
  .team-member img {
    aspect-ratio: 4 / 3;
  }
}