* {
  box-sizing: border-box;
}

:root {
  --bg: #f2f2f2;
  --panel: rgba(255,255,255,0.76);
  --panel-strong: rgba(255,255,255,0.88);
  --text: #1a1a1a;
  --muted: #555;
  --line: rgba(0,0,0,0.08);
  --shadow: 0 18px 60px rgba(0,0,0,0.18);
  --shadow-soft: 0 12px 34px rgba(0,0,0,0.10);
  --header-height: 92px;
  --switcher-offset: 22px;
  --switcher-pad: 16px;
  --switcher-max-width: 1180px;
  --pill-1: linear-gradient(135deg, #ffd1dc 0%, #ffd7a8 100%);
  --pill-2: linear-gradient(135deg, #d8d4ff 0%, #c2e8ff 100%);
  --pill-3: linear-gradient(135deg, #d7f6d9 0%, #bfe8d5 100%);
  --pill-4: linear-gradient(135deg, #ffe3be 0%, #ffc8d8 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.35), transparent 45%),
    radial-gradient(circle at 0% 80%, rgba(255,255,255,0.25), transparent 50%),
    linear-gradient(
      120deg,
      #e5e5e5 0%,
      #c9c9c9 20%,
      #f3f3f3 40%,
      #bdbdbd 60%,
      #efefef 80%,
      #d6d6d6 100%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.15) 0px,
      rgba(255,255,255,0.15) 1px,
      rgba(0,0,0,0.06) 1px,
      rgba(0,0,0,0.06) 3px
    );
  background-blend-mode: overlay, overlay, overlay, normal, soft-light;
  background-attachment: fixed;
  color: var(--text);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.glass-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}


/* =========================================================
   MATRIX BACKGROUND DEMO
========================================================= */

body.matrix-demo-page {
  position: relative;
  overflow-x: hidden;
}

body.matrix-demo-page .matrix-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}

body.matrix-demo-page .site-header,
body.matrix-demo-page .section,
body.matrix-demo-page .site-footer,
body.matrix-demo-page .hero,
body.matrix-demo-page .carefuchs-demo,
body.matrix-demo-page .footer-cta,
body.matrix-demo-page .footer-links {
  position: relative;
  z-index: 1;
}

body.matrix-demo-page .section .container,
body.matrix-demo-page .hero .container,
body.matrix-demo-page .carefuchs-demo .container,
body.matrix-demo-page .footer-cta .container,
body.matrix-demo-page .footer-links .container {
  position: relative;
  z-index: 1;
}

body.matrix-demo-page .section {
  padding: 42px 0 54px;
}

body.matrix-demo-page .section .container {
  padding: 34px 36px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(0,0,0,0.10);
}

@media (max-width: 640px) {
  body.matrix-demo-page .section {
    padding: 26px 0 34px;
  }

  body.matrix-demo-page .section .container {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

/* =========================================================
   HEADER / NAV
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.30);
  line-height: 1.1;
  margin-top: 4px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-menu a {
  color: #2d2d2d;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
}

.desktop-menu a:hover,
.desktop-menu a.is-active {
  color: #355f8a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-cta {
  padding: 11px 18px;
  border-radius: 16px;
  font-size: 0.94rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1f1f1f;
}

.mobile-menu {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  text-decoration: none;
  color: #1e1e1e;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #355f8a 0%, #739bc4 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(53,95,138,0.24);
}

.btn-light {
  color: #1e1e1e;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* =========================================================
   PANEL AREA
========================================================= */

.page-main {
  flex: 1 0 auto;
  padding-top: 22px;
}

.panel-stage-wrap {
  padding: 28px 0 180px;
}

.panel-stage {
  position: relative;
  min-height: 760px;
}

.content-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(10px);
  pointer-events: none;
  transition:
    opacity .72s ease,
    transform .82s cubic-bezier(.2,.8,.2,1),
    filter .72s ease;
}

.content-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 44px;
  align-items: start;
}
.panel-layout-overview {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  grid-template-areas:
    "title visual"
    "rest  visual";
  align-items: start;
}

.panel-copy-overview-title {
  grid-area: title;
  min-width: 0;
}

.panel-visual-overview {
  grid-area: visual;
}

.panel-copy-overview-rest {
  grid-area: rest;
  min-width: 0;
}

.panel-layout-split {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  grid-template-areas:
    "title visual"
    "rest  visual";
  align-items: start;
}

.panel-copy-title {
  grid-area: title;
  min-width: 0;
}

.panel-visual-main {
  grid-area: visual;
}

.panel-copy-rest {
  grid-area: rest;
  min-width: 0;
}

.panel-copy,
.panel-visual {
  min-width: 0;
}

.panel-copy {
  order: 1;
}

.panel-visual {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  color: #355f8a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 22px 0 18px;
  font-size: 3.5rem;
  line-height: 1.06;
  letter-spacing: -0.024em;
}

h2 {
  margin: 22px 0 18px;
  font-size: 2.4rem;
  line-height: 1.10;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1rem;
}
p {
  color: rgba(0,0,0,0.72);
  line-height: 1.75;
  font-size: 1rem;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.78;
  color: rgba(0,0,0,0.82);
}

.visual-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 30px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: var(--shadow);
}

.visual-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.hero-visual-stack {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
  perspective-origin: 82% 50%;
}

.visual-card-main {
  overflow: hidden;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.visual-card-main img {
  will-change: transform;
  backface-visibility: hidden;
}

.visual-card-float {
  position: absolute;
  left: -28px;
  bottom: -20px;
  width: min(42%, 250px);
  transform: rotate(-6deg);
  background: var(--panel-strong);
}

.discover-visual-stack {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
}

.about-visual-stack,
.contact-visual-stack {
  display: grid;
  gap: 22px;
}

.carefuchs-demo {
  margin-top: 0;       /* sicherstellen */
  width: 100%;          /* 🔥 NEU – volle Spaltenbreite */
  max-width: 560px;     /* optional: gleiche Größe wie Bildkarten */
  margin-left: auto;    /* sorgt für saubere Ausrichtung rechts */
  align-self: flex-start;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: var(--shadow-soft);
}

.carefuchs-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.carefuchs-demo-stage {
  position: relative;
}

.carefuchs-demo-top-controls {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  display: inline-flex;
}

.carefuchs-demo-top-controls .carefuchs-demo-control-btn {
  display: none;
}

.carefuchs-demo-top-controls .carefuchs-demo-control-btn.is-visible {
  display: inline-block;
}

.carefuchs-demo-control-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: rgba(208, 224, 255, 0.94);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}

.carefuchs-demo-control-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(191, 214, 255, 0.98);
  box-shadow: 0 14px 28px rgba(0,0,0,0.20);
  filter: saturate(1.05);
}

.carefuchs-demo-control-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.carefuchs-demo-control-btn--pause::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><rect x='6' y='4' width='4' height='16' rx='1.2' fill='%23355f8a'/><rect x='14' y='4' width='4' height='16' rx='1.2' fill='%23355f8a'/></svg>");
}

