/* ==========================================================================
   oCloud.de – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Bausteine · 4 Kopfbereich · 5 Startseite
           6 Fußbereich · 7 Dialog · 8 Hilfsklassen
   Keine externen Schriften oder CDNs. Einziger externer Aufruf: das eingebettete
   Kontaktformular auf der Produktseite.
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
  --navy: #090962;          /* Markenfarbe aus dem Logo */
  --navy-deep: #05053d;
  --navy-soft: #1c1c8f;
  --indigo: #4250e6;
  --indigo-light: #a9b2ff;
  --red: #d2322d;           /* Akzentfarbe der bisherigen Seite */
  --red-dark: #b3261f;
  --yellow: #ffe45c;

  --ink: #0d0f2b;
  --text: #3d4260;
  --muted: #666c88;
  --line: #e3e5f0;
  --soft: #f4f5fb;
  --tint: #eceefb;
  --white: #fff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(9 9 98 / 0.06), 0 2px 8px rgb(9 9 98 / 0.05);
  --shadow: 0 2px 6px rgb(9 9 98 / 0.06), 0 14px 34px rgb(9 9 98 / 0.1);
  --shadow-lg: 0 10px 30px rgb(3 3 40 / 0.25), 0 40px 80px rgb(3 3 40 / 0.35);

  --container: 1180px;
  --gutter: 1.25rem;
  --header-h: 68px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
h1 { hyphens: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
strong, b { font-weight: 650; color: inherit; }
abbr[title] { text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }

/* 3 Bausteine ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform 0.15s; }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgb(210 50 45 / 0.28); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); color: var(--white); }
.btn--outline { border-color: #c9cdea; color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--tint); color: var(--navy); }
.btn--glass { color: var(--white); background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.28); }
.btn--glass:hover { background: rgb(255 255 255 / 0.16); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); color: var(--navy); }

.btn--lg { padding: 0.9rem 1.25rem; font-size: 1.02rem; border-radius: 12px; }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.925rem; }
.btn--xs { padding: 0.32rem 0.75rem; font-size: 0.85rem; border-radius: 8px; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge--accent { background: var(--red); color: var(--white); }

.tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 0.1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: var(--indigo-light); }

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--tint);
  color: var(--navy);
  font-size: 1.1rem;
}
.icon-tile--lg { width: 58px; height: 58px; border-radius: 16px; font-size: 1.4rem; }
.icon-tile--accent { background: #fdebea; color: var(--red); }
.icon-tile--navy { background: var(--navy); color: var(--white); }
.icon-tile--glass { background: rgb(255 255 255 / 0.12); color: var(--white); }

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--soft); }
.section__title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  text-align: center;
}
.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 4px;
  background: var(--red);
}

.cards { display: grid; gap: 1.25rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card,
.offer {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover,
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 1.1rem 0 0.45rem; font-size: 1.15rem; font-weight: 700; }
.card p { font-size: 0.97rem; }

/* 4 Kopfbereich ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.topbar { background: var(--navy-deep); color: rgb(255 255 255 / 0.82); font-size: 0.82rem; }
.topbar a { color: var(--white); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 38px; padding-block: 0.4rem; }
.topbar__notice { display: flex; align-items: center; gap: 0.5rem; }
.topbar__notice .icon { color: var(--indigo-light); }
.topbar__products { display: flex; gap: 1.1rem; flex: none; }
.topbar__products a { text-decoration: none; color: rgb(255 255 255 / 0.82); }
.topbar__products a:hover { color: var(--white); text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex: none; color: var(--ink); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand:hover { color: var(--navy); }
.brand--light, .brand--light:hover { color: var(--white); }

.nav-toggle { display: none; margin-left: auto; padding: 0.55rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav { display: flex; align-items: center; flex: 1; gap: 1rem; }
.site-nav__list { display: flex; align-items: center; gap: 0.15rem; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.site-nav__link:hover { background: var(--tint); color: var(--navy); }
.site-nav__link[aria-current="page"] { color: var(--navy); background: var(--tint); }
.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.site-nav__register-long, .site-nav__contact { display: none; }

.lang-switch { display: flex; padding: 3px; border-radius: 9px; background: var(--tint); }
.lang-switch a { display: block; padding: 0.25rem 0.55rem; border-radius: 7px; color: var(--muted); font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.lang-switch a:hover { color: var(--navy); }
html[lang="de"] .lang-switch [data-lang="de"],
html[lang="en"] .lang-switch [data-lang="en"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* Produkte-Menü */
.site-header__inner { position: relative; } /* Bezugspunkt für das Produkte-Menü */
.dropdown > summary { list-style: none; user-select: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary .icon { transition: transform 0.2s; }
.dropdown[open] > summary { background: var(--tint); color: var(--navy); }
.dropdown[open] > summary .icon { transform: rotate(180deg); }
.dropdown__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 2 * var(--gutter)));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.dropdown__feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}
.dropdown__feature:hover { color: var(--white); filter: brightness(1.15); }
.dropdown__cols { display: grid; grid-template-columns: 0.8fr 1.4fr 1.1fr; gap: 1rem; margin-top: 1rem; }
.dropdown__title { padding: 0 0.6rem 0.35rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dropdown__cols a { display: block; padding: 0.42rem 0.6rem; border-radius: 8px; color: var(--ink); font-size: 0.95rem; text-decoration: none; }
.dropdown__cols a:hover { background: var(--tint); color: var(--navy); }

/* 5 Startseite ------------------------------------------------------------ */
.promo { background: var(--tint); font-size: 0.93rem; color: var(--ink); }
.promo__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 0.6rem; }
.promo__text { display: flex; align-items: center; gap: 0.6rem; }
.promo__actions { display: flex; gap: 0.4rem; }

