/* ====================================
   Global Styles & Grundstruktur
==================================== */

/* Dynamisches Viewport-Handling für mobile Browser */
:root {
  --vh: 1vh;

  /* ===== Color Palette (single source of truth) ===== */
  --c-black: #212529;
  --c-teal: #008080;
  --c-ink-900: #212529;
  --c-ink-900-inverse: #DEDAD6;
  --c-gray-850: #2d2d2d;
  --c-gray-300: #cccccc;
  --c-gray-200: #dddddd;
  --c-gray-250: #dee2e6;
  --c-gray-50: #f8f9fa;
  --c-danger: #ff264a;
  --c-white: #ffffff;
  --c-white-87: #ffffffde;
  --c-white-hsl: hsl(0, 0%, 100%);
  --c-gold: #b08d57;
  --c-navy: hsl(225, 12%, 12%);
  --c-slate: hsl(225, 8%, 65%);
  --c-blue: hsl(225, 95%, 56%);
  --c-red: red;
  --c-orange: rgb(255, 166, 0);
  --c-rgba-0-0-0-0-1: rgba(0, 0, 0, 0.1);
  --c-rgba-0-0-0-0-15: rgba(0, 0, 0, 0.15);
  --c-rgba-0-0-0-0-35: rgba(0, 0, 0, 0.35);
  --c-rgba-0-0-0-0-45: rgba(0, 0, 0, 0.45);
  --c-rgba-0-0-0-0-6: rgba(0, 0, 0, 0.6);
  --c-rgba-0-0-0-0-815: rgba(0, 0, 0, 0.815);
  --c-rgba-255-255-255-0-35: rgba(255, 255, 255, 0.35);
  --c-rgba-255-255-255-0-6: rgba(255, 255, 255, 0.6);
  --c-transparent: transparent;


  /* ===== Theme Variables (single source of truth) ===== */
  --heading-color: var(--c-white);
  --subheading-color: var(--c-white);
  --subline-color: var(--c-white);
  --counter-color: var(--c-white);
  --ui-color: var(--c-white);
}

html.theme-dark {
  --heading-color: var(--c-ink-900);
  --subheading-color: var(--c-ink-900);
  --subline-color: var(--c-ink-900);
  --counter-color: var(--c-ink-900);
  --ui-color: var(--c-ink-900);
}

html.theme-light {
  --heading-color: var(--c-white);
  --subheading-color: var(--c-white);
  --subline-color: var(--c-white);
  --counter-color: var(--c-white);
  --ui-color: var(--c-white);
}

html {
  /* Nativen Smooth‑Scroll ausschalten */
  scroll-behavior: auto !important;
  /* Kein iOS‑Bounce, aber Scrollen bleibt erlaubt */
  overscroll-behavior-y: none;
}

body {
  /* Seiten-Overflow wieder erlauben */
  height: 100%;
  margin: 0;
  overflow-y: auto;
  /* Verhindert das schrittweise Springen beim Ziehen auf Touch */
  touch-action: none;
}

section {
  /* volle Fensterhöhe, kein interner Scroll */
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* ====================================
     Responsive Visibility Utilities
==================================== */
@media (min-width: 801px) {
  .hide-over-800 { display: none !important; }
}
@media (max-width: 800px) {
  .hide-under-800 { display: none !important; }
}

/* ====================================
                Fonts
==================================== */

/* Oswald 400 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/oswald-v53-latin-regular.woff2") format("woff2");
  font-display: swap;
}

/* Oswald 700 */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/oswald-v53-latin-700.woff2") format("woff2");
  font-display: swap;
}

/* Raleway 400 */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/raleway-v34-latin-regular.woff2") format("woff2");
  font-display: swap;
}

/* ====================================
              typeWriter
==================================== */

.typeWriter {
  display: inline-block;    /* verhindert, dass sich der Text umbricht */
  white-space: nowrap;      /* keine automatische Worttrennung */
  overflow-wrap: normal;
  min-width: 9ch;           /* fixiert die Breite am längsten Wort („Videograf", 9 Zeichen) */
}

.typeWriter span {
  display: inline-block;
  width: 0;
  height: 1em;
  vertical-align: bottom;
  border-right: .05em solid currentColor;
  animation: caret 1s steps(1) infinite;
  box-sizing: content-box;
  padding-left: 5px;
}

@keyframes caret {
  50% { border-color: var(--c-transparent); };
}

/* ====================================
                  Logo
==================================== */

.logo {
  position: fixed;
  display: inline-block;
  top: 30px;
  left: 25px;
  line-height: 0;
  opacity: 1;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
  z-index: 1002;
  transform-style: preserve-3d;
  perspective: 800px;
}

@media all and (min-width: 1920px) {
  .logo {
    top: 50px;
    left: 50px;
  }
}

@media only screen and (max-width: 995px) {
  .logo {
    top: 35px;
    left: 35px;
  }
}

@media only screen and (max-width: 768px) {
  .logo {
    position: fixed;
  }
}

.logo-svg {
  width: 57px;
  height: auto;
  display: block;
  transition: none;
}

/* Weißes Logo */
.logo-light {
  color: var(--c-white);
}

/* Schwarzes Logo */
.logo-dark {
  color: var(--c-black);
}

.logo.on {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: all 1s ease;
  animation: spin3d .5s linear;
}

/* Definition der 3D-Dreh-Animation */
@keyframes spin3d {
  0% {
    transform: scale(1) rotateY(0deg);
  }
  50% {
    transform: scale(1) rotateY(180deg);
  }
  100% {
    transform: scale(1) rotateY(360deg);
  }
}

.logo.off {
  opacity: 0;
  transform: scale(0.75);
  visibility: hidden;
  transition: all 1s ease;
}

/* ====================================
            Menu Dots
==================================== */

