/* =========================================================
   Schneider Medien — Website Stylesheet
   Corporate Design SM, Schriften lokal gehostet
   ========================================================= */

/* ----- @font-face ------------------------------------------ */
@font-face {
  font-family: 'SM Michroma';
  src: url('../assets/fonts/SM-Michroma-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SM DM Sans';
  src: url('../assets/fonts/SM-DMSans-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SM DM Sans';
  src: url('../assets/fonts/SM-DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Zwischen-Gewichte werden vom Browser aus den vorhandenen synthetisiert */

/* ----- Custom Properties ---------------------------------- */
:root {
  /* Markenfarben (laut CD-SM) */
  --c-navy:        #0F1C2E;
  --c-navy-deep:   #0A141D;
  --c-white:       #FFFFFF;
  --c-cream:       #FFF8F0;
  --c-blue-soft:   #D1DEF0;
  --c-red:         #CC000E;
  --c-red-deep:    #8F000A;

  /* Funktional */
  --c-text:        #0F1C2E;
  --c-text-soft:   #4a5868;
  --c-text-mute:   #7e8a99;
  --c-text-invert: #FFFFFF;
  --c-bg:          #FFFFFF;
  --c-bg-alt:      #FFF8F0;
  --c-bg-soft:     #D1DEF0;
  --c-line:        rgba(15, 28, 46, 0.12);
  --c-line-soft:   rgba(15, 28, 46, 0.06);
  --c-line-invert: rgba(255, 255, 255, 0.14);

  /* Typografie */
  --f-head: 'SM Michroma', 'Arial Black', sans-serif;
  --f-body: 'SM DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1280px;
  --container-narrow: 920px;
  --container-wide: 1440px;
  --radius: 0px;
  --radius-sm: 6px;
  --radius-md: 12px;

  /* Spacing-Skala */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  /* Übergänge */
  --t-fast: 200ms cubic-bezier(.2,.7,.2,1);
  --t-base: 360ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 700ms cubic-bezier(.2,.7,.2,1);

  /* Schatten */
  --shadow-1: 0 12px 24px -16px rgba(15,28,46,.2);
  --shadow-2: 0 24px 48px -20px rgba(15,28,46,.28);
  --shadow-3: 0 36px 72px -24px rgba(15,28,46,.35);
}

/* ----- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 200;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-red); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

/* ----- Typografie ----------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--f-head);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1, .h1 { font-size: clamp(2.3rem, 5.3vw, 4.5rem); letter-spacing: .003em; line-height: 1.05; }
h2, .h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: .03em; }
h4, .h4 { font-size: .92rem; letter-spacing: .14em; }

.subhead {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 .6em;
  color: var(--c-text);
}

.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--c-red);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 200;
  max-width: 62ch;
  color: var(--c-text-soft);
  line-height: 1.55;
  margin: 0 0 1em;
}
.section--dark .lead, .section--dark p { color: rgba(255,255,255,.78); }

.prose p { font-size: 1.08rem; color: var(--c-text-soft); margin-bottom: 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--c-text); }

/* Inline-Quote */
.quote {
  font-family: var(--f-body);
  font-weight: 200;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--c-text);
  border-left: 2px solid var(--c-red);
  padding-left: var(--s-3);
  margin: var(--s-5) 0;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-top: var(--s-2);
}

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

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--dark { background: var(--c-navy); color: var(--c-text-invert); }
.section--deep { background: var(--c-navy-deep); color: var(--c-text-invert); }
.section--cream { background: var(--c-bg-alt); }
.section--soft { background: var(--c-bg-soft); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

.split-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 880px) { .split-head { grid-template-columns: 1fr; } }
.split-head h2 { margin-bottom: 0; }
.split-head .lead { margin: 0; }

.stack-s > * + * { margin-top: var(--s-3); }
.stack-m > * + * { margin-top: var(--s-4); }
.stack-l > * + * { margin-top: var(--s-6); }

.text-center { text-align: center; }
.mt-l { margin-top: var(--s-5); }
.mt-xl { margin-top: var(--s-6); }
.mb-l { margin-bottom: var(--s-5); }

/* ----- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--c-red); color: var(--c-white); }
.btn--primary:hover {
  background: var(--c-red-deep);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(204,0,14,.5);
}
.btn--outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn--outline:hover { background: var(--c-navy); color: var(--c-white); }
.section--dark .btn--outline,
.section--deep .btn--outline,
.hero .btn--outline,
.page-hero .btn--outline {
  color: var(--c-white);
  border-color: rgba(255,255,255,.5);
}
.section--dark .btn--outline:hover,
.section--deep .btn--outline:hover,
.hero .btn--outline:hover,
.page-hero .btn--outline:hover {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}
.btn--ghost { padding: 12px 0; color: inherit; border-bottom: 1px solid currentColor; border-radius: 0; }
.btn--ghost:hover { color: var(--c-red); border-color: var(--c-red); }

.arrow {
  display: inline-block;
  width: 18px; height: 1px; background: currentColor;
  position: relative;
  transition: width var(--t-base);
}
.arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 26px; }

/* ----- Navigation ----------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(15, 28, 46, 0);
  backdrop-filter: blur(0);
  transition: background var(--t-base), backdrop-filter var(--t-base), padding var(--t-base);
}
.nav.is-scrolled,
.nav.is-light {
  background: rgba(15, 28, 46, .94);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  transition: opacity var(--t-fast);
}
.nav__logo:hover { opacity: .85; color: var(--c-white); }
.nav__logo img { width: 48px; height: 48px; flex-shrink: 0; }
.nav__logo-text {
  font-family: var(--f-head);
  font-size: .92rem;
  letter-spacing: .2em;
  color: var(--c-white);
  text-transform: uppercase;
  line-height: 1;
}
@media (max-width: 540px) {
  .nav__logo img { width: 40px; height: 40px; }
  .nav__logo-text { font-size: .76rem; letter-spacing: .14em; }
}
.nav__menu { display: flex; gap: 32px; align-items: center; }
.nav__menu a {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: .88rem;
  color: var(--c-white);
  letter-spacing: .04em;
  position: relative;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--c-red);
  transition: width var(--t-base);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }

.nav__cta {
  color: var(--c-white) !important;
  padding: 10px 18px;
  font-size: .76rem;
}
.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px; background: var(--c-white);
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}
.nav__toggle span:nth-child(1) { top: 10px; }
.nav__toggle span:nth-child(2) { top: 16px; }
.nav__toggle span:nth-child(3) { top: 22px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav { background: rgba(15, 28, 46, .94); backdrop-filter: blur(14px); }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 80vw); height: 100vh;
    background: var(--c-navy-deep);
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    transform: translateX(100%);
    transition: transform var(--t-base);
    gap: 24px;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__menu a { font-size: 1.5rem; font-family: var(--f-head); letter-spacing: .04em; }
}

/* ----- Hero (Startseite) --------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-navy-deep);
  color: var(--c-white);
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: brightness(.42) saturate(1.1);
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,29,.35) 0%, rgba(10,20,29,.85) 90%),
    radial-gradient(circle at 75% 30%, rgba(204,0,14,.16) 0%, transparent 55%);
}
.hero__inner { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; margin-bottom: .35em; color: var(--c-white); }
.hero h1 .accent { color: var(--c-red); display: block; }
.hero__lead {
  max-width: 56ch;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  margin-bottom: var(--s-5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__meta { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; }
.hero__meta-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero__meta-inner > div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-inner strong {
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .02em;
}
@media (max-width: 720px) {
  .hero__meta-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Page-Hero (kleinere Variante) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 200px 0 80px;
  background: var(--c-navy-deep);
  color: var(--c-white);
  overflow: hidden;
}
.page-hero--compact { min-height: 44vh; padding: 200px 0 56px; }
.page-hero__media { position: absolute; inset: 0; z-index: 1; }
.page-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 35%;
  filter: brightness(.4) saturate(1.05);
}
.page-hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,29,.3) 0%, rgba(10,20,29,.85) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: .3em; color: var(--c-white); }
.page-hero p { max-width: 60ch; color: rgba(255,255,255,.82); font-size: 1.1rem; }

/* ----- Service-Banner mit Video-Slot --------------------- */
.service-banner {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.service-banner:nth-child(even) { background: var(--c-bg-alt); }
.service-banner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.service-banner:nth-child(even) .service-banner__grid { direction: rtl; }
.service-banner:nth-child(even) .service-banner__grid > * { direction: ltr; }
@media (max-width: 880px) {
  .service-banner__grid { grid-template-columns: 1fr; direction: ltr !important; }
}

.service-banner__nr {
  font-family: var(--f-head);
  font-size: .76rem;
  letter-spacing: .2em;
  color: var(--c-red);
  margin-bottom: 18px;
  display: block;
}
.service-banner h2 { margin-bottom: .4em; }
.service-banner__lead {
  font-size: 1.12rem;
  color: var(--c-text-soft);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: var(--s-3);
}
.service-banner__list {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  display: grid; gap: 14px;
}
.service-banner__list li {
  padding-left: 24px;
  position: relative;
  font-size: .98rem;
  line-height: 1.55;
}
.service-banner__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--c-red);
}

/* Video-Slot */
.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.video-slot video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
}
.video-slot img.video-slot__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.video-slot__poster { opacity: .72; }
.video-slot__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--c-white);
  background: linear-gradient(180deg, rgba(10,20,29,.1) 0%, rgba(10,20,29,.65) 100%);
  cursor: pointer;
}
.video-slot__play {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base);
}
.video-slot__play::before {
  content: '';
  border-left: 14px solid var(--c-white);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-slot:hover .video-slot__play {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: scale(1.05);
}
.video-slot__label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.video-slot__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(204,0,14,.92);
  padding: 6px 10px;
  border-radius: 3px;
}

