* {
  margin: 0;
  padding: 0;
}




/* =========================================================================
                                   Colors
/* =========================================================================*/


:root {
  --vanta-black: #000000;
  --vanta-white: #ffffff;
  --vanta-gray: #191919;
  --vanta-error: #bc0d43;
  --vanta-success: #33845C;
}


body {
  background: var(--vanta-black);
}






/* =========================================================================
                                 Typography
/* =========================================================================*/



@font-face {
  font-family: "VantaSerif";
  src: 
  url("../assets/fonts/Gentium_Plus/GentiumPlus-Regular.woff2") format("woff2"),
  url("../assets/fonts/Gentium_Plus/GentiumPlus-Regular.ttf") format("truetype");
  font-display: fallback;
}

@font-face {
  font-family: "VantaMont";
  src:
    url("../assets/fonts/Montserrat/Montserrat.woff2") format("woff2"),
    url("../assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: fallback;
}




html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}



body {
  font-family: "VantaMont", helvetica;
  font-weight: 250;
  color: var(--vanta-white);

}

.heading-XL {
font-family: "VantaSerif", Georgia, serif;
font-size: 4rem;
font-style: normal;
font-weight: 400;
line-height: 1.2;
letter-spacing: 0.01em;
margin-bottom: 0.75em;
}


.heading-L {
font-family: "VantaSerif", Georgia, serif;
font-size: 3rem;
font-style: normal;
font-weight: 400;
line-height: 1.2;
letter-spacing: 0.01em;
margin-bottom: 1em;
}

.heading-S {
font-family: "VantaMont", helvetica;
font-size: 1.3rem;
font-style: normal;
font-weight: 250;
line-height: 1.87;
margin-bottom: 0.667em;
text-transform: uppercase;
letter-spacing: 0.07em;
}


.text-M {
font-family: "VantaMont", helvetica;
font-size: 1.5rem;
font-style: normal;
font-weight: 250;
line-height: 1.87;
letter-spacing: 0.015em;
margin-bottom: 0.667em;
}

.text-S {
font-family: "VantaMont", helvetica;
font-size: 1.2rem;
font-style: normal;
font-weight: 250;
line-height: 1.87;
letter-spacing: 0.03em;
margin-bottom: 0.667em;
}

a {
  color: var(--vanta-white);
}




.heading-XL, .heading-L, .text-M {
  opacity: 0;
  transition: opacity 2.2s ease, font-size 0.5s ease;
}


.heading-XL.animated, .heading-L.animated, .text-M.animated {
  opacity: 1;

}


/* ---------- Responsive ---------- */

@media (max-width: 700px) { 

  .heading-XL {
  font-size: 30px;
  line-height: 32px;
}

.text-M {
line-height: 1.52;
}


}


/* =========================================================================
                               Accessibility
/* =========================================================================*/


/* Nur für Screenreader: visuell versteckt, bleibt aber im Accessibility-Tree */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* Skip-Link: ausserhalb des Bildes, erscheint bei Tastaturfokus oben links */
.skip-link {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  padding: 1rem 2rem;
  background: var(--vanta-white);
  color: var(--vanta-black);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3.33em;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--vanta-white);
  outline-offset: 3px;
}

/* main bekommt per Skip-Link den Fokus, braucht dafür aber keinen sichtbaren Rahmen */
main:focus {
  outline: none;
}



/* =========================================================================
                                   Buttons
/* =========================================================================*/



button {
  appearance: none;
  -webkit-appearance: none;

  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;

  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;

  cursor: pointer;
}



.button {
  outline: 1px solid var(--vanta-white);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  border-radius: 3.33em;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  padding-left: 2.5em;
  padding-top: 0.04em;
  padding-bottom: 0.04em;
  box-sizing: border-box;
  transition: all 0.3s ease;
  width: fit-content;
  cursor: pointer;
  z-index: 1;
  background-color: var(--vanta-black);
  text-decoration: none;
  color: var(--vanta-white);
  align-self: start;
}

.button::after {
  content: "";
  display: block;
  height: 3.33em;
  width: 3.33em;
  border-radius: 50%;
  outline: 1px solid var(--vanta-white);
  background: url(../assets/arrow.svg);
  background-size: 180%;
  background-repeat: no-repeat;
  background-position-Y: center;
  background-position-X: 132%;
  transition: all 1s cubic-bezier(0.173, -0.024, 0, 1.003);
  background-color: var(--vanta-black);

}