.round-menu-wrapper {
  position: fixed;
  top: -7px;
  left: 10px;
  width: 100%;
  height: 50px;
  background: none;
  z-index: 1001;
}

@media all and (min-width: 1920px) {
  .round-menu-wrapper {
    top: 13px;
    left: -15px;
  }
}

@media only screen and (max-width: 1200px) {
  .round-menu-wrapper {
    top: -7px;
    left: 5px;
  }
}

@media only screen and (max-width: 995px) {
  .round-menu-wrapper {
    top: -2px;
    left: 0;
  }
}

@media only screen and (max-width: 880px) {
  .round-menu-wrapper {
    top: 13px;
    left: -25px;
  }
}

.round-menu {
  position: absolute;
  display: block;
  width: 60px;
  height: 60px;
  top: 23px;
  right: 20px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 50%;
  transition: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
}

@media only screen and (max-width: 880px) {
  .round-menu {
    top: 8px;
    right: -3px;
  }
}

.round-menu.on {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: all 1s ease;
}

.round-menu.off {
  opacity: 0;
  transform: scale(0.75);
  visibility: hidden;
  transition: all 1s ease;
}

.round-menu::before {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 60px;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  background: none;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform: scale(0.75);
  border-radius: 50%;
  z-index: 0;
}

.round-menu .dot-1,
.round-menu .dot-2,
.round-menu .dot-3 {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  top: calc(50% - 3px);
  left: calc(50% - 3px);
  background: currentColor !important;
  transition: background 0.6s ease;
  border-radius: 50%;
  z-index: 1;
}

@media only screen and (max-width: 995px) {
  .round-menu .dot-1,
  .round-menu .dot-2,
  .round-menu .dot-3 {
    background: var(--c-white) !important;
  }
  .round-menu.round-menu-dark .dot-1,
  .round-menu.round-menu-dark .dot-2,
  .round-menu.round-menu-dark .dot-3 {
    background: var(--c-ink-900) !important;
  }
}

/* Farbe des Round-Menüs (damit steuert man die Dots) */
.round-menu.round-menu-light { color: var(--c-white); }
.round-menu.round-menu-dark  { color: var(--c-ink-900); }

.round-menu.round-menu-light .dot-1,
.round-menu.round-menu-light .dot-2,
.round-menu.round-menu-light .dot-3 {
  background: var(--c-white) !important;
}
.round-menu.round-menu-dark .dot-1,
.round-menu.round-menu-dark .dot-2,
.round-menu.round-menu-dark .dot-3 {
  background: var(--c-ink-900) !important;
}

.round-menu .dot-1 {
  transform: translateX(-12px);
}

.round-menu .dot-3 {
  transform: translateX(12px);
}

.round-menu:hover::before,
.round-menu.active::before {
  transform: scale(1);
  opacity: 1;
}

.round-menu:hover .dot-1,
.round-menu:hover .dot-2,
.round-menu:hover .dot-3 {
  mix-blend-mode: exclusion;
  background: var(--c-ink-900) !important;
}

.round-menu.active .dot-1,
.round-menu.active .dot-2,
.round-menu.active .dot-3 {
  background: var(--c-ink-900) !important;
}

.round-menu.round-menu-light:hover .dot-1,
.round-menu.round-menu-light:hover .dot-2,
.round-menu.round-menu-light:hover .dot-3 {
  background: var(--c-white) !important;
}

.round-menu.round-menu-dark:hover .dot-1,
.round-menu.round-menu-dark:hover .dot-2,
.round-menu.round-menu-dark:hover .dot-3 {
  mix-blend-mode: normal;
  background: var(--c-ink-900) !important;
}

@media only screen and (max-width: 995px) {
  .round-menu:hover .dot-1,
  .round-menu:hover .dot-2,
  .round-menu:hover .dot-3,
  .round-menu.active .dot-1,
  .round-menu.active .dot-2,
  .round-menu.active .dot-3 {
    background: var(--c-ink-900) !important;
  }
  .round-menu.round-menu-dark.active .dot-1,
  .round-menu.round-menu-dark.active .dot-2,
  .round-menu.round-menu-dark.active .dot-3 {
    background: var(--c-ink-900) !important;
  }
}

.round-menu.active .dot-1,
.round-menu.active .dot-3 {
  transform: translateX(0);
}

/* ====================================
              Dock Bar
==================================== */

/* --- Base --- */
.dock-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  font-family: 'Montserrat Alternates', sans-serif;
}

.dock-bar.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.dock-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* --- Theme: Light (auf dunklen Sections, data-logo="light") --- */
.dock-bar--light .dock-bar__inner {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 0.5px 0 rgba(255, 255, 255, 0.15);
}

/* --- Theme: Dark (auf hellen Sections, data-logo="dark") --- */
.dock-bar--dark .dock-bar__inner {
  background-color: rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
}

/* --- Separator --- */
.dock-bar__sep {
  width: 1px;
  height: 20px;
  flex-shrink: 0;
  transition: background-color 0.5s ease;
}

.dock-bar--light .dock-bar__sep {
  background-color: rgba(0, 0, 0, 0.12);
}

.dock-bar--dark .dock-bar__sep {
  background-color: rgba(255, 255, 255, 0.15);
}

/* --- Dock Item --- */
.dock-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color 0.35s ease;
  cursor: pointer;
}

.dock-item i,
.dock-item svg {
  font-size: 1.2rem;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.35s ease;
}

/* --- Label (hidden by default, visible on desktop hover) --- */
.dock-item__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 0;
  transition: max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease 0.05s,
              margin-left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Colors: Light Theme (schwarze Icons auf hellem Glass) --- */
.dock-bar--light .dock-item {
  color: rgba(0, 0, 0, 0.5);
}

.dock-bar--light .dock-item.active {
  color: #000;
}

