@font-face{
  font-family:'Montserrat';
  src:url('../assets/fonts/Montserrat-400.woff2') format('woff2');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:'Montserrat';
  src:url('../assets/fonts/Montserrat-600.woff2') format('woff2');
  font-style:normal;
  font-weight:600;
  font-display:swap;
}
@font-face{
  font-family:'Montserrat';
  src:url('../assets/fonts/Montserrat-700.woff2') format('woff2');
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
@font-face{
  font-family:'Montserrat';
  src:url('../assets/fonts/Montserrat-800.woff2') format('woff2');
  font-style:normal;
  font-weight:800;
  font-display:swap;
}

* {
  box-sizing: border-box;
}

:root {
  --red: #CB2A20;
  --blue: #163a5c;
  --charcoal: #3f4850;
  --text: #2d343a;
  --muted: #69737c;
  --line: #dde3e7;
  --soft: #f5f7f8;
  --white: #ffffff;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.narrow {
  max-width: 880px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  width: 180px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--red);
}

.hero {
  background: var(--white);
}

.hero-copy {
  padding-top: 96px;
  padding-bottom: 72px;
  max-width: 900px;
}

.claim {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero h1,
.section h2,
.device-copy h2 {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.12;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 780px;
  margin: 28px 0 0;
  font-size: 1.18rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  filter: brightness(0.94);
}

.hero-showcase {
  border-top: 1px solid var(--line);
}

.device-row {
  scroll-margin-top: 82px;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.device-row-alt {
  background: var(--soft);
}

.device-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 70px;
  align-items: center;
}

.device-label {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.device-copy p {
  margin: 20px 0 0;
  color: var(--muted);
}

.device-media {
  display: flex;
  justify-content: center;
}

.screenshot-placeholder {
  width: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f8fafb 0 12%, #ffffff 12% 100%);
  box-shadow: 0 18px 45px rgba(27, 44, 58, 0.10);
  color: #89939b;
  font-size: 0.92rem;
  text-align: center;
}

.device-media-tablet .screenshot-placeholder {
  width: min(78%, 700px);
  min-height: 390px;
}

.device-media-phone .screenshot-placeholder {
  width: min(36%, 320px);
  min-height: 520px;
  border-radius: 26px;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--soft);
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -0.025em;
}

.section p {
  color: var(--muted);
}

.section .strong {
  color: var(--text);
  font-weight: 700;
}

.section-intro {
  max-width: 820px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.feature-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 34px;
}

.feature-grid article {
  padding: 28px 0;
  border-top: 2px solid var(--line);
}

.feature-grid h3 {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 1.25rem;
}

.feature-grid p {
  margin: 0;
}

.feature-wide {
  grid-column: 1 / -1;
  padding: 34px !important;
  border-top-color: var(--red) !important;
  background: var(--soft);
}

.feature-wide p + p {
  margin-top: 14px;
}

.section-origin {
  background: var(--charcoal);
}

.section-origin h2,
.section-origin .strong {
  color: var(--white);
}

.section-origin p {
  color: #d9dfe3;
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: 70px;
  align-items: center;
}

.metric {
  padding-left: 34px;
  border-left: 3px solid var(--red);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 16px;
  color: #d9dfe3;
}

.steps {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps article {
  border-top: 3px solid var(--blue);
  padding-top: 22px;
}

.steps article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.steps h3 {
  margin: 18px 0 8px;
  color: var(--charcoal);
}

.steps p {
  margin: 0;
}

.section-contact {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: center;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-card {
  padding: 30px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.contact-card h3 {
  margin: 0 0 16px;
}

.contact-card > a:not(.button) {
  display: block;
  margin: 5px 0;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  border-top: 4px solid var(--red);
  padding: 38px 0;
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
}

.site-footer strong {
  color: var(--charcoal);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  display: block;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
    font-size: 0.82rem;
  }

  .device-grid,
  .origin-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .device-copy {
    max-width: 680px;
  }

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

  .metric {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 3px solid var(--red);
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    width: 145px;
  }

  .main-nav {
    display: none;
  }

  .hero-copy {
    padding-top: 68px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .device-row {
    scroll-margin-top: 0;
    padding: 56px 0;
  }

  .screenshot-placeholder {
    min-height: 230px;
  }

  .device-media-tablet .screenshot-placeholder {
    width: 88%;
    min-height: 300px;
  }

  .device-media-phone .screenshot-placeholder {
    width: min(58%, 260px);
    min-height: 430px;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
    padding: 26px !important;
  }

  .footer-copy {
    text-align: left;
  }
}


/* Real device screenshots */
.device-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.device-media-pc img {
  max-width: 100%;
}

.device-media-tablet img {
  max-width: 760px;
}

.device-media-phone img {
  max-width: 360px;
}

@media (max-width: 700px) {
  .device-media-tablet img {
    max-width: 88%;
  }

  .device-media-phone img {
    max-width: 62%;
  }
}


/* Einheitliche maximale Screenshot-Höhe im Hero */
.device-media {
  height: 430px;
  align-items: center;
}

.device-media img,
.device-media-pc img,
.device-media-tablet img,
.device-media-phone img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
}

@media (max-width: 700px) {
  .device-media {
    height: 300px;
  }

  .device-media img,
  .device-media-pc img,
  .device-media-tablet img,
  .device-media-phone img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 300px;
  }
}


/* Entwurf 01 – Hero wie „Unsere Systemlösung“ auf d-joerger.de/preview */
.hero {
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 68px;
  align-items: center;
}

.hero .hero-copy {
  max-width: none;
  padding: 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.55rem);
}

.hero-system {
  min-width: 0;
}

.hero-scroller {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--charcoal) #e8ecef;
  padding: 4px 2px 20px;
}

