/* Seqex Deutschland – Testseite. Eine Datei für alle Seiten. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #1f3a4a;          /* Überschriften */
  --text: #3e5560;         /* Fließtext */
  --muted: #566c78;        /* Nebentext */
  --brand: #265c96;        /* Blau aus dem Logo, Knöpfe und Links */
  --brand-dark: #1b4777;
  --deep: #1d3644;         /* dunkle Flächen */
  --deeper: #162b37;
  --sand: #f7f3ec;         /* warme helle Fläche */
  --sand-2: #efe8dc;
  --line: #e3dacb;
  --copper: #c9764a;       /* nur Linien und kleine Akzente */
  --copper-text: #9a4a22;  /* Kupfer als Schriftfarbe auf hell */
  --peach: #f3d9c8;        /* Akzent auf dunklen Flächen */
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 26px 60px -34px rgba(31, 58, 74, 0.45);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
[id] { scroll-margin-top: 110px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--first { padding-top: clamp(40px, 5vw, 72px); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px; background: var(--copper); }
.h2 { margin-top: 16px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
.lead { margin-top: 20px; max-width: 620px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
.head { max-width: 780px; }
.headrow { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 28px; border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn svg { flex: none; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); color: var(--white); }
.btn--line { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--line:hover { background: var(--brand); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--sand-2); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.more svg { flex: none; transition: transform .2s ease; }
.more:hover svg { transform: translateX(4px); }

/* Kopf */
.topbar { background: var(--deep); color: #d5e1e8; font-size: 14px; line-height: 20px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; color: var(--white); font-weight: 500; }
.topbar a:hover { color: var(--peach); }
.topbar__links { display: flex; flex-wrap: wrap; gap: 0 28px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 3vw, 28px); padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: clamp(10px, 2.4vw, 14px); }
.brand img { display: block; width: auto; height: clamp(40px, 9vw, 48px); }
.brand span { padding-left: clamp(10px, 2.4vw, 14px); border-left: 1px solid var(--line); font-size: clamp(11px, 2.9vw, 13px); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 16px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--copper); }
.menu-btn { display: none; flex: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #8496a8; border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; padding: 0 var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; font-weight: 500; }
.mobile-nav .btn { margin-top: 20px; border-bottom: 0; color: var(--white); }

/* Einstieg: heller Grund, Foto läuft von rechts ins Bild */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 76svh, 760px); overflow: hidden; background: var(--sand); }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 62%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.hero__img { position: absolute; right: 0; bottom: 0; display: block; width: auto; max-width: none; height: 116%; }
.hero__inner { position: relative; padding-block: clamp(56px, 7vw, 96px) clamp(120px, 13vw, 190px); }
.hero__text { max-width: min(600px, 47%); }
.hero h1 { margin-top: 18px; font-size: clamp(42px, 5.1vw, 78px); font-weight: 400; line-height: 1.03; letter-spacing: -0.025em; }
.hero h1 span { color: var(--brand); }
.hero .lead { max-width: 480px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 22px; font-size: 16px; color: var(--muted); }
.hero__note a { font-weight: 600; white-space: nowrap; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; display: block; width: 100%; max-width: none; height: clamp(90px, 12vw, 180px); pointer-events: none; }

/* Einleitung und Icons */
.icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) clamp(18px, 2.6vw, 36px); margin-top: clamp(40px, 5vw, 64px); }
.icon { display: flex; flex-direction: column; align-items: flex-start; }
.icon__plate { display: block; width: clamp(104px, 9.4vw, 136px); aspect-ratio: 1 / 1; margin-bottom: 22px; border-radius: 50%; overflow: hidden; background: var(--white); box-shadow: 0 20px 44px -24px rgba(31, 58, 74, 0.5), 0 0 0 1px rgba(31, 58, 74, 0.07); }
.icon__plate img { display: block; width: 100%; height: 100%; }
.icon h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; }
.icon p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--muted); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 4.5vw, 60px); }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(26px, 3vw, 38px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: 999px; background: var(--sand-2); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tag--pro { background: var(--deep); color: var(--white); }
.tag--soon { background: transparent; border: 1px dashed var(--copper); color: var(--copper-text); }
.card .h3 { margin-top: 20px; }
.card > p { margin-top: 12px; }
.card > .price { margin-top: auto; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: 100%; margin-top: auto; padding-top: 26px; }
.price strong { font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.price s { font-size: 20px; color: var(--muted); white-space: nowrap; }
.price span { font-size: 16px; color: var(--muted); }
.card .more { margin-top: 14px; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 4.5vw, 60px); }
.duo .card { background: var(--sand); border-color: transparent; }
.section--sand .duo .card { background: var(--white); border-color: var(--line); }
.note { margin-top: 28px; max-width: 760px; font-size: 16px; color: var(--muted); }

/* Systeme */
.systems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 36px) clamp(16px, 2vw, 24px); margin-top: clamp(36px, 4.5vw, 60px); }
.systems--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.system { display: flex; flex-direction: column; gap: 16px; min-width: 0; color: inherit; }
.system__img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 12%; border-radius: var(--radius); background: var(--sand); transition: background-color .2s ease; }
.section--sand .system__img { background: var(--white); }
.system:hover .system__img { background: var(--sand-2); }
.system__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.system__body { display: flex; flex-direction: column; align-items: flex-start; }
.system__body .tag { margin-bottom: 12px; }
.section--sand .system__body .tag:not(.tag--pro) { background: var(--white); }
.system h3 { font-size: 21px; font-weight: 600; letter-spacing: 0.01em; }
.system p { margin-top: 4px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.system .more { margin-top: 2px; min-height: 0; color: var(--brand); }

/* Schritte */
.steps { margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-size: 40px; font-weight: 300; line-height: 1; color: var(--brand); }
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: 0; }
.steps p { margin-top: 8px; max-width: 640px; }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .steps { margin-top: 0; }
.split .btn { margin-top: 30px; }

