/* cup-uidesign.de – statische Fassung der bisherigen Website (Gestaltung 1:1 übernommen).
   Werte gemessen an der WordPress/Avada-Seite, Stand November 2026. */

@font-face {
  font-family: "Helvetica Neue Condensed";
  src: url("/assets/fonts/helvetica-neue-condensed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #255aa8;
  --blue-dark: #1d4783;
  --blue-70: rgb(37 90 168 / 0.7);
  --lavender: #9ba8d3;
  --text: #6a6f7b;
  --text-on-tint: #646975; /* #6a6f7b erreicht auf den getönten Flächen nur 4,3–4,5:1 */
  --heading: #323643;
  --nav: #333;
  --dark: #32373e;
  --dark-text: #c1c3c5;
  --tint: #eef2f8;
  --contact-tint: #ebeef6;
  --tab-bg: #f5f5f5;
  --submenu-hover: #f8f8f8;
  --copyright-bg: #333;
  --copyright-text: #cecece;

  --k-ui-design: #79a4c6;
  --k-usability: #eb827b;
  --k-prototyping: #d3b57a;
  --k-styleguide: #61af92;
  --k-development: #5f82b6;

  --font: "Helvetica Neue Condensed", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --font-button: "Montserrat", Arial, sans-serif;

  --fs-h1: clamp(30px, 4.69vw, 60px);
  --fs-display: clamp(42px, 6.56vw, 84px);
  --fs-h3: clamp(26px, 3.28vw, 42px);
  --fs-h4: clamp(22px, 2.34vw, 30px);
  --fs-hero: clamp(28px, 3.9vw, 50px);

  --header-h: 122px;
  --gutter: 30px;
  --section-pad: 100px;
}

@media (max-width: 899px) {
  :root { --header-h: 100px; }
}

@media (max-width: 799px) {
  :root { --section-pad: 60px; }
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 30px;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; } /* sonst Raster-/Flex-Element in display:contents */

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

p, ul, ol, dl { margin: 0 0 20px; }
ul, ol { padding-left: 20px; }

h1, h2, h3, h4 { margin: 0; overflow-wrap: normal; hyphens: manual; }

h1, h2 {
  margin: 30px 0 18px;
  color: var(--blue);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.17;
}

h3,
.h3 {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
}

h4,
.h4 {
  margin: 0 0 30px;
  color: var(--heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
}

.h3--muted { color: var(--text); }

.display {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.2;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.section--dark :focus-visible,
.kunden :focus-visible,
.kompetenzen :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.logo-grid :focus-visible,
.video :focus-visible,
.cta-bar:focus-visible {
  outline-color: #fff;
}

.visually-hidden,
.js .tabs__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; }

/* ---------- Raster ---------- */

.wrap {
  width: min(1170px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 46px;
  align-items: start;
}
.split--center { align-items: center; }
.split > * { min-width: 0; }
.split__text > :first-child { margin-top: 0; }

.narrow { max-width: 780px; }
.narrow--wide { max-width: 900px; }

@media (max-width: 799px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Header und Navigation ---------- */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 30px 0 40px;
  background: #fff;
}

.site-header__logo { margin-top: 31px; }
.site-header__logo img { width: 78px; height: 60px; }

.site-nav__list,
.site-nav__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list { display: flex; gap: 45px; }
.site-nav__item { position: relative; }

.site-nav__link {
  display: block;
  height: 84px;
  padding-top: 31px;
  border-top: 3px solid transparent;
  color: var(--nav);
  font-size: 17px;
  line-height: 17px;
  letter-spacing: 1px;
}

.site-nav__link:hover,
.site-nav__item:focus-within > .site-nav__link { color: var(--blue); text-decoration: none; }

.site-nav__item.is-active > .site-nav__link {
  border-top-color: var(--blue);
  color: var(--blue);
}

.site-nav__sub {
  position: absolute;
  top: 84px;
  left: 0;
  min-width: 230px;
  padding: 0;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0s linear 0.2s;
}

/* Sichtbarkeit sofort, damit Tab direkt ins Untermenü springt */
.site-nav__item--parent:hover > .site-nav__sub,
.site-nav__item--parent:focus-within > .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s;
}

.site-nav__sublink {
  display: block;
  padding: 7px 20px;
  color: var(--nav);
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-nav__sublink:hover,
.site-nav__sublink.is-active {
  background: var(--submenu-hover);
  color: var(--blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nav);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

@media (max-width: 1099px) {
  .site-nav__list { gap: 28px; }
}

@media (max-width: 899px) {
  .site-header { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding: 0 20px 0 30px; }
  .site-header__logo { margin-top: 20px; margin-bottom: 20px; }
  .site-nav { flex-basis: 100%; }
}

/* Mit JavaScript: Menü hinter dem Menüknopf (ohne JS bleibt die Liste sichtbar) */
@media (max-width: 899px) and (scripting: enabled) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.12);
  }
  .site-nav.is-open { display: block; }
}

@media (max-width: 899px) {
  .site-nav__list { flex-direction: column; gap: 0; padding-bottom: 10px; }
  .site-nav__link {
    height: auto;
    padding: 13px 30px;
    border-top: 0;
    line-height: 18px;
  }
  .site-nav__item.is-active > .site-nav__link { box-shadow: inset 3px 0 0 var(--blue); }
  .site-nav__sub {
    position: static;
    min-width: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav__sublink { padding: 7px 30px 7px 50px; }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 29px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-button);
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.button:hover { background: var(--blue-dark); text-decoration: none; }

.button--play::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 12px;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.button--outline {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}
.button--outline:hover { background: rgb(255 255 255 / 0.15); }

/* ---------- Bühne (Hero) und Startseiten-Slider ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(320px, 50vw, 640px);
  overflow: hidden;
  background: var(--dark);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin-bottom: clamp(0px, 9.2vw, 118px); /* wie bisher: Inhalt etwas über der Mitte */
  padding: 0 20px;
  text-align: center;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.2;
}

.hero__title > span,
.hero__caption > span {
  display: inline-block;
  padding: 10px 20px;
  background: var(--blue-70);
}

.hero__caption {
  max-width: 540px;
  margin: 14px 0 0;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1.5px;
}

.hero .button { margin-top: 47px; }

.hero--slider { height: max(420px, calc(100svh - var(--header-h))); }

.slider {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slider__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.slider__slide.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
}

.slider__controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
}