/* ----- Cards ---------------------------------------------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 36px 32px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-navy);
}
.card__nr {
  font-family: var(--f-head);
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--c-red);
  margin-bottom: 22px;
  display: block;
  text-transform: uppercase;
}
.card h3 { margin-bottom: .6em; }
.card p { color: var(--c-text-soft); margin-bottom: 1.4em; flex: 1; }
.card__link {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; gap: 10px;
  align-items: center;
  color: var(--c-navy);
}
.card:hover .card__link { color: var(--c-red); }
.card:hover .card__link .arrow { width: 28px; }

.card--invert {
  background: rgba(255,255,255,.04);
  border-color: var(--c-line-invert);
}
.card--invert h3, .card--invert .card__link { color: var(--c-white); }
.card--invert p { color: rgba(255,255,255,.78); }
.card--invert:hover { border-color: var(--c-white); box-shadow: none; }

/* ----- Team-Karten -------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.team-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .team-grid, .team-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .team-grid, .team-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .team-grid, .team-grid--4 { grid-template-columns: 1fr; } }

.team-card {
  position: relative;
  background: var(--c-navy);
  color: var(--c-white);
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.team-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(.1) brightness(.94);
  transition: filter var(--t-slow), transform var(--t-slow);
  z-index: 1;
}
.team-card:hover img { filter: grayscale(0) brightness(1); transform: scale(1.04); }
.team-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,20,29,.94) 70%);
  z-index: 2;
}
.team-card__role {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 4px;
}
.team-card__name {
  font-family: var(--f-head);
  font-size: 1.05rem;
  letter-spacing: .04em;
}

/* Ben-Platzhalter */
.team-card--placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      var(--c-navy) 0,
      var(--c-navy) 16px,
      var(--c-navy-deep) 16px,
      var(--c-navy-deep) 32px
    );
}
.team-card--placeholder .team-card__placeholder {
  position: absolute;
  inset: 0; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 24px;
}
.team-card--placeholder .team-card__placeholder span {
  display: block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* ----- Number-Strip ----------------------------------------- */
.number-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 720px) { .number-strip { grid-template-columns: repeat(2, 1fr); } }
.number-strip__item .num {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4vw, 3rem);
  display: block;
  margin-bottom: 10px;
  color: var(--c-white);
  letter-spacing: .02em;
}
.number-strip__item .num .red { color: var(--c-red); }
.number-strip__item .label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ----- Process-Steps ---------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process--dark::before { background: rgba(255,255,255,.18); }
.process::before {
  content: '';
  position: absolute;
  top: 28px; left: 5%; right: 5%;
  height: 1px;
  background: var(--c-line);
  z-index: 0;
}
.process__step {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  text-align: left;
}
.process__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 1rem;
  margin-bottom: 24px;
}
.section--dark .process__num,
.section--deep .process__num { background: var(--c-red); }
.process__step h3 { font-size: 1.05rem; margin-bottom: 10px; text-transform: uppercase; }
.process__step p { font-size: .94rem; line-height: 1.55; }
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process::before { display: none; }
}