.carefuchs-demo-control-btn--play::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M8 6.2c0-1.14 1.24-1.86 2.24-1.29l8.1 4.71c1 .58 1 2.01 0 2.59l-8.1 4.71C9.24 17.49 8 16.77 8 15.63V6.2Z' fill='%23355f8a'/></svg>");
}

.carefuchs-demo-control-btn--restart::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23355f8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6.6 8.2H3.8V5.4'/><path d='M4.2 8.2A8 8 0 1 1 7 18.9'/></svg>");
}

.carefuchs-demo-control-btn--expand::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23355f8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 3 3 3 3 9'/><line x1='3' y1='3' x2='10' y2='10'/><polyline points='15 21 21 21 21 15'/><line x1='14' y1='14' x2='21' y2='21'/></svg>");
}

.carefuchs-demo-control-btn--close::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23355f8a' stroke-width='2.4' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><line x1='18' y1='6' x2='6' y2='18'/></svg>");
}

.carefuchs-demo-expand-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 6;
}

.carefuchs-demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(53,95,138,0.14) 0%, rgba(115,155,196,0.18) 100%);
  color: #355f8a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.carefuchs-demo-status {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(0,0,0,0.68);
}

.carefuchs-demo-device {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(180deg, rgba(246,248,252,0.98) 0%, rgba(234,239,246,0.98) 100%);
  aspect-ratio: 16 / 10;
  min-height: 300px;
}

.carefuchs-demo-device--lightbox {
  width: min(92vw, 1320px);
  min-height: 0;
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.carefuchs-demo-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(18, 22, 28, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 125;
}

.carefuchs-demo-lightbox.is-open {
  display: flex;
}

.carefuchs-demo-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.carefuchs-demo-lightbox-dialog {
  position: relative;
  z-index: 1;
}

.carefuchs-demo-stage--lightbox {
  display: inline-block;
}

.carefuchs-demo-stage--lightbox .carefuchs-demo-top-controls {
  top: 18px;
  left: 18px;
}

.carefuchs-demo-stage--lightbox .carefuchs-demo-control-btn--close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
}

.carefuchs-demo-device::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}

