/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url(../img/topper.jpg);
  @supports (background-image: url(../img/topper.webp)) {
    background-image: url(../img/topper.webp);
  }
  background-repeat: no-repeat;
  background-size: cover;

  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  padding: 1rem;
  background-color: var(--lighttext);
  height: 5.2rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--lighttext);
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--accred);
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: var(--lighttext);
  background-color: var(--accred);
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: var(--background);
  color: var(--accred);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: var(--accred);
}

.icon-mobile-nav[src="icon/close-outline.svg"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  color: var(--text);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/**************************/
/* LanguageSwitch */
/**************************/

:lang(de) [data-de] {
  display: block;
}
:lang(de) [data-en] {
  display: none;
}

:lang(en) [data-en] {
  display: block;
}
:lang(en) [data-de] {
  display: none;
}
.logo-switch {
  display: flex;
  align-items: center;
}
.switch {
  background: var(--background);
  text-decoration: none;
  font-size: 1.2rem;
  margin-left: 1rem;
  padding: 0.5rem;
  overflow: hidden;
  border-style: none;
}
.switch:active {
  background-color: var(--accred);
}

/**************************/
/* hero */
/**************************/

.hero {
  background-color: var(--petroldark);
}

.start {
  height: 93vh;
}
.left-column,
.right-column {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-column {
  padding: 5rem;
  background-color: var(--petroldark);
  z-index: 2;
}

.right-column {
  position: relative;
  background-color: var(--petroldark);
  overflow: hidden;
}

.triangle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
}

.content {
  padding: 7rem;
  background-color: var(--lighttext);
  position: relative;
  z-index: 1;
  text-align: center;
  border-radius: 5rem;
}
.welcome-img {
  width: 20vw;
}
.hero-textklam {
  padding: 5rem;
  color: var(--lighttext);
  text-align: center;

  --s: 90px; /* the size on the corner */
  --t: 5px; /* the thickness of the border */
  --g: 40px; /* the gap between the border and image */

  padding: calc(var(--g) + var(--t));
  outline: var(--t) solid var(--accred); /* the color here */
  outline-offset: calc(-1 * var(--t));
  mask: conic-gradient(at var(--s) var(--s), #0000 75%, #000 0) 0 0 /
      calc(100% - var(--s)) calc(100% - var(--s)),
    conic-gradient(#000 0 0) content-box;
  transition: 0.4s;
  z-index: 1;
}

.slogan {
  font-size: 5.2rem;
  font-style: bold;
  line-height: 1.6;
  padding-bottom: 2rem;
  z-index: 1;
}
.headline {
  font-size: 3.6rem;
  font-style: bold;
  line-height: 1.6;
  padding-bottom: 5rem;
  z-index: 1;
}
.subline {
  font-size: 2rem;
  line-height: 1.6;
  z-index: 1;
}

/**************************/
/* Impressum */
/**************************/
.hero-impressum {
  background-color: var(--petroldark);
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.triangle-impressum {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
}

.imp-padding {
  margin: 15rem;
  padding: 5rem;
}
.impressum-text {
  font-size: 2.4rem;
  line-height: 1.2;
}
.impressum-text em {
  font-style: normal;
  font-weight: 500;
  padding: 1rem;
  line-height: 1.2;
}

/**************************/
/* Profile */
/**************************/

.port1 .port2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.port1 {
  position: relative;
  overflow: hidden;
}

.port2 {
  padding: 10rem;
}

.textklam {
  --s: 90px; /* the size on the corner */
  --t: 5px; /* the thickness of the border */
  --g: 40px; /* the gap between the border and image */

  padding: calc(var(--g) + var(--t));
  outline: var(--t) solid var(--accred); /* the color here */
  outline-offset: calc(-1 * var(--t));
  mask: conic-gradient(at var(--s) var(--s), #0000 75%, #000 0) 0 0 /
      calc(100% - var(--s)) calc(100% - var(--s)),
    conic-gradient(#000 0 0) content-box;
  transition: 0.4s;
}

.porttriangle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}
.portrait {
  /* margin: 0 -15rem -30rem 0; */
}
.portrait-img {
  width: 50%;
  border-radius: 5rem;
}
.portcontent {
  padding: 10rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.marketinghead {
  text-align: center;
  line-height: 1.6;
  font-size: 2.4rem;
  font-weight: 500;
  padding-bottom: 2rem;
}
.marketingtext {
  font-size: 1.8rem;
  line-height: 1.6;
  padding-bottom: 3rem;
}

.abouttext {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Modal-Hintergrund */

.cv_btn {
  color: var(--accred);
  background-color: var(--background);
  border: none;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 400;
  padding: 1rem;
  width: fit-content;
  cursor: pointer;
}

.cv_btn:hover,
.cv_btn:active {
  color: var(--petrol);
  /* border-bottom: 1px solid transparent; */
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  max-width: 80vw;
  max-height: 90vh;
  border-radius: 10px;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
}

.close_first-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
  font-size: 3rem;
}

.mas-grid-wrap {
  max-width: 1180px;
  margin: 3rem auto;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: var(--lighttext);
  background: var(--petroldark);
  line-height: 1.6;

  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 960px) {
  .mas-grid-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.mas-col {
  background: var(--background);
  border: 1px solid var(--petrol);
  border-radius: var(--accyellow);
  box-shadow: var(--petroldark);
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
}
.mas-col__head h3 {
  font-family: "Roboto Serif";
  margin: 0.25rem 0 0;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--petrol);
}
.mas-col__hint {
  margin: 0.2rem 0 0;
  color: var(--petrol);
  font-size: 1.8rem;
  font-weight: 600;
}

/* Timeline spine */
.mas-timeline {
  color: var(--petrol);
  position: relative;
  margin: 2rem 0 0 0;
  padding: 0.25rem 0 0 0;
}
.mas-timeline::before {
  content: "";
  position: absolute;
  left: 2.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accred), #fde7eb);
}

/* Items */
.mas-item {
  position: relative;
  list-style: none;
  margin: 0 0 1.1rem 0;
  padding-left: 7.6rem;
}
.mas-card {
  background: var(--background);
  border: 1px solid var(--lightdark);
  border-radius: calc(var(--mas-radius) - 4px);
  padding: 0.95rem 1rem 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.mas-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--mas-shadow);
  border-color: color-mix(in srgb, var(--petroldark) 50%, var(--petrol));
}

/* Kreativer Marker: Pulse-Ring + Mini-Icon */
.mas-marker {
  position: absolute;
  left: 1.4rem;
  top: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
}
.mas-marker::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;

  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--petroldark) 28%, transparent),
    transparent 70%
  );
  animation: mas-pulse 1.8s ease-out infinite;
}
.mas-marker .ring {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    var(--petroldark) 0 25%,
    var(--petrol) 25% 50%,
    var(--petroldark) 50% 75%,
    var(--petrol) 75% 100%
  );
  mask: radial-gradient(
    circle 1rem at center,
    transparent 0.5rem,
    var(--petroldark) 1rem
  );
  -webkit-mask: radial-gradient(
    circle 1rem at center,
    transparent 1.5rem,
    var(--petroldark) 2rem
  );
  box-shadow: 0 0 0 4px var(--background);
}
.mas-marker svg {
  background-color: var(--background);
  position: absolute;
  width: 3rem;
  height: 3rem;
  fill: var(--petrol);
  /* filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)); */
}
@keyframes mas-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.15);
    opacity: 0.1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* Typografie innerhalb der Card */