.dock-bar--light .dock-item__label {
  color: #000;
}

/* --- Colors: Dark Theme (weiße Icons auf schwarzem Glass) --- */
.dock-bar--dark .dock-item {
  color: rgba(255, 255, 255, 0.6);
}

.dock-bar--dark .dock-item.active {
  color: #fff;
}

.dock-bar--dark .dock-item__label {
  color: #fff;
}

/* --- Primary Item (Favoriten) --- */
.dock-item--primary i {
  color: var(--c-danger);
  opacity: 0.7;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dock-item--primary.active i,
.dock-item--primary:hover i {
  opacity: 1;
}

/* --- Active indicator dot --- */
.dock-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transition: background-color 0.5s ease;
}

.dock-bar--light .dock-item.active::after {
  background-color: #000;
}

.dock-bar--dark .dock-item.active::after {
  background-color: #fff;
}

.dock-item--primary.active::after {
  background-color: var(--c-danger) !important;
}

/* ========== Desktop: Hover Expansion ========== */
@media (min-width: 850px) {
  .dock-bar__inner {
    padding: 0.45rem 0.5rem;
  }

  .dock-item {
    padding: 0 0.75rem;
  }

  .dock-item:hover {
    padding: 0 0.9rem;
  }

  .dock-bar--light .dock-item:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: #000;
  }

  .dock-bar--dark .dock-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .dock-item:hover i,
  .dock-item:hover svg {
    transform: scale(1.1);
  }

  .dock-item:hover .dock-item__label {
    max-width: 7rem;
    opacity: 1;
    margin-left: 0.5rem;
  }

  .dock-item--primary:hover {
    background-color: rgba(255, 38, 74, 0.1) !important;
  }
}

/* ========== Mobile: Compact, no expansion ========== */
@media (max-width: 849px) {
  .dock-bar {
    bottom: 1.2rem;
  }

  .dock-bar__inner {
    padding: 0.4rem 0.5rem;
  }

  .dock-item {
    padding: 0 0.7rem;
    height: 38px;
  }

  .dock-item i {
    font-size: 1.15rem;
  }

  .dock-item__label {
    display: none;
  }

  .dock-bar__sep {
    height: 16px;
  }
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  .dock-bar,
  .dock-bar__inner,
  .dock-item,
  .dock-item i,
  .dock-item svg,
  .dock-item__label,
  .dock-bar__sep {
    transition: none;
  }
}

/* --- Dock Heart Pulse Animation --- */
.dock-heart-pulse {
  animation: dockHeartPulse 0.6s ease;
}

@keyframes dockHeartPulse {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.4); }
  40%  { transform: scale(0.9); }
  60%  { transform: scale(1.25); }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* --- Double-Tap Heart Overlay --- */
.dbl-tap-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 100;
  animation: dblTapHeartAnim 1s ease forwards;
}

.dbl-tap-heart svg {
  width: 100%;
  height: 100%;
  fill: var(--c-danger, #ff264a);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@keyframes dblTapHeartAnim {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 1; }
  15%  { transform: translate(-50%, -50%) scale(1.3);  opacity: 1; }
  30%  { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  70%  { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 0; }
}

/* --- Empty Favorites --- */
.empty-favorites {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 0 24px;
  background: var(--c-bg, #151515);
}

.empty-favorites__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-white, #fff);
  margin: 0 0 12px;
}

.empty-favorites__text {
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 32px;
  max-width: 340px;
}

.empty-favorites__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-white, #fff);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 24px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.empty-favorites__back:hover {
  border-color: var(--c-white, #fff);
  color: var(--c-white, #fff);
}

.empty-favorites__back svg {
  flex-shrink: 0;
}

/* --- Dock Tooltip --- */
.dock-tooltip {
  position: fixed;
  transform: translateX(-50%) translateY(0);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: 'Montserrat Alternates', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 101;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dock-tooltip.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* --- Dock Like State --- */
.dock-item--liked svg {
  color: var(--c-danger, #ff264a);
}

/* --- Dock Share Popup --- */
.dock-share-popup {
  position: fixed;
  transform: translateX(-50%) translateY(0);
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dock-share-popup.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-6px);
}

.dock-share-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dock-share-option:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  color: #fff;
}

/* ====================================
          Utilities
==================================== */

.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.ion-heart {
  font-size: 1.3rem;
  transition: transform 0.2s ease, color 0.3s ease;
}

.ion-heart.liked {
  color: var(--c-red);
}

.favorite-heart-wrapper .pop {
  animation: pop-scale 0.3s ease;
}

@keyframes pop-scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.ion-heart.pop {
  transform: scale(1.4) !important;
  transition: transform 0.3s ease;
}

/* ====================================
          Video Section0
==================================== */

.local-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.minitext {
  z-index: 2;
}

h2.section-heading {
  margin: 0;
  padding: 0;
}

footer[role="contentinfo"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ====================================
      Video Captions Section0
==================================== */

.caption-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.caption-full .intro-wrapper,
.caption-full .bottom-credits,
.caption-full .social-icons-wrapper,
.caption-full .scroll-indicator {
  position: absolute;
  z-index: 11;
  pointer-events: auto;
}

/* Intro Position */
.caption-full .intro-wrapper {
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
}

.caption-full .intro {
  position: absolute;
  left: 32px;
  bottom: 88px;
}

@media only screen and (max-width: 995px) {
  .caption-full .intro {
    left: 32px;
    bottom: 88px;
  }
}

.intro-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1px 0;
  color: var(--c-white);
  text-shadow: 1px 1px 2px var(--c-ink-900);
}

#intro-title-lead {
  font-family: "Oswald", sans-serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  margin: -7px 0 0 0;
  padding: 0;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px var(--c-ink-900);
  transition: color 0.4s cubic-bezier(0.77, 0, 0.175, 1), text-shadow 0.6s ease;
}
html.theme-dark #intro-title-lead { text-shadow: 1px 1px 2px var(--c-ink-900-inverse); }
html.theme-light #intro-title-lead { text-shadow: 1px 1px 2px var(--c-ink-900); }

@media all and (min-width: 1920px) {
  #intro-title-lead {
    font-size: 90px;
    margin: -9px 0 0 0;
  }
}

@media only screen and (max-width: 768px) {
  #intro-title-lead {
    font-size: 40px;
    margin: -3px 0 0 0;
  }
}

