/* ============================================
   servusotto. – Landing Page Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0f1320;
  --bg-secondary: #151a2e;
  --bg-card: #1a2038;
  --text-primary: #ffffff;
  --text-secondary: #8a92a8;
  --accent: #c8a876;
  --accent-hover: #dabb8a;
  --border: #252d45;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --container-narrow: 1100px;
  --section-padding: 120px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  z-index: 9999;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: min(var(--container-narrow), 80vw);
}

/* --- Section --- */
.section {
  padding: var(--section-padding) 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(15, 19, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(15, 19, 32, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  text-decoration: none;
  color: var(--text-primary);
}

.nav__logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Social Icons */
.nav__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}

.social-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
  text-decoration: none;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 19, 32, 0.4) 0%,
    rgba(15, 19, 32, 0.6) 50%,
    rgba(15, 19, 32, 0.95) 100%
  );
}

/* Fallback when no video */
.hero__video-wrap:has(video[src=""]),
.hero__video-wrap:has(video:not([src])) {
  background: linear-gradient(135deg, #1a2040 0%, #0f1320 50%, #16213e 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero__title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   Intro
   ============================================ */
.intro {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ============================================
   Markdown Body
   ============================================ */
.markdown-body {
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 17px;
}

.markdown-body h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 20px;
  line-height: 1.2;
}

.markdown-body h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  line-height: 1.25;
}

.markdown-body h4 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.3;
}

.markdown-body p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.markdown-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.markdown-body em {
  font-style: italic;
}

.markdown-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200, 168, 118, 0.4);
}

.markdown-body a:hover {
  text-decoration-color: var(--accent);
}

.markdown-body ul,
.markdown-body ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.markdown-body ul {
  list-style: disc;
}

.markdown-body ol {
  list-style: decimal;
}

.markdown-body li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.markdown-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.markdown-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(200, 168, 118, 0.05);
  border-radius: 0 8px 8px 0;
}

.markdown-body blockquote p {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  margin-bottom: 0;
}

.markdown-body img {
  border-radius: 12px;
  margin: 24px 0;
  width: 100%;
}

/* Inline/floating images via {{img}} tag */
.md-img {
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 0 16px;
}

.md-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0;
}

.md-img figcaption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: center;
}

.md-img--left {
  float: left;
  margin: 4px 24px 16px 0;
  shape-margin: 16px;
}

.md-img--right {
  float: right;
  margin: 4px 0 16px 24px;
  shape-margin: 16px;
}

.md-img--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  float: none;
  clear: both;
}

.md-img--round img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Clearfix after floating images */
.markdown-body::after {
  content: '';
  display: table;
  clear: both;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body hr {
  clear: both;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.markdown-body thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 2px solid var(--accent);
  font-weight: 600;
  color: var(--text-primary);
}

.markdown-body tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.8);
}

.markdown-body tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stats__item {
  text-align: center;
  min-width: 120px;
}

.stats__number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.stats__award {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.stats__award:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.stats__award-img {
  height: 119px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   Quartale / Accordion
   ============================================ */
.quartale__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-secondary);
  transition: border-color var(--transition);
}

.accordion:hover,
.accordion.is-open {
  border-color: rgba(200, 168, 118, 0.3);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.accordion__header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion__header:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.accordion__label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion__quarter {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 32px;
}

.accordion__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.accordion__subtitle {
  display: none;
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 48px;
  margin-top: 4px;
}

.accordion__chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-secondary);
}

.accordion.is-open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion.is-open .accordion__body {
  max-height: none;
}

.accordion__content {
  padding: 0 28px 28px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.accordion.is-open .accordion__content {
  opacity: 1;
  transform: translateY(0);
}

/* Nested Accordion (Key Learnings) */
.nested-accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 24px 0;
  background: rgba(200, 168, 118, 0.03);
}

.nested-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.nested-accordion__header:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.nested-accordion__chevron {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
  color: var(--accent);
}

.nested-accordion.is-open .nested-accordion__chevron {
  transform: rotate(180deg);
}