/* ----- Cases -------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--c-navy);
  color: var(--c-white);
}
.case img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 35%;
  transition: transform var(--t-slow), filter var(--t-slow);
  filter: brightness(.88);
}
.case:hover img { transform: scale(1.05); filter: brightness(1); }
.case__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,20,29,.94) 70%);
  z-index: 2;
}
.case__tag {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 8px;
}
.case__title {
  font-family: var(--f-head);
  font-size: 1rem;
  letter-spacing: .03em;
  margin: 0;
  line-height: 1.3;
}

/* ----- Gallery / Bilder-Streifen ------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  background: var(--c-navy);
}
.gallery__item--tall { aspect-ratio: 3 / 4; }
.gallery__item--wide { aspect-ratio: 16 / 10; grid-column: span 2; }
@media (max-width: 540px) { .gallery__item--wide { grid-column: span 1; } }
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 38%;
  transition: transform var(--t-slow);
}
.gallery__item:hover img { transform: scale(1.04); }

/* Position-Helper für Bilder, die anders zugeschnitten werden müssen */
.img-pos--top    { object-position: 50% 12% !important; }
.img-pos--upper  { object-position: 50% 25% !important; }
.img-pos--center { object-position: 50% 50% !important; }
.img-pos--low    { object-position: 50% 65% !important; }
.img-pos--left   { object-position: 30% 35% !important; }
.img-pos--right  { object-position: 70% 35% !important; }