.mas-title {
  font-size: 2rem;
  color: var(--petrol);
  font-weight: 600;
  margin: 0.05rem 0 0.2rem;
  letter-spacing: 0.01em;
}
/* Deine Vorgabe: Zeilenumbruch nach Rolle + Zeitraum darunter als Badge (kleiner) */
.mas-period-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accred);
  background: color-mix(in srgb, var(--lighttext) 10%, #eaf5f5);
  border: 1px solid color-mix(in srgb, var(--lightgrey) 25%, #bfe4e6);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  user-select: text;
}
.mas-meta {
  display: block;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.mas-org {
} /* wie bisher */
.mas-location {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin-top: 0.15rem;
  padding-left: 0.1rem;
  opacity: 0.9;
}

.mas-desc {
  font-size: 1.4rem;
  margin: 0.25rem 0 0;
  color: color-mix(in srgb, var(--text) 82%, #333);
}

.mas-visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/**************************/
/* Service*/
/**************************/
.servicebox {
  background-color: rgba(230, 239, 240, 0.7);
  padding: 2rem;
  backdrop-filter: blur(9px);
}
.feature-text {
  padding: 0 4rem 4rem 4rem;
  color: var(--petrol);
  font-size: 1.6rem;
  line-height: 1.6;
}

.servicetriangle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 0% 100%, 50% 100%);
  z-index: -1;
}
.feature-cont {
  padding: 4rem;
  background-color: var(--background);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}
.feature {
  text-align: center;
  margin-top: 2rem;

  box-shadow: 82px 84px 112px 86px rgba(199, 199, 199, 0.06) inset;
  -webkit-box-shadow: 82px 84px 112px 86px rgba(199, 199, 199, 0.06) inset;
  -moz-box-shadow: 82px 84px 112px 86px rgba(199, 199, 199, 0.06) inset;
}
.feature-icon {
  font-family: "Glyphter";
  font-size: 3rem;
  line-height: 2rem;
  color: var(--accred);
  margin: 2rem 0;
  /* text-align: center; */
}

.feature-title {
  color: var(--text);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
  /* text-align: center; */
}

/**************************/
/* How does it works */
/**************************/

.advice {
}

.advicetriangle {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(50% 0, 100% 0, 100% 100%);
  z-index: -1;
}

.advicetriangle1 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(100% 0, 50% 100%, 100% 100%);
  z-index: -1;
}