.carefuchs-demo-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px) scale(0.985);
  will-change: transform, opacity;
}

.carefuchs-demo-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carefuchs-demo-cursor {
  position: absolute;
  top: 16%;
  left: 10%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 2px solid rgba(53,95,138,0.92);
  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
  z-index: 3;
  pointer-events: none;
}

.carefuchs-demo-click {
  position: absolute;
  top: 16%;
  left: 10%;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  margin-top: 6px;
  border-radius: 999px;
  border: 2px solid rgba(53,95,138,0.42);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.mini-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-shot {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.62);
  box-shadow: var(--shadow-soft);
}

.visual-card,
.mini-shot {
  position: relative;
}

.visual-card img,
.mini-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.image-zoom-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: rgba(245, 226, 186, 0.92);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 3;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    filter .18s ease;
}

.image-zoom-btn::before,
.image-zoom-btn::after {
  content: none;
}

.image-zoom-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c86f00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 3 3 3 3 9'/><line x1='3' y1='3' x2='10' y2='10'/><polyline points='15 21 21 21 21 15'/><line x1='14' y1='14' x2='21' y2='21'/></svg>");
  pointer-events: none;
}
.image-zoom-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(247, 214, 153, 0.98);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  filter: saturate(1.05);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(18, 22, 28, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.image-lightbox-dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔥 entscheidend: kein fixer Container mehr */
  width: auto;
  height: auto;

  /* 🔥 Bild bestimmt Größe */
  max-width: 96vw;
  max-height: 94vh;

  /* 🔥 alles entfernen was „Kasten“ erzeugt */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.image-lightbox-dialog img {
  display: block;
  max-width: 96vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;

  border-radius: 22px;

  /* Schatten bleibt → wirkt hochwertig */
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #2c2c2c;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.image-lightbox-close:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.portrait-card {
  padding: 12px;
}

.contact-brand-card {
  padding: 18px;
}
.contact-highlight-box,
.contact-process-box {
  padding: 22px;
  margin-top: 24px;
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-check-list,
.contact-step-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: rgba(0,0,0,0.74);
  line-height: 1.7;
}

.contact-check-list li,
.contact-step-list li {
  margin-bottom: 8px;
}

.benefits-grid,
.feature-grid,
.about-cards,
.contact-data-grid {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.benefit-card,
.feature-card,
.info-box,
.contact-mini {
  padding: 22px;
}

.benefit-card span {
  display: block;
  color: #1e5fae;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-grid,
.about-cards,
.contact-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

/* =========================================================
   PANEL SWITCHER
========================================================= */

.panel-switcher {
  position: fixed;
  left: 50%;
  bottom: var(--switcher-offset);
  transform: translateX(-50%);
  width: min(calc(100% - 24px), var(--switcher-max-width));
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  transition: transform .22s ease;
}

.switcher-track-wrap {
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.switcher-track-wrap::-webkit-scrollbar {
  display: none;
}

.switcher-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 6px 2px;
}


.switcher-arrow-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.switcher-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #202020;
  flex: 0 0 auto;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease,
    filter .18s ease;
}

.switcher-arrow.is-enabled {
  background: linear-gradient(135deg, #4f8fdd 0%, #2f6fbd 100%);
  color: #ffffff;
  border-color: rgba(34, 86, 150, 0.75);
  box-shadow:
    0 12px 28px rgba(47,111,189,0.26),
    0 4px 12px rgba(0,0,0,0.10);
}

.switcher-arrow.is-enabled:hover {
  background: linear-gradient(135deg, #3f82d6 0%, #225ea8 100%);
  color: #ffffff;
  transform: translateY(-1px);
  filter: saturate(1.08);
}

.switcher-arrow.is-disabled {
  background: rgba(255,255,255,0.96);
  color: rgba(0,0,0,0.32);
  border-color: rgba(0,0,0,0.08);
  box-shadow: var(--shadow-soft);
  cursor: default;
}

.switcher-arrow.is-disabled:hover {
  transform: none;
  filter: none;
}
.switch-card {
  min-width: 0;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 28px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease,
    filter .18s ease,
    border-color .18s ease;
}

.switch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.18);
  filter: saturate(1.08) brightness(1.03);
}

.switch-card.is-active {
  border: 3px solid rgba(32, 79, 129, 0.95);
  box-shadow:
    0 24px 52px rgba(0,0,0,0.20),
    0 0 0 4px rgba(255,255,255,0.55);
  filter: saturate(1.15) contrast(1.03);
}
.switch-card:nth-child(1) {
  background: var(--pill-1);
}

.switch-card:nth-child(2) {
  background: var(--pill-2);
}

.switch-card:nth-child(3) {
  background: var(--pill-3);
}

.switch-card:nth-child(4) {
  background: var(--pill-4);
}

.switch-thumb {
  width: 98px;
  height: 72px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(255,255,255,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.switch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.switch-text-wrap {
  min-width: 0;
}

.switch-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.switch-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(0,0,0,0.68);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #355f8a;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (min-width: 1500px) {
  .container {
    width: min(1480px, calc(100% - 56px));
  }

  .panel-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
    gap: 56px;
  }
}

@media (max-width: 1160px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 32px;
  }

  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 1024px) {
  .panel-layout,
  .feature-grid,
  .about-cards,
  .contact-data-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .panel-layout-overview,
  .panel-layout-split {
    grid-template-areas:
      "title"
      "visual"
      "rest";
  }

  .panel-copy {
    order: 2;
  }

  .panel-visual {
    order: 1;
    align-items: flex-start;   /* 🔥 verhindert vertikales "reinrutschen" */
  }

  .panel-copy-overview-title,
  .panel-visual-overview,
  .panel-copy-overview-rest,
  .panel-copy-title,
  .panel-visual-main,
  .panel-copy-rest {
    order: initial;
  }

  .hero-visual-stack {
    min-height: 0;
  }

  .visual-card-float {
    position: static;
    margin-top: 18px;
    width: min(260px, 72%);
    transform: rotate(-4deg);
  }

  .panel-stage-wrap {
    padding-bottom: 170px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.45rem;
  }
}
@media (max-width: 900px) {
  .panel-switcher {
    width: min(calc(100% - 16px), var(--switcher-max-width));
    gap: 10px;
  }

  .switcher-track {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 138px);
    grid-template-columns: none;
    gap: 8px;
    padding: 6px 2px;
    width: max-content;
  }

  .switch-card {
    width: 138px;
    min-width: 138px;
    grid-template-columns: 1fr;
    padding: 14px 12px;
    min-height: 62px;
  }

  .switch-thumb,
  .switch-sub {
    display: none;
  }

  .switch-label {
    white-space: normal;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.25;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .desktop-menu,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav {
    min-height: 68px;
    padding: 8px 0;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .discover-visual-stack {
    justify-content: center;
  }

  .carefuchs-demo {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 14px;
  }

  .carefuchs-demo-device {
    min-height: 0;
    aspect-ratio: 1.34 / 1;
  }

  .carefuchs-demo-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .page-main {
    padding-top: 12px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

@media (max-width: 640px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}

  .lead,
  p {
    font-size: 0.98rem;
  }

  .panel-switcher {
    width: min(calc(100% - 12px), var(--switcher-max-width));
    gap: 8px;
  }

  .switcher-track {
    grid-auto-columns: minmax(128px, 128px);
    gap: 8px;
  }

  .switch-card {
    width: 128px;
    min-width: 128px;
    padding: 12px 10px;
    border-radius: 22px;
  }

  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox-dialog {
    width: 100%;
    max-height: 90vh;
    padding: 16px;
    border-radius: 24px;
  }

  .image-lightbox-dialog img {
    max-height: calc(90vh - 32px);
    border-radius: 16px;
  }

  .image-zoom-btn {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
  }

  .carefuchs-demo-control-btn {
    width: 48px;
    height: 48px;
  }

  .carefuchs-demo-top-controls {
    top: 12px;
    left: 12px;
    gap: 8px;
  }

  .carefuchs-demo-expand-btn {
    right: 12px;
    bottom: 12px;
  }

  .carefuchs-demo-stage--lightbox .carefuchs-demo-control-btn--close {
    top: 12px;
    right: 12px;
  }

  .image-zoom-btn::before {
    left: 17px;
    bottom: 17px;
  }

  .image-zoom-btn::after {
    right: 17px;
    top: 17px;
  }

  .switch-label {
    font-size: 0.84rem;
  }

  .switcher-arrow {
    width: 46px;
    height: 46px;
  }
  .contact-action-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================
   OVERVIEW VIDEO BLOCK
========================= */

.overview-video-block {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.overview-video-stage {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  perspective: 1200px;
}

/* Das Bild selbst */
.overview-video-image {
  width: 100%;
  display: block;
  transform-origin: center;
  will-change: transform, opacity;
  border-radius: 20px;
}

/* Licht Effekt */
.overview-video-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.45) 50%,
    transparent 70%
  );

  opacity: 0;
  transform: translateX(-120%);
}

/* Controls vorerst ausblenden */
.overview-video-block .demo-controls {
  display: none;
}