@charset "UTF-8";
/*! sanitize.css v5.0.0 | CC0 License | github.com/jonathantneal/sanitize.css */
*,
::after,
::before {
  background-repeat: no-repeat;
  box-sizing: inherit;
}

::after,
::before {
  text-decoration: inherit;
  vertical-align: inherit;
}

html {
  box-sizing: border-box;
  cursor: default;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

nav ol,
nav ul {
  list-style: none;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg {
  fill: currentColor;
}

svg:not(:root) {
  overflow: hidden;
}

table {
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
}

button,
input,
select,
textarea {
  background-color: transparent;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type=reset],
[type=submit],
button,
html [type=button] {
  -webkit-appearance: button;
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  resize: vertical;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[tabindex],
a,
area,
button,
input,
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

[hidden] {
  display: none;
}

[aria-busy=true] {
  cursor: progress;
}

[aria-controls] {
  cursor: pointer;
}

[aria-hidden=false][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  display: inherit;
  position: absolute;
}

[aria-disabled] {
  cursor: default;
}

:root {
  --copy: clamp(1.7rem, 1.13vw, 2.4rem);
  --small: clamp(1.1rem, 0.9vw, 2rem);
  --yellow: #e9fb17;
  --bg-primary: #ddd;
  --bg-secondary: #000000;
  --text-primary: #000000;
  --text-secondary: #ffffff;
  --border-color: #ccc;
  --shadow-color: #a6a6a66b;
  --nav-bg: #ffffff;
  --nav-text: #141a17;
  --nav-muted: #8a8a8a;
  --nav-btn-bg: #ededed;
  --footer-bg: #141414;
  --footer-text: #f0f0f0;
  --footer-muted: #8c8c8c;
  --footer-line: rgba(255, 255, 255, 0.12);
  --stats-bg: #1b1d1c;
  --stats-text: #f0f0f0;
  --card-bg: #cbcbcb;
  --pady: 0.75vw;
  --pad: 1.5vw;
}

[data-theme=dark] {
  --bg-primary: #281a2a;
  --bg-secondary: #111111;
  --text-primary: #d1d1d1;
  --text-secondary: #cccccc;
  --border-color: #333333;
  --shadow-color: rgba(233, 251, 23, 0.2);
  --nav-bg: #111111;
  --nav-text: #f0f0f0;
  --nav-muted: #9a9a9a;
  --nav-btn-bg: #262626;
  --footer-bg: #0d0d0d;
  --card-bg: #332236;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg-primary: #281a2a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --shadow-color: rgba(233, 251, 23, 0.2);
    --nav-bg: #111111;
    --nav-text: #f0f0f0;
    --nav-muted: #9a9a9a;
    --nav-btn-bg: #262626;
    --footer-bg: #0d0d0d;
    --card-bg: #332236;
  }
}
/* DM Sans (variable, 100–1000) – lokal gehostet unter Resources/Public/Fonts/dmsans */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../Fonts/dmsans/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../Fonts/dmsans/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../Fonts/dmsans/dm-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../Fonts/dmsans/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*
	Basis-Elemente & Typografie — html/body, Headlines, Fließtext, Links
*/
html {
  font-size: 10px;
}

html,
body {
  min-height: 100%;
}

body {
  background-color: var(--bg-primary);
  padding: 0;
  margin: 0;
  font: 0rem/1.5 "DM Sans", sans-serif;
  color: var(--text-primary);
  font-weight: 400;
  overflow-x: clip; /* vollflächige Sections (100vw) erzeugen sonst neben der Scrollbar horizontalen Scroll */
  transition: background-color 0.3s ease, color 0.3s ease;
}

small {
  font-size: var(--small);
}

i {
  position: relative;
  font-style: normal;
}

i:after {
  content: "";
  background: var(--yellow);
  position: absolute;
  left: -0.2em;
  right: 0.5em;
  bottom: 0px;
  z-index: -1;
  display: block;
  top: 50%;
}

strong {
  font-weight: 700;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "DM Sans", sans-serif;
  font-size: calc(1.5rem + 6.6vw);
  padding: 0 0 0.4em;
  margin: 0;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 400;
  hyphens: auto;
}

h1,
h2 {
  max-width: 12ch;
}

h3 {
  line-height: 1.35;
  font-size: clamp(2.2rem, 2.5vw, 9.5rem);
  font-weight: 300;
}

h5 {
  font-size: 1.8rem;
  text-transform: uppercase;
}

p {
  margin: 0;
  padding: 10px 0;
}

ul {
  list-style: disc inside;
  color: var(--text-primary);
  padding: 0;
  margin: 0;
  text-align: left;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  cursor: pointer;
  opacity: 0.7;
}

/*
	Layout — Content-Container, Footer, Spalten-Raster, Sections, Utilities
*/
.content {
  padding: 0 0vw;
  margin: 0 auto;
  z-index: 100;
  width: 92vw;
  display: block;
  position: relative;
  z-index: 100;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: normal;
  text-align: left;
  transition: color 0.3s ease;
}

.col {
  display: inline-block;
  vertical-align: top;
  padding: 20px 0vw;
  font-size: var(--copy);
  font-weight: 400;
}

.col33 {
  width: 33%;
}

.col40 {
  width: 40%;
}

.col50 {
  width: 50%;
}

.col60 {
  width: 60%;
}

.col70 {
  width: 70%;
}

.col25 {
  width: 25%;
}

.col75 {
  width: 75%;
}

.col80 {
  width: 80%;
}

.col100 {
  width: 100%;
}

.row {
  width: 100%;
}

section {
  padding: clamp(50px, 8vh, 150px) 0;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.headline {
  padding: 15vh 0 15vh;
}

@media screen and (max-width: 750px) {
  .col {
    width: 100%;
  }
  .content {
    padding: 110px 0 0 0;
  }
}
/*
	Canvas-Hintergrund (Netz-Animation) und Gradient-Overlays
*/
#gradient {
  height: 100%;
  padding: 0;
  margin: 0;
}

#canvas,
.canvas-wrap {
  background: linear-gradient(339deg, rgb(83, 83, 83) 0%, rgb(18, 18, 18) 100%);
  overflow: hidden;
}

[data-theme=dark] #canvas,
[data-theme=dark] .canvas-wrap {
  background: linear-gradient(339deg, rgb(0, 0, 0) 0%, rgb(33, 33, 33) 100%);
}

.gradient {
  position: fixed;
  top: 0;
  width: 100%;
  bottom: 0;
  display: inline-block;
  vertical-align: baseline;
  z-index: 90;
  opacity: 0.3;
  mix-blend-mode: color-dodge;
}

.gradient.left {
  left: 0;
  display: none;
  transform: rotate(180deg);
}

.gradient.right {
  right: 0;
}

#canvas {
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
}

.canvas-wrap {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
}

div.canvas-content {
  position: relative;
  z-index: 2000;
  color: #fff;
  text-align: center;
  padding-top: 30px;
}

/*
	Logo Animation
*/
.mk7slider .logo svg {
  overflow: visible;
  width: 50vh;
  max-width: 500px;
}

.mk7slider .logo svg path#logoSignet {
  fill: rgba(255, 255, 255, 0);
  stroke-width: 1px;
  stroke-dasharray: 580;
  stroke-dashoffset: -580;
  stroke: #fff;
  animation: logoAnimation 2s linear forwards, logoFill 1s 2s linear forwards;
}