.button-highlight {
  display: flex;
  width: fit-content;
  position: relative;
  align-self: start;
  pointer-events: all;
}

.button-highlight::after {
  font-size: 1.4rem;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 90px;
  transition: all 0.25s ease;
  outline: 1px solid var(--vanta-white);
}


/* Tastaturfokus: immer.
   :focus-visible statt :focus, damit der Zustand nach einem Tap/Klick nicht hängen bleibt */
.button:focus-visible::after {
  background-position-x: 0%;
}

.button-highlight:has(.button:focus-visible)::after {
  top: -0.57em;
  left: -0.57em;
  bottom: -0.57em;
  right: -0.57em;
  background: var(--vanta-gray);
  outline-width: 2px;
}

/* Hover: nur auf Geräten mit echter Maus, sonst "klebt" er nach dem Antippen */
@media (hover: hover) {
  .button:hover::after {
    background-position-x: 0%;
  }

  .button-highlight:has(.button:hover)::after {
    top: -0.57em;
    left: -0.57em;
    bottom: -0.57em;
    right: -0.57em;
    background: var(--vanta-gray);
  }
}



/* =========================================================================
                                   Inputs
/* =========================================================================*/


#message-field {
  grid-column: span 2;

}

.hp-field {
  display: none;
}


label {
  font-family: "VantaMont", helvetica;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 250;
  line-height: 1.87;
  letter-spacing: 0.012em;
  margin-bottom: 0.667em;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 0.667em;

}


input, textarea {
  appearance: none;
  -webkit-appearance: none;

  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;

  font: inherit;
  line-height: inherit;
}



input, textarea {
  width: 100%;
  box-sizing: border-box;
  display: block;

  font-family: "VantaMont", helvetica;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 250;
  line-height: 1.87;
  letter-spacing: 0.012em;
  color: var(--vanta-white);

  padding: 0.8em 1.5em; 
  margin-bottom: 3rem;
  border: 1px solid var(--vanta-white);

  resize: vertical;
  transition: background 0.3s ease;
}

textarea {
  min-height: 30rem;
}

/* iOS zoomt automatisch ins Feld, wenn die Schrift kleiner als 16px ist.
   Auf Touch-Geräten daher mindestens 16px (Zoomen bleibt sonst erlaubt). */
@media (pointer: coarse) {
  input,
  textarea {
    font-size: max(16px, 1.5rem);
  }
}




input::placeholder,
textarea::placeholder {
  color: var(--vanta-white);
  opacity: 0.5;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--vanta-white);
  background: var(--vanta-gray);
}

@media (hover: hover) {
  input:hover,
  textarea:hover {
    background: var(--vanta-gray);
  }
}






.field-error, .form-msg {
  display: none;
}

.field.has-error .field-error{
  display: block;
}


.field-error, .form-msg {
  background: var(--vanta-error);
  box-sizing: border-box;
  transform: translateY(-1.5rem);
  
  font-family: "VantaMont", helvetica;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 250;
  line-height: 1.87;
  letter-spacing: 0.012em;
  margin-bottom: 3rem;
  color: var(--vanta-white);

  padding: 0.5em 1.5em;
}


.form-msg.show {
  display: block;
}

.form-msg {
  grid-column: span 2;
}

.form-msg.ok {
  display: block;
  background-color: var(--vanta-success);
}

/*---------------responsive---------------*/

@media (max-width: 1100px) {

    input, textarea {
        padding: 0.5em 1em;
    }

    .field-error, .form-msg {
      padding: 0.5em 1em;
    }
}


/* =========================================================================
                               Grid & Sections
/* =========================================================================*/


:root {
  --section-padding: 15rem;
  --grid-gutter: 3rem;
  --grid-max-width: 120rem;
  --grid-padding: 5rem;
}



section, .section {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 0px var(--section-padding);
  flex-direction: column;
  transition: all 1s ease;
}


.container-in-grid {
  box-sizing: border-box;
  max-width: var(--grid-max-width);
  padding: 0rem var(--grid-padding);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gutter);
  width: 100%;
}