#intro-title {
  font-family: "Oswald", sans-serif;
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  margin: -8px 0 0 -3px;
  padding: 0;
  color: var(--heading-color);
  text-shadow: 1px 1px 2px var(--c-ink-900);
  transition: color 0.4s cubic-bezier(0.77, 0, 0.175, 1), text-shadow 0.6s ease;
}
html.theme-dark #intro-title { text-shadow: 1px 1px 2px var(--c-ink-900-inverse); }
html.theme-light #intro-title { text-shadow: 1px 1px 2px var(--c-ink-900); }

@media all and (min-width: 1920px) {
  #intro-title {
    font-size: 120px;
    margin: -12px 0 0 -3px;
  }
}

@media only screen and (max-width: 768px) {
  #intro-title {
    font-size: 60px;
    margin: -7px 0 0 -2px;
  }
}

/* Bottom Credits */
.caption-full .bottom-credits {
  left: 35px;
  bottom: 40px;
  color: var(--ui-color);
  font-size: 9px;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.bottom-credits a,
.bottom-credits a:hover {
  color: var(--ui-color);
  text-decoration: none;
}

/* Social Icons */
.caption-full .social-icons-wrapper {
  right: 20px;
  bottom: 40px;
  text-align: right;
}

.social-icons-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icons-wrapper ul li {
  display: inline-block;
  padding-left: 5px;
}

ul.social-icons {
  font-size: 16px;
  line-height: 1;
}

ul.social-icons a,
ul.social-icons a:hover {
  color: var(--ui-color);
  text-decoration: none;
  transition: all 0.5s linear;
}

ul.social-icons a {
  opacity: 1;
}

ul.social-icons a:hover {
  opacity: 0.5;
}

/* ====================================
   Typografie: section-heading & section-subheading
==================================== */

.section-heading {
  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: -5px 0 0 -3px;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

html.theme-dark .section-heading {
  text-shadow: 1px 1px 2px var(--c-ink-900-inverse);
}

html.theme-light .section-heading {
  text-shadow: 1px 1px 2px var(--c-ink-900);
}

.section-subheading {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.05em;
  margin: 0 0 -2px 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: color 0.6s ease;
}


.section-subheading span {
  position: relative;
  display: inline-block;
  padding-right: 30px;
  line-height: 1;
}

.section-subheading span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 15px;
  height: 0;
  border-top: 1px solid var(--c-white);
  transition: border-color 0.6s ease;
}

@media all and (min-width: 1920px) {
  .section-subheading span {
    padding-right: 50px;
  }
  .section-subheading span::before {
    width: 25px;
  }
}

html.theme-light .section-subheading span::before {
  border-top: 1px solid var(--c-white);
}

html.theme-dark .section-subheading span::before {
  border-top: 1px solid var(--c-ink-900);
}

.all-txt {
  margin: -7px 0 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.all-txt.all-txt-contact {
  margin: -7px 0 -6px 0;
}

/* ====================================
                Navbar
==================================== */

.panel-overlay-from-left {
  position: fixed;
  width: 50%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: -100%;
  background: none;
  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -ms-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  z-index: 200;
}

.panel-overlay-from-left.open {
  left: 0;
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

/* Consolidated: last override wins (width/height 100%, all insets 0) */
.panel-from-left-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: none;
  overflow-x: hidden;
  overflow-y: hidden;
}

.navigation-menu-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--c-ink-900);
}

.navigation-menu-img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

.overlay:before,
.overlay-video:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.overlay:before {
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none;
}

.overlay-video:before {
  -webkit-pointer-events: auto;
  -moz-pointer-events: auto;
  pointer-events: auto;
}