.mk7slider .logo svg g#typo {
  position: relative;
  top: 10px;
  fill: rgba(255, 255, 255, 0);
  animation: typoFill 1s 2s linear forwards;
}

@keyframes logoAnimation {
  to {
    stroke-dashoffset: 0;
    stroke-dasharray: 580;
  }
}
@keyframes logoFill {
  to {
    fill: rgb(255, 255, 255);
  }
}
@keyframes typoFill {
  to {
    fill: rgb(255, 255, 255);
    top: 0;
  }
}
/*
	Navigation — nach Vorbild teamative.com:
	fixierter Streifen über volle Breite mit Backdrop-Blur, darin eine helle Leiste
	(max. 1280px, 64px hoch). Logo links, Sprunglinks und Aktionen rechts.
	Bis 991px: Sprunglinks hinter Hamburger, klappen unter der Leiste auf.
*/
.nav-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9996; /* über Canvas-Content (2000) — Modale (9997+) dürfen darüber */
  padding: 54px 2.5vw 18px;
}

.nav-blur {
  position: absolute;
  inset: 0 0 -40px; /* etwas über den Streifen hinaus, damit der Verlauf Platz zum Auslaufen hat */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  pointer-events: none;
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3em;
  width: 100%;
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 6px 6px 6px 36px;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-logo {
  display: flex;
  height: 35px;
  color: inherit;
  transition: color 0.3s ease;
}
.nav-logo:hover {
  opacity: 1;
  color: var(--nav-muted);
}
.nav-logo .logo {
  height: 100%;
  width: auto;
}

.jump-nav {
  margin-left: auto;
}
.jump-nav .jump-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jump-nav .jump-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jump-nav .jump-nav-list a {
  display: block;
  padding: 1.25em 0.875em;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.jump-nav .jump-nav-list a:hover, .jump-nav .jump-nav-list a:focus-visible {
  opacity: 1;
  color: var(--nav-muted);
  outline: none;
}
.jump-nav .jump-nav-toggle {
  display: none; /* Desktop: kein Hamburger */
  width: 52px;
  height: 52px;
  padding: 17px 15px;
  background: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.jump-nav .jump-nav-toggle .jump-nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nav-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25em;
}

.theme-toggle,
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 3px;
  font: inherit;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.theme-toggle {
  background: transparent;
  color: var(--nav-muted);
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  background: var(--nav-btn-bg);
  outline: none;
}
.theme-toggle .theme-icon {
  font-style: normal;
  line-height: 1;
}
.theme-toggle .theme-label {
  display: none; /* nur Icon in der Leiste; Label bleibt für das Script erhalten */
}

.nav-contact {
  background: var(--nav-btn-bg);
  color: var(--nav-text);
}
.nav-contact svg {
  fill: none; /* sanitize setzt svg { fill: currentColor } — Icon ist nur Kontur */
}
.nav-contact:hover, .nav-contact:focus-visible {
  background: var(--yellow);
  color: #000;
  outline: none;
}

@media screen and (max-width: 991px) {
  .nav-section {
    padding: 16px 2.5vw 12px;
  }
  .nav-bar {
    padding-left: 20px;
    gap: 0;
  }
  .jump-nav {
    order: 1; /* Hamburger ganz rechts */
    margin-left: 0;
  }
  .jump-nav .jump-nav-toggle {
    display: flex;
  }
  .jump-nav .jump-nav-list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1em;
    background: var(--nav-bg);
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }
  .jump-nav .jump-nav-list a {
    padding: 0.875em 1em;
  }
  .jump-nav.is-open .jump-nav-list {
    display: flex;
  }
  .jump-nav.is-open .jump-nav-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .jump-nav.is-open .jump-nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .jump-nav.is-open .jump-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
  .nav-actions {
    margin-left: auto;
  }
}
/*
	Hero — Headline links (~65 %), Unterzeile rechts daneben, unten bündig
*/
.hero-subtitle {
  font-size: var(--copy);
  margin: 0;
  opacity: 0.9;
}

section#hero {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: flex-end;
  gap: 4vw;
  color: #fff;
}
section#hero h1 {
  flex: 0 0 65%;
  padding-bottom: 0;
}
section#hero .hero-subtitle {
  flex: 1 1 0;
  min-width: 0;
}

@media screen and (max-width: 750px) {
  section#hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2vh;
  }
  section#hero h1 {
    flex-basis: auto;
  }
}
/*
	Textblöcke — Section-Label, Section-Title, Intro-Split, Typo3-Box, Fließtext-Varianten
*/
.section-label {
  position: relative;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1px 19px 1px 32px;
  margin-bottom: 1vh;
  background: #9d9d9d;
  display: inline-block;
  border-radius: 9px;
  font-size: 77%;
}
.section-label:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  border-radius: 4px;
  width: 13px;
  height: calc(100% - 16px);
  background: var(--yellow);
}

.section-title {
  width: min(1300px, 100%);
  font-size: clamp(80px, 8vw, 250px);
  font-weight: 400;
  line-height: 1;
}
@media screen and (max-width: 750px) {
  .section-title {
    font-size: calc(1.5rem + 6.6vw);
    line-height: 1;
    text-align: left;
    align-self: flex-start;
    max-width: 100%;
  }
}

/* Intro: Headline links (~65 %), Text daneben */
.intro-split {
  display: flex;
  align-items: flex-start;
  gap: 4vw;
  align-items: center;
}
.intro-split .section-title {
  flex: 0 0 65%;
  margin-bottom: 0;
}
.intro-split .intro-text {
  flex: 1 1 auto;
  font-size: var(--copy);
}
.intro-split .intro-text p:first-child {
  margin-top: 0;
}
.intro-split .cta-inline {
  text-align: left;
}