.container-full-width {
  box-sizing: border-box;
  flex-grow: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gutter);
  padding: 0rem var(--grid-padding);
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {

  :root {
  --section-padding: 10rem;
}

.container-in-grid {
  grid-template-columns: repeat(6, 1fr);
  column-gap: 10px;
  padding: 0px 30px;
}

.container-full-width {
  grid-template-columns: repeat(6, 1fr);
  column-gap: 10px;
  padding: 0px 30px;
}

}


/* =========================================================================
                               Header
/* =========================================================================*/

/* .sticky-element ist kein <header> mehr (sondern <nav>),
   teilt sich aber die Grundregeln mit dem Header */
header, .sticky-element {
  width: 100%;
  height: auto;
  background: linear-gradient(
    0deg,
    transparent 0%,
    var(--vanta-black) 43%
  );
  display: flex;
  justify-content: center;
  padding: 3.5rem 0px 8rem;
  position: fixed;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 4s ease;
}


header.animated, .sticky-element.animated {
  opacity: 1;
}



.header-logo {
  width: 120px;
  height: auto;
  display: block;
  grid-column: span 4;
  justify-self: center;
}



header .button-highlight {
  grid-column: span 4;
  justify-self: end;
}

header .button::after,
.sticky-element .button::after {
  transform: rotate(90deg);
}



.socials-wrapper {
  grid-column: span 4;
  display: flex;
  gap: 4rem;
}


.social-link-header {
  pointer-events: all;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: fit-content;

}

.social-icon {
  width: 1.4em;
  height: 1.4em;
  display: inline-block;
  margin-right: 0.7em ;
}

.social-instagram {
  background-image: url(../assets/instagram.svg);
}

.social-tiktok {
  background-image: url(../assets/tiktok.svg);
}

.social-link-header:focus-visible {
  text-decoration: underline;
}

@media (hover: hover) {
  .social-link-header:hover {
    text-decoration: underline;
  }
}

/*-------------responsive-------------*/


@media (max-width: 700px) {

header, .sticky-element {
  padding-top: 2.3rem;
}

  .header-logo {
    grid-column: span 12;
    width: 100px;
  }

  .socials-wrapper {
    display: none;
  }

  header .button-highlight {
    display: none;
}


}


/* =========================================================================
                               Sticky Element
/* =========================================================================*/


.sticky-element {
  display: none;
}


/*-------------responsive-------------*/

@media (max-width: 700px) {


.sticky-element {
  display: block;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--vanta-black) 43%
  );
  position: fixed;
  z-index: 100;
  padding: 4rem 0 2.5rem;
  bottom: 0;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.sticky-element.is-hidden {
  opacity: 0;
  visibility: hidden;          /* nimmt Buttons auch aus der Tab-Reihenfolge und dem Accessibility-Tree */
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.sticky-element.is-hidden * {
  pointer-events: none !important;   /* .button-highlight hat pointer-events: all */
}



.socials-wrapper-sticky {
  grid-column: span 3;
  display: flex;
  gap: 1rem;
}


.sticky-element .button-highlight { 
  grid-column: span 3;
  justify-self: end;
  display: block;
}

.social-link-sticky {
  width: 5rem;
  height: 5rem;
  background-size: 3rem;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: all;
}

.social-link-sticky-instagram {
  background-image: url(../assets/instagram.svg);
}

.social-link-sticky-tiktok {
  background-image: url(../assets/tiktok.svg);
}



}


/* =========================================================================
                               Hero Section
/* =========================================================================*/


.hero-section {
  padding-bottom: 20px;
  padding-top: 120px;
}

.hero-image-holder {
  width: 100%;
  grid-column: span 12;
  display: flex;
  justify-content: center;
}


.hero-image-animator {
  width: 20%;
  display: grid;
  grid-template-columns: 0.4fr 1fr 1fr 3fr 1fr 1fr 0.4fr;
  transition: width 1.7s cubic-bezier(0, 0.509, 0.307, 1.017);
}

.hero-image-animator.animated {
  width: 100%;
}


.symbol-wrapper {
  width: 0px;
  height: 500px;
  justify-self: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 300px;
  isolation: isolate;
}

.symbol-wrapper > img {
  position: relative;
  z-index: 1;
}



