@font-face {
  font-family: "Roboto";
  src: url("Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

    :root {
      --accent: #089ba9;
      --text: #222222;
      --transition: 1250ms cubic-bezier(0.22, 1, 0.36, 1);
      --mobile-header-height: 66px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    body {
      font-family: "Roboto", Arial, sans-serif;
      background: #000;
      color: var(--text);
      overscroll-behavior: none;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 50;
      width: 100%;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 2rem;
      padding: clamp(1rem, 2.2vw, 2rem);
      pointer-events: none;
    }

    .site-logo,
    .site-links a {
      pointer-events: auto;
    }

    .site-logo img {
      display: block;
      width: clamp(90px, 11vw, 250px);
      height: auto;
    }

    .site-links {
      display: flex;
      align-items: center;
      gap: clamp(1rem, 2vw, 2rem);
      padding-top: 0.2rem;
    }

    .site-links a {
      font-size: clamp(0.72rem, 0.9vw, 0.9rem);
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      text-decoration: none;
      text-shadow: 0 0 24px rgba(255, 255, 255, 1), 0 0 52px rgba(255, 255, 255, 1);
    }

    .site-links a:hover {
      color: var(--accent);
    }

    .language-link svg {
      display: block;
      width: 30px;
      height: auto;
      box-shadow:
        0 0 8px rgba(255, 255, 255, 0.75),
        0 0 20px rgba(255, 255, 255, 0.45);
	border-radius: 4px;
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }

    .split-page {
      position: fixed;
      inset: -2px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      height: 100dvh;
      overflow: hidden;
      background: #000;
    }

    .side {
      position: relative;
      height: 100%;
      overflow: hidden;
      background: #000;
    }

    .track {
      position: absolute;
      inset: 0;
      will-change: transform;
      transition: transform var(--transition);
    }

    .panel {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
      padding: clamp(1.5rem, 4vw, 5rem);
      overflow: hidden;
      background-repeat: no-repeat;
      background-size: 200% 100%;
    }

    .side-left .panel {
      background-position: left center;
    }

    .side-right .panel {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-position: right center;
    }

    .panel[data-bg="sokrates"] {
      background-image: url("img/1.jpg");
    }

    .panel[data-bg="wiebke"] {
      background-image: url("img/2.jpg");
    }

    .panel[data-bg="schwein"] {
      background-image: url("img/3.jpg");
    }

    .panel[data-bg="zahn"] {
      background-image: url("img/4.jpg");
    }

    .panel[data-bg="lightbulb"] {
      background-image: url("img/5.jpg");
    }

    .panel[data-bg="stoerche"] {
      background-image: url("img/6.jpg");
    }

    .panel[data-bg="siegessaeule"] {
      background-image: url("img/7.jpg");
    }

    .panel::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      /*background:
        linear-gradient(
          90deg,
          rgba(255, 255, 255, 0.52) 0%,
          rgba(255, 255, 255, 0.3) 34%,
          rgba(255, 255, 255, 0.08) 68%,
          rgba(255, 255, 255, 0) 100%
        ); */
    }

    .side-right .panel::before {
     /* background:
        linear-gradient(
          270deg,
          rgba(8, 155, 169, 0.2),
          rgba(8, 155, 169, 0)
        ); */
    }

    .side-right .panel.has-right-text::before {
    /*  background:
        linear-gradient(
          270deg,
          rgba(255, 255, 255, 0.62) 0%,
          rgba(255, 255, 255, 0.38) 38%,
          rgba(255, 255, 255, 0.1) 72%,
          rgba(255, 255, 255, 0) 100%
        ); */
    }

    .content-card {
      position: relative;
      z-index: 1;
      max-width: 820px;
      padding: 0;
      background: transparent;
      box-shadow: none;
      opacity: 0;
      transform: translateY(28px);
      transition:
        opacity 550ms ease,
        transform 1250ms ease;
    }

    .panel.is-active .content-card {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 300ms;
    }

    .section-icon {
      display: none !important;
      width: auto;
      max-width: 170px;
      max-height: 140px;
      margin-bottom: 1.25rem;
      object-fit: contain;
    }

    .mobile-visual-icon {
      display: none;
    }

    .mobile-text-only {
      display: none;
    }

    .desktop-right-text {
      max-width: 760px;
    }

    .text-right-panel {
      justify-content: flex-end;
      text-align: left;
    }

    .right-panel.text-right-panel {
      justify-content: flex-end;
      text-align: left;
    }

    .right-panel.text-right-panel .content-card,
    .right-panel.text-right-panel .supertitle,
    .right-panel.text-right-panel h1,
    .right-panel.text-right-panel p,
    .right-panel.text-right-panel .contact-lines {
      text-align: left;
    }

    .supertitle {
      margin-bottom: 0.65rem;
      font-size: clamp(0.85rem, 1.1vw, 1.15rem);
      font-weight: 500;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--accent);
      text-shadow:
        0 0 12px rgba(255, 255, 255, 0.9),
        0 0 26px rgba(255, 255, 255, 0.75);
    }

    h1 {
      position: relative;
      display: inline-block;
      margin-bottom: 1.35rem;
      padding-bottom: 0.95rem;
      font-size: clamp(2rem, 3.55vw, 4rem);
      line-height: 1;
      font-weight: 900;
      letter-spacing: normal;
      color: var(--text);
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.8),
        0 0 34px rgba(255, 255, 255, 0.65);
    }

    h1::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: min(100%, 320px);
      height: 4px;
      background: var(--accent);
      box-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 24px rgba(255, 255, 255, 0.65);
    }

    p {
      max-width: 760px;
      font-size: clamp(0.95rem, 1.22vw, 1.15rem);
      line-height: 1.65;
      font-weight: 400;
      color: var(--text);
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.82),
        0 0 34px rgba(255, 255, 255, 0.68);
    }

    .contact-lines {
      margin-top: 1rem;
      font-size: clamp(0.95rem, 1.22vw, 1.15rem);
      line-height: 1.65;
      color: var(--text);
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.82),
        0 0 34px rgba(255, 255, 255, 0.68);
    }

    .desktop-right-text .supertitle,
    .desktop-right-text h1,
    .desktop-right-text p,
    .desktop-right-text .contact-lines {
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.82),
        0 0 34px rgba(255, 255, 255, 0.68);
    }

    .contact-lines a {
      color: var(--text);
      text-decoration-color: var(--accent);
      text-underline-offset: 0.2em;
    }

    .right-panel {
      justify-content: center;
      color: rgba(255, 255, 255, 0.86);
      text-align: center;
    }

    .testimonial-slider {
      position: relative;
      max-width: 760px;
      margin-top: 0;
    padding-top: 0;
      border-top: 0px solid rgba(8, 155, 169, 0.45);
      overflow: hidden;
    }

    .testimonial-track {
      display: flex;
      transition: transform 520ms ease;
      will-change: transform;
    }

    .testimonial-slide {
      flex: 0 0 100%;
      padding-right: 1rem;
    }

    .testimonial-quote {
      font-size: clamp(0.9rem, 1.1vw, 1.05rem);
      line-height: 1.55;
      font-weight: 400;
      color: var(--text);
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.82),
        0 0 34px rgba(255, 255, 255, 0.68);
    }

    .testimonial-author {
      margin-top: 0.85rem;
      font-size: clamp(0.82rem, 0.95vw, 0.95rem);
      line-height: 1.35;
      font-weight: 700;
      color: var(--text);
      text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 18px rgba(255, 255, 255, 0.82),
        0 0 34px rgba(255, 255, 255, 0.68);
    }

    .testimonial-controls {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .testimonial-button {
      width: 2.1rem;
      height: 2.1rem;
      border: 1px solid var(--accent);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.32);
      color: var(--accent);
      font-size: 1.2rem;
      line-height: 1;
      cursor: pointer;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      transition:
        background 200ms ease,
        color 200ms ease,
        transform 200ms ease;
padding: 0 0 4px 0;
    }

    .testimonial-button:hover {
      background: var(--accent);
      color: #ffffff;
      transform: translateY(-1px);
    }

    .split-nav {
      position: fixed;
      right: 1.25rem;
      top: 50%;
      z-index: 20;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      transform: translateY(-50%);
    }

    .split-nav button {
      width: 11px;
      height: 11px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
      transition:
        background 200ms ease,
        transform 200ms ease;
    }

    .split-nav button.is-active {
      background: #ffffff;
      transform: scale(1.35);
    }

    @media (max-width: 860px) {
      .site-header {
        height: var(--mobile-header-height);
        padding: 0.85rem 1rem;
        align-items: center;
        background: #ffffff;
        box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
      }

      .site-logo img {
        width: 140px;
        margin-top: -8px;
      }

      .site-links {
        gap: 0.8rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        padding-top: 0;
      }

      .site-links a {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
        text-shadow: none;
      }

      .language-link svg {
        width: 28px;
        box-shadow: none;
      }

      .split-page {
        top: var(--mobile-header-height);
        height: calc(100dvh - var(--mobile-header-height));
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
      }

      .side-right {
        order: 0;
        flex: 0 0 min(42dvh, 56.25vw);
        height: auto;
        background: #ffffff;
      }

      .side-left {
        order: 1;
        flex: 1 1 auto;
        height: auto;
        background: #ffffff;
        margin-top: -30px;
      }

      .side-left .panel,
      .side-right .panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }

      .side-right .panel {
        padding: 0;
        background-size: cover;
        background-position: center;
        background-color: #ffffff;
      }

      .side-left .panel {
        align-items: flex-start;
       /* padding: 1.4rem 2.5rem 2rem 1.25rem; */
padding: 0px 20px 0;
    margin: 0px 0 0;
        background-image: none !important;
        background: #ffffff;
      }

      .side-left .panel::before,
      .side-right .panel::before {
        display: none;
      }

      .content-card {
        width: 100%;
        height: 100%;
        max-width: none;
        overflow-y: auto;
        padding: 10px 0.5rem 0 0;
        transform: translateX(28px);
      }

      .panel.is-active .content-card {
        transform: translateX(0);
      }

      .section-icon {
        display: none;
      }

      .mobile-visual-icon {
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        z-index: 2;
        display: block;
        width: auto;
        max-width: 105px;
        max-height: 92px;
        object-fit: contain;
        filter:
          drop-shadow(0 0 8px rgba(255, 255, 255, 0.75))
          drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
      }

      .desktop-right-text {
        display: none;
      }

      .mobile-text-only {
        display: block;
      }

      .supertitle {
        font-size: 0.76rem;
        letter-spacing: 0.22em;
        text-shadow: none;
      }

      h1 {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        font-size: clamp(1.85rem, 8.5vw, 2.8rem);
        letter-spacing: normal;
        text-shadow: none;
      }

      h1::after {
        height: 3px;
        box-shadow: none;
      }

      p,
      .contact-lines,
      .testimonial-quote,
      .testimonial-author {
        font-size: 0.92rem;
        line-height: 1.52;
        text-shadow: none;
      }

      .testimonial-slider {
        margin-top: 0;
        padding-top: 0;
      }

      .testimonial-slide {
        padding-right: 0.5rem;
      }

      .testimonial-controls {
        margin-top: 0.8rem;
      }

      .split-nav {
        right: 0.55rem;
        top: calc(var(--mobile-header-height) + 50%);
        gap: 0.55rem;
        padding: 0.55rem 0.4rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 999px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
      }

      .split-nav button {
        width: 9px;
        height: 9px;
        border-color: var(--accent);
      }

      .split-nav button.is-active {
        background: var(--accent);
      }
    }

    @media (max-width: 520px) {
      :root {
        --mobile-header-height: 62px;
      }

      .side-right {
        flex-basis: min(38dvh, 56.25vw);
      }

      .side-left .panel {
       /* padding: 1.15rem 2.25rem 1.7rem 1rem; */
    padding: 0px 20px 0;
    margin: 0;
      }

      p,
      .contact-lines,
      .testimonial-quote,
      .testimonial-author {
        font-size: 0.86rem;
      }

      .mobile-visual-icon {
        max-width: 170px;
        max-height: 308px;
        margin-left: -20px;
        display: none;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .track,
      .content-card,
      .testimonial-track {
        transition: none;
      }
    }


/* Hintergrund AR-fix Test */
:root {
  --desktop-bg-size: cover;
  --desktop-bg-position: top center;
  --mobile-bg-size: cover;
  --mobile-bg-position: top center;
}

.panel {
  position: relative;
  isolation: isolate;
  background-image: none;
  background-color: #000;
}

/* actual background image layer */
.panel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  z-index: -1;
  pointer-events: none;

  background-repeat: no-repeat;
  background-size: var(--desktop-bg-size);
  background-position: var(--desktop-bg-position);
}