@media screen and (max-width: 750px) {
  .intro-split {
    flex-direction: column;
    gap: 0;
  }
  .intro-split .section-title {
    flex-basis: auto;
    margin-bottom: 1em;
  }
}
.expertise-text {
  font-size: var(--copy);
  margin-top: 2em;
  opacity: 0.85;
}

.portfolio-intro {
  font-size: var(--copy);
  max-width: 800px;
}

.typo3 {
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
  border-width: 1px 0 0px 1px;
  text-align: left;
}

/*
	Kennzahlen — vollflächige dunkle Section mit geditherter Landschaft (Images/stats-landscape.png,
	1-Bit-PNG mit transparentem Grund), darüber Headline und gelbe Kacheln.
	Mit JS (stats-float.js, .is-floating): Kacheln zufällig verteilt, treiben langsam ohne Kollision.
	Ohne JS / mobil: statisches Grid.
*/
.stats {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* aus dem 92vw-Content ausbrechen */
  padding: 18vh 4vw 20vh;
  background: var(--stats-bg) url("../Images/stats-landscape.png") center bottom/cover no-repeat;
  color: var(--stats-text);
}

.stats-inner {
  width: 100%;
}

.stats-title {
  width: min(860px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  font-size: clamp(2.6rem, 3.2vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 8vh auto 0;
  list-style: none;
}

.stat {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2em;
  min-height: 200px;
  padding: 20px;
  background: var(--yellow);
  color: #000;
  border-radius: 3px;
}
.stat:nth-child(-n+2) {
  grid-column: span 3;
}

.stats-grid.is-floating {
  display: block;
  position: relative;
  max-width: none;
  height: clamp(640px, 80vh, 900px); /* Platz für 9 Kacheln, damit sie frei treiben können */
  margin-top: 6vh;
}
.stats-grid.is-floating .stat {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(190px, 15vw, 250px);
  min-height: clamp(150px, 11vw, 190px);
  will-change: transform;
}
.stats-grid.is-floating .stat:nth-child(-n+2) {
  width: clamp(230px, 20vw, 330px);
}

.stat-value {
  font-size: clamp(4rem, 4.5vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: clamp(1.5rem, 1.1vw, 2rem);
  line-height: 1.4;
}

@media screen and (min-width: 751px) {
  .stats-grid:not(.is-floating) .stat:last-child {
    grid-column: span 6;
  }
}
@media screen and (max-width: 750px) {
  .stats {
    padding: 12vh 16px 14vh;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 5vh;
  }
  .stat,
  .stat:nth-child(-n+2) {
    grid-column: span 1;
    min-height: 150px;
  }
  .stat:last-child {
    grid-column: span 2;
  }
}
/*
	Zielgruppen-Sektion: zwei Karten "Mittelstand & Marken" / "Agenturen"
	Light- und Dark-Mode-tauglich via currentColor, Karten-Hintergrund über --card-bg (_variables.scss).
*/
.zielgruppen {
  /* Mobile: zurück auf volle Breite, Gutter raus.
     v5 (Locomotive-Scroll) deaktiviert data-scroll-speed-Parallax auf Touch-Geräten von sich aus
     — kein zusätzlicher transform-Override mehr nötig. */
}
.zielgruppen .zielgruppen-card {
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border-radius: 6px;
  vertical-align: top;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  width: 43.3%;
  margin: 0 4vw;
}
.zielgruppen .zielgruppen-card + .zielgruppen-card {
  margin-right: 0;
  margin-left: 0.5rem;
}
.zielgruppen .zielgruppen-card h3 {
  margin-top: 0;
}
.zielgruppen .zielgruppen-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.zielgruppen .zielgruppen-card:hover {
  transform: translateY(-2px);
}
@media (max-width: 750px) {
  .zielgruppen .zielgruppen-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .zielgruppen .zielgruppen-card + .zielgruppen-card {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/*
	Skills — Kategorien und klickbare Skill-Pills
*/
.skills-container h2.section-heading {
  font-size: clamp(2rem, 3vw, 5rem);
  margin-bottom: 3vh;
}
.skills-container .skill-category {
  margin-bottom: 8vh;
}
.skills-container .skill-category h3 {
  font-size: 77%;
  padding: 7px 1px 8px;
  color: var(--yellow);
}

.skills li {
  display: inline-block;
  border: 2px solid var(--text-primary);
  padding: 12px 18px;
  margin: 8px 12px 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  font-weight: 600;
  background: transparent;
}
.skills li:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 251, 23, 0.3);
}

.specialskills {
  padding-top: 15vh;
}

.skills li {
  cursor: pointer;
  transition: all 0.3s ease;
}
.skills li:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 251, 23, 0.3);
}

/*
	Referenzen — Projekt-Liste (.work)
*/
.work ul {
  padding-top: 4vh;
}
.work li {
  display: inline-block;
  position: relative;
  margin: 0 10px 10px 0;
  border: 1px solid var(--border-color);
  padding: 0;
  left: calc(-1 * var(--pad));
  transition: all 0.3s ease;
}
.work a {
  display: block;
  text-transform: uppercase;
  padding: var(--pady) var(--pad);
  box-shadow: 17px 22px 39px var(--shadow-color);
  transition: box-shadow 0.3s ease;
}
.work span {
  font-size: var(--small);
}
.work li:hover a {
  opacity: 1;
}

.work .projects li {
  display: inline-block;
  border: 2px solid var(--text-primary);
  padding: 0;
  margin: 8px 12px 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}
.work .projects li a {
  pointer-events: none;
}
.work .projects li:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/*
	Lösungen — Teaser auf der Startseite, Übersicht /loesungen/ und Tool-Unterseiten.
	Gelbe Link-Kacheln (Look wie die Kennzahlen), dunkles Band, Screenshot-Rahmen,
	Schaubilder (Hub: Eingänge → Tool → Ergebnisse / Ablauf: nummerierte Schritte),
	Reveal-Animationen beim Scrollen.
*/
/* ---------------------------------------------------------------------------
	Reveal: Locomotive-Scroll v5 setzt .is-inview auf [data-scroll]-Elemente.
	`translate` statt `transform`, damit es nicht mit data-scroll-speed-Parallax kollidiert.
	Versteckt wird nur mit JS (html.is-loaded) und ohne reduced motion.
--------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .is-loaded .reveal,
  .is-loaded .reveal-group > * {
    opacity: 0;
    translate: 0 40px;
    transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .is-loaded .reveal-group > * {
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .is-loaded .reveal.is-inview,
  .is-loaded .reveal-group.is-inview > * {
    opacity: 1;
    translate: 0 0;
  }
}
/* ---------------------------------------------------------------------------
	Dunkles Band über die volle Breite (wie .stats, ohne Landschaft)
--------------------------------------------------------------------------- */
.solutions-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* aus dem 92vw-Content ausbrechen */
  padding: 16vh 4vw 18vh;
  background: var(--stats-bg);
  color: var(--stats-text);
  font-size: var(--copy);
  isolation: isolate;
}
.solutions-band i {
  color: var(--yellow);
}
.solutions-band i::after {
  display: none;
}
.solutions-band .section-label {
  background: #3a3d3b;
}
.solutions-band p a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.solutions-band h2 {
  color: var(--stats-text);
}

