@charset "UTF-8";
/*!
 Theme Name:  NASTAS Alwine Heyroth
 Template:    twentytwentyfive
 Description: Child-Theme für Onepager-Website nach PDF-Vorlage
 Author:      Winfried Schöttler (schoettler.com)
 Version:     1.0.0
 Text Domain: nasta_ah
*/
/* Schriftart einbinden */
@font-face {
  font-family: "Nunito  Sans";
  src: url("assets/fonts/Nunito-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Globale Angaben */
:root {
  --100p: var(--wp--preset--font-size--large);
  --120p: calc(var(--wp--preset--font-size--large) * 1.2);
  --125p: calc(var(--wp--preset--font-size--large) * 1.25);
  --150p: calc(var(--wp--preset--font-size--large) * 1.5);
  --175p: calc(var(--wp--preset--font-size--large) * 1.75);
  --200p: calc(var(--wp--preset--font-size--large) * 2);
  --225p: calc(var(--wp--preset--font-size--large) * 2.25);
  --250p: calc(var(--wp--preset--font-size--large) * 2.5);
  --275p: calc(var(--wp--preset--font-size--large) * 2.75);
  --300p: calc(var(--wp--preset--font-size--large) * 3);
  --350p: calc(var(--wp--preset--font-size--large) * 3.5);
  --400p: calc(var(--wp--preset--font-size--large) * 4);
  --500p: calc(var(--wp--preset--font-size--large) * 5);
  --600p: calc(var(--wp--preset--font-size--large) * 6);
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 10rem;
}
@media (max-width: 991.5px) {
  [id] {
    scroll-margin-top: 7rem;
  }
}

body {
  max-width: 1440px;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}

a {
  text-decoration: none;
  outline: none;
}
a:focus-visible {
  outline: 2px solid dimgray;
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

strong {
  font-weight: 600;
}

body.home header,
body.front-page header {
  opacity: 0;
  visibility: hidden;
  max-height: 128px !important;
}
body.home main,
body.front-page main {
  margin-top: -5rem !important;
}
body.home main .wp-block-post-title,
body.front-page main .wp-block-post-title {
  display: none;
}
body.home main h2,
body.front-page main h2 {
  text-transform: lowercase;
}

.scrolled header {
  opacity: 1 !important;
  visibility: visible !important;
  max-height: 128px !important;
  transition: opacity 1s ease, visibility 1s;
  text-transform: uppercase;
}
.scrolled header .desktop-header .wp-block-columns {
  height: 80px;
}
.scrolled header .desktop-header .wp-block-site-logo img.custom-logo {
  transform: scale(0.75);
}
@media (max-width: 991.5px) {
  .scrolled header .desktop-header .wp-block-site-logo img.custom-logo {
    transform: scale(0.375);
  }
}
.scrolled header .ah-sticky-header {
  position: relative;
}
.scrolled header .ah-sticky-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  margin-left: auto !important;
  margin-right: auto !important;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to top, rgba(240, 240, 240, 0), rgb(240, 240, 240));
  background: linear-gradient(to right, rgba(240, 240, 240, 0) 0%, rgb(240, 240, 240) 50%, rgba(240, 240, 240, 0) 100%);
  pointer-events: none;
}
.scrolled .ah-logo-section {
  opacity: 0;
}
.scrolled header {
  opacity: 1;
  visibility: visible;
  height: 128px;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s;
  text-transform: uppercase;
  /* Verhindert Umbruch in den Navigation-Spalten */
}
header .wp-block-columns {
  height: 128px;
  transition: height 1s ease;
}
header .wp-block-site-logo img.custom-logo {
  height: 128px;
  width: 128px;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 1s ease-in-out;
}
@media (max-width: 991.5px) {
  header .wp-block-site-logo img.custom-logo {
    height: 64px;
    width: 64px;
  }
}
@media (max-width: 991.5px) {
  header .desktop-header {
    display: none !important;
  }
  header .mobile-header {
    display: flex !important;
    margin: 0;
  }
  header .mobile-header .wp-block-columns {
    height: 72px;
  }
  header .mobile-header .wp-block-navigation-item {
    font-size: var(--100p) !important;
  }
}
@media (min-width: 992px) {
  header .mobile-header {
    display: none !important;
  }
  header .desktop-header {
    display: flex !important;
  }
}
@media (max-width: 991.5px) {
  header .wp-block-site-logo img.custom-logo {
    scale: 0.75;
  }
}
header .ah-header-left .wp-block-navigation,
header .ah-header-center .wp-block-navigation,
header .ah-header-right .wp-block-navigation {
  padding-top: var(--100p);
  font-size: var(--100p) !important;
}
header .ah-header-left {
  justify-content: left;
}
header .ah-header-center {
  display: flex;
  justify-content: center;
  /* horizontal zentrieren */
  align-items: center;
  /* vertikal zentrieren, falls nötig */
  z-index: 1;
  overflow: visible;
}
header .ah-header-right {
  justify-content: right;
}
header .ah-header-left,
header .ah-header-right {
  min-width: 0 !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
  position: relative;
  z-index: 10;
  /* Navigation-Container */
  /* Navigation-Links */
}
header .ah-header-left .wp-block-navigation,
header .ah-header-right .wp-block-navigation {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  min-width: max-content;
  gap: 2rem;
}
header .ah-header-left .wp-block-navigation__container,
header .ah-header-right .wp-block-navigation__container {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
header .ah-header-left .wp-block-navigation-item,
header .ah-header-right .wp-block-navigation-item {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

main h1 {
  font-size: var(--250p);
  font-weight: 300;
}
main h2 {
  padding-top: var(--100p);
  font-size: var(--175p);
  font-weight: 300;
  line-height: 1.25;
}
main h3 {
  padding-top: 1rem;
  font-size: var(--150p);
  font-weight: 300;
}
main .ah-logo-section {
  transition: opacity 1s ease-in-out;
}
main .ah-logo-section .ah-logo-image {
  width: clamp(0px, 50vw, 518px);
  height: auto;
}
main .ah-hero-section .ah-hero-images {
  width: 100vw;
  /* 100% der Viewport-Breite */
  position: relative;
  left: 50%;
  /* Verschiebt den Startpunkt nach links */
  transform: translateX(-50%);
  max-width: 1440px;
  margin: 0;
  padding: 0;
  padding-left: clamp(20px, 15vw, 216px);
}
main .ah-hero-section .ah-hero-images .ah-hero-image-bg {
  padding-left: --wp--style--root--padding-left;
  display: block;
}
main .ah-hero-section .ah-hero-images .ah-hero-image-bg img {
  width: clamp(0px, 55vw, 792px);
  height: auto;
}
main .ah-hero-section .ah-hero-images .ah-hero-image-fg {
  position: fixed;
  top: clamp(0.5rem, 3.5vw, 3rem);
  right: 0;
  width: clamp(0px, 36.25vw, 522px);
  z-index: 100;
}
main .ah-intro-section {
  padding-left: clamp(20px, 10vw, 144px);
  padding-right: clamp(20px, 10vw, 144px);
}
main .ah-intro-section .ah-intro-headline,
main .ah-intro-section .ah-intro-text,
main .ah-intro-section .ah-intro-text-narrow {
  text-align: center;
}
@media (min-width: 992px) {
  main .ah-intro-section .ah-intro-text-narrow {
    padding-left: clamp(0px, 7.5vw, 108px);
    padding-right: clamp(0px, 7.5vw, 108px);
  }
}
main .ah-services-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 30px;
  overflow: visible;
  position: relative;
  z-index: 1;
}
@media (max-width: 991.5px) {
  main .ah-services-section {
    flex: 0 1 100%;
    max-width: clamp(0%, 100%, 555px);
    margin-left: auto;
    margin-right: auto;
  }
}
main .ah-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(20px, 15vw, 216px);
  height: clamp(20px, 15vw, 216px);
  transform: translate(35%, -65%);
  background-image: url("assets/AH_Icon_362x362.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
main .ah-services-section .tile {
  flex: 0 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  padding: 40px;
  position: relative;
  aspect-ratio: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main .ah-services-section .tile .ah-more-content {
  display: none;
}
main .ah-services-section .tile.expanded {
  aspect-ratio: unset;
}
main .ah-services-section .tile.expanded .ah-more-content {
  display: block;
  padding-bottom: 4rem;
}
@media (max-width: 575.5px) {
  main .ah-services-section .tile.expanded {
    padding-bottom: 2rem;
  }
}
main .ah-services-section .tile ul {
  padding-left: 1.5rem;
}
@media (max-width: 575.5px) {
  main .ah-services-section .tile {
    aspect-ratio: unset;
    padding-bottom: 6rem;
  }
}
@media (max-width: 991.5px) {
  main .ah-services-section .tile {
    flex: 0 1 100%;
    max-width: 100%;
  }
}
main .ah-services-section .tile.tile-1 {
  background-color: #8890a4;
  color: #ffffff;
}
main .ah-services-section .tile.tile-2 {
  background-color: #cad3dc;
  color: #000000;
}
main .ah-services-section .tile.tile-3 {
  background-color: #d9e8d1;
  color: #000000;
}
main .ah-services-section .tile.tile-4 {
  background-color: #5f9e0f;
  color: #ffffff;
}
main .ah-services-section .tile h3 {
  font-size: var(--175p);
  text-transform: lowercase;
}
main .ah-services-section .tile .more-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
main .ah-services-section .tile .more-button a {
  font-size: var(--300p) !important;
}
main .ah-about-section {
  padding-left: clamp(20px, 6.67vw, 96px);
  padding-right: clamp(20px, 6.67vw, 96px);
  position: relative;
  overflow: visible;
  z-index: 0;
}
main .ah-about-section .ah-about-title {
  font-size: var(--225p);
  z-index: 0;
  position: relative;
}
main .ah-about-section .ah-about-image-container {
  position: relative;
  overflow: visible;
  width: 100vw;
  /* 100% der Viewport-Breite */
  left: 50%;
  /* Verschiebt den Startpunkt nach links */
  transform: translateX(-50%);
  max-width: 1440px;
  margin: 0;
  padding-top: var(--600p);
  padding-right: clamp(20px, 15vw, 216px);
  padding-bottom: var(--350p);
  padding-left: 0%;
}
main .ah-about-section .ah-about-image-container .ah-about-image {
  position: sticky;
  left: 0;
  width: clamp(0px, 83.33vw, 1200px);
  z-index: 100;
}
main .ah-about-section .ah-about-image-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  width: 100%;
  aspect-ratio: 2440/2521;
  background-image: url("assets/AH_Muster_2440x2521.jpg");
  background-size: cover;
  /* skaliert das Bild, um das Element auszufüllen */
  background-position: center;
  /* zentriert das Bild */
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
  /* hinter den Inhalt legen */
}
main .ah-about-section .ah-about-content-2columns .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
main .ah-about-section .ah-about-content-2columns h3 {
  text-transform: uppercase;
  font-size: var(--100p);
  padding-top: var(--200p);
}
main .ah-about-section .ah-about-content-2columns .wp-block-column {
  flex: 1 1 300px;
  padding: 0;
}
main .ah-about-section .ah-about-content-2columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
main .ah-about-section .ah-about-content-2columns ul li {
  position: relative;
  padding-left: 1.5em;
  margin: 0;
  line-height: 1.25;
}
main .ah-about-section .ah-about-content-2columns ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  font-weight: 600;
}

footer {
  padding-top: 3rem;
  padding-bottom: 4rem;
  padding-left: clamp(20px, 6.67vw, 96px);
  padding-right: clamp(20px, 6.67vw, 96px);
  color: white;
  background-color: #74808b;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* Statt height: 100% → sichert die Höhe des Footers */
  left: 50%;
  width: 100vw;
  background-color: #74808b;
  transform: translateX(-50%);
  z-index: -1;
}
footer a:focus-visible {
  outline: 2px solid lightgray;
}
footer .ah-footer {
  padding: 20px;
}
footer .ah-footer h3 {
  font-size: var(--200p);
  text-transform: lowercase;
  font-weight: 300;
  padding-top: 2rem;
}
@media (max-width: 1199.5px) {
  footer .ah-footer h3 {
    font-size: 2rem;
  }
}
footer .ah-footer .ah-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}
footer .ah-footer .ah-content .ah-brand,
footer .ah-footer .ah-content .ah-contact {
  flex: 1 1 max(40%, 300px);
}
footer .ah-footer .ah-content .ah-services {
  flex: 1 1 max(20%, 300px);
}
footer .ah-footer .ah-services {
  text-transform: lowercase;
}
footer .ah-footer .ah-section-title {
  border-bottom: 1.5rem;
}
footer .ah-footer .ah-section-item {
  margin: 0;
}
footer .ah-footer .ah-separator {
  margin: 4rem 0 3rem 0;
  border-bottom: 5px solid currentColor;
  border-radius: 5px;
  /* Leichte Rundung */
}
footer .ah-footer .ah-copyright {
  font-size: 1rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.wp-block-navigation__responsive-container-open {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-open > * {
  display: none;
}
.wp-block-navigation__responsive-container-open::after {
  content: "";
  display: block;
  width: 24px;
  height: 16px;
  position: relative;
  background: linear-gradient(to bottom, currentColor 0, currentColor 2px, transparent 2px, transparent 7px, currentColor 7px, currentColor 9px, transparent 9px, transparent 14px, currentColor 14px, currentColor 16px);
}
.wp-block-navigation__responsive-container-open::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 2px;
  background-color: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  transition: all 1s ease;
}
.wp-block-navigation__responsive-container-open::after {
  display: none;
}
.wp-block-navigation__responsive-container-open:hover, .wp-block-navigation__responsive-container-open:focus, .wp-block-navigation__responsive-container-open:focus-visible, .wp-block-navigation__responsive-container-open:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.wp-block-navigation__responsive-container-open:hover::before, .wp-block-navigation__responsive-container-open:focus::before, .wp-block-navigation__responsive-container-open:focus-visible::before, .wp-block-navigation__responsive-container-open:active::before {
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}
.wp-block-navigation button:focus-visible, .wp-block-navigation button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.is-menu-open .wp-block-navigation__responsive-dialog {
  margin-top: 1.5rem !important;
  margin-right: 0.5rem !important;
}

/*# sourceMappingURL=style.css.map */