.nested-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nested-accordion.is-open .nested-accordion__body {
  max-height: 2000px;
}

.nested-accordion__content {
  padding: 0 20px 20px;
}

/* ============================================
   Slideshow (inside Markdown)
   ============================================ */
.slideshow {
  position: relative;
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
}

.slideshow__viewport {
  overflow: hidden;
}

.slideshow__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.slideshow__slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.slideshow__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.slideshow__btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.slideshow__dots {
  display: flex;
  gap: 8px;
}

.slideshow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.slideshow__dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   Video (inside Markdown)
   ============================================ */
.md-video {
  border-radius: 12px;
  overflow: hidden;
  margin: 32px 0;
}

.md-video video {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  overflow: hidden;
}

/* Feedback Cloud */
.testimonials__cloud {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.cloud-card {
  position: absolute;
  max-width: 420px;
  padding: 24px 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.cloud-card.is-visible {
  opacity: 0.7;
  transform: scale(1) translateY(0);
}

.cloud-card.is-latest {
  opacity: 1;
  border-color: rgba(200, 168, 118, 0.4);
  box-shadow: 0 0 30px rgba(200, 168, 118, 0.08);
}

.cloud-card.is-focused {
  position: fixed;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
  z-index: 1001 !important;
  max-width: 500px;
  width: 90%;
  border-color: rgba(200, 168, 118, 0.6);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(200, 168, 118, 0.15);
}

.testimonials__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.testimonials__overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cloud-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 12px;
  font-style: italic;
}

.cloud-card__author {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   Impressionen / Gallery
   ============================================ */
.impressionen__video {
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.impressionen__video video {
  width: 100%;
  display: block;
}

.impressionen__gallery {
  position: relative;
  max-width: min(90vw, 1100px);
  margin: 0 auto;
}

.gallery__viewport {
  overflow: hidden;
  border-radius: 16px;
}

.gallery__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__slide {
  flex: 0 0 100%;
  min-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__caption {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 32, 56, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.gallery__btn--prev {
  left: -60px;
}

.gallery__btn--next {
  right: -60px;
}

.gallery__btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.gallery__dots {
  display: flex;
  gap: 8px;
}

.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all var(--transition);
}

.gallery__dot.is-active {
  background: var(--accent);
}

/* ============================================
   Video Statements Slideshow
   ============================================ */
.impressionen__split {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.impressionen__questions {
  flex: 1;
  min-width: 0;
}

.impressionen__questions .vs-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.impressionen__questions .vs-questions {
  margin-bottom: 0;
}

.impressionen__statements {
  position: relative;
  flex: 0 0 340px;
  max-width: 340px;
  margin: 0;
}

.statements__viewport {
  overflow: hidden;
  border-radius: 16px;
}

.statements__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.statements__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.statements__slide video {
  width: 100%;
  max-height: 600px;
  display: block;
  border-radius: 16px;
}

.statements__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.statements__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 32, 56, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.statements__btn--prev {
  left: -60px;
}

.statements__btn--next {
  right: -60px;
}

.statements__btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.statements__dots {
  display: flex;
  gap: 8px;
}

.statements__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all var(--transition);
}

.statements__dot.is-active {
  background: var(--accent);
}

/* ============================================
   Video-Impressionen (HD Video)
   ============================================ */
.video-impressionen {
  padding-top: 0;
  padding-bottom: 64px;
}

.video-impressionen__wrap {
  border-radius: 16px;
  overflow: hidden;
  max-width: min(90vw, 1100px);
  margin: 0 auto;
}

.video-impressionen__wrap video {
  width: 100%;
  display: block;
}

/* ============================================
   Nutzungsmodi
   ============================================ */
.nutzungsmodi__intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
  margin: -32px auto 48px;
}

.nutzungsmodi__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.nutzungsmodi__card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 280px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.nutzungsmodi__card:hover {
  border-color: rgba(200, 168, 118, 0.3);
  transform: translateY(-4px);
}

.nutzungsmodi__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.nutzungsmodi__icon svg {
  width: 100%;
  height: 100%;
}

.nutzungsmodi__card .nutzungsmodi__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.nutzungsmodi__card .nutzungsmodi__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.nutzungsmodi__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.nutzungsmodi__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nutzungsmodi__pill {
  font-size: 12px;
  padding: 4px 12px;
  background: rgba(200, 168, 118, 0.1);
  border: 1px solid rgba(200, 168, 118, 0.2);
  border-radius: 20px;
  color: var(--accent);
  font-weight: 500;
}

/* Video-Statements Questions List */
.vs-section-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
}

.vs-questions {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vs-question {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.vs-question__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 168, 118, 0.15);
  border: 1px solid rgba(200, 168, 118, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
}

.vs-question__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.vs-question__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.vs-closing {
  max-width: 800px;
  margin: 0 auto 56px;
  padding: 24px 32px;
  background: rgba(200, 168, 118, 0.05);
  border: 1px solid rgba(200, 168, 118, 0.15);
  border-radius: 12px;
  text-align: center;
}

.vs-closing__prompt {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 8px 0;
}

.vs-pending {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  padding: 32px 0;
}

/* ============================================
   Awards
   ============================================ */
.awards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.awards__card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.awards__card:hover {
  border-color: rgba(200, 168, 118, 0.3);
  transform: translateY(-4px);
}

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

.awards__image {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  height: 200px;
  border-radius: 16px 16px 0 0;
}

.awards__image img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.awards__content {
  padding: 24px 32px 32px;
}

.awards__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.awards__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.awards__image--photo {
  padding: 0;
  background: none;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.awards__image--photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
}

/* Whitepaper Links in Accordions */
.accordion__whitepaper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__wp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(200, 168, 118, 0.08);
  border: 1px solid rgba(200, 168, 118, 0.2);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}

.accordion__wp-link:hover {
  background: rgba(200, 168, 118, 0.15);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ============================================
   Partners
   ============================================ */
.partners__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 44px;
}

.partners__row:first-child {
  align-items: flex-end;
}

.partners__row:last-child {
  align-items: flex-start;
}

.partners__item {
  transition: opacity var(--transition);
}

.partners__item img {
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
}

.partners__item--standard img {
  max-height: 27px;
}

.partners__item--main img {
  max-height: 50px;
}

.partners__item--hero img {
  max-height: 76px;
}


.partners__item--small img {
  max-height: 21px;
}

.partners__item--invert img {
  filter: invert(1) grayscale(100%) brightness(0.7);
}

.partners__item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.partners__item--invert:hover img {
  filter: invert(1) grayscale(0%) brightness(1);
}

.partners__item a {
  display: block;
}

/* ============================================
   12 Prinzipien
   ============================================ */
.prinzipien .section__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.prinzipien__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prinzip {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.prinzip:first-child {
  border-top: 1px solid var(--border);
}

.prinzip__number {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--accent);
  min-width: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 4px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.prinzip:hover .prinzip__number {
  opacity: 1;
}

.prinzip__content {
  flex: 1;
}

.prinzip__title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.prinzip__description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.prinzip.is-open .prinzip__description {
  max-height: 200px;
  opacity: 1;
}

.prinzip__description p {
  padding-top: 8px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   Manifest Poster v8 — Editorial Layout
   ============================================ */
.poster {
  background: var(--bg-primary);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) 0;
  box-sizing: border-box;
}

.poster__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  box-sizing: border-box;
}

.manifest-header {
  text-align: center;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.manifest-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

.manifest-subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.45);
  margin: 0.3em 0 0;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Flow layout --- */
.manifest-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3.5rem);
}