.image-stripe {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-top: var(--s-6);
}
@media (max-width: 880px) { .image-stripe { grid-template-columns: 1fr; } }
.image-stripe figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
}
.image-stripe img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* Full-Bleed Image */
.image-full {
  width: 100%;
  height: clamp(360px, 60vh, 640px);
  overflow: hidden;
  position: relative;
}
.image-full img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 32%;
}
.image-full--with-caption {
  position: relative;
}
.image-full__caption {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  text-align: center;
  color: var(--c-white);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}

/* Image-Split (Bild neben Text) */
.image-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.image-split--reverse { direction: rtl; }
.image-split--reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .image-split, .image-split--reverse { grid-template-columns: 1fr; direction: ltr; }
}
.image-split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.image-split__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 28%;
}

/* ----- CTA-Banner -------------------------------------- */
.cta-banner {
  background: var(--c-navy);
  color: var(--c-white);
  padding: clamp(80px, 9vw, 130px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(204,0,14,.22) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .cta-banner__inner { grid-template-columns: 1fr; } }
.cta-banner h2 { margin: 0 0 .35em; max-width: 18ch; color: var(--c-white); }
.cta-banner p { color: rgba(255,255,255,.82); margin-top: 1em; }
.cta-banner__note {
  margin-top: 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}

/* ----- Promo-Banner (Aktion) --------------------------- */
.promo-banner {
  position: relative;
  background: var(--c-red);
  color: var(--c-white);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 56px);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--s-6) 0;
  box-shadow: var(--shadow-3);
  isolation: isolate;
}
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.18) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(0,0,0,.25) 0%, transparent 50%);
  z-index: -1;
}
.promo-banner__tag {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  padding: 7px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.promo-banner__title {
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--c-white);
  max-width: 22ch;
}
.promo-banner__copy {
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  max-width: 58ch;
  margin: 0 0 24px;
  font-weight: 200;
}
.promo-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-white);
  color: var(--c-red);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: var(--radius-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.promo-banner__cta:hover {
  color: var(--c-red);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.3);
}
.promo-banner__note {
  margin-top: 18px;
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
}

/* Service-Banner mit gestapeltem Layout (Videos oben/unten) */
.service-banner--stack { padding-bottom: clamp(64px, 7vw, 96px); }
.service-banner--stack .service-banner__head {
  max-width: 720px;
  margin-bottom: var(--s-5);
}
.service-banner--stack .service-banner__head h2 { margin-bottom: .35em; }
.service-banner__video-row {
  display: grid;
  gap: 24px;
  margin: var(--s-5) 0;
}
.service-banner__video-row--single { grid-template-columns: 1fr; }
.service-banner__video-row--single .video-slot { aspect-ratio: 16 / 9; }
.service-banner__video-row--duo { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .service-banner__video-row--duo { grid-template-columns: 1fr; } }
.service-banner__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-top: var(--s-5);
}
@media (max-width: 760px) {
  .service-banner__columns { grid-template-columns: 1fr; }
}
.service-banner__columns h3 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.service-banner__columns p { color: var(--c-text-soft); margin: 0; font-size: 1rem; }
.service-banner__columns__item { padding-left: 0; }