.overlay-inverse-dark-35:before {
  background: -moz-linear-gradient(
    bottom,
    var(--c-rgba-0-0-0-0-35) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  background: -webkit-linear-gradient(
    bottom,
    var(--c-rgba-0-0-0-0-35) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  background: linear-gradient(
    to top,
    var(--c-rgba-0-0-0-0-35) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
}

.overlay-inverse-dark-45:before {
  background: -moz-linear-gradient(
    bottom,
    var(--c-rgba-0-0-0-0-45) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  background: -webkit-linear-gradient(
    bottom,
    var(--c-rgba-0-0-0-0-45) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  background: linear-gradient(
    to top,
    var(--c-rgba-0-0-0-0-45) 0%,
    var(--c-rgba-0-0-0-0-15) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
}

.menu-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none;
}

.menu-img.active {
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* Consolidated: last override wins (width/height 100%, all insets 0) */
.panel-from-right-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: none;
  overflow-x: hidden;
  overflow-y: hidden;
}

.panel-from-right {
  position: fixed;
  width: 50%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  top: 0;
  right: -100%;
  background: none;
  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -ms-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  z-index: 200;
}

.panel-from-right.open {
  right: 0;
}

@media only screen and (max-width: 768px) {
  .panel-overlay-from-left {
    display: none;
  }

  .panel-from-right {
    width: 100%;
  }
}

nav.navigation-menu {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--c-white);
  text-align: center;
  margin: 0 auto;
}

nav.navigation-menu a {
  text-decoration: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

nav.navigation-menu a:hover {
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

nav.navigation-menu a:link,
nav.navigation-menu a:visited,
nav.navigation-menu a:active {
  color: var(--c-ink-900);
}

nav.navigation-menu a.is-active,
nav.navigation-menu a.is-active:link,
nav.navigation-menu a.is-active:visited,
nav.navigation-menu a.is-active:active {
  color: var(--c-gold);
}

.brackets a.is-active::before {
  opacity: 1;
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -o-transform: translateX(0px);
  transform: translateX(0px);
}

nav.navigation-menu li {
  margin: 0 0 8px 0;
  cursor: auto;
}

nav.navigation-menu li.last {
  margin: 0;
}

nav.navigation-menu a {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media only screen and (max-width: 980px) {
  nav.navigation-menu a {
    font-size: 24px;
  }
}

.center-container-menu {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  left: -9px;
}

.center-block-menu {
  display: table-cell;
  vertical-align: middle;
}

menu {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
  display: block;
}

.brackets a::before,
.brackets a::after {
  display: inline-block;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
  -moz-transition: -moz-transform 0.3s, opacity 0.2s;
  -ms-transition: -ms-transform 0.3s, opacity 0.2s;
  -o-transition: -o-transform 0.3s, opacity 0.2s;
  transition: transform 0.3s, opacity 0.2s;
}

.brackets a::before {
  content: "\2014";
  margin-right: 10px;
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -o-transform: translateX(20px);
  transform: translateX(20px);
}

.brackets a::after {
  content: "";
  margin-left: 10px;
  -webkit-transform: translateX(-20px);
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -o-transform: translateX(-20px);
  transform: translateX(-20px);
}

.brackets a:hover::before,
.brackets a:hover::after,
.brackets a:focus::before,
.brackets a:focus::after {
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -o-transform: translateX(0px);
  transform: translateX(0px);
}

.brackets ul,
li {
  list-style: none;
}

.brackets a,
.brackets a:hover,
.brackets a:visited {
  text-decoration: none;
}

/* ====================================
    Sektionen mit Fullscreen-Höhe
==================================== */

section {
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden; /* Verhindert Überlauf durch verschobene Inhalte */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  --heading-color: unset;
  --subheading-color: unset;
  --subline-color: unset;
}

section:nth-child(odd) {
  background-color: var(--c-gray-50);
}

section:nth-child(even) {
  background-color: var(--c-gray-250);
}

/* ====================================
   Pagination-Dots (Scrollify o.ä.)
==================================== */

.pagination-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 199;
  display: none !important;
}

.pagination-dots a {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  background-color: var(--c-white);
  border-radius: 50%;
  transition: background-color 0.1s ease;
  pointer-events: none;
  cursor: default;
}

/* Erweiterung für unsichtbare, aber klickbare Fläche */
.pagination-dots a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.pagination-dots a.active,
.pagination-dots a:hover {
  background-color: var(--c-gray-850);
}

/* ====================================
    Owl Carousel – Caption Layout
==================================== */

.carousel {
  width: 100%;
}

.carousel .item {
  position: relative;
}

.full-vh {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.caption-wrapper {
  bottom: 500px;
}

/* Beim Hovern des Carousel-Items wird die Animation gestartet */
.carousel .item:hover .caption-wrapper::after {
  animation: flashEffect 0.6s ease-out forwards;
}

/* Keyframes für den Fotoblitz-Effekt */
@keyframes flashEffect {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: 0.5;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.caption-text {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 50%;
  padding: 0 70px 0 35px;
  z-index: 5;
}

@media (min-width: 1920px) {
  .caption-text {
    bottom: 108px;
    padding: 0 150px 0 50px;
  }
}

@media (max-width: 995px) {
  .caption-text {
    width: 100%;
    bottom: 112px;
    padding: 0 35px;
  }
}

/* Default: Element ausblenden */
.mobilePadding {
  display: none;
}

/* Ab einer Viewport‑Breite von 850 px: Element einblenden */
@media screen and (max-width: 849px) {
  .mobilePadding {
    display: block;
  }
}

/* ====================================
   Smooth Color Transition für Texte
==================================== */

/* ZENTRALE QUELLE für Textfarben (mit Transition in beide Richtungen) */
.section-heading,
.section-heading-light,
.section-heading-dark {
  color: var(--heading-color) !important;
  transition: color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-subheading,
.section-subheading-light,
.section-subheading-dark,
.section-subheading span,
.section-subheading-light span,
.section-subheading-dark span {
  color: var(--subheading-color) !important;
  transition: color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-subheading span::before,
.section-subheading-light span::before,
.section-subheading-dark span::before {
  border-top-color: var(--subline-color) !important;
  transition: border-color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ====================================
            The Button
==================================== */

.the-button-wrapper,
.contact-form-submit-wrapper {
  cursor: pointer;
}

.the-button-wrapper {
  position: relative;
  height: 49px;
  text-align: left;
  margin: -2px 0 0 7px;
  bottom: 24px;
}

@media all and (min-width: 1920px) {
  .the-button-wrapper {
    height: 53px;
    margin: 0 0 0 7px;
  }
}

@media only screen and (max-width: 995px) {
  .the-button-wrapper {
    height: 49px;
    margin: -2px 0 0 7px;
  }
}

.the-button {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--c-ink-900);
  background: none;
  padding: 8px 40px 0 40px;
  top: 13px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

@media all and (min-width: 1920px) {
  .the-button {
    padding: 9px 40px 0 40px;
  }
}

.the-button.the-button-contact {
  margin-top: 0;
  top: 0;
  padding: 8px 20px 0 20px;
}

.the-button:hover:before {
  width: 100%;
}

.the-button:hover:after {
  width: 100%;
}

.the-button::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -2px;
  left: -6px;
  border: 1px solid var(--c-ink-900);
  border-right: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button::before {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

@media only screen and (max-width: 768px) {
  .the-button::before {
    width: 15px;
    height: 38px;
    top: -2px;
  }
}

.the-button::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -2px;
  right: -6px;
  border: 1px solid var(--c-ink-900);
  border-left: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button::after {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

@media only screen and (max-width: 768px) {
  .the-button::after {
    width: 15px;
    height: 38px;
    top: -2px;
  }
}

.the-button-submit {
  width: 175px;
  border: none;
}

@media all and (min-width: 1920px) {
  .the-button-submit {
    width: 205px;
    border: none;
  }
}

@media only screen and (max-width: 768px) {
  .the-button-submit {
    width: 175px;
    top: -19px;
  }
}

.the-button-contact {
  width: auto;
  min-width: 120px;
  border: none;
}

@media all and (min-width: 1920px) {
  .the-button-contact {
    min-width: 150px;
    border: none;
  }
}

@media only screen and (max-width: 768px) {
  .the-button-contact {
    min-width: 100px;
    padding: 8px 16px 0 16px;
  }
}

@media only screen and (max-width: 400px) {
  .the-button-contact {
    min-width: 80px;
    padding: 8px 12px 0 12px;
    font-size: 11px;
  }
  .the-button-contact::before,
  .the-button-contact::after {
    width: 10px;
  }
}

/* ====================================
    Contact Section (#contact)
==================================== */

/* === Layout-Grundstruktur === */
#contact .contactCol {
  background-color: var(--c-white);
  height: calc(var(--vh, 1vh) * 100);
  padding-top: 180px;
}

#contact .all-content {
  width: 100%;
  max-width: 750px;
  padding: 0 35px;
  color: var(--c-ink-900);
}

#contact .form-content {
  width: 100%;
  max-width: 750px;
  padding: 0 35px;
  color: var(--c-white);
  margin: 0 auto;
}

/* === Responsive Anpassungen === */
@media (min-width: 1920px) {
  #contact .all-content,
  #contact .form-content {
    max-width: 850px;
    padding: 0 50px;
  }
}

@media (max-width: 995px) {
  #contact .all-content,
  #contact .form-content {
    padding: 0 20px;
  }
}

/* === Textabsätze & Icons === */
#contact .all-txt {
  margin-top: 10px;
}

/* === Abstand und Trennung === */
#contact .inner-divider,
#contact .inner-divider-half {
  height: 30px;
}

#contact .inner-divider-half {
  height: 15px;
}

/* === Kontakt: Headings auf dunklem Text (weißer Hintergrund) === */
#contact .section-heading,
#contact .section-subheading,
#contact .section-subheading span {
  color: var(--c-ink-900) !important;
}
#contact .section-subheading span::before {
  background: var(--c-ink-900) !important;
}

/* === Formular-Buttons === */
#contact .the-button-submit,
#contact .the-button-contact {
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* === E-Mail Link === */
#contact a.link-effect {
  color: var(--c-ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--c-ink-900);
  transition: all 0.2s ease;
}

#contact a.link-effect:hover {
  color: var(--c-gray-300);
  border-bottom-color: var(--c-gray-300);
}

/* === Standard-Absatztext === */
#contact p {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.05em;
  color: var(--c-ink-900);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#contact .all-content .all-content-inner {
  right: 0px;
}