/* Aktuelles */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 4.5vw, 60px); }
.news .card p { margin-top: 12px; }
.news .card .price { margin-top: 0; padding-top: 18px; }
.news .card .more { margin-top: auto; padding-top: 14px; }
.placeholder { color: var(--copper-text); font-weight: 600; }
.article { padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.article + .article { margin-top: 24px; }
.article h2 { margin-top: 18px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.article p { margin-top: 14px; max-width: 720px; font-size: 18px; }
.article .price { margin-top: 0; padding-top: 22px; }
.article .btn { margin-top: 26px; }
.article--soon { border-style: dashed; border-color: var(--copper); background: transparent; }

/* Kontakt */
.contact { position: relative; overflow: hidden; background: var(--deep); color: #dbe6ec; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--peach); }
.contact .lead { color: #dbe6ec; }
.contact .wrap { position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__waves { position: absolute; right: 0; top: 0; width: min(900px, 80%); max-width: none; height: 100%; opacity: 0.55; pointer-events: none; }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.channel { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 148px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; background: rgba(255, 255, 255, 0.07); color: var(--white); transition: background-color .2s ease; }
a.channel[href]:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.channel svg { margin-bottom: 10px; color: var(--peach); }
.channel small { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #b9cdd8; }
.channel strong { font-size: 18px; font-weight: 500; line-height: 1.35; overflow-wrap: break-word; }
.channel .placeholder { color: var(--peach); }
.channel .tag { position: absolute; right: 16px; top: 16px; border-color: rgba(243, 217, 200, 0.7); color: var(--peach); }
.address { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 18px; line-height: 1.55; color: var(--white); }
.address a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--peach); font-weight: 600; }
.address a:hover { color: var(--white); }

/* Fuß */
.footer { background: var(--deeper); color: #c5d5de; padding-block: clamp(48px, 6vw, 72px) 32px; font-size: 16px; }
.footer a { color: #c5d5de; }
.footer a:hover { color: var(--white); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px clamp(32px, 6vw, 96px); }
.footer__brand { flex: 1 1 260px; max-width: 380px; }
.footer__brand .brand span { border-color: rgba(255, 255, 255, 0.24); color: var(--white); }
.footer__brand p { margin-top: 20px; }
.footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer nav strong { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.footer nav a, .footer nav span { display: inline-flex; align-items: center; min-height: 40px; }
.footer__bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 15px; }
.footer__bottom p { max-width: 720px; }

/* Unterseiten */
.pagehead { position: relative; overflow: hidden; background: var(--sand); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pagehead h1 { margin-top: 18px; font-size: clamp(40px, 5.2vw, 72px); font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; }
.pagehead .tag { margin-top: 28px; background: var(--white); }
.pagehead .tag--pro { background: var(--deep); }
.pagehead .hero__cta { margin-top: 30px; }
.pagehead__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; max-width: 440px; width: 100%; margin-inline: auto; padding: 15%; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.pagehead__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pagehead__photo { aspect-ratio: 4 / 3; max-width: 520px; width: 100%; margin-inline: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pagehead__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { display: inline-flex; align-items: center; min-height: 32px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose > * + * { margin-top: 18px; }
.prose p { font-size: 18px; }
.prose .h2 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 44px); }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.5; color: var(--ink); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 26px; width: 16px; height: 8px; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg); }
.acc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; list-style: none; }
.acc li { padding: 18px 0; border-top: 1px solid var(--line); }
.acc strong { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.acc span { font-size: 16px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--deep); color: #dbe6ec; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.cta p { margin-top: 8px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; }
.pager .more--back svg { transform: rotate(180deg); }
.pager .more--back:hover svg { transform: rotate(180deg) translateX(4px); }

/* Hinweis: Testseite */
.testbadge { position: fixed; left: 14px; bottom: 14px; z-index: 60; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); pointer-events: none; }

/* Schmale Bildschirme */
@media (max-width: 1120px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header.is-open .mobile-nav { display: flex; }
}
@media (max-width: 980px) {
  .topbar .wrap { justify-content: center; }
  .topbar__addr { display: none; }
  .hero { display: block; min-height: 0; }
  .hero__inner { padding-block: clamp(40px, 8vw, 64px) clamp(84px, 20vw, 150px); }
  .hero__text { max-width: 640px; }
  .hero__media { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 560px; -webkit-mask-image: none; mask-image: none; }
  .hero__img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
  .hero__waves { height: clamp(56px, 13vw, 120px); }
  .cards, .news, .duo, .split { grid-template-columns: minmax(0, 1fr); }
  .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid, .pagehead__grid, .cols { grid-template-columns: minmax(0, 1fr); }
  .pagehead__img { max-width: 300px; }
}
@media (max-width: 700px) {
  .icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .contact__waves { display: none; }
  .channel { min-height: 0; }
  .steps li { grid-template-columns: 52px minmax(0, 1fr); }
  .steps li::before { font-size: 32px; }
  .hero__cta .btn, .cta__btns .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .system__body .tag { padding: 3px 10px; font-size: 12px; letter-spacing: 0.04em; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