/* --- Individual item --- */
.manifest-item {
  position: relative;
}

/* Roman numeral watermark */
.manifest-item::before {
  content: attr(data-num);
  position: absolute;
  top: -0.15em;
  right: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  letter-spacing: -0.02em;
  z-index: 0;
}

.manifest-item .anchor-word {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.1em;
  position: relative;
  z-index: 1;
}

.manifest-item--accent .anchor-word {
  color: var(--accent);
}

.manifest-tagline {
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 0.4em;
  position: relative;
  z-index: 1;
}

.manifest-item p {
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  position: relative;
  z-index: 1;
}

.manifest-item p em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* --- 7 items: last one spans full width --- */
.manifest-item:nth-child(7) {
  grid-column: 1 / -1;
  max-width: 50%;
}

/* --- Closer --- */
.manifest-closer {
  text-align: center;
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.manifest-closer h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
}

.manifest-closer p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.3em 0 0;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ============================================
   Modal Overlay
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: 90vw;
  max-width: 720px;
  max-height: 85vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform var(--transition);
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}

.modal__close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.modal__body {
  padding: 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__logo-wrap {
  margin-bottom: 4px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
}

.footer__logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer__tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 13px;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================
   Responsive
   ============================================ */

/* Mobile */
@media (max-width: 639px) {
  :root {
    --section-padding: 64px;
    --nav-height: 60px;
  }

  .manifest-flow {
    grid-template-columns: 1fr;
  }
  .manifest-item:nth-child(7) {
    max-width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 19, 32, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav__link {
    font-size: 20px;
  }

  .hero__content {
    padding: 0 16px;
  }

  .stats__grid {
    gap: 24px;
  }

  .stats__item {
    min-width: 100px;
  }

  .accordion__header {
    padding: 20px;
  }

  .accordion__content {
    padding: 0 20px 20px;
  }

  .prinzip {
    gap: 16px;
  }

  .prinzip__number {
    min-width: 40px;
  }

  .nav__right {
    gap: 0;
  }

  .nav__social {
    position: fixed;
    bottom: 48px;
    left: 0;
    right: 0;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav__menu.is-open ~ .nav__social {
    opacity: 1;
    visibility: visible;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__right {
    align-items: flex-start;
  }

  .footer__list {
    flex-direction: column;
    gap: 12px;
  }

  .nutzungsmodi__card {
    flex: 1 1 100%;
  }

  .awards__grid {
    grid-template-columns: 1fr;
  }



  .partners__grid {
    gap: 24px;
  }

  .partners__row {
    gap: 18px 28px;
  }

  .partners__item--standard img {
    max-height: 26px;
  }

  .partners__item--main img {
    max-height: 38px;
  }

  .partners__item--hero img {
    max-height: 48px;
  }

  .partners__item--small img {
    max-height: 20px;
  }

  .testimonials__cloud {
    height: 750px;
  }
  .cloud-card {
    max-width: 85%;
    font-size: 13px;
  }

  .impressionen__split {
    flex-direction: column;
    gap: 32px;
  }
  .impressionen__statements {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  /* Floating images stack on mobile */
  .md-img--left,
  .md-img--right {
    float: none;
    margin: 16px auto;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Slideshow arrows overlay on mobile */
  .gallery__btn,
  .statements__btn {
    width: 36px;
    height: 36px;
  }

  .gallery__btn--prev,
  .statements__btn--prev {
    left: 8px;
  }

  .gallery__btn--next,
  .statements__btn--next {
    right: 8px;
  }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  :root {
    --section-padding: 80px;
  }

  .stats__grid {
    gap: 32px;
  }

  .testimonials__cloud {
    height: 500px;
  }
  .cloud-card {
    max-width: 320px;
  }

  .manifest-flow {
    grid-template-columns: 1fr;
  }
  .manifest-item:nth-child(7) {
    max-width: 100%;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .accordion__subtitle {
    display: block;
  }

  .accordion__header {
    padding: 28px 32px;
  }

  .accordion__content {
    padding: 0 32px 32px;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cloud-card {
    transition: none;
  }

  .accordion__body,
  .nested-accordion__body,
  .prinzip__description {
    transition: none;
  }

  .slideshow__track,
  .gallery__track,
  .statements__track {
    transition: none;
  }
}