/*
  Desktop split logic:
  Left panel shows the left half of a virtual full-width image.
  Right panel shows the right half of the same virtual full-width image.

  This prevents center duplication.
*/
.side-left .panel::after {
  left: 0;
}

.side-right .panel::after {
  left: -100%;
}

/* section images */
.panel[data-bg="sokrates"]::after {
  background-image: url("img/1.jpg");
}

.panel[data-bg="wiebke"]::after {
  background-image: url("img/2.jpg");
}

.panel[data-bg="schwein"]::after {
  background-image: url("img/3.jpg");
}

.panel[data-bg="zahn"]::after {
  background-image: url("img/4.jpg");
}

.panel[data-bg="lightbulb"]::after {
  background-image: url("img/5.jpg");
}

.panel[data-bg="stoerche"]::after {
  background-image: url("img/6.jpg");
}

.panel[data-bg="siegessaeule"]::after {
  background-image: url("img/7.jpg");
}

@media (max-width: 860px) {
  .side-right .panel::after {
    left: 0;
    width: 100%;
    background-size: var(--mobile-bg-size);
    background-position: var(--mobile-bg-position);
  }

  .side-left .panel::after {
    display: none;
  }
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem;
  background: #ffffff;
  color: #222222;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner__text {
  max-width: 520px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner__button {
  appearance: none;
  border: 1px solid #089ba9;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  color: #089ba9;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__button--primary {
  background: #089ba9;
  color: #ffffff;
}

.cookie-banner__button:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__button {
    flex: 1;
  }
}