.solutions-band-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.solutions-band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2em 4vw;
  margin-bottom: 6vh;
}
.solutions-band-head h2 {
  max-width: 14ch;
  padding-bottom: 0;
  font-size: clamp(3.4rem, 5vw, 9rem);
}
.solutions-band-head p {
  max-width: 46ch;
  opacity: 0.85;
}

.solutions-band-cta {
  margin: 6vh 0 0;
  text-align: left;
}

/* ---------------------------------------------------------------------------
	Gelbe Kacheln — als Link (Teaser/Übersicht) oder statisch (.is-static)
--------------------------------------------------------------------------- */
.solution-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--copy);
}
.solution-tiles > li {
  display: flex;
  list-style: none;
}
.solution-tiles.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media screen and (max-width: 991px) {
  .solution-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-tiles.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 520px) {
  .solution-tiles, .solution-tiles.cols-3 {
    grid-template-columns: 1fr;
  }
}

.solution-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  width: 100%;
  min-height: 230px;
  padding: 20px 20px 22px;
  background: var(--yellow);
  color: #000;
  border-radius: 3px;
  overflow: hidden;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.solution-tile .solution-tile-kicker {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.solution-tile .solution-tile-name {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: clamp(2.6rem, 2.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.solution-tile .solution-tile-text {
  font-size: clamp(1.45rem, 1vw, 1.8rem);
  line-height: 1.45;
}
.solution-tile .solution-tile-arrow {
  margin-top: auto;
  align-self: flex-end;
  font-size: 2.6rem;
  line-height: 1;
  transition: translate 0.35s ease;
}

a.solution-tile {
  color: #000;
}
a.solution-tile:hover, a.solution-tile:focus-visible {
  opacity: 1;
  background: #000;
  color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(233, 251, 23, 0.3);
  outline: none;
}
a.solution-tile:hover .solution-tile-arrow, a.solution-tile:focus-visible .solution-tile-arrow {
  translate: 6px 0;
}

.solution-tile.is-static {
  min-height: 200px;
}
.solution-tile.is-static .solution-tile-num {
  font-size: clamp(3.6rem, 3.6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.solution-tile.is-static .solution-tile-name {
  margin-top: auto;
  font-size: clamp(2rem, 1.6vw, 2.8rem);
}

/* ---------------------------------------------------------------------------
	Unterseiten-Hero: etwas niedriger, mit Brotkrumen
--------------------------------------------------------------------------- */
section#hero.hero-sub {
  height: 88vh;
  min-height: 560px;
}
section#hero.hero-sub .breadcrumb {
  flex: 0 0 100%;
  font-size: var(--small);
}
@media screen and (max-width: 750px) {
  section#hero.hero-sub .breadcrumb {
    flex-basis: auto;
  }
}
section#hero.hero-sub .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin: 0;
  padding: 0;
  list-style: none;
}
section#hero.hero-sub .breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6em;
  opacity: 0.5;
}
section#hero.hero-sub .breadcrumb a {
  color: #fff;
}
section#hero.hero-sub .breadcrumb [aria-current] {
  color: var(--yellow);
}

/* ---------------------------------------------------------------------------
	Fakten-Pills unter dem Intro
--------------------------------------------------------------------------- */
.solution-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 3vh 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--small);
}
.solution-facts li {
  list-style: none;
  padding: 8px 14px;
  border: 2px solid var(--text-primary);
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
	Screenshot im Browser-Rahmen, gelber Versatz als Akzent
--------------------------------------------------------------------------- */
.solution-shots {
  display: grid;
  gap: 6vw;
  font-size: var(--copy);
}
.solution-shots.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
@media screen and (max-width: 750px) {
  .solution-shots.is-pair {
    grid-template-columns: 1fr;
  }
}

.solution-shot {
  margin: 0;
}
.solution-shot .shot-frame {
  position: relative;
  padding-top: 30px;
  background: #1b1d1c;
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--yellow);
  overflow: hidden;
}
.solution-shot .shot-frame::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 14px;
  width: 44px;
  height: 9px;
  background: radial-gradient(circle, #5a5d5b 4px, transparent 4.5px) 0 0/15px 9px repeat-x;
}
.solution-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.solution-shot figcaption {
  margin-top: 22px;
  font-size: var(--small);
  opacity: 0.75;
}

/* ---------------------------------------------------------------------------
	Schaubilder
--------------------------------------------------------------------------- */
.diagram-wrap {
  margin-top: 5vh;
  font-size: var(--copy);
}

.diagram-caption {
  max-width: 60ch;
  margin-top: 3vh;
  font-size: var(--small);
  opacity: 0.75;
}