.hero-scroller::-webkit-scrollbar {
  height: 8px;
}

.hero-scroller::-webkit-scrollbar-track {
  background: #e8ecef;
  border-radius: 999px;
}

.hero-scroller::-webkit-scrollbar-thumb {
  background: var(--charcoal);
  border-radius: 999px;
}

.hero-slide {
  flex: 0 0 min(92%, 760px);
  min-width: 0;
  scroll-snap-align: start;
  scroll-margin-top: 100px;
}

.hero-device {
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}

.hero-slide-copy {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.hero-slide-copy h2 {
  margin: 7px 0 8px;
  color: var(--charcoal);
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-slide-copy p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero .hero-copy {
    max-width: 780px;
  }

  .hero-slide {
    flex-basis: 82%;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 62px 0 56px;
  }

  .hero-layout {
    gap: 42px;
  }

  .hero-device {
    height: 300px;
  }

  .hero-device img {
    max-height: 300px;
  }

  .hero-slide {
    flex-basis: 92%;
  }
}


/* Hero-Korrektur: Aufbau wie der System-Scroller der Unternehmensseite */
.hero-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
}

.hero-copy,
.hero-system {
  min-width: 0;
}

.hero .hero-copy {
  width: 100%;
  overflow: hidden;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(2.55rem, 4vw, 4.15rem);
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-lead {
  max-width: 100%;
}

/* Scroller: immer genau eine Geräteansicht sichtbar */
.hero-system {
  overflow: hidden;
}

.hero-scroller {
  width: 100%;
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 0 0 14px;
  scrollbar-width: thin;
  scrollbar-color: #66717a #e4e8eb;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0;
}

/* Dezente Scrollbar statt der browsertypischen Variante */
.hero-scroller::-webkit-scrollbar {
  height: 6px;
}

.hero-scroller::-webkit-scrollbar-track {
  background: #e4e8eb;
  border-radius: 999px;
}

.hero-scroller::-webkit-scrollbar-thumb {
  background: #66717a;
  border-radius: 999px;
}

.hero-scroller::-webkit-scrollbar-thumb:hover {
  background: #3f4850;
}

.hero-scroller::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* Einheitliche Bildfläche; keine Überlagerung mit Text */
.hero-device {
  width: 100%;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-device img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
}

.hero-slide-copy {
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

@media (max-width: 1050px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 4vw, 3.45rem);
  }

  .hero-device {
    height: 330px;
  }

  .hero-device img {
    max-height: 330px;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero .hero-copy {
    overflow: visible;
  }

  .hero h1 {
    max-width: 780px;
  }

  .hero-slide {
    flex-basis: 100%;
    min-width: 100%;
  }
}

@media (max-width: 700px) {
  .hero-device {
    height: 275px;
  }

  .hero-device img {
    max-height: 275px;
  }
}


/* Keine Trennung innerhalb der Hero-Überschrift */
.hero h1 {
  font-size: clamp(2.55rem, 3.4vw, 3.6rem);
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Klickbare Screenshots */
.screenshot-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screenshot-open img {
  transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .screenshot-open:hover img {
    transform: scale(1.015);
  }
}

.screenshot-open:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20, 27, 33, 0.76);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1500px);
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.25));
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--charcoal);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .hero h1 {
    font-size: clamp(2.35rem, 3.4vw, 3.1rem);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.55rem, 7vw, 4rem);
  }
}