/* Formular */
#contact #contact-form {
  position: relative;
  width: 100% !important;
  left: 0;
  right: 0;
  top: -7px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1;
}

#contact form {
  margin: 0;
  padding: 0;
}

/* Eingabefelder */
#contact #form input,
#contact #form textarea {
  position: relative;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--c-ink-900);
  padding: 8px 5px;
  background: none;
  margin: 12px 0;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  color: var(--c-ink-900);
  transition: border-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#contact #form textarea {
  height: 155px;
}

#contact #form input:hover,
#contact #form textarea:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

#contact #form input:focus,
#contact #form textarea:focus {
  border-color: rgba(0, 0, 0, 0.75);
  outline: none;
}

#contact #form select:focus {
  outline: none;
}

/* Erfolgsnachricht */
#contact .success {
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  color: var(--c-ink-900);
  margin: 0;
  padding: 39px 0 13px 15px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fehlermeldungen */
#contact #form .error {
  position: absolute;
  font-family: "Raleway", sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--c-danger);
  display: block;
  margin: 0;
  padding: 0 0 0 4px;
  letter-spacing: 0.15em;
}

/* Placeholder Styling */
#contact input::placeholder,
#contact textarea::placeholder {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

#contact input:focus::placeholder,
#contact textarea:focus::placeholder {
  color: var(--c-transparent);
}

/* Fallback für alte Browser */
#contact input:-ms-input-placeholder,
#contact textarea:-ms-input-placeholder {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

#contact input:focus:-ms-input-placeholder,
#contact textarea:focus:-ms-input-placeholder {
  color: var(--c-transparent);
}

#contact .contact-form-submit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}

#contact #form select {
  position: relative;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--c-ink-900);
  padding: 5px 5px;
  background: none;
  margin: 10px 0;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  color: var(--c-ink-900);
  transition: border-color 0.3s ease, color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%231a1a1a" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.03);
}

#contact #form select:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

#contact #form select:focus {
  border-color: rgba(0, 0, 0, 0.75);
  outline: none;
}
.contactIcons svg{
  color: var(--c-ink-900) !important
}
.contactIconRow{
  bottom: 50px;
}
.contact-nap {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.contact-nap .nap-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}
.contact-nap a.nap-item:hover {
  color: rgba(0, 0, 0, 0.7);
}
.contact-nap .nap-divider {
  opacity: 0.3;
}
.contact-nap svg {
  flex-shrink: 0;
}