@keyframes flow-right {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 24px 0;
  }
}
@keyframes flow-bottom {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 24px;
  }
}
/* Hub: Eingänge links → Tool in der Mitte → Ergebnisse rechts */
.diagram-hub {
  --hub-gap: clamp(48px, 7vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.8fr) minmax(0, 1fr);
  column-gap: var(--hub-gap);
  align-items: center;
}
.diagram-hub .hub-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.diagram-hub .hub-col li {
  position: relative;
  list-style: none;
  padding: 14px 18px;
  background: var(--card-bg);
  border-radius: 3px;
  line-height: 1.35;
}
.diagram-hub .hub-col li strong {
  display: block;
  font-weight: 600;
}
.diagram-hub .hub-col li span {
  display: block;
  font-size: var(--small);
  opacity: 0.75;
}
.diagram-hub .hub-col li::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(var(--hub-gap) / 2);
  height: 2px;
}
.diagram-hub .hub-col::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--text-primary);
  opacity: 0.35;
}
.diagram-hub .hub-in li::after {
  left: 100%;
  background: repeating-linear-gradient(to right, var(--text-primary) 0 6px, transparent 6px 12px);
  background-size: 24px 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .diagram-hub .hub-in li::after {
    animation: flow-right 0.9s linear infinite;
  }
}
.diagram-hub .hub-in::after {
  right: calc(var(--hub-gap) / -2);
}
.diagram-hub .hub-out li::after {
  right: 100%;
  background: repeating-linear-gradient(to right, var(--text-primary) 0 6px, transparent 6px 12px);
  background-size: 24px 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .diagram-hub .hub-out li::after {
    animation: flow-right 0.9s linear infinite;
  }
}
.diagram-hub .hub-out::after {
  left: calc(var(--hub-gap) / -2);
}
.diagram-hub .hub-label {
  display: block;
  margin-bottom: 12px;
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
  position: absolute;
  top: -2em;
}
.diagram-hub .hub-core {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 28px 24px;
  background: var(--yellow);
  color: #000;
  border-radius: 3px;
  box-shadow: 0 0 0 10px rgba(233, 251, 23, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
  .diagram-hub .hub-core {
    animation: hub-pulse 2.8s ease-in-out infinite;
  }
}
.diagram-hub .hub-core::before, .diagram-hub .hub-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(var(--hub-gap) / 2);
  height: 2px;
  background: repeating-linear-gradient(to right, var(--text-primary) 0 6px, transparent 6px 12px);
  background-size: 24px 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .diagram-hub .hub-core::before, .diagram-hub .hub-core::after {
    animation: flow-right 0.9s linear infinite;
  }
}
.diagram-hub .hub-core::before {
  right: 100%;
}
.diagram-hub .hub-core::after {
  left: 100%;
}
.diagram-hub .hub-core .hub-core-kicker {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.diagram-hub .hub-core strong {
  font-size: clamp(2.6rem, 2.4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
}
.diagram-hub .hub-core .hub-core-text {
  font-size: var(--small);
  line-height: 1.5;
}
@media screen and (max-width: 991px) {
  .diagram-hub {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }
  .diagram-hub .hub-col::after,
  .diagram-hub .hub-col li::after,
  .diagram-hub .hub-core::before {
    display: none;
  }
  .diagram-hub .hub-in::before,
  .diagram-hub .hub-core::after {
    content: "";
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -46px;
    width: 2px;
    height: 36px;
    background: repeating-linear-gradient(to bottom, var(--text-primary) 0 6px, transparent 6px 12px);
    background-size: 24px 100%;
  }
}
@media screen and (max-width: 991px) and (prefers-reduced-motion: no-preference) {
  .diagram-hub .hub-in::before,
  .diagram-hub .hub-core::after {
    animation: flow-bottom 0.9s linear infinite;
  }
}
@media screen and (max-width: 991px) {
  .diagram-hub .hub-in::before {
    top: auto;
  }
}

@keyframes hub-pulse {
  0%, 100% {
    box-shadow: 0 0 0 10px rgba(233, 251, 23, 0.18);
  }
  50% {
    box-shadow: 0 0 0 22px rgba(233, 251, 23, 0.06);
  }
}
/* Ablauf: nummerierte Schritte mit Verbindern */
.diagram-flow {
  --flow-gap: clamp(28px, 3vw, 56px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--flow-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.diagram-flow > li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  list-style: none;
  padding: 22px 20px 24px;
  background: var(--card-bg);
  border-radius: 3px;
  line-height: 1.4;
}
.diagram-flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 100%;
  width: var(--flow-gap);
  height: 2px;
  background: repeating-linear-gradient(to right, var(--text-primary) 0 6px, transparent 6px 12px);
  background-size: 24px 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .diagram-flow > li:not(:last-child)::after {
    animation: flow-right 0.9s linear infinite;
  }
}
.diagram-flow .flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.4em;
  background: var(--yellow);
  color: #000;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.diagram-flow strong {
  font-weight: 600;
  line-height: 1.25;
}
.diagram-flow .flow-text {
  font-size: var(--small);
  opacity: 0.8;
  line-height: 1.5;
}
.diagram-flow a {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}
@media screen and (max-width: 991px) {
  .diagram-flow {
    grid-auto-flow: row;
  }
  .diagram-flow > li:not(:last-child)::after {
    top: 100%;
    left: 42px;
    width: 2px;
    height: var(--flow-gap);
    background: repeating-linear-gradient(to bottom, var(--text-primary) 0 6px, transparent 6px 12px);
    background-size: 24px 100%;
  }
}
@media screen and (max-width: 991px) and (prefers-reduced-motion: no-preference) {
  .diagram-flow > li:not(:last-child)::after {
    animation: flow-bottom 0.9s linear infinite;
  }
}

/* ---------------------------------------------------------------------------
	„Passt zu …" und Blättern zwischen den Lösungen
--------------------------------------------------------------------------- */
.solution-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  padding-top: 4vh;
  border-top: 2px solid var(--text-primary);
  font-size: var(--copy);
}
.solution-pager a {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}
.solution-pager a:hover {
  opacity: 1;
}
.solution-pager a:hover .pager-name i::after {
  right: -0.2em;
}
.solution-pager .pager-dir {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}
.solution-pager .pager-name {
  font-size: clamp(2.4rem, 2.6vw, 4.4rem);
  line-height: 1.1;
}
.solution-pager .pager-name i::after {
  transition: right 0.35s ease;
}
.solution-pager .pager-next {
  margin-left: auto;
  text-align: right;
}

/* Section-Kopf auf Unterseiten: Label + Headline + optionaler Text */
.solution-section-head h2 {
  max-width: 16ch;
  font-size: clamp(3.4rem, 5vw, 9rem);
}
.solution-section-head p {
  max-width: 60ch;
  font-size: var(--copy);
}

.solution-text {
  columns: 2 32ch;
  column-gap: 4vw;
  font-size: var(--copy);
}
.solution-text p {
  break-inside: avoid;
}
.solution-text p:first-child {
  padding-top: 0;
}

a.cta-button:hover {
  opacity: 1;
}

/*
	Kontakt
*/
.contact-heading {
  font-size: clamp(2rem, 5vw, 16rem);
  text-align: center;
  width: 100%;
  max-width: 100vw;
}

.contact-subtitle {
  font-size: var(--copy);
  margin-bottom: 4vh;
  text-align: center;
}

.contact-section-title {
  font-size: 1.6rem;
  color: var(--yellow);
  margin-bottom: 1em;
}

.contact .email {
  width: 7em;
  padding-left: 1px;
  display: inline-block;
}