.hero {
  position: relative;
  color: rgb(255 255 255 / 0.84);
  background:
    radial-gradient(900px 520px at 88% -8%, rgb(74 86 240 / 0.55), transparent 62%),
    radial-gradient(700px 500px at -10% 110%, rgb(210 50 45 / 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(6rem, 10vw, 8.5rem);
}
.hero h1 { margin-top: 1rem; color: var(--white); font-size: clamp(2.25rem, 4.7vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.hero__lead { margin-top: 1.1rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / 0.9); max-width: 34rem; }
.hero__list { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.hero__list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.hero__list .icon { margin-top: 0.18em; color: var(--indigo-light); }
.hero__list strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.hero__visual { position: relative; }
.mock {
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
  transform-origin: left center;
  overflow: hidden;
  font-size: 0.86rem;
}
.mock__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: #f0f1f8; border-bottom: 1px solid var(--line); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #cfd3e6; }
.mock__url { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: 0.6rem; padding: 0.2rem 0.8rem; border-radius: 7px; background: var(--white); color: var(--muted); font-size: 0.75rem; }
.mock__url .icon { color: #2a9d5c; }
.mock__body { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 250px; }
.mock__side { padding: 0.8rem; border-right: 1px solid var(--line); background: #fafbfe; display: grid; align-content: start; gap: 0.15rem; }
.mock__side li { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.6rem; border-radius: 8px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__side li.is-active { background: var(--tint); color: var(--navy); font-weight: 650; }
.mock__files { padding: 0.6rem; display: grid; align-content: start; gap: 0.1rem; }
.mock__files li { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.6rem; border-radius: 9px; }
.mock__files li.is-active { background: var(--soft); }
.mock__folder { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--white); }
.mock__folder--file { background: var(--tint); color: var(--navy); }
.mock__name { font-weight: 600; flex: 1; }
.mock__line { flex: 1; height: 8px; max-width: 120px; border-radius: 4px; background: #dfe2f0; }
.mock__line--short { max-width: 80px; }
.mock__files li > .mock__line { margin-right: auto; }
.mock__meta { width: 34px; height: 8px; border-radius: 4px; background: #e9ebf5; margin-left: auto; }
.mock__chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: #e3f6ea; color: #1c7a45; font-size: 0.72rem; font-weight: 650; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: 0 12px 30px rgb(3 3 40 / 0.35);
  white-space: nowrap;
}
.float-chip .icon { color: var(--red); }
.float-chip--top { top: -1.1rem; right: -0.5rem; }
.float-chip--bottom { bottom: -1.1rem; left: -1.25rem; }
.float-chip--bottom .icon { color: var(--navy); }

/* Kontakt + Zertifikat */
.trust { position: relative; z-index: 1; margin-top: -3.25rem; }
.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0;
  max-width: var(--container);
  width: calc(100% - 2 * var(--gutter));
}
.trust__item { display: flex; align-items: center; gap: 0.9rem; padding: 1.25rem 1.5rem; color: var(--ink); text-decoration: none; min-width: 0; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item strong { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.trust__item small { display: block; color: var(--muted); font-size: 0.86rem; }
a.trust__item:hover strong { color: var(--indigo); }
.trust__item--cert img { width: 58px; height: 58px; flex: none; }
.trust__item--cert strong { font-size: 0.98rem; }

/* Hinweis Dokumentenbearbeitung */
.callout {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.6rem 1.75rem;
  border: 1px solid #f3d5d3;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #fff7f6, var(--white) 60%);
}
.callout__copy { flex: 1; }
.callout h3 { margin: 0.3rem 0; font-size: 1.3rem; font-weight: 750; }

/* Service-Band */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%); color: rgb(255 255 255 / 0.85); }
.band__inner { display: flex; align-items: center; gap: 1.75rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.band__copy { flex: 1; }
.band h2 { margin-bottom: 0.5rem; color: var(--white); font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 800; }

/* Angebote */
.offer { display: flex; flex-direction: column; padding: 1.75rem; }
.offer__head { display: flex; align-items: center; gap: 0.9rem; }
.offer__head h3 { font-size: 1.35rem; font-weight: 800; }
.offer__lead { margin-top: 1.1rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.offer__lead em { font-style: normal; color: var(--red); }
.offer__text { margin-top: 0.6rem; margin-bottom: 1.4rem; font-size: 0.96rem; }
.offer__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

/* Sync Clients */
.tabs__list { display: none; }
.tabs__heading { margin: 0 0 1rem; text-align: center; font-size: 1.2rem; }
.tabs__panel + .tabs__panel { margin-top: 2.5rem; }
.js .tabs__list {
  display: flex;
  width: fit-content;
  margin: 0 auto 1.75rem;
  padding: 4px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}
.tabs__tab { padding: 0.55rem 1.4rem; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; }
.tabs__tab:hover { color: var(--navy); }
.tabs__tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.js .tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }

.store-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 190px;
  padding: 0.7rem 1.2rem 0.7rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--white); background: var(--navy); border-color: var(--navy); }
.store .icon { width: 1.7rem; height: 1.7rem; stroke-width: 1.6; }
.store small { display: block; font-size: 0.72rem; line-height: 1.2; opacity: 0.75; }
.store strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.store--plain { background: var(--white); color: var(--ink); border-color: #c9cdea; }
.store--plain:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }

/* 5b Unterseiten ---------------------------------------------------------- */
.page-hero {
  position: relative;
  color: rgb(255 255 255 / 0.88);
  background:
    radial-gradient(800px 420px at 90% -20%, rgb(74 86 240 / 0.55), transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero__inner { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.page-hero--overlap .page-hero__inner { padding-bottom: clamp(6rem, 11vw, 8rem); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero__lead { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.page-hero__lead .icon { color: var(--yellow); }

/* Inhalt schiebt sich über den Seitenkopf */
.section--overlap { position: relative; z-index: 1; margin-top: clamp(-5.5rem, -8vw, -4rem); padding-top: 0; }

/* Produktseite: Auswahl */
.chooser { display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: 1.25rem; align-items: stretch; }

.help-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.help-card h2 { margin: 0.5rem 0 1.25rem; font-size: 1.3rem; font-weight: 750; }
.check-list { display: grid; gap: 0.8rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; }
.check-list .icon { margin-top: 0.2em; padding: 0.15em; border-radius: 50%; background: #e3f6ea; color: #1c7a45; stroke-width: 3; }

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgb(9 9 98 / 0.08), 0 24px 50px rgb(9 9 98 / 0.16); }
.product--featured { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy), var(--shadow); }
.product--featured:hover { box-shadow: 0 0 0 2px var(--navy), 0 6px 14px rgb(9 9 98 / 0.08), 0 24px 50px rgb(9 9 98 / 0.16); }
.product__media { position: relative; }
.product__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.product__badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgb(3 3 40 / 0.3);
}
.product__body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 1.5rem 1.6rem 1.7rem; }
.product__body h2 { font-size: 1.6rem; font-weight: 800; }
.product__body p { margin: 0.6rem 0 1.5rem; }
.product__body .btn { margin-top: auto; }

/* Produktseite: Fragen + Formular */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__copy h2 { margin: 1.25rem 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.contact__copy > p { font-size: 1.08rem; }
.contact__phone { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; padding: 0.8rem 1.4rem 0.8rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.contact__phone:hover { color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact__phone small { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.2; }
.contact__phone strong { display: block; font-size: 1.25rem; font-weight: 750; line-height: 1.3; white-space: nowrap; }
.contact__form { padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.contact__form iframe { display: block; width: 100%; height: 470px; border: 0; border-radius: var(--radius-sm); }.contact__privacy { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.75rem 0.75rem 0.4rem; color: var(--muted); font-size: 0.85rem; }
.contact__privacy .icon { margin-top: 0.15em; }

body[data-page="products"] .dropdown > summary,
body[data-section="products"] .dropdown > summary { background: var(--tint); color: var(--navy); }

/* 5c Inhaltsseiten -------------------------------------------------------- */
.container--narrow { max-width: calc(900px + 2 * var(--gutter)); }

/* Umschalter (Produktwahl auf den Preisseiten) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 1.5rem; padding: 4px; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 12px; background: rgb(255 255 255 / 0.1); }
.seg__item { padding: 0.55rem 1.3rem; border-radius: 9px; color: rgb(255 255 255 / 0.85); font-weight: 650; text-decoration: none; }
.seg__item:hover { background: rgb(255 255 255 / 0.12); color: var(--white); }
.seg__item.is-active, .seg__item.is-active:hover { background: var(--white); color: var(--navy); }

/* Fließtext */
.prose > * + * { margin-top: 1rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.25rem; font-size: 1.45rem; font-weight: 750; }
.prose h3 { margin-top: 1.75rem; font-size: 1.15rem; font-weight: 700; }
.prose h4 { margin-top: 1.5rem; font-size: 1rem; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--indigo); }
.prose li > ul, .prose li > ol { margin-top: 0.35rem; }
.prose a { overflow-wrap: anywhere; }
.prose hr { margin-block: 2rem; border: 0; border-top: 1px solid var(--line); }
.prose small { color: var(--muted); font-size: 0.82em; }
.prose blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 4px solid var(--indigo); border-radius: 0 12px 12px 0; background: var(--soft); color: var(--ink); }
.prose code { padding: 0.12rem 0.5rem; border-radius: 6px; background: var(--red); color: var(--white); font: 700 0.7em var(--font); letter-spacing: 0.05em; vertical-align: 0.2em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.6rem 0.75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.prose__figure { margin-inline: 0; }
.prose__figure img { height: auto; border: 1px solid var(--line); border-radius: 12px; }
mark { padding: 0.05em 0.4em; border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 650; }

/* Eingebettetes Formular */
.embed-card { margin-top: 1.5rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.embed-card iframe { display: block; width: 100%; height: 520px; border: 0; border-radius: var(--radius-sm); }
.embed-card--tall iframe { height: 1000px; }

/* Produktinfo: Abschnitte mit oder ohne Bild */
.features { display: grid; gap: 1.25rem; }
.feature { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.feature h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 800; }
.feature h2 small { display: inline-block; margin-left: 0.4rem; padding: 0.12rem 0.6rem; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 0.3em; }
.feature--media { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.feature--media .prose { margin-top: 1rem; }
.feature--flip .feature__media { order: -1; }
.feature__media { margin: 0; }
.feature__media img { width: auto; max-width: 100%; height: auto; max-height: 440px; margin-inline: auto; border-radius: 14px; box-shadow: var(--shadow); }
.feature--text { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }

.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%); }
.cta__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; padding-block: 2.25rem; }
.footnotes { padding-block: 1.5rem 2.5rem; color: var(--muted); font-size: 0.85rem; }
.contact--single { grid-template-columns: 1fr; }

/* Preisseiten */
.variant { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.variant__switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }
.variant__current, .variant__other { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.95rem; border: 1.5px solid var(--navy); border-radius: 999px; font-size: 0.9rem; font-weight: 700; }
.variant__current { background: var(--navy); color: var(--white); }
.variant__other { border-color: #c9cdea; background: var(--white); color: var(--navy); text-decoration: none; }
.variant__other:hover { border-color: var(--navy); }
.variant__note { color: var(--muted); font-size: 0.9rem; }
.variant__intro { margin-top: 1rem; }
.variant__intro blockquote { margin: 0; color: var(--ink); font-size: 1.05rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.plan--featured { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy), var(--shadow); }
.plan__head { padding: 1.5rem 1.6rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--soft); }
.plan__name { color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan__size { margin-top: 0.2rem; font-size: 2rem; font-weight: 800; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem; margin-top: 0.9rem; }
.plan__amount { color: var(--ink); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__cents { font-size: 1.15rem; letter-spacing: 0; }
.plan__from, .plan__period { color: var(--muted); font-size: 0.9rem; }
.plan--featured .plan__head { border-bottom-color: transparent; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 100%); }
.plan--featured .plan__size, .plan--featured .plan__amount { color: var(--white); }
.plan--featured .plan__name, .plan--featured .plan__from, .plan--featured .plan__period { color: rgb(255 255 255 / 0.78); }
.plan__features { display: grid; flex: 1; align-content: start; gap: 0.6rem; padding: 1.4rem 1.6rem; font-size: 0.96rem; }
.plan__features li { display: flex; align-items: flex-start; gap: 0.6rem; }
.plan__features .icon { width: 1em; height: 1em; margin-top: 0.3em; color: #1c7a45; stroke-width: 3; }
.plan__foot { display: grid; gap: 0.6rem; padding: 0 1.6rem 1.6rem; }
.plan__term { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; text-align: center; }
.plans-notes { max-width: 780px; margin: 2.5rem auto 0; text-align: center; }
.plans-notes h3 { font-size: 1.2rem; }

/* Preisliste */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { padding: 0.5rem 1rem; text-align: left; vertical-align: top; }
.price-table thead th { background: var(--navy); color: var(--white); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.price-table__group th { padding-block: 0.8rem; background: var(--tint); color: var(--navy); font-weight: 750; }
.price-table tbody tr.is-first td { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.price-table td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.price-table th:nth-child(3), .price-table td.num { text-align: right; }
.price-table td.num { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.9rem; }
.notice { margin-bottom: 1.5rem; padding: 0.9rem 1.1rem; border: 1px solid #f0d98a; border-radius: 12px; background: #fff8dc; color: var(--ink); font-size: 0.95rem; }

/* 6 Fußbereich ------------------------------------------------------------ */
.site-footer { position: relative; padding: 4rem 0 2rem; background: var(--navy-deep); color: rgb(255 255 255 / 0.72); font-size: 0.95rem; }
.site-footer a { color: rgb(255 255 255 / 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__ribbon { position: absolute; top: 0; transform: translateY(-50%); padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--red); color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1.2fr 0.7fr 1fr; gap: 2.5rem; }
.site-footer__title { margin-bottom: 0.75rem; color: var(--white); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer__col--brand .brand { margin-bottom: 1.25rem; }
.site-footer__col p + p { margin-top: 0.5rem; }
.site-footer__list { display: grid; gap: 0.4rem; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 0.6rem; }
.site-footer__contact abbr { display: inline-grid; place-items: center; width: 1.9rem; padding: 0.05rem 0; border-radius: 5px; background: rgb(255 255 255 / 0.12); color: var(--white); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; }
.site-footer__contact .icon { width: 1.9rem; height: 1.1rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; }
.site-footer__legal-text p + p { margin-top: 0.2rem; }
.site-footer__legal { text-align: right; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 1.2rem; }
.site-footer__legal ul + ul { margin-top: 0.4rem; }
.site-footer__vat { margin-top: 0.9rem; color: rgb(255 255 255 / 0.55); }

/* 7 Dialog ---------------------------------------------------------------- */
.dialog { width: min(500px, calc(100vw - 2rem)); padding: 0; border: 0; border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgb(5 5 61 / 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.1rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.dialog__head h2 { font-size: 1.2rem; }
.dialog__close { padding: 0.45rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.dialog__close:hover { background: var(--tint); color: var(--navy); }
.dialog__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; }
.dialog__body:has(> .credentials:only-child) { grid-template-columns: 1fr; }
.credentials { padding: 1rem 1.1rem; border-radius: 12px; background: var(--soft); }
.credentials h3 { margin-bottom: 0.6rem; font-size: 0.95rem; }
.credentials dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; margin: 0; font-size: 0.9rem; }
.credentials dt { color: var(--muted); }
.credentials dd { margin: 0; }
.credentials code { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.dialog__foot { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 1rem 1.5rem 1.4rem; }

/* 8 Hilfsklassen ---------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Responsiv --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .topbar__products { display: none; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  html:not(.js) .nav-toggle { display: none; }
  .site-header__inner { flex-wrap: wrap; align-content: flex-start; min-height: 0; padding-block: 0.75rem; row-gap: 0; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    gap: 1rem;
    padding: 0.5rem 0 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open,
  html:not(.js) .site-nav { display: flex; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .site-nav__link { display: flex; justify-content: space-between; padding: 0.8rem 0.75rem; font-size: 1.05rem; }
  .site-nav__actions { flex-wrap: wrap; margin-left: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
  .site-nav__actions .btn { flex: 1; }
  .site-nav__register-short { display: none; }
  .site-nav__register-long { display: inline; }
  .site-nav__contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; }
  .site-nav__contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; }

  .dropdown__panel { position: static; transform: none; width: auto; margin: 0.25rem 0 0.5rem; box-shadow: none; }
  .dropdown__cols { grid-template-columns: 1fr 1fr; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .mock { transform: none; }
  .hero__visual { margin-top: 1rem; }
  .float-chip--top { top: -1.5rem; right: 0.5rem; }
  .float-chip--bottom { left: 0.5rem; }

  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .chooser { grid-template-columns: 1fr 1fr; }
  .feature--media,
  .feature--text { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .help-card { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__legal { text-align: left; }
  .site-footer__legal ul { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .topbar__notice .icon { display: none; }
  .topbar { font-size: 0.78rem; }

  .callout,
  .band__inner { flex-direction: column; align-items: flex-start; }
  .cards--2,
  .cards--3,
  .chooser { grid-template-columns: 1fr; }
  .page-hero__lead { align-items: flex-start; }
  .price-table th, .price-table td { padding-inline: 0.6rem; }
  .price-table td:nth-child(2) { white-space: normal; }
  .embed-card { padding: 0.4rem; }
  .page-hero__lead .icon { margin-top: 0.2em; }
  .dropdown__cols { grid-template-columns: 1fr; }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .cta__inner .btn { width: 100%; white-space: normal; }
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }

  .store-list { display: grid; grid-template-columns: 1fr; }
  .store { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .dialog__body { grid-template-columns: 1fr; }
}

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