.section-icon {
  display: none !important;
}

@media (max-width: 860px) {
  .mobile-visual-icon {
       display: none !important;
     }
}

@media (max-width: 860px) {
  :root {
    --mobile-top-panel-height: min(42dvh, 56.25vw);
  }

  .side-right {
    flex-basis: var(--mobile-top-panel-height);
  }

  .split-nav {
    right: auto;
    left: 50%;

    /*
      Header height + height of top image panel.
      The -1rem pulls it slightly upward so it sits on the bottom edge.
    */
    top: calc(var(--mobile-header-height) + var(--mobile-top-panel-height) - 3rem);

    gap: 0.55rem;
    padding: 0.55rem 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    transform: translate(-50%, -50%) rotate(-90deg);
  }
}

@media (max-width: 860px) {
  .content-card {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .side-left {
    overscroll-behavior: auto;
  }
}

.is-instant-section-jump .track {
  transition: none !important;
}

@media (max-width: 860px) {
  .side-left .panel {
    align-items: flex-start;
    padding-top: 2.6rem;
    padding-top: clamp(2.2rem, 7vw, 3.5rem);
  }

  .content-card {
    transform: none !important;
    margin-top: 0 !important;

    /*
      Keep scrolling active for long text.
      Do not use overflow: visible here.
    */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .supertitle {
    display: block;
    margin-top: 0;
    margin-bottom: 0.45rem;
    line-height: 1.15;
  }

  .content-card h1 {
    margin-top: 0;
  }
}