/*
	CTA Styles
*/
.cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: #000;
  border: 3px solid var(--yellow);
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}
.cta-button:hover {
  color: #000 !important;
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 251, 23, 0.4);
}
.cta-button:hover:before {
  width: 300%;
  height: 300%;
}

.cta-inline {
  margin: 40px 0;
  text-align: center;
}

.cta-subtle {
  font-size: 1.4rem;
  padding: 14px 32px;
  border-width: 2px;
}

/*
	Anfrage Modal
*/
.anfrage-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.anfrage-modal.active {
  display: flex;
}
.anfrage-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}
.anfrage-modal .modal-content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  max-height: 90vh;
  background: rgba(0, 0, 0, 0.95);
  border: 2px solid var(--yellow);
  border-radius: 0;
  overflow: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 60px rgba(233, 251, 23, 0.3);
}
.anfrage-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-family: "DM Sans", sans-serif;
  padding: 0;
}
.anfrage-modal .modal-close:hover {
  background: var(--yellow);
  color: #000;
  transform: rotate(90deg);
}
.anfrage-modal .modal-iframe {
  width: 100%;
  height: 90vh;
  border: none;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media screen and (max-width: 750px) {
  .anfrage-modal {
    padding: 10px;
    align-items: flex-end;
  }
  .anfrage-modal .modal-content {
    max-height: 95dvh;
  }
  .anfrage-modal .container {
    padding-top: 45px;
  }
  .anfrage-modal .modal-close {
    top: 0px;
    right: 0px;
    width: 35px;
    height: 35px;
  }
  .anfrage-modal .modal-iframe {
    height: 95vh;
  }
}
/*
	Project Modal
*/
.project-modal,
.content-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.project-modal.active,
.content-modal.active {
  display: flex;
}
.project-modal .modal-backdrop,
.content-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}
.project-modal .modal-content,
.content-modal .modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 85vh;
  background: var(--bg-primary);
  border: 2px solid var(--yellow);
  overflow-y: auto;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 0 60px rgba(233, 251, 23, 0.3);
  padding: 40px;
}
.project-modal .modal-close,
.content-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-family: "DM Sans", sans-serif;
  padding: 0;
}
.project-modal .modal-close:hover,
.content-modal .modal-close:hover {
  background: var(--yellow);
  color: #000;
  transform: rotate(90deg);
}
.project-modal .modal-header,
.content-modal .modal-header {
  margin-bottom: 3vh;
}
.project-modal .modal-header h2,
.content-modal .modal-header h2 {
  font-size: clamp(2.5rem, 4vw, 9rem);
  margin-bottom: 1vh;
  display: block;
}
.project-modal .modal-tags,
.content-modal .modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2vh 0;
}
.project-modal .modal-tags .tag,
.content-modal .modal-tags .tag {
  background: var(--yellow);
  color: #000;
  padding: 0px 1em;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 2.4;
}
.project-modal .modal-description,
.content-modal .modal-description {
  font-size: var(--copy);
  line-height: 1.6;
  margin: 3vh 0;
  opacity: 0.9;
}
.project-modal .modal-footer,
.content-modal .modal-footer {
  margin-top: 4vh;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.project-modal .modal-cta,
.content-modal .modal-cta {
  text-align: center;
}
.project-modal .modal-cta a,
.project-modal .modal-cta button,
.content-modal .modal-cta a,
.content-modal .modal-cta button {
  display: inline-block;
  padding: 0px 35px;
  line-height: 50px;
  background: #000;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}
.project-modal .modal-cta a:hover,
.project-modal .modal-cta button:hover,
.content-modal .modal-cta a:hover,
.content-modal .modal-cta button:hover {
  background: var(--yellow);
  color: #000;
  transform: translateY(-2px);
}
.project-modal .nav-button,
.content-modal .nav-button {
  width: 50px;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  font-family: "DM Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.project-modal .nav-button:hover:not(:disabled),
.content-modal .nav-button:hover:not(:disabled) {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.project-modal .nav-button:disabled,
.content-modal .nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/*
	Project Modal - specific overrides
*/
.project-modal {
  z-index: 9998;
}
.project-modal .project-url {
  display: none;
  color: var(--yellow);
  font-size: 1.6rem;
  text-decoration: none;
  margin-bottom: 0;
  background: #717171;
  vertical-align: text-bottom;
  border-radius: 10em;
  line-height: 1;
  padding: 5px 10px;
  font-weight: 500;
  margin-left: 17px;
}
.project-modal .project-url:hover {
  opacity: 0.8;
}
.project-modal .project-screenshot {
  width: 100%;
  margin: 3vh 0;
  border: 2px solid var(--border-color);
}
.project-modal .project-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}
.project-modal .project-designer {
  margin-top: 2vh;
  font-size: 1.4rem;
  opacity: 0.8;
}
.project-modal .project-designer .designer-label {
  font-weight: 600;
}

/*
	Skill Modal - specific overrides
*/
.skill-modal .skill-category-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.17);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 4px 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2vh;
  text-shadow: 0 0px 3px rgba(0, 0, 0, 0.3215686275);
}

@media screen and (max-width: 750px) {
  .content-modal .modal-content,
  .project-modal .modal-content,
  .skill-modal .modal-content {
    padding: 30px 20px;
  }
  .content-modal .modal-header h2,
  .project-modal .modal-header h2,
  .skill-modal .modal-header h2 {
    font-size: 2rem;
  }
  .content-modal .modal-footer,
  .project-modal .modal-footer,
  .skill-modal .modal-footer {
    flex-direction: column;
    gap: 15px;
  }
  .content-modal .nav-button,
  .project-modal .nav-button,
  .skill-modal .nav-button {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
}
/*
	Footer — dunkle Fläche am Seitenende (in beiden Themes dunkel).
	Oben zwei Spalten: Name/Claim | Adresse + Kontakt-Button.
	Darunter dezent: Rechtliches und Hinweis.
*/
.site-footer {
  position: relative;
  z-index: 100; /* über dem fixierten Canvas */
  padding: 12vh 4vw 4vh;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: var(--copy); /* body hat font-size: 0 */
  line-height: 1.6;
  transition: background-color 0.3s ease;
}
.site-footer a {
  color: inherit;
}

.footer-inner,
.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}

.footer-name {
  display: block;
  font-size: clamp(2.4rem, 3vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
}

.footer-claim {
  color: var(--footer-muted);
}

.footer-contact .cta-button {
  margin-top: 2em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em 2em;
  margin-top: 10vh;
  padding-top: 2em;
  border-top: 1px solid var(--footer-line);
  font-size: var(--small);
  color: var(--footer-muted);
}
.footer-legal small {
  font-size: inherit;
}

.footer-legal-links {
  display: flex;
  gap: 2em;
}
.footer-legal-links a {
  color: var(--footer-muted);
}
.footer-legal-links a:hover {
  opacity: 1;
  color: var(--footer-text);
}

@media screen and (max-width: 750px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3em;
  }
}
/*
	TYPO3 Content Blocks — Ergänzungen zum 1:1-Styling von mk7.de
	Wrapper (Layouts/ContentBlock/Mk7.html): Abstände, Sichtbarkeit, Hintergründe.
	Neue Elemente: Text-Items, Slider, Carousel, Marquee, Accordion.
*/
/* ---------------------------------------------------------------------------
	Wrapper: Abstände steuern das Section-Padding des Elements
--------------------------------------------------------------------------- */
.ce-wrap > section:first-child {
  margin-top: 0;
}
.ce-wrap.space-before-0 > section {
  padding-top: 0;
}
.ce-wrap.space-before-30px > section {
  padding-top: 30px;
}
.ce-wrap.space-before-5vh > section {
  padding-top: 5vh;
}
.ce-wrap.space-before-10vh > section {
  padding-top: 10vh;
}
.ce-wrap.space-after-0 > section {
  padding-bottom: 0;
}
.ce-wrap.space-after-30px > section {
  padding-bottom: 30px;
}
.ce-wrap.space-after-5vh > section {
  padding-bottom: 5vh;
}
.ce-wrap.space-after-10vh > section {
  padding-bottom: 10vh;
}
@media screen and (max-width: 750px) {
  .ce-wrap.hideOnMobile {
    display: none !important;
  }
}
@media screen and (min-width: 751px) {
  .ce-wrap.hideOnDesktop {
    display: none !important;
  }
}

/* ---------------------------------------------------------------------------
	Hintergrund Container — Farbfläche über die volle Breite (wie .stats)
--------------------------------------------------------------------------- */
.ce-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 4vw;
  padding-right: 4vw;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ce-bg--dark {
  background: var(--stats-bg);
  color: var(--stats-text);
}
.ce-bg--dark i {
  color: var(--yellow);
}
.ce-bg--dark i::after {
  display: none;
}
.ce-bg--dark .section-label {
  background: #3a3d3b;
}
.ce-bg--yellow {
  background: var(--yellow);
  color: #000;
}
.ce-bg--yellow i::after {
  background: #fff;
}
.ce-bg--yellow .section-label {
  background: #000;
}
.ce-bg--card {
  background: var(--card-bg);
}
.ce-bg--primary {
  background: var(--bg-primary);
}
.ce-bg--black {
  background: #000;
  color: #f0f0f0;
}
.ce-bg--dark a,
.ce-bg--dark ul,
.ce-bg--dark .contact-heading, .ce-bg--black a,
.ce-bg--black ul,
.ce-bg--black .contact-heading {
  color: inherit;
}
.ce-bg--yellow a,
.ce-bg--yellow ul {
  color: inherit;
}

/* ---------------------------------------------------------------------------
	Hintergrund Inhalt — Karten, Text-Items, Kacheln, Schaubild-Boxen
--------------------------------------------------------------------------- */
.ce-items-bg--dark .ce-item, .ce-items-bg--dark .solution-tile, .ce-items-bg--dark .stat, .ce-items-bg--dark .hub-col li, .ce-items-bg--dark .diagram-flow > li, .ce-items-bg--dark .mk7-carousel__card {
  background: var(--stats-bg);
  color: var(--stats-text);
}

.ce-items-bg--yellow .ce-item, .ce-items-bg--yellow .solution-tile, .ce-items-bg--yellow .stat, .ce-items-bg--yellow .hub-col li, .ce-items-bg--yellow .diagram-flow > li, .ce-items-bg--yellow .mk7-carousel__card {
  background: var(--yellow);
  color: #000;
}

.ce-items-bg--card .ce-item, .ce-items-bg--card .solution-tile, .ce-items-bg--card .stat, .ce-items-bg--card .hub-col li, .ce-items-bg--card .diagram-flow > li, .ce-items-bg--card .mk7-carousel__card {
  background: var(--card-bg);
  color: var(--text-primary);
}

.ce-items-bg--primary .ce-item, .ce-items-bg--primary .solution-tile, .ce-items-bg--primary .stat, .ce-items-bg--primary .hub-col li, .ce-items-bg--primary .diagram-flow > li, .ce-items-bg--primary .mk7-carousel__card {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.ce-items-bg--black .ce-item, .ce-items-bg--black .solution-tile, .ce-items-bg--black .stat, .ce-items-bg--black .hub-col li, .ce-items-bg--black .diagram-flow > li, .ce-items-bg--black .mk7-carousel__card {
  background: #000;
  color: #f0f0f0;
}

/* ---------------------------------------------------------------------------
	Hero — optionaler Hintergrund, Topline, CTA
--------------------------------------------------------------------------- */
section#hero {
  position: relative;
}
section#hero .hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
  overflow: hidden;
}
section#hero .hero-media img,
section#hero .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section#hero .hero-topline {
  flex: 0 0 100%;
  font-size: var(--copy);
}
@media screen and (max-width: 750px) {
  section#hero .hero-topline {
    flex-basis: auto;
  }
}
section#hero .hero-cta {
  flex: 0 0 100%;
  margin: 0;
  text-align: left;
}
@media screen and (max-width: 750px) {
  section#hero .hero-cta {
    flex-basis: auto;
  }
}