.advicetriangle2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(50% 0, 0 100%, 0 0);
  z-index: -1;
}
.advicetriangle3 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.png");
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(50% 100%, 0 100%, 0 0);
  z-index: -1;
}

.how {
  padding: 2rem;
}

.icon-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.how-icon {
  width: 5rem;
  height: 5rem;
  color: #ef2545;
  /* flex: 0 0 3rem;
  overflow: hidden;
  white-space: nowrap; */
}

.overlay {
}

.headklam {
  width: 50vw;
  margin: 5rem auto 2rem auto;
}

.window {
  background-color: var(--background);
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 5rem;
}

.howbody {
  padding-bottom: 2rem;
  font-family: "Roboto Serif";
  font-size: 7.4rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  background-image: url(../img/hero.png);
  @supports (background-image: url(../img/hero.webp)) {
    background-image: url(../img/hero.webp);
  }
  background-size: cover;
  background-position: center;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.howtext {
  font-size: 2.4rem;
  font-weight: 600;
}

.boxes {
  padding: 5rem;
}
.box {
  padding: 2rem;
  background-color: rgba(230, 239, 240, 0.7);
  backdrop-filter: blur(9px);
}
.numbers {
  font-size: 4rem;
  font-weight: 600;
  font-family: "Roboto Serif";
  text-align: center;
  padding-bottom: 1rem;
}
.advicetext {
  font-size: 1.8rem;
  line-height: 1.2;
}

/**************************/
/* contact */
/**************************/

.contact {
  padding: 5rem;
  color: var(--lighttext);
}

.contact-content {
}
.contact-logo {
  padding: 1rem;
  background-color: var(--lighttext);
  height: 12rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.contact-text {
  font-family: "Roboto Serif";
  padding-top: 4rem;
  font-size: 2.8rem;
  padding-bottom: 1rem;
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  padding-bottom: 3rem;
  text-align: center;
}

.contact-subtext {
  text-align: center;
  font-size: 3.2rem;
  line-height: 1.2;
  padding-bottom: 2rem;
}

.contact-subtext em {
  align-self: center;
  font-size: 4.4rem;
  letter-spacing: 5px;
  font-family: "Roboto Serif";
  text-align: center;
  font-weight: 500;
  padding-bottom: 1rem;
  font-style: normal;
}

.ul-container {
  justify-content: center;
  display: flex;
}
.icon {
  justify-content: center;
  display: flex;
  width: 100%;
  padding: 2rem;
}
.icon img {
  width: 5rem;
  height: 5rem;
}

.icon:hover {
  background-color: var(--background);
  transition: all 0.4s;
}

/**************************/
/* footer */
/**************************/

.footer {
  color: var(--lighttext);
  background-image: url(../img/topper.jpg);
  @supports (background-image: url(../img/topper.webp)) {
    background-image: url(../img/topper.webp);
  }
}
.grid--footer {
  display: flex;
  justify-content: center;
  padding: 5rem;
  flex-direction: column;
}
.logo-container {
  padding-bottom: 2rem;
}
.footer-logo {
  height: 10rem;
  width: auto;
}
.text-container {
  text-align: center;
  font-size: 2rem;
}
.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  /* color: #767676; */
  margin-top: auto;
}

.footer a {
  padding: 1rem;
}