/* ====================================
   Divider
==================================== */

.inner-divider-half {
  height: 8px;
}

/* ====================================
   Modal – Close Button
==================================== */

/* Merged from two definitions: uses the second (more complete) set of values */
#close-button {
  position: fixed;
  top: 35px;
  right: 40px;
  z-index: 3000;
  font-size: 28px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ui-color) !important;
  transition: color 300ms ease, opacity 300ms ease, transform 300ms ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  user-select: none;
}

#close-button:hover,
#close-button:focus {
  opacity: 0.6;
}

@media (max-width: 768px) {
  #close-button {
    font-size: 2rem;
    top: 15px;
    right: 15px;
  }
}

/* ====================================
   Bottom Center Link
==================================== */

.bottom-center-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.875rem;
  z-index: 20;
}

.bottom-center-link a {
  color: var(--c-ink-900);
  text-decoration: none;
  opacity: 0.5;
}

.bottom-center-link a:hover {
  opacity: 1;
  color: var(--c-ink-900);
}

/* ====================================
   Multi-Step Form
==================================== */

/* === Multi-Step Form === */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Step-Indikator Container */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 0;
}

/* Einzelner Step-Kreis */
.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  color: rgba(0, 0, 0, 0.25);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Aktiver Step */
.step.active {
  border-color: var(--c-ink-900);
  background: var(--c-ink-900);
  color: var(--c-white);
}

/* Erledigter Step */
.step.completed {
  border-color: var(--c-ink-900);
  background: transparent;
  color: var(--c-ink-900);
}

/* Verbindungslinie zwischen Steps */
.step-line {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.step-line.completed {
  background: var(--c-ink-900);
}

/* Form-Buttons */
.form-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.form-buttons .the-button {
  top: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.form-buttons--end {
  justify-content: flex-end;
}

/* Datum + Uhrzeit nebeneinander */
.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
  min-width: 0;
}

@media only screen and (max-width: 400px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Date/Time Inputs im Contact-Formular */
#contact #form input[type="date"],
#contact #form input[type="time"] {
  color-scheme: light;
  cursor: pointer;
}

input, select, textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: none;
  outline: none;
}

/* ====================================
   Bottom Nav
==================================== */

.bottom_nav__link.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.bottom_nav__link.enabled {
  color: var(--c-orange) !important;
}

#favorit.animate-fav {
  animation: favFlash 0.8s ease;
}

@keyframes favFlash {
  0% { filter: brightness(1.2) saturate(1.2); transform: scale(1); }
  50% { filter: brightness(2.2) saturate(2); transform: scale(1.1); }
  100% { filter: brightness(1) saturate(1); transform: scale(1); }
}

/* ====================================
   Photo Counter
==================================== */

.photo-counter {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 2500;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ui-color) !important;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease, color 300ms ease;
  mix-blend-mode: normal;
  user-select: none;
  pointer-events: none;
}

.photo-counter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zahlen */
.photo-counter .num {
  display: inline-block;
  min-width: 2ch;
}

/* kleiner Impuls beim Wechsel */
.photo-counter.bump .num {
  animation: counterBump 220ms ease;
}

@keyframes counterBump {
  0%   { transform: translateY(0); opacity: 1; }
  40%  { transform: translateY(-3px); opacity: 0.85; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .photo-counter {
    right: 20px;
    bottom: 20px;
    font-size: 14px;
  }
}

/* Sicherheit: wenn body keine Klasse hat */
body:not(.has-counter) .photo-counter {
  display: none !important;
}

/* ====================================
   HOTFIX: Caption-Text darf NICHT Link-Blau erben
   (Caption liegt in <a> … </a>)
==================================== */

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

/* ====================================
   Cookie-Consent-Banner
   DSGVO-konformes Banner mit CSS-only Toggle
   Zero CLS (position: fixed), kein Render-Blocking
==================================== */

/* -- Cookie-Banner Variablen (gemappt auf Site-Palette) -- */
:root {
  --cookie-bg: var(--c-white);
  --cookie-fg: var(--c-ink-900);
  --cookie-muted: var(--c-ink-900);
  --cookie-accent: var(--c-ink-900);
  --cookie-surface: rgba(0, 0, 0, 0.03);
  --cookie-border: 1px solid rgba(0, 0, 0, 0.12);
  --cookie-shadow: 0 -4px 32px rgba(0, 0, 0, 0.15);
  --cookie-maxw: 860px;
  --cookie-gap: 12px;
}

/* -- Overlay-Container -- */
.cookie {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px;
  pointer-events: none;
}

.goldspan{
  color: var(--c-gold);
}

/* Geoeffnet */
html.cookie-open {
  overflow: hidden;
}
html.cookie-open body {
  overflow: hidden;
}
html.cookie-open .cookie {
  pointer-events: auto;
}

/* -- Backdrop -- */
.cookie__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

html.cookie-open .cookie__backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* -- Card -- */
.cookie__card {
  position: relative;
  width: min(var(--cookie-maxw), calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  background: var(--cookie-bg);
  color: var(--cookie-fg);
  border: var(--cookie-border);
  box-shadow: var(--cookie-shadow);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  pointer-events: none;
}

html.cookie-open .cookie__card {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* -- Header -- */
.cookie__header {
  flex: 0 0 auto;
  padding: 18px 18px 6px 18px;
}

.cookie__title {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 22px;
  margin: 0 0 8px 0;
}

.cookie__desc {
  margin: 0 0 14px 0;
  color: var(--cookie-muted);
  line-height: 1.55;
}

/* -- Aktionen (Buttons) -- */
.cookie__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px 18px 18px;
  border-top: var(--cookie-border);
  align-items: center;
}

.cookie__btn {
  appearance: none;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  min-width: 180px;
  text-align: center;
  background: transparent;
  color: var(--cookie-fg);
  border-color: color-mix(in srgb, var(--cookie-fg) 18%, transparent);
  transition: transform 120ms ease, background 120ms ease,
              border-color 120ms ease, color 120ms ease;
}

.cookie__btn:hover,
.cookie__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  border-color: color-mix(in srgb, var(--cookie-accent) 70%, transparent);
}

.cookie__btn--primary {
  background: var(--cookie-accent);
  color: var(--c-white);
  border-color: transparent;
}

.cookie__btn--primary:hover,
.cookie__btn--primary:focus-visible {
  background: color-mix(in srgb, var(--cookie-accent) 86%, #000);
}

.cookie__btn--ghost {
  background: transparent;
}

.cookie__btn--settings {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 600px) {
  .cookie__actions {
    flex-direction: column;
  }
  .cookie__btn {
    width: 100%;
    min-width: unset;
  }
}

/* -- CSS-only Toggle (visuell versteckt) -- */
.cookie__toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* -- Details-Bereich (Scroll-Container) -- */
.cookie__details {
  flex: 0 0 auto;
  overflow: visible;
  border-top: var(--cookie-border);
  display: none;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--cookie-bg) 94%, var(--cookie-surface)),
    var(--cookie-bg));
}