/* ---------------------------------------------------------------------------
	Text-Bild-Modul — Fließtext und mehrspaltige Text-Items (Look: Zielgruppen-Karten)
--------------------------------------------------------------------------- */
.ce-bodytext {
  font-size: var(--copy);
  max-width: 80ch;
}
.ce-bodytext.center {
  margin: 0 auto;
}
.ce-bodytext ul,
.ce-bodytext ol {
  padding-left: 1.2em;
}

.ce-items {
  display: grid;
  grid-template-columns: repeat(var(--ce-cols, 2), minmax(0, 1fr));
  gap: 2vw;
  font-size: var(--copy);
}
.ce-items--cols-1 {
  --ce-cols: 1;
}
@media screen and (min-width: 751px) {
  .ce-items--cols-2 {
    grid-template-columns: repeat(2, 43.3%);
    column-gap: calc(4vw + 0.5rem);
    align-items: start;
    padding-left: 4vw;
  }
}
.ce-items--cols-3 {
  --ce-cols: 3;
}
.ce-items--cols-4 {
  --ce-cols: 4;
}
@media screen and (max-width: 991px) {
  .ce-items--cols-3, .ce-items--cols-4 {
    --ce-cols: 2;
  }
}
@media screen and (max-width: 750px) {
  .ce-items {
    --ce-cols: 1 !important;
    gap: 1rem;
  }
}