.symbol-shadow-left,
.symbol-shadow-right {
  top: 0;
  bottom: 0;
  height: auto;
  width: 12vw;
  min-width: 120px;
  position: absolute;
  z-index: 0;
}

.symbol-shadow-left {
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--vanta-black) 60%
  );
}

.symbol-shadow-right {
  transform: translateX(50%);
  background: linear-gradient(
    to left,
    transparent 0%,
    var(--vanta-black) 60%
  );
}


.portrait-wrapper {
  z-index: 3;
}

.symbol-lvl-2 {
  z-index: 2;
}

.symbol-lvl-1 {
  z-index: 1;
}

.symbol-graphic {
  width: 12vw;
  max-width: 140px;
}

.symbol-circle {
  width: 25px;
}


.symbol-portrait {
  width: 500px;
  height: auto;
  transform: scale(0.4);
  transition: transform 1.8s cubic-bezier(0.049, 0.563, 0, 1.003);
}

.symbol-portrait.animated {
  transform: scale(0.7);
}


.symbol-left {
  transform: rotateY(50deg);
  transition: transform 4s cubic-bezier(0, 0.509, 0.307, 1.017), opacity 0.5s ease;
  opacity: 0;
}


.symbol-left.animated {
  transform: rotateY(0deg);
  opacity: 1;
}

.symbol-right {
  transform: rotateY(-50deg);
  transition: transform 4s cubic-bezier(0, 0.509, 0.307, 1.017), opacity 0.5s ease;
  opacity: 0;
}

.symbol-right.animated {
  transform: rotateY(0deg);
  opacity: 1;
}


/* ---------- Responsive ---------- */



@media (min-width: 2000px) {
  .hero-image-animator.animated {
    width: 1200px;
  }

}


@media (min-width: 1500px) {
  .hero-image-animator.animated {
    width: 70%;
  }

}



@media (min-width: 1100px) {
  .hero-image-animator.animated {
    width: 80%;
  }

  .symbol-portrait.animated {
    transform: scale(1.1);
  }

}


@media (min-width: 800px) {
  .symbol-portrait.animated {
    transform: scale(0.9);
  }
}

@media (min-width: 1200px) {
  .symbol-portrait.animated {
    transform: scale(1.1);
  }

}





@media (max-width: 700px) {


.hero-section {
  padding-top: 16rem;
  padding-bottom: 4rem;
}

.hero-image-holder {
  grid-column: span 6;
}


.hero-image-animator {
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 3fr 1fr;
  grid-auto-flow: column;
  row-gap: 0px;
}


.hero-image-animator.animated  {
  width: 100%;

}

.symbol-wrapper {
  width: fit-content;
  height: fit-content;
}

.symbol-wrapper.portrait-wrapper {
  height: 0;
  grid-row: span 2;
  align-self: center;
  width: 0;
}

.symbol-graphic {
  width: 15vw;
}

.symbol-portrait {
  width: 90vw;
}

.symbol-wrapper:nth-child(6) {
  align-self: end;

}


.symbol-wrapper:nth-child(3),
.symbol-wrapper:nth-child(6) {
  transform: translateY(-10vw);

}


.symbol-portrait.animated {
  transform: scale(0.9)translateY(-30px);
}

.symbol-shadow-left,
.symbol-shadow-right {
  display: none;

}

.symbol-lvl-3 {
  display: none;
}

}





/* =========================================================================
                                 Intro-text
/* =========================================================================*/

.inro-text h1{
  grid-column: 3 / span 8;
  text-align: center;
}

.inro-text h2{
  grid-column: 3 / span 8;
  text-align: center;
}

.inro-text p {
  grid-column: 3 / span 8;
  text-align: center;
}

/* ---------- Responsive ---------- */


@media (max-width: 700px) { 

.inro-text h1{
  grid-column: 1 / span 6;
  text-align: center;
}

.inro-text p {
  grid-column: 1 / span 6;
  text-align: center;
}


.field {
  grid-column: span 2;
}

}


/* =========================================================================
                       Video-Slider "Das Neueste von mir"
/* =========================================================================*/

.latest {
  padding-bottom: calc(var(--section-padding) + 2rem);
}

.vcarousel {
  width: 100%;
  position: relative;
}


/* ---------- Kopfzeile: Titel links, Steuerung rechts ---------- */

