/* =========================================================
   VARIABLES
========================================================= */

:root {
  --bg: #101014;
  --bg2: #15151b;
  --header: #3b3b3d;
  --text: #f5f5f5;
  --muted: #bdbdc5;
  --yellow: #ebba00;

  --border-yellow:
    rgba(235, 186, 0, 0.48);

  --border-white:
    rgba(255, 255, 255, 0.08);
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  padding-top: 98px;

  background: var(--bg);

  color: var(--text);

  font-family:
    "geom-graphic",
    Arial,
    Helvetica,
    sans-serif;

  font-weight: 400;

  line-height: 1.6;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width:
    min(
      1120px,
      calc(100% - 40px)
    );

  margin-inline: auto;
}


/* =========================================================
   FIXED HEADER
========================================================= */

.legal-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: var(--header);

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.28);
}

.legal-header::after {
  content: "";

  position: absolute;

  top: 100%;
  left: 0;

  width: 100%;
  height: 55px;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.36),
      rgba(0, 0, 0, 0.15) 50%,
      transparent
    );
}

.legal-header-topline {
  width: 100%;
  height: 8px;

  background: var(--yellow);
}

.legal-nav {
  position: relative;

  z-index: 3;

  height: 90px;

  display: flex;

  align-items: center;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.legal-back {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color:
    rgba(255, 255, 255, 0.82);

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing:
    0.06em;

  transition:
    color 0.25s ease;
}

.legal-back-icon {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    rgba(235, 186, 0, 0.55);

  border-radius: 50%;

  background:
    rgba(235, 186, 0, 0.05);

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* =========================================================
   CUSTOM BACK ARROW SVG
========================================================= */

.legal-back-arrow {
  display: block;

  width: 19px;
  height: 19px;

  max-width: none;

  object-fit: contain;

  filter:
    invert(76%)
    sepia(89%)
    saturate(1486%)
    hue-rotate(4deg)
    brightness(98%)
    contrast(101%);

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}


.legal-back-text {
  transition:
    transform 0.25s ease;
}

.legal-back:hover {
  color: var(--yellow);
}

.legal-back:hover
.legal-back-icon {
  background: var(--yellow);

  border-color: var(--yellow);

  transform:
    translateX(-3px);

  box-shadow:
    0 7px 22px
    rgba(235, 186, 0, 0.18);
}

.legal-back:hover
.legal-back-arrow {
  filter:
    brightness(0)
    saturate(100%);

  transform:
    translateX(-2px);
}

.legal-back:hover
.legal-back-text {
  transform:
    translateX(2px);
}


/* =========================================================
   HEADER LOGO
========================================================= */

.legal-brand {
  position: absolute;

  top: 0;

  left: 50%;

  z-index: 5;

  transform:
    translateX(-50%);
}

.legal-brand-shape {
  width: 370px;
  height: 106px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--yellow);

  clip-path:
    polygon(
      8% 0,
      92% 0,
      84% 100%,
      16% 100%
    );
}

.legal-brand-shape img {
  width: 215px;
}


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

.legal-hero {
  position: relative;

  overflow: hidden;

  padding:
    125px
    0
    110px;

  background:
    radial-gradient(
      circle at 77% 18%,
      rgba(235, 186, 0, 0.16),
      transparent 35%
    ),

    radial-gradient(
      circle at 20% 90%,
      rgba(235, 186, 0, 0.05),
      transparent 32%
    ),

    linear-gradient(
      135deg,
      #101014,
      #16161c 60%,
      #252111
    );
}

.legal-hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 150px;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      transparent,
      #101014
    );
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
}


/* =========================================================
   KICKER
========================================================= */

.legal-kicker-row {
  display: flex;

  align-items: flex-end;

  gap: 22px;

  margin-bottom: 27px;
}

.legal-kicker {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 18px;

  font-weight: 300;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    0.04em;
}

.legal-kicker-line {
  width: 110px;
  height: 4px;

  margin-bottom: 1px;

  background: var(--yellow);

  border-radius: 999px;
}


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

.legal-hero h1 {
  margin: 0;

  max-width: 1050px;

  color: #ffffff;

  font-size:
    clamp(
      65px,
      8vw,
      108px
    );

  font-weight: 400;

  line-height: 0.9;

  text-transform: uppercase;

  letter-spacing:
    -0.04em;

  overflow-wrap: anywhere;
}

.legal-intro {
  max-width: 650px;

  margin:
    28px
    0
    0;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.legal-content-section {
  padding:
    20px
    0
    110px;

  background: #101014;
}

.legal-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    360px;

  gap: 30px;

  align-items: start;
}