.ce-item {
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border-radius: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.ce-item:hover {
  transform: translateY(-2px);
}
.ce-item h2,
.ce-item h3,
.ce-item h4,
.ce-item h5 {
  margin-top: 0;
}
.ce-item h2 {
  font-size: clamp(2.6rem, 3vw, 5rem);
}
.ce-item ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.ce-item .ce-item-media {
  margin: -2.5rem -2rem 2rem;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}
.ce-item .ce-item-media img,
.ce-item .ce-item-media video {
  display: block;
  width: 100%;
  height: auto;
}
.ce-item .ce-item-subline {
  padding-top: 0;
  opacity: 0.75;
}

.ce-item-link {
  display: inline-block;
  margin-top: 1em;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
	Leistungen / Projekte (overlay-list)
--------------------------------------------------------------------------- */
.skills-container .skill-category + .skill-category {
  padding-top: 15vh;
}
.skills-container .portfolio-intro {
  margin-bottom: 4vh;
}

[data-overlay-item]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
[data-overlay-item] template {
  display: none;
}

.work .projects a:not([href]) {
  cursor: pointer;
}

/* Kacheln: 2 Spalten */
.solution-tiles.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media screen and (max-width: 520px) {
  .solution-tiles.cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
	Gemeinsamer Pfeil-Button für Slider & Carousel (Look wie .nav-button im Overlay)
--------------------------------------------------------------------------- */
.mk7-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  font-family: "DM Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mk7-nav-button:hover:not(:disabled), .mk7-nav-button:focus-visible {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  transform: translateY(-2px);
  outline: none;
}
.mk7-nav-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ---------------------------------------------------------------------------
	Slider — überblendende Slides, Caption unten links, gelber Versatz wie Screenshots
--------------------------------------------------------------------------- */
.mk7-slider {
  position: relative;
  font-size: var(--copy);
}

.mk7-slider__track {
  position: relative;
  display: grid;
  aspect-ratio: 16/9;
  background: #1b1d1c;
  border-radius: 8px;
  box-shadow: 14px 14px 0 var(--yellow);
  overflow: hidden;
}
@media screen and (max-width: 750px) {
  .mk7-slider__track {
    aspect-ratio: 4/5;
  }
}

.mk7-slider__slide {
  grid-area: 1/1;
  position: relative;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s 0.8s;
}
.mk7-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease;
}
.mk7-slider__slide img,
.mk7-slider__slide video,
.mk7-slider__slide .mk7-slider__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk7-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12vh 3vw 3vw;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
}
.mk7-slider__caption h3 {
  max-width: 22ch;
  padding-bottom: 0.2em;
  font-size: clamp(2.6rem, 3.2vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
}
.mk7-slider__caption p {
  max-width: 60ch;
}
.mk7-slider__caption a {
  color: #fff;
}
.mk7-slider__caption .cta-button {
  margin-top: 1.5em;
  color: var(--yellow);
}

.mk7-slider__subline {
  opacity: 0.8;
}

.mk7-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  margin-top: 40px;
}

.mk7-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mk7-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--text-primary);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mk7-slider__dot.is-active, .mk7-slider__dot:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* ---------------------------------------------------------------------------
	Carousel — Scroll-Snap-Karten, mehrere gleichzeitig sichtbar
--------------------------------------------------------------------------- */
.mk7-carousel {
  font-size: var(--copy);
}
.mk7-carousel.is-static .mk7-carousel__nav {
  display: none;
}

.mk7-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  column-gap: 24px;
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
@media screen and (max-width: 991px) {
  .mk7-carousel__track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}
@media screen and (max-width: 750px) {
  .mk7-carousel__track {
    grid-auto-columns: 85%;
  }
}

.mk7-carousel__card {
  display: flex;
  flex-direction: column;
  list-style: none;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.mk7-carousel__card:hover {
  transform: translateY(-2px);
}

.mk7-carousel__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.mk7-carousel__media img,
.mk7-carousel__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk7-carousel__body {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 2rem;
}
.mk7-carousel__body .solution-tile-kicker {
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}
.mk7-carousel__body h3 {
  padding: 0;
  font-size: clamp(2.2rem, 1.8vw, 3.2rem);
  font-weight: 400;
}

.mk7-carousel__subline {
  padding-top: 0;
  opacity: 0.75;
}

.mk7-carousel__nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* ---------------------------------------------------------------------------
	Marquee — Laufband mit großen Begriffen, gelbe Trenner
--------------------------------------------------------------------------- */
.mk7-marquee-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.mk7-marquee-head {
  width: 92vw;
  margin: 0 auto 4vh;
  font-size: var(--copy);
}

.mk7-marquee {
  --marquee-duration: 40s;
  display: flex;
  overflow: hidden;
  user-select: none;
}
.mk7-marquee--slow {
  --marquee-duration: 70s;
}
.mk7-marquee--fast {
  --marquee-duration: 20s;
}

.mk7-marquee__track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .mk7-marquee__track {
    animation: mk7-marquee var(--marquee-duration) linear infinite;
  }
  .mk7-marquee--reverse .mk7-marquee__track {
    animation-direction: reverse;
  }
  .mk7-marquee:hover .mk7-marquee__track {
    animation-play-state: paused;
  }
}

.mk7-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk7-marquee__item {
  display: flex;
  align-items: center;
  list-style: none;
  font-size: clamp(4rem, 7vw, 14rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.mk7-marquee__item::after {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin: 0 0.6em;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes mk7-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ---------------------------------------------------------------------------
	Accordion (cb-accordion)
--------------------------------------------------------------------------- */
.ce-accordion {
  font-size: var(--copy);
  padding: clamp(50px, 8vh, 150px) 0;
}

.accordion {
  border-top: 2px solid var(--text-primary);
}
.accordion__item {
  border-bottom: 2px solid var(--text-primary);
}
.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  width: 100%;
  padding: 1em 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.accordion__header::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5em;
  font-weight: 300;
  transition: transform 0.3s ease;
}
.accordion__header[aria-expanded=true]::after {
  transform: rotate(45deg);
}
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.accordion__content {
  padding-bottom: 1em;
  opacity: 0.85;
}