.vcarousel-head {
  margin-inline: auto;     /* gleiche Rasterposition wie die anderen Sections */
  align-items: end;
  margin-bottom: 5rem;
}

.latest h2 {
  grid-column: 1 / span 6;
  margin-bottom: 0;
}

.vcarousel-controls {
  grid-column: 7 / span 6;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2rem;
}



/* Steuerung ausblenden, wenn alles auf einmal sichtbar ist */
.gpt-carousel-static .vcarousel-controls {
  visibility: hidden;
}


/* ---------- Pfeil-Buttons ----------
   Gleiche Logik wie .button / .button-highlight:
   - ::after  = der eigentliche Kreis mit Pfeil (bleibt schwarz)
   - ::before = Umrandung dahinter, die beim Hover nach aussen wächst
                und grau hinterlegt wird
   ------------------------------------------------------------- */

:root {
  --ring-gap: 0.8rem;      /* entspricht 0.57em bei .button-highlight */
}

.vcarousel-arrow {
  position: relative;
  isolation: isolate;
  /* gleiche Grösse wie der Kreis im Senden-Button (.button::after: 3.33em bei --text-M) */
  width: 3.99531rem;
  height: 3.99531rem;
  flex: 0 0 auto;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.vcarousel-arrow::before,
.vcarousel-arrow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  outline: 1px solid var(--vanta-white);
  outline-offset: -1px;
}

/* Umrandung (Hintergrund-Element) */
.vcarousel-arrow::before {
  inset: 0;
  z-index: 0;
  transition: all 0.25s ease;
}

/* Kreis mit Pfeil */
.vcarousel-arrow::after {
  inset: 0;
  z-index: 1;
  background-color: var(--vanta-black);
  background-image: url(../assets/arrow.svg);
  /* gleiche Skalierung/Position wie beim .button::after (Senden-Button) */
  background-size: 180%;
  background-repeat: no-repeat;
  background-position: 132% center;
  transition: background-position 1s cubic-bezier(0.173, -0.024, 0, 1.003);
}

.vcarousel-arrow--prev::after {
  transform: scaleX(-1);
}

.vcarousel-arrow:focus-visible::before {
  inset: calc(var(--ring-gap) * -1);
  background: var(--vanta-gray);
}

@media (hover: hover) {
  .vcarousel-arrow:not([aria-disabled="true"]):hover::before {
    inset: calc(var(--ring-gap) * -1);
    background: var(--vanta-gray);
  }
}

.vcarousel-arrow:focus-visible::after {
  background-position: 0% center;  /* linker Pfeil gleitet herein */
}

@media (hover: hover) {
  .vcarousel-arrow:not([aria-disabled="true"]):hover::after {
    background-position: 0% center;  /* linker Pfeil gleitet herein */
  }
}

.vcarousel-arrow:focus-visible {
  outline: none;
}

.vcarousel-arrow:focus-visible::before {
  outline-width: 2px;
}

.vcarousel-arrow[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
}


/* ---------- Dots ---------- */

.vcarousel-dots {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.vcarousel-dot {
  --dot-size: 1.4rem;
  --dot-ring-gap: 0.5rem;  /* kleiner als bei den Pfeilen, passend zur Punktgrösse */

  position: relative;
  isolation: isolate;
  width: 2.6rem;           /* grosse Klickfläche (min. 24px), kleiner sichtbarer Punkt */
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

/* Punkt */
.vcarousel-dot::after {
  content: "";
  position: relative;
  z-index: 1;
  width: var(--dot-size);
  height: var(--dot-size);
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--vanta-white);
  background: var(--vanta-black);
  transition: background-color 0.3s ease;
}

/* Umrandung dahinter, wächst beim Hover nach aussen (wie .button-highlight) */
.vcarousel-dot::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: var(--dot-size);
  height: var(--dot-size);
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--vanta-white);
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
}

.vcarousel-dot:focus-visible::before {
  width: calc(var(--dot-size) + 2 * var(--dot-ring-gap));
  height: calc(var(--dot-size) + 2 * var(--dot-ring-gap));
  background: var(--vanta-gray);
}