/* =========================================================
   MAIN CARD
========================================================= */

.legal-card {
  min-width: 0;

  padding:
    5px
    45px
    45px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      transparent 30%
    ),
    #15151a;

  border:
    1px solid
    var(--border-yellow);

  box-shadow:
    0 30px 75px
    rgba(0, 0, 0, 0.3);
}


/* =========================================================
   LEGAL BLOCK
========================================================= */

.legal-block {
  padding:
    37px
    0;

  border-bottom:
    1px solid
    var(--border-white);
}

.legal-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-label {
  margin:
    0
    0
    10px;

  color: var(--yellow);

  font-size: 10px;

  font-weight: 700;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    0.1em;
}

.legal-block h2 {
  margin:
    0
    0
    18px;

  color: #ffffff;

  font-size: 27px;

  font-weight: 600;

  line-height: 1.1;

  text-transform: uppercase;

  overflow-wrap: anywhere;
}


/* =========================================================
   ANBIETER TITLE
========================================================= */

.legal-card-title {
  margin:
    0
    0
    18px;

  color: #ffffff;

  font-size: 27px;

  font-weight: 600;

  line-height: 1.12;

  text-transform: uppercase;

  letter-spacing:
    -0.015em;
}

.legal-nowrap {
  display: inline-block;

  white-space: nowrap;
}


/* =========================================================
   TEXT
========================================================= */