/* ----- Offer-Card (Angebot, z. B. Webdesign 599€) ----- */
.offer-card {
  position: relative;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  color: var(--c-white);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  gap: 18px;
  margin-top: var(--s-4);
  box-shadow: var(--shadow-2);
  isolation: isolate;
}
.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(204,0,14,.25) 0%, transparent 55%);
  z-index: -1;
}
.offer-card__tag {
  display: inline-block;
  align-self: start;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-red);
  background: rgba(204,0,14,.15);
  padding: 6px 10px;
  border-radius: 3px;
}
.offer-card__price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.offer-card__price-amount {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  color: var(--c-white);
  line-height: 1;
}
.offer-card__price-meta {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.78);
}
.offer-card__title {
  font-family: var(--f-head);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  color: var(--c-white);
}
.offer-card__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.offer-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: .98rem;
  color: rgba(255,255,255,.88);
  font-weight: 200;
}
.offer-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--c-red);
}
.offer-card__finepoint {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.offer-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  margin-top: 6px;
  padding: 14px 24px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
}
.offer-card__cta:hover {
  background: var(--c-red-deep);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* ----- FAQ ---------------------------------------------- */
.faq-list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--c-line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--c-line); }
.faq-item h3 {
  font-family: var(--f-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.12rem;
  margin: 0 0 12px;
  line-height: 1.35;
}
.faq-item p { color: var(--c-text-soft); margin: 0; }

/* ----- Footer ------------------------------------------ */
.footer {
  background: var(--c-navy-deep);
  color: rgba(255,255,255,.72);
  padding: 96px 0 40px;
  font-size: .92rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer__brand-mark img { width: 64px; height: 64px; flex-shrink: 0; }
.footer__brand-mark span {
  font-family: var(--f-head);
  font-size: 1.05rem;
  letter-spacing: .2em;
  color: var(--c-white);
  text-transform: uppercase;
  line-height: 1;
}
.footer__brand img { width: 56px; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; }
.footer__col h4 {
  color: var(--c-white);
  margin-bottom: 18px;
  font-size: .74rem;
  letter-spacing: .2em;
}
.footer__col a {
  color: rgba(255,255,255,.72);
  display: block;
  padding: 5px 0;
  font-size: .92rem;
}
.footer__col a:hover { color: var(--c-white); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  font-size: .82rem;
}
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: var(--c-white); }

/* ----- Forms ------------------------------------------ */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-bottom: 8px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-weight: 200;
  font-size: 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(15,28,46,.08);
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.form__submit-row {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form__hint { font-size: .82rem; color: var(--c-text-soft); }
.form__legal { font-size: .76rem; color: var(--c-text-mute); }
.form__legal a { text-decoration: underline; }

/* Contact-Aside */
.contact-aside {
  background: var(--c-bg-alt);
  padding: 48px;
  border-radius: var(--radius-sm);
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .contact-aside { position: static; padding: 32px; } }
.contact-aside h3 {
  font-family: var(--f-head);
  font-size: 1.2rem;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.contact-aside__block { margin-bottom: 28px; }
.contact-aside__block:last-child { margin-bottom: 0; }
.contact-aside__label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-bottom: 8px;
}
.contact-aside__value { font-weight: 200; font-size: 1rem; line-height: 1.55; }
.contact-aside__socials { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.contact-aside__socials a {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 6px 0;
  border-bottom: 1px solid var(--c-line);
}
.contact-aside__socials a:hover { border-color: var(--c-red); color: var(--c-red); }

/* ----- Legal-Pages ------------------------------------- */
.legal-page { padding: 160px 0 96px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 32px; }
.legal-page h2 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.legal-page p { color: var(--c-text-soft); }
.legal-page a { text-decoration: underline; }
.legal-page .hint {
  margin-top: var(--s-5);
  padding: 16px 20px;
  background: var(--c-bg-alt);
  font-size: .9rem;
  color: var(--c-text-soft);
  border-left: 2px solid var(--c-red);
}

/* ----- Marquee (Branchen) ---------------------------- */
.marquee {
  overflow: hidden;
  padding: 36px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-alt);
}
.marquee__track {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__item {
  font-family: var(--f-head);
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--c-text-mute);
  display: flex; align-items: center; gap: 36px;
}
.marquee__item::after {
  content: '✕';
  color: var(--c-red);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .9rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Reveal Animation ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- Utility ---------------------------------------- */
.divider {
  height: 1px;
  background: var(--c-line);
  margin: var(--s-5) 0;
}
.section--dark .divider, .section--deep .divider { background: var(--c-line-invert); }
.note {
  font-size: .82rem;
  color: var(--c-text-mute);
  letter-spacing: .02em;
}