@media (hover: hover) {
  .vcarousel-dot:hover::before {
    width: calc(var(--dot-size) + 2 * var(--dot-ring-gap));
    height: calc(var(--dot-size) + 2 * var(--dot-ring-gap));
    background: var(--vanta-gray);
  }
}

.vcarousel-dot.gpt-carousel-dot-active::after {
  background: var(--vanta-white);
}

.vcarousel-dot:focus-visible {
  outline: none;
}

.vcarousel-dot:focus-visible::before {
  border-width: 2px;
}


/* ---------- Track: startet im Raster, läuft rechts aus dem Bild ---------- */

.vcarousel-track {
  --track-inset: max(var(--grid-padding), calc((100% - var(--grid-max-width)) / 2 + var(--grid-padding)));
  --slides-visible: 3;

  display: flex;
  gap: var(--grid-gutter);
  padding-left: var(--track-inset);
  padding-right: var(--track-inset);
  cursor: grab;

  /* Organische Übergänge beim Ändern der Fenstergrösse */
  transition: gap 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Natives Scrollen mit Einrasten (Touch, Trackpad) */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-inset);
  overscroll-behavior-x: contain;   /* kein "Zurück"-Wischen des Browsers */
  scrollbar-width: none;
}

.vcarousel-track::-webkit-scrollbar {
  display: none;
}

.vcarousel-track > .vslide {
  scroll-snap-align: start;
  /* Slides wachsen/schrumpfen beim Resizen weich mit */
  transition: flex-basis 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Während mit der Maus gezogen wird, kein Einrasten */
.gpt-carousel-nosnap .vcarousel-track {
  scroll-snap-type: none;
}

.gpt-carousel-dragging .vcarousel-track {
  cursor: grabbing;
}

.vcarousel-track:focus-visible {
  outline: 1px solid var(--vanta-white);
  outline-offset: -1px;
}


/* ---------- Einzelne Slide: 9:16 Hochformat ---------- */

.vslide {
  position: relative;
  flex: 0 0 calc((100% - (var(--slides-visible) - 1) * var(--grid-gutter)) / var(--slides-visible));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(200deg, #000000 0%, #121212 45%, #343434 100%);
}

.vslide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  cursor: pointer;
  /* Verlauf bleibt stehen, das Video blendet darüber ein, sobald es bereit ist */
  opacity: 0;
  filter: saturate(0.3);   /* entsättigt, solange nicht abgespielt wird */
  transition: opacity 0.8s ease, filter 0.6s ease;
}

.vslide.is-loaded .vslide-video {
  opacity: 1;
}

/* Volle Sättigung beim Abspielen, beim Hover und bei Tastaturfokus */
.vslide.is-playing .vslide-video,
.vslide:focus-within .vslide-video {
  filter: none;
}

@media (hover: hover) {
  .vslide:hover .vslide-video {
    filter: none;
  }
}

/* Schwarzer Verlauf von unten nach oben, verschwindet beim Abspielen */
.vslide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0) 75%
  );
  transition: opacity 0.6s ease;
}

.vslide.is-playing .vslide-shade {
  opacity: 0;
}

/* Zusätzliche Abdunklung: liegt über dem Verlauf und wird oben nicht mehr
   ganz transparent. Greift bei allen ANDEREN Video-Slides, solange
   ein Video läuft. */
.vslide-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vcarousel-track:has(.vslide.is-playing) .vslide:not(.is-playing) .vslide-shade::after {
  opacity: 1;
}

/* Ganze Slide ist klickbar */
.vslide:not(.vslide--placeholder) {
  cursor: pointer;
}

/* Logo-Wasserzeichen (links) und Videolänge (rechts) */
.vslide-meta {
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.vslide-logo {
  width: 2.5rem;
  height: auto;
  display: block;
  opacity: 0.3;
}

.vslide-duration {
  font-family: "VantaMont", helvetica;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;   /* Ziffern springen beim Runterzählen nicht */
  color: var(--vanta-white);
  opacity: 0.9;
}

/* Text-Button "Play/Pause" (Tastatur) liegt unten mittig -> Meta kurz ausblenden */
.vslide:has(.vslide-play:focus-visible) .vslide-meta {
  opacity: 0;
}

/* Fortschrittslinie am unteren Rand */
.vslide-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 4;
  background: var(--vanta-white);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Timeline nur beim gerade laufenden Video */
.vslide.is-playing .vslide-progress {
  opacity: 1;
}


/* ---------- Play / Pause ---------- */

.vslide-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  isolation: isolate;
  width: 5rem;
  height: 5rem;
  margin: -3.6rem 0 0 -3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--vanta-white);
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.vslide-play::before,
.vslide-play::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  outline: 1px solid var(--vanta-white);
  outline-offset: -1px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Umrandung, die beim Hover nach aussen wächst */