/* Details sichtbar wenn Toggle aktiv */
.cookie__toggle:checked ~ .cookie__details {
  display: block;
}

/* -- Grid-Layout -- */
.cookie__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  padding: 18px;
  min-height: 0;
}

@media (max-width: 860px) {
  .cookie__grid {
    grid-template-columns: 1fr;
  }
  .cookie__btn {
    min-width: 100%;
  }
}

/* -- Formular / Fieldset -- */
.cookie__fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.cookie__legend {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* -- Kategorie-Zeilen -- */
.cookie__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--cookie-gap);
  padding: 14px;
  border: var(--cookie-border);
  background: color-mix(in srgb, var(--cookie-bg) 88%, var(--cookie-surface));
  margin-bottom: 10px;
}

.cookie__rowTitle {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.cookie__rowText {
  margin: 0;
  color: var(--cookie-muted);
  line-height: 1.55;
}

/* -- Pill-Labels -- */
.cookie__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  border: 1px solid color-mix(in srgb, var(--cookie-fg) 16%, transparent);
  color: var(--cookie-fg);
  background: transparent;
}

.cookie__pill--required {
  border-color: color-mix(in srgb, var(--cookie-accent) 65%, transparent);
  color: var(--cookie-accent);
}

/* -- Switch (Toggle-Slider) -- */
.cookie__rowControl input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie__switch {
  width: 56px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--cookie-fg) 18%, transparent);
  display: inline-flex;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  position: relative;
  background: transparent;
}

.cookie__switchTrack {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--cookie-fg) 7%, transparent);
}

.cookie__switchThumb {
  width: 26px;
  height: 26px;
  background: var(--cookie-fg);
  transform: translateX(0);
  transition: transform 160ms ease, background 160ms ease;
  z-index: 1;
}

.cookie__rowControl input[type="checkbox"]:checked + .cookie__switch .cookie__switchThumb {
  transform: translateX(22px);
  background: var(--cookie-accent);
}

.cookie__rowControl input[type="checkbox"]:focus-visible + .cookie__switch {
  outline: 2px solid color-mix(in srgb, var(--cookie-accent) 70%, transparent);
  outline-offset: 2px;
}

.cookie__rowControl input[type="checkbox"]:disabled + .cookie__switch {
  cursor: not-allowed;
  opacity: 0.75;
}

/* -- Bottom-Actions in der Form -- */
.cookie__actions--bottom {
  border-top: none;
  padding: 14px 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cookie__actions--bottom .cookie__btn {
  min-width: 0;
  width: 100%;
}

@media (max-width: 600px) {
  .cookie__actions--bottom {
    grid-template-columns: 1fr;
  }
}

/* -- Info-Sidebar -- */
.cookie__info {
  border: var(--cookie-border);
  padding: 14px;
  background: color-mix(in srgb, var(--cookie-bg) 88%, var(--cookie-surface));
}

.cookie__infoTitle {
  font-family: "Oswald", sans-serif;
  margin: 0 0 10px 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cookie__infoBox {
  border: var(--cookie-border);
  padding: 12px;
  margin-bottom: 10px;
  background: var(--cookie-bg);
}

.cookie__infoBox h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cookie__infoBox ul {
  margin: 0;
  padding-left: 18px;
  color: var(--cookie-muted);
}

.cookie__infoBox li {
  margin: 6px 0;
}

/* -- Links & Hinweise -- */
.cookie__links {
  margin: 12px 0 0 0;
  color: var(--cookie-muted);
}

.cookie__link {
  color: var(--cookie-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.cookie__link:hover,
.cookie__link:focus-visible {
  border-bottom-color: color-mix(in srgb, var(--cookie-accent) 60%, transparent);
  outline: none;
}

.cookie__note {
  margin: 10px 0 0 0;
  color: var(--cookie-muted);
  line-height: 1.55;
}

.cookie__fineprint {
  margin: 10px 0 0 0;
  color: var(--cookie-muted);
  font-size: 14px;
}

/* -- Schnellauswahl ausblenden wenn Einstellungen offen (CSS-only) -- */
.cookie__toggle:checked ~ .cookie__actions {
  display: none !important;
}

.cookie__toggle:checked ~ .cookie__details {
  border-top: none;
}

/* :has()-Fallback fuer geaenderte DOM-Reihenfolge */
.cookie__card:has(#cookie-settings-toggle:checked) > .cookie__actions {
  display: none !important;
}

.cookie__card:has(#cookie-settings-toggle:checked) > .cookie__header {
  padding-bottom: 18px;
}