@media (max-width: 700px) {
  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: -12px;
    right: -8px;
  }
}


/* Entwurf 01a ------------------------------------------------------------ */

/* Exakt eine volle Scroller-Seite pro Slide */
.hero-scroller {
  scroll-snap-type: x mandatory;
}

.hero-slide {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Vergrößerte Ansicht niemals über die Originalgröße hinaus skalieren */
.lightbox-dialog {
  width: auto;
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  object-fit: contain;
  transform: none !important;
}

@media (max-width: 700px) {
  .lightbox-dialog {
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 36px);
  }

  .lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 36px);
  }
}


/* Entwurf 01b */
.brand img {
  margin-top: 3px;
  margin-bottom: 3px;
}


/* Entwurf 01c – insgesamt 6 px Weißraum über/unter dem Logo */
.brand img {
  margin-top: 6px;
  margin-bottom: 6px;
}


/* Entwurf 01e – "mit System." bleibt als Einheit zusammen */
.nowrap {
  white-space: nowrap;
}


/* Entwurf 02 – verdichteter Hero und visuelle Produktführung */
.feature-showcase { padding-top: 96px; }
.feature-heading { max-width: 820px; margin-bottom: 58px; }

.feature-story {
  display: grid;
  grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr);
  gap: 64px;
  align-items: center;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}
.feature-story-reverse { grid-template-columns: minmax(0,1.28fr) minmax(250px,.72fr); }
.feature-story-reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature-story-reverse .feature-screen { grid-column: 1; grid-row: 1; }

.feature-number {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.feature-copy h3, .feature-compact h3, .feature-detail-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem,2.2vw,2.1rem);
  line-height: 1.2;
}
.feature-copy p, .feature-compact p, .feature-detail-copy p { margin: 0; line-height: 1.7; }

.feature-screen { min-width: 0; display: flex; align-items: center; justify-content: center; }
.feature-screen .screenshot-open { min-height: 390px; }
.feature-screen img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 470px;
  object-fit: contain;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-compact {
  min-height: 245px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-compact h3 { font-size: 1.25rem; }

.feature-detail-screen {
  display: grid;
  grid-template-columns: minmax(260px,.8fr) minmax(260px,1.2fr);
  gap: 64px;
  align-items: center;
  margin-top: 76px;
  padding: 56px;
  background: #f4f6f7;
}
.standalone-screen { min-height: 360px; }
.standalone-screen img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
}