.legal-block p {
  margin:
    0
    0
    15px;

  color:
    rgba(255, 255, 255, 0.7);

  font-size: 14px;

  line-height: 1.7;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block strong {
  color: #ffffff;
  font-weight: 600;
}

.legal-block a {
  color: var(--yellow);

  overflow-wrap: anywhere;

  transition:
    opacity 0.25s ease;
}

.legal-block a:hover {
  opacity: 0.72;
}

.legal-block code {
  padding:
    2px
    5px;

  background:
    rgba(255, 255, 255, 0.08);

  color: #ffffff;

  border-radius: 4px;

  font-family:
    monospace;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.legal-highlight {
  margin-top: 20px;

  padding:
    17px
    20px;

  border-left:
    4px solid
    var(--yellow);

  background:
    rgba(235, 186, 0, 0.06);
}

.legal-highlight p {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.78);
}


/* =========================================================
   IMPRESSUM STICKY CONTACT CARD
========================================================= */

.legal-side-card {
  position: sticky;

  top: 128px;

  width: 100%;

  max-width: 360px;

  padding:
    42px
    30px
    34px;

  border:
    1px solid
    rgba(235, 186, 0, 0.58);

  background:
    radial-gradient(
      circle at 72% 0%,
      rgba(235, 186, 0, 0.1),
      transparent 42%
    ),

    linear-gradient(
      180deg,
      #17171c,
      #090c11
    );

  box-shadow:
    0 30px 70px
    rgba(0, 0, 0, 0.32);

  overflow: hidden;
}

.legal-side-kicker {
  margin:
    0
    0
    24px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 13px;

  font-weight: 700;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    0.045em;
}

.legal-side-card h2 {
  width: 100%;

  margin:
    0
    0
    28px;

  color: #f4f4f4;

  font-size:
    clamp(
      27px,
      2vw,
      32px
    );

  font-weight: 800;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    -0.02em;

  white-space: nowrap;
}

.legal-side-text {
  margin:
    0
    0
    32px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 14px;

  line-height: 1.65;
}

.legal-side-button {
  width: 100%;

  min-height: 60px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  padding:
    16px
    18px;

  border: 0;

  border-radius: 11px;

  background: var(--yellow);

  color: #111111;

  font-family: inherit;

  font-size: 11px;

  font-weight: 800;

  line-height: 1.1;

  text-align: left;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.legal-side-button:hover {
  background: #f5c92a;

  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(235, 186, 0, 0.2);
}

.legal-side-button span:first-child {
  min-width: 0;
}

.legal-side-button-arrow {
  flex-shrink: 0;

  font-size: 18px;

  font-weight: 400;

  transition:
    transform 0.25s ease;
}

.legal-side-button:hover
.legal-side-button-arrow {
  transform:
    translate(
      3px,
      -3px
    );
}


/* =========================================================
   DATENSCHUTZ STICKY SETTINGS CARD
========================================================= */

.privacy-settings-card {
  position: sticky;

  top: 128px;

  width: 100%;

  max-width: 360px;

  padding:
    42px
    30px
    34px;

  border:
    1px solid
    rgba(235, 186, 0, 0.58);

  background:
    radial-gradient(
      circle at 72% 0%,
      rgba(235, 186, 0, 0.1),
      transparent 42%
    ),

    linear-gradient(
      180deg,
      #17171c,
      #090c11
    );

  box-shadow:
    0 30px 70px
    rgba(0, 0, 0, 0.32);

  overflow: hidden;
}

.privacy-settings-eyebrow {
  margin:
    0
    0
    24px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 13px;

  font-weight: 700;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    0.045em;
}

.privacy-settings-title {
  width: 100%;

  max-width: 100%;

  margin:
    0
    0
    28px;

  color: #f4f4f4;

  font-size:
    clamp(
      24px,
      1.8vw,
      30px
    );

  font-weight: 800;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing:
    -0.025em;

  white-space: nowrap;
}

.privacy-settings-text {
  margin:
    0
    0
    32px;

  color:
    rgba(255, 255, 255, 0.68);

  font-size: 14px;

  line-height: 1.65;
}

.privacy-settings-button {
  width: 100%;

  min-height: 60px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  padding:
    16px
    18px;

  border: 0;

  border-radius: 11px;

  background: var(--yellow);

  color: #111111;

  font-family: inherit;

  font-size: 11px;

  font-weight: 800;

  line-height: 1.1;

  text-align: left;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.privacy-settings-button:hover {
  background: #f5c92a;

  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(235, 186, 0, 0.2);
}

.privacy-settings-button span:first-child {
  min-width: 0;
}

.privacy-settings-button span:last-child {
  flex-shrink: 0;

  font-size: 18px;

  font-weight: 400;

  transition:
    transform 0.25s ease;
}

.privacy-settings-button:hover
span:last-child {
  transform:
    translate(
      3px,
      -3px
    );
}


/* =========================================================
   LEGAL BUTTON
========================================================= */

.legal-button {
  width: 100%;

  min-height: 48px;

  padding:
    13px
    17px;

  display: inline-flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  border:
    1px solid
    var(--yellow);

  border-radius: 7px;

  background: var(--yellow);

  color: #111111;

  font-size: 10px;

  font-weight: 700;

  line-height: 1;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.legal-button:hover {
  background: transparent;

  color: var(--yellow);

  transform:
    translateY(-2px);
}

.legal-button-inline {
  width: auto;

  justify-content: center;

  margin-top: 5px;

  padding-inline: 21px;
}


/* =========================================================
   FOOTER
========================================================= */

.legal-footer {
  padding:
    34px
    0;

  background: #353537;

  border-top:
    5px solid
    var(--yellow);
}

.legal-footer-inner {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 30px;
}

.legal-footer-logo {
  width: 145px;

  max-height: 70px;

  object-fit: contain;
}

.legal-footer-inner > p {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.52);

  font-size: 10px;

  font-weight: 600;

  text-align: center;

  text-transform: uppercase;
}

.legal-footer-links {
  display: flex;

  justify-content: flex-end;

  align-items: center;

  flex-wrap: wrap;

  gap: 20px;
}

.legal-footer-links a,
.legal-footer-links button {
  padding: 0;

  border: 0;

  background: transparent;

  color:
    rgba(255, 255, 255, 0.68);

  font-family: inherit;

  font-size: 9px;

  font-weight: 700;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    color 0.25s ease;
}

.legal-footer-links a:hover,
.legal-footer-links button:hover,
.legal-footer-links .is-active {
  color: var(--yellow);
}


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

@media (max-width: 860px) {

  body {
    padding-top: 82px;
  }

  .container {
    width:
      min(
        680px,
        calc(100% - 28px)
      );
  }

  .legal-header-topline {
    height: 6px;
  }

  .legal-nav {
    height: 76px;
  }

  .legal-brand-shape {
    width: 280px;
    height: 91px;
  }

  .legal-brand-shape img {
    width: 170px;
  }

  .legal-hero {
    padding:
      110px
      0
      90px;
  }

  .legal-kicker {
    font-size: 16px;
  }

  .legal-kicker-line {
    width: 85px;
    height: 3px;
  }

  .legal-layout {
    grid-template-columns:
      1fr;
  }

  .legal-side-card {
    position: static;

    max-width: 100%;

    padding:
      42px
      38px;
  }

  .legal-side-card h2 {
    font-size:
      clamp(
        34px,
        6vw,
        50px
      );

    white-space: normal;
  }

  .legal-side-text {
    max-width: 500px;
    font-size: 16px;
  }

  .legal-side-button {
    max-width: 430px;
  }

  .privacy-settings-card {
    position: static;

    max-width: 100%;

    padding:
      42px
      38px;
  }

  .privacy-settings-title {
    font-size:
      clamp(
        30px,
        5vw,
        42px
      );

    white-space: nowrap;
  }

  .privacy-settings-text {
    max-width: 500px;
    font-size: 16px;
  }

  .privacy-settings-button {
    max-width: 430px;
  }

  .legal-footer-inner {
    grid-template-columns:
      1fr;

    justify-items: center;

    text-align: center;

    gap: 20px;
  }

  .legal-footer-links {
    justify-content: center;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

  body {
    padding-top: 74px;
  }

  .container {
    width:
      calc(100% - 28px);
  }

  .legal-nav {
    height: 68px;
  }

  .legal-brand-shape {
    width: 215px;
    height: 82px;
  }

  .legal-brand-shape img {
    width: 138px;
  }


  /* BACK */

  .legal-back {
    gap: 0;
  }

  .legal-back-text {
    display: none;
  }

  .legal-back-icon {
    width: 34px;
    height: 34px;
  }

  .legal-back-arrow {
    width: 17px;
    height: 17px;
  }


  /* HERO */

  .legal-hero {
    padding:
      95px
      0
      72px;
  }

  .legal-kicker-row {
    gap: 12px;

    margin-bottom: 21px;
  }

  .legal-kicker {
    font-size: 13px;
  }

  .legal-kicker-line {
    width: 50px;
    height: 3px;
  }

  .legal-hero h1 {
    max-width: 100%;

    font-size:
      clamp(
        32px,
        9.8vw,
        46px
      );

    line-height: 0.95;

    letter-spacing:
      -0.045em;

    white-space: nowrap;

    overflow-wrap: normal;

    word-break: normal;
  }

  .legal-intro {
    margin-top: 21px;

    font-size: 14px;
  }


  /* CONTENT */

  .legal-content-section {
    padding-bottom: 72px;
  }

  .legal-card {
    padding:
      3px
      20px
      28px;
  }

  .legal-block {
    padding:
      29px
      0;
  }

  .legal-block h2 {
    font-size: 21px;
  }

  .legal-block p {
    font-size: 13px;
  }


  /* ANBIETER TITLE */

  .legal-card-title {
    font-size: 19px;

    line-height: 1.15;

    letter-spacing:
      -0.02em;
  }

  .legal-nowrap {
    display: inline-block;

    white-space: nowrap;
  }


  /* IMPRESSUM CARD */

  .legal-side-card {
    padding:
      32px
      22px
      34px;
  }

  .legal-side-kicker {
    margin-bottom: 18px;

    font-size: 12px;
  }

  .legal-side-card h2 {
    margin-bottom: 22px;

    font-size:
      clamp(
        28px,
        10vw,
        38px
      );

    white-space: normal;
  }

  .legal-side-text {
    margin-bottom: 28px;

    font-size: 15px;

    line-height: 1.6;
  }

  .legal-side-button {
    max-width: none;

    min-height: 58px;

    padding:
      15px
      17px;

    font-size: 10px;
  }


  /* DATENSCHUTZ CARD */

  .privacy-settings-card {
    padding:
      32px
      22px
      34px;
  }

  .privacy-settings-eyebrow {
    margin-bottom: 18px;

    font-size: 12px;
  }

  .privacy-settings-title {
    margin-bottom: 22px;

    font-size:
      clamp(
        24px,
        7.6vw,
        31px
      );

    line-height: 1;

    white-space: nowrap;
  }

  .privacy-settings-text {
    margin-bottom: 28px;

    font-size: 15px;

    line-height: 1.6;
  }

  .privacy-settings-button {
    max-width: none;

    min-height: 58px;

    padding:
      15px
      17px;

    font-size: 10px;
  }


  /* FOOTER */

  .legal-footer {
    padding:
      30px
      0;
  }

  .legal-footer-logo {
    width: 130px;
  }

}
/* =========================================================
   DATENSCHUTZ + IMPRESSUM - YELLOW LINE FADE STYLE
========================================================= */

.legal-kicker-line {
  background:
    linear-gradient(
      90deg,
      var(--yellow) 0%,
      rgba(235, 186, 0, 0.55) 55%,
      rgba(235, 186, 0, 0.15) 82%,
      transparent 100%
    ) !important;
}