.vslide-play::before {
  inset: 0;
  z-index: -2;
  transition: all 0.25s ease;
}

/* Kreis */
.vslide-play::after {
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.45);
}

.vslide-play svg {
  width: 2.8rem;
  height: 2.8rem;
}

.vslide-play-icon {
  display: flex;
}

.vslide-play-text {
  display: none;
}


/* ---------- Text-Variante "Play" / "Pause" ----------
   Nur bei Tastaturfokus: statt des Kreis-Icons ein Text-Button am
   unteren Bildrand. (Screenreader lesen den Text "Play – Titel" immer
   vor, unabhängig davon, was visuell angezeigt wird.)
   ---------------------------------------------------------- */

.vslide-play:focus-visible {
  top: auto;
  bottom: 3rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.9rem 2.4rem;
  transform: translateX(-50%);
  border-radius: 999px;
  font-family: "VantaMont", helvetica;
  font-size: 1.5rem;
  font-weight: 250;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vslide-play:focus-visible::before,
.vslide-play:focus-visible::after {
  border-radius: 999px;
}

.vslide-play:focus-visible .vslide-play-icon {
  display: none;
}

.vslide-play:focus-visible .vslide-play-text {
  display: block;
}


.vslide-play:focus-visible::before {
  inset: calc(var(--ring-gap) * -1);
  background: rgba(25, 25, 25, 0.7);
}

/* Hover-Ring erscheint, sobald irgendwo über der Slide gehovert wird.
   Nur auf Geräten mit echtem Hover (sonst "klebt" er nach dem Antippen). */
@media (hover: hover) {
  .vslide:hover .vslide-play::before {
    inset: calc(var(--ring-gap) * -1);
    background: rgba(25, 25, 25, 0.7);
  }
}

.vslide-play:focus-visible {
  outline: none;
}

.vslide-play:focus-visible::before {
  outline-width: 2px;
}

/* Sichtbarkeit des Play/Pause-Buttons
   - Touch-Geräte (kein Hover): Play-Icon auf allen pausierten Slides;
     während der Wiedergabe kein Button (erneutes Antippen pausiert).
   - Geräte mit Maus: grundsätzlich ausgeblendet, nur bei Hover sichtbar.
     Während der Wiedergabe nur kurz nach einer Mausbewegung (.show-controls,
     wird von slider.js nach 2 Sekunden Stillstand wieder entfernt).
   - Tastaturfokus zeigt den Button immer. */
.vslide.is-playing .vslide-play {
  opacity: 0;
}

@media (hover: hover) {
  .vslide-play {
    opacity: 0;
  }

  .vslide:not(.is-playing):hover .vslide-play,
  .vslide.is-playing.show-controls .vslide-play {
    opacity: 1;
  }

  /* Mauszeiger verschwindet ebenfalls, solange man nur zuschaut */
  .vslide.is-playing:not(.show-controls),
  .vslide.is-playing:not(.show-controls) * {
    cursor: none;
  }
}

.vslide .vslide-play:focus-visible {
  opacity: 1;
}

/* Video konnte nicht geladen werden -> Verlauf bleibt sichtbar */
.vslide--error .vslide-video,
.vslide--error .vslide-play {
  display: none;
}


/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .vcarousel-track {
    --slides-visible: 2;
  }
}