@media (max-width:900px) {
  .feature-story, .feature-story-reverse, .feature-detail-screen {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-story-reverse .feature-copy,
  .feature-story-reverse .feature-screen { grid-column: auto; grid-row: auto; }
  .feature-story-reverse .feature-copy { order: 1; }
  .feature-story-reverse .feature-screen { order: 2; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-detail-screen { padding: 40px; }
}
@media (max-width:600px) {
  .feature-showcase { padding-top: 70px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-compact { min-height: auto; padding: 28px; }
  .feature-detail-screen { margin-top: 50px; padding: 28px 22px; }
  .standalone-screen { min-height: 280px; }
}


/* Entwurf 02a – vier gruppierte Funktionsblöcke */
.feature-story .feature-copy p + p {
  margin-top: 16px;
}

.feature-story:last-child {
  border-bottom: 1px solid var(--line);
}


/* Entwurf 02b – einzelne Funktionen paarweise an einem Screenshot */
.feature-copy-pair {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.feature-function + .feature-function {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.feature-function h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.feature-function p {
  margin: 0;
  line-height: 1.7;
}

.feature-function p + p {
  margin-top: 14px;
}


/* Entwurf 02c – Funktionsüberschrift volle Breite, keine interne Trennlinie */
.feature-heading {
  max-width: none;
  width: 100%;
}

.feature-heading h2 {
  max-width: none;
}

/* Die Überschriften der beiden Funktionen reichen als optische Trennung aus. */
.feature-function + .feature-function {
  padding-top: 0;
  border-top: 0;
}


/* Entwurf 02d – Hero als dezente, geschlossene Produkteinführung */
.hero {
  background: #f4f6f7;
  border-bottom: 1px solid var(--line);
}

/* Der anschließende Funktionsbereich bleibt bewusst weiß. */
.feature-showcase {
  background: #ffffff;
}


/* Entwurf 02f – Herkunftsblock und verbindliches AETUM-Rot */
:root {
  --aetum-red: #CB2A20;
  --red: var(--aetum-red);
}

.origin-heading-line {
  white-space: nowrap;
}

/* Die Herkunftsüberschrift gehört zum gesamten Abschnitt, nicht nur zur Textspalte. */
.origin-section .section-heading,
.origin .section-heading,
.story .section-heading {
  max-width: none;
  width: 100%;
}

.origin-section .section-heading h2,
.origin .section-heading h2,
.story .section-heading h2 {
  max-width: none;
}

/* Zweite Kennzahl – gleiche ruhige Gestaltung wie der bestehende Nachweis. */
.origin-metric {
  margin-top: 28px;
  padding-left: 34px;
  border-left: 3px solid var(--aetum-red);
}

.origin-metric strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  color: #fff;
}

.origin-metric span {
  display: block;
  margin-top: 14px;
  color: #fff;
}

@media (max-width: 760px) {
  .origin-heading-line {
    white-space: normal;
  }
}


/* Entwurf 02g – Kennzahlen fest als rechte Spalte neben dem Herkunftstext */
.origin-metrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  min-width: 0;
}

.origin-metrics .origin-metric,
.origin-metrics > div {
  margin: 0;
}

/* Bestehendes zweispaltiges Herkunftslayout stabilisieren. */
.origin-grid,
.story-grid,
.origin-content,
.story-content {
  align-items: start;
}

/* Falls der bestehende Statistikblock über Grid-Areas positioniert wird:
   beide Kennzahlen bleiben gemeinsam in derselben rechten Spalte. */
.origin-metrics {
  grid-column: 2;
  grid-row: 1 / span 2;
}

@media (min-width: 901px) {
  .origin-metrics {
    align-self: start;
    padding-top: 6px;
  }
}

@media (max-width: 900px) {
  .origin-metrics {
    grid-column: auto;
    grid-row: auto;
    gap: 30px;
  }
}


/* Entwurf 02h – Herkunftsüberschrift als volle Breitenzeile oberhalb von Text + Kennzahlen */
.origin-section .origin-heading-full {
  width: 100%;
  max-width: none;
  margin-bottom: 28px;
}

.origin-section .origin-title {
  width: 100%;
  max-width: none;
  margin: 0;
}

.origin-section .origin-title span {
  display: inline-block;
}

@media (min-width: 901px) {
  .origin-section .origin-title span:first-child {
    white-space: nowrap;
  }
}

/* Die eigentliche Zweispaltenstruktur beginnt erst unterhalb der Überschrift. */
.origin-section .origin-heading-full + * {
  margin-top: 0;
}

@media (max-width: 900px) {
  .origin-section .origin-title span:first-child {
    white-space: normal;
  }
}


/* Entwurf 02i – Herkunftsblock mit explizitem 2-Zeilen-Grid
   Zeile 1: Überschrift über volle Breite
   Zeile 2: Fließtext links, Kennzahlen rechts */
@media (min-width: 901px) {
  .origin-section .origin-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    column-gap: 70px;
    row-gap: 32px;
    align-items: start;
  }

  .origin-section .origin-heading-full {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 !important;
  }

  .origin-section .origin-heading-full + div {
    grid-column: 1;
    grid-row: 2;
    margin: 0 !important;
    padding: 0 !important;
  }

  .origin-section .origin-metrics {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    gap: 48px;
  }

  .origin-section .origin-title {
    margin: 0 !important;
  }

  .origin-section .origin-title span:first-child {
    white-space: nowrap;
  }
}


/* Footer aus der Unternehmenshomepage */
.site-footer {background:var(--charcoal);color:#e9eef2;padding:60px 0 20px}
.footer-grid {display:grid;grid-template-columns:1.5fr .75fr .75fr;gap:50px;align-items:start}
.footer-brand img {max-width:360px;filter:brightness(0) invert(1);opacity:.95}
.site-footer h3 {font-size:.85rem;text-transform:uppercase;letter-spacing:.1em}
.site-footer a {display:block;color:#e9eef2;margin:8px 0;font-size:.9rem}
.footer-bottom {border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:18px;font-size:.8rem;color:#cbd3d9}
.footer-grid {grid-template-columns:1fr 1fr}
.process-grid,.services-grid,.benefits-grid,.footer-grid {grid-template-columns:1fr}
.footer-brand img {max-width:300px}
.footer-inline-logo {max-width:360px}
/* Footer 05a */
.site-footer {
  background: #303840 !important;
  color: #fff;
  padding: 56px 0 0;
}
.site-footer .container {
  width: min(calc(100% - 48px), 1180px);
  margin-left: auto;
  margin-right: auto;
}
.footer-main {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(150px, .75fr) minmax(150px, .75fr);
  gap: 48px;
  align-items: start;
}
.footer-brandmark {
  display: flex;
  gap: 10px;
  padding-top: 2px;
}
.footer-brandmark span {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.footer-brandmark span:nth-child(1) { background: #0E2946; }
.footer-brandmark span:nth-child(2) { background: #3B454F; }
.footer-brandmark span:nth-child(3) { background: #CB2A20; }
.footer-block h3 {
  margin: 0 0 14px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
}
.footer-block p,
.footer-nav a {
  color: rgba(255,255,255,.76);
  font-size: .95rem;
  line-height: 1.8;
}
.footer-block p { margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { text-decoration: none; margin: 0; }
.footer-nav a:hover,
.footer-nav a:focus-visible { color: #fff; }
.footer-bottom {
  margin-top: 42px !important;
  padding: 18px 0 24px !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.62) !important;
  font-size: .86rem !important;
}
.footer-main { grid-template-columns: 1fr 1fr; gap: 34px 42px; }
.footer-brandmark { grid-column: 1 / -1; }
.site-footer { padding-top: 44px; }
.site-footer .container { width: min(calc(100% - 32px), 1180px); }
.footer-main { grid-template-columns: 1fr; gap: 28px; }
.footer-brandmark { grid-column: auto; }
.footer-brandmark span { width: 28px; height: 28px; }
.footer-bottom { margin-top: 30px !important; }
.footer-brandmark span {
  border-radius: 0 !important;
}

html, body { font-family: 'Montserrat', Arial, sans-serif; }


/* Entwurf 02k – Footer: ohne Navigation, Desktop wieder horizontal */
.site-footer .footer-main {
  display: grid !important;
  grid-template-columns: auto minmax(240px, 1fr) minmax(180px, .75fr) !important;
  gap: 48px !important;
  align-items: start !important;
}

.site-footer .footer-brandmark {
  grid-column: auto !important;
}

@media (max-width: 1000px) {
  .site-footer .footer-main {
    grid-template-columns: auto 1fr 1fr !important;
    gap: 34px 42px !important;
  }
}

@media (max-width: 620px) {
  .site-footer .footer-main {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .site-footer .footer-brandmark {
    grid-column: auto !important;
  }
}


/* Entwurf 02p – Pagination für den Hero-Sidescroller auf Tablet und Smartphone */
.hero-pagination {
  display: none;
}

@media (max-width: 1024px) {
  .hero-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #aeb5ba;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease;
  }

  .hero-dot.is-active {
    background: var(--aetum-red);
    transform: scale(1.15);
  }

  .hero-dot:focus-visible {
    outline: 2px solid var(--aetum-red);
    outline-offset: 3px;
  }
}


/* Entwurf 02q – Kennzahlen auf Tablet/Smartphone ruhiger darstellen */
@media (max-width: 900px) {
  .origin-metrics .origin-metric-secondary {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}


/* Entwurf 02r – beide Kennzahlen typografisch gleichwertig */
.origin-metrics .origin-metric strong,
.origin-metrics .origin-metric-secondary strong {
  font-size: clamp(2.5rem, 5vw, 4.6rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}


/* Entwurf 02s – Kennzahlen vollständig vereinheitlicht */
.origin-metrics .origin-metric strong,
.origin-metrics .origin-metric-secondary strong {
  color: #ffffff !important;
  font-size: clamp(2.5rem, 5vw, 4.6rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.origin-metrics .origin-metric span,
.origin-metrics .origin-metric-secondary span {
  color: #ffffff !important;
  font-weight: 400 !important;
}


/* Entwurf 02t – beide tatsächlich verwendeten Kennzahl-Klassen angleichen */
.origin-metrics .metric strong,
.origin-metrics .origin-metric-secondary strong {
  color: #ffffff !important;
  font-size: clamp(2.5rem, 5vw, 4.6rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.origin-metrics .metric span,
.origin-metrics .origin-metric-secondary span {
  color: #ffffff !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}


/* Entwurf 02u – Bildschirmrahmen ausschließlich für die vier Funktions-Screenshots */
.feature-showcase .function-screen {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(260px, 31vw, 430px);
  padding: 12px;
  overflow: hidden;
  border: 2px solid #202428;
  border-radius: 22px;
  background: #202428;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  box-sizing: border-box;
}

/* Screenshot füllt immer die komplette Bildschirmbreite.
   Ist er höher als der sichtbare Bereich, wird ausschließlich unten abgeschnitten. */
.feature-showcase .function-screen img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px;
  object-fit: initial !important;
  object-position: top left;
}

/* Dezente Kamera/Status-LED als Bildschirmdetail, ohne zusätzlichen oberen Gerätebalken. */
.feature-showcase .function-screen::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #090b0c;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .feature-showcase .function-screen {
    height: clamp(220px, 55vw, 390px);
    padding: 9px;
    border-radius: 18px;
  }

  .feature-showcase .function-screen img {
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .feature-showcase .function-screen {
    height: clamp(210px, 68vw, 340px);
    border-radius: 16px;
  }
}

/* Der Hero-Sidescroller bleibt absichtlich unangetastet. */


/* Entwurf 02v – Bildschirmrahmen finalisiert */
.feature-showcase .function-screen {
  padding: 12px !important;
  border-radius: 14px !important;
}

/* Screenshot selbst ohne Rundung; der Rahmen erzeugt die Geräteform. */
.feature-showcase .function-screen img {
  border-radius: 0 !important;
}

/* Unten bleibt derselbe sichtbare Rahmen wie oben.
   Der Screenshot wird innerhalb der verfügbaren Bildschirmfläche beschnitten. */
.feature-showcase .function-screen {
  display: block;
}

.feature-showcase .function-screen img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top left !important;
}


/* Entwurf 02w – Funktions-Screenshots bewusst ohne Hover-Effekt */
.feature-showcase .function-screen,
.feature-showcase .function-screen:hover,
.feature-showcase .function-screen:focus,
.feature-showcase .function-screen:focus-visible {
  transform: none !important;
}

.feature-showcase .function-screen img,
.feature-showcase .function-screen:hover img,
.feature-showcase .function-screen:focus img,
.feature-showcase .function-screen:focus-visible img {
  transform: none !important;
  filter: none !important;
}


/* GoLive mobile fix v3:
   Die allgemeine Screenshot-Regel setzt min-height:390px und erzeugte dadurch
   den großen Leerraum. Für Funktions-Screenshots wird diese Mindesthöhe aufgehoben. */
.feature-showcase .feature-screen .function-screen {
  height: auto !important;
  min-height: 0 !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.feature-showcase .feature-screen .function-screen img,
.feature-showcase .feature-screen .function-screen:hover img,
.feature-showcase .feature-screen .function-screen:focus img,
.feature-showcase .feature-screen .function-screen:focus-visible img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top left !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 900px) {
  .feature-showcase .feature-screen .function-screen {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px !important;
  }
}

@media (max-width: 600px) {
  .feature-showcase .feature-screen .function-screen {
    min-height: 0 !important;
    height: auto !important;
    padding: 7px !important;
  }
}