.slider__dot,
.slider__pause {
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slider__dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.55);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.85);
}
.slider__dot[aria-current="true"]::before { background: #fff; box-shadow: 0 0 0 2px rgb(0 0 0 / 0.55); }

.slider__pause { width: 44px; color: #fff; }
.slider__pause::before {
  content: "";
  width: 12px;
  height: 14px;
  border-inline: 4px solid currentColor;
  filter: drop-shadow(0 0 1px rgb(0 0 0 / 0.8));
}
.slider__pause[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  border-inline: 0;
  border-block: 8px solid transparent;
  border-left: 13px solid currentColor;
}

/* ---------- Abschnitte ---------- */

.section--dark {
  background: var(--dark);
  color: var(--dark-text);
}
.section--dark h2 { color: var(--lavender); }
.section--dark strong { color: #fff; }
.section--dark a { color: var(--lavender); }

.section--intro { padding-block: 50px; }
.section--intro h2 { margin-top: 20px; }

.section--award { padding: 50px 0 55px; }
.split__media--badge { display: flex; justify-content: flex-start; }

.section--projekte { padding-bottom: var(--section-pad); }
.section--projekte .narrow + .projekte { margin-top: 30px; }

.section--head { padding: 55px 0 0; }
.section--legal { padding-bottom: var(--section-pad); }
.section--legal h3 {
  margin: 40px 0 10px;
  font-size: 26px;
  line-height: 1.4;
}

/* Kundenleiste */

.kunden {
  padding-bottom: 6px;
  background: var(--dark);
}

.kunden__label {
  margin: 0;
  padding-bottom: 20px;
  color: var(--dark-text);
  text-align: center;
}

/* Karussell (Kundenlogos, Ergebnisbilder) */

.carousel { position: relative; }

.carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
  display: flex;
  flex: 0 0 var(--item);
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel__btn::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.carousel__btn--prev { left: 0; }
.carousel__btn--prev::before { transform: translateX(2px) rotate(-135deg); }
.carousel__btn--next { right: 0; }
.carousel__btn--next::before { transform: translateX(-2px) rotate(45deg); }
.carousel__btn:hover { background: rgb(0 0 0 / 0.8); }

.carousel--logos { --item: calc(100% / 6); margin-bottom: 40px; }
.carousel--logos .carousel__item { height: 80px; padding: 10px; }
.carousel--logos img { width: auto; max-height: 60px; }

@media (max-width: 1099px) { .carousel--logos { --item: 25%; } }
@media (max-width: 799px) { .carousel--logos { --item: 50%; } }
@media (max-width: 479px) { .carousel--logos { --item: 100%; } }

.carousel--galerie {
  --item: 25%;
  max-width: 840px;
  margin: 40px auto 0;
}
.carousel--galerie .carousel__item { padding: 0 2px; }
.carousel--galerie a { display: block; width: 100%; }
.carousel--galerie img { width: 100%; }
@media (max-width: 799px) { .carousel--galerie { --item: 50%; } }

/* Kompetenz-Kacheln */

/* Umbrechende Reihe: 5 nebeneinander ab ca. 1100 px, darunter füllt die letzte Reihe die Breite */
.kompetenzen {
  display: flex;
  flex-wrap: wrap;
}

.kompetenz {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 26px 30px;
  background: var(--k);
  color: #fff;
}
.kompetenz--ui-design { --k: var(--k-ui-design); }
.kompetenz--usability { --k: var(--k-usability); }
.kompetenz--prototyping { --k: var(--k-prototyping); }
.kompetenz--styleguide { --k: var(--k-styleguide); }
.kompetenz--development { --k: var(--k-development); }

.kompetenz__title {
  margin: 0 0 30px;
  color: #fff;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
}

.kompetenz__text { margin-bottom: 30px; }
.kompetenz .button { align-self: center; margin-top: auto; }

/* Auszeichnungen */

.auszeichnungen { padding: 40px var(--gutter); }

.auszeichnungen__label {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}

.auszeichnungen__list,
.ergebnis__awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.auszeichnungen__list img { max-height: 150px; width: auto; }

@media (max-width: 799px) {
  .auszeichnungen__list { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* Projekt-Kacheln */

.projekte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projekte__link { position: relative; display: block; }
.projekte__link img { width: 100%; }

.projekte__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(37 90 168 / 0.78);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.projekte__overlay::before {
  content: "";
  width: 36px;
  height: 36px;
  background: #fff;
  mask: url("/assets/img/link.svg") center / contain no-repeat;
}
.projekte__link:hover .projekte__overlay,
.projekte__link:focus-visible .projekte__overlay { opacity: 1; }

.projekte--leiste { grid-template-columns: repeat(6, 1fr); gap: 0; }

@media (max-width: 799px) {
  .projekte { grid-template-columns: 1fr 1fr; gap: 20px; }
  .projekte--leiste { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
@media (max-width: 479px) {
  .projekte { grid-template-columns: 1fr; }
}

/* Projekt-Detailseite */

.section--projekt-intro { padding: 70px 0 65px; }
.section--projekt-intro .split__media img { width: 370px; }

.section--tint {
  padding: 90px 0 70px;
  background: var(--tint);
  color: var(--text-on-tint);
}
.section--tint .h3--muted { color: var(--text-on-tint); }

.anteile { margin: 0; }
.anteile__row { margin-bottom: 32px; }
.anteile__row:nth-child(1) { --bar: var(--k-ui-design); }
.anteile__row:nth-child(2) { --bar: var(--k-usability); }
.anteile__row:nth-child(3) { --bar: var(--k-prototyping); }
.anteile__row:nth-child(4) { --bar: var(--k-styleguide); }
.anteile__row:nth-child(5) { --bar: var(--k-development); }
.anteile dt { margin-bottom: 5px; color: var(--heading); }
.anteile dd { margin: 0; }

.anteile__bar {
  display: block;
  width: 100%;
  height: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
}
.anteile__bar::-webkit-meter-bar { height: 10px; border: 0; border-radius: 0; background: transparent; }
.anteile__bar::-webkit-meter-optimum-value,
.anteile__bar::-webkit-meter-suboptimum-value,
.anteile__bar::-webkit-meter-even-less-good-value { border-radius: 0; background: var(--bar); }
.anteile__bar::-moz-meter-bar { border-radius: 0; background: var(--bar); }

.section--ergebnis { padding: 100px 0 60px; }
.ergebnis__awards { justify-content: start; justify-items: start; grid-template-columns: repeat(auto-fill, 260px); gap: 20px; }
.ergebnis__awards img { width: auto; max-height: 150px; }

.section--leiste { padding: 0 0 var(--section-pad); }

/* Vorgehen: Reiter */

.section--tabs { padding: 30px 0 var(--section-pad); }

.tabs {
  display: grid;
  grid-template-columns: 305px 1fr;
  gap: 40px;
  align-items: start;
}

.tabs__list { margin: 0; padding: 0; list-style: none; }
.tabs__list li { margin-bottom: 10px; }

.tabs__tab {
  display: block;
  padding: 10px 35px;
  border: 1px solid var(--tab-bg);
  background: var(--tab-bg);
  color: var(--heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 45px;
}
.tabs__tab:hover { color: var(--blue); text-decoration: none; }
.tabs__tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }

.tabs__heading {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: var(--fs-h3);
  font-weight: 700;
}

.tabs__panel { padding-top: 22px; }
.tabs__panel + .tabs__panel { margin-top: 40px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: var(--fs-h4);
  line-height: 1.5;
}
.tabs__panel p + h3,
.tabs__panel ul + h3 { margin-top: 40px; }

@media (max-width: 799px) {
  .tabs { grid-template-columns: 1fr; gap: 20px; }
}

/* Kompetenz: Aufruf und Video */

.cta-bar {
  display: block;
  padding: 18px 40px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-button);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video { padding: 40px 0; background: #000; }
.video__link { position: relative; display: block; }
.video__link img { width: 100%; }
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: #e00;
  transform: translate(-50%, -50%);
}
.video__play::before {
  content: "";
  border-block: 10px solid transparent;
  border-left: 17px solid #fff;
  margin-left: 4px;
}
.video__hint {
  margin: 12px 0 0;
  color: var(--copyright-text);
  font-size: 14px;
  text-align: center;
}

/* Referenzen */

.section--logos { padding: 50px 0 var(--section-pad); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px 50px;
  margin: 0;
  padding: 50px;
  background: var(--dark);
  list-style: none;
}
.logo-grid img { width: auto; max-height: 80px; }

@media (max-width: 799px) {
  .logo-grid { grid-template-columns: 1fr 1fr; gap: 50px 30px; padding: 30px; }
}

/* Kontakt */

.section--kontakt { padding: var(--section-pad) 0 calc(var(--section-pad) + 50px); }
.kontakt { text-align: center; }
.kontakt h2 {
  margin: 0 0 40px;
  font-size: var(--fs-h3);
  font-weight: 700;
}

.adresse { background: var(--contact-tint); color: var(--text-on-tint); }
.adresse__box {
  width: min(1170px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 40px 0 30px;
}
.adresse__box img { margin-bottom: 30px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 18px 30px 16px;
  background: var(--copyright-bg);
  color: var(--copyright-text);
  font-size: 14px;
  line-height: 30px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1122px, 100%);
  margin-inline: auto;
}

.site-footer__text { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lavender); }

.site-footer .site-footer__mail {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--copyright-text);
}

@media (max-width: 799px) {
  .site-footer__inner { flex-direction: column; text-align: center; }
}

/* ---------- Lightbox (Ergebnisbilder) ---------- */

.lightbox {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgb(0 0 0 / 0.85); }
.lightbox img { width: auto; max-width: 100%; max-height: 90vh; margin: 0 auto; }
.lightbox__close {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