@media (max-width: 700px) {
  .vcarousel-head {
    margin-bottom: 3rem;
    row-gap: 2rem;
  }

  .latest h2 {
    grid-column: 1 / span 6;
  }

  .vcarousel-controls {
    grid-column: 1 / span 6;
    justify-self: start;
    gap: 1.2rem;
  }

  /* Navigation visuell ausblenden (gewischt wird per Finger).
     Bewusst NICHT display:none: Screenreader- und Tastatur-Nutzer brauchen
     die Buttons weiterhin, um zu den anderen Videos zu kommen. Sobald ein
     Button per Tastatur fokussiert wird, erscheint die Navigation wieder. */
  .vcarousel-controls:not(:focus-within) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .vslide-meta {
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.6rem;
  }

  .vslide-logo {
    width: 1.8rem;
  }

  .vslide-duration {
    font-size: 1.1rem;
  }

  /* Play-Button ca. 30% kleiner */
  .vslide-play {
    width: 5rem;
    height: 5rem;
    margin: -2.5rem 0 0 -2.5rem;
  }

  .vslide-play svg {
    width: 2rem;
    height: 2rem;
  }

  .vcarousel-track {
    --track-inset: 30px;
    gap: 20px;   /* Abstand zwischen den Slides auf Mobile */
  }

  /* eine Slide ganz, die nächste schaut rechts herein */
  .vcarousel-track .vslide {
    flex-basis: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vcarousel-track,
  .vcarousel-track > .vslide,
  .vslide-video,
  .vslide-shade,
  .vcarousel-arrow,
  .vcarousel-arrow::before,
  .vcarousel-arrow::after,
  .vslide-play,
  .vslide-play::before,
  .vcarousel-dot::before,
  .vcarousel-dot::after {
    transition: none;
  }
}


/* =========================================================================
                                   Manifesto
/* =========================================================================*/



.manifesto .manifesto_quote {
  grid-column: span 6;
}



.manifesto .manifesto_textwrapper {
  grid-column: span 6;
  padding-top: 0.5rem;
}


/*----------responsive------------*/

@media (max-width: 800px) {

  .manifesto .manifesto_quote {
  grid-column: span 12;
}



.manifesto .manifesto_textwrapper {
  grid-column: span 12;
  padding-top: 0.5rem;
}


}




/* =========================================================================
                               Contact
/* =========================================================================*/

.contact h2 {
  grid-column: span 12;
}

.contact form {
  grid-column: span 12;
}

.contact .field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--grid-gutter);
  padding-bottom: 2rem;
}


#jump-contact-section {
  scroll-margin-top: 20rem;
}

/* Bekommt per JS den Fokus, braucht aber keinen sichtbaren Rahmen */
#jump-contact-section:focus {
  outline: none;
}

@media (max-width: 700px) {
  #jump-contact-section {
    scroll-margin-top: 14rem;
  }
}

/* =========================================================================
                              Footer
/* =========================================================================*/


footer {
  padding: 2rem 0 3rem;
}

footer .footer-infos {
  grid-column: span 12;
  display: flex;
  gap: 4rem;
  margin-bottom: 0;
  position: relative;

}

footer a {
  text-decoration: none;
}

footer a:focus-visible {
  text-decoration: underline;
}

@media (hover: hover) {
  footer a:hover {
    text-decoration: underline;
  }
}

footer .footer-legal {
  position: absolute;
  right: 0;
  bottom: 0;
}

.socials-wrapper-footer {
  gap: calc(0rem + 1vw);
  margin-bottom: 3rem ;
  display: none;
}

.social-icon-footer-mobile {
        width: 5rem;
        height: 5rem;
        background-size: 3rem;
        background-repeat: no-repeat;
        background-position: center;
}

.social-icon-footer-instagram {
  background-image: url(../assets/instagram.svg);
}

.social-icon-footer-tiktok {
  background-image: url(../assets/tiktok.svg);
}


/*------------------responsive------------------*/
@media (max-width: 700px) {
  footer .footer-infos {
    flex-direction: column;
    gap: 0.3rem;
  }

  footer .year {
    margin-bottom: 2rem;
  }

  .socials-wrapper-footer {
    display: flex;
  }

}


/* =========================================================================
                              Reduced Motion
/* =========================================================================*/

/* Wer im System "Bewegung reduzieren" eingestellt hat, bekommt die
   Endzustände sofort, ohne Einflug-, Dreh- und Zoom-Animationen. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  header,
  .sticky-element,
  .skip-link,
  .heading-XL,
  .heading-L,
  .text-M,
  .hero-image-animator,
  .symbol-portrait,
  .symbol-left,
  .symbol-right,
  .button,
  .button::after,
  .button-highlight::after,
  section,
  .section {
    transition: none;
  }
}