/* ==========================================================================
   SYDRA – Stylesheet
   Farben aus dem bisherigen Auftritt: Navy #1C366D / #244383, Orange #FF8200, Gelb #FFFC00
   ========================================================================== */

:root {
  --navy-950: #0d1a36;
  --navy-900: #14264d;
  --navy-800: #1c366d;   /* Hauptfarbe */
  --navy-700: #244383;   /* Hauptfarbe hell */
  --navy-100: #e3e9f5;
  --navy-50:  #f3f6fb;
  --orange:   #ff8200;
  --orange-600: #e67400;
  --orange-50: #fff3e6;
  --yellow:   #fffc00;

  --ink:   #14264d;
  --text:  #334155;
  --muted: #56627a;
  --line:  #dde3ee;
  --white: #fff;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 38, 77, .06), 0 2px 8px rgba(20, 38, 77, .05);
  --shadow:    0 10px 30px -12px rgba(20, 38, 77, .22);
  --shadow-lg: 0 30px 60px -24px rgba(20, 38, 77, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 650; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--navy-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--navy-50); }
.section:not(.section--tint):not(.section--navy) + .section--band { padding-top: 0; }
.section--navy { background: var(--navy-800); color: #d5ddef; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy-950); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8125rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.section--navy .eyebrow, .page-hero .eyebrow { color: #aebde0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.text-orange { color: var(--orange); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: var(--navy-950); box-shadow: 0 8px 20px -8px rgba(255, 130, 0, .6); }
.btn--primary:hover { background: #ff9426; color: var(--navy-950); box-shadow: 0 12px 26px -8px rgba(255, 130, 0, .7); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-800); }
.btn--light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--navy-700); text-decoration: none;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy-50); color: var(--navy-800);
}
.icon-badge--orange { background: var(--orange-50); color: #b85d00; }
.section--navy .icon-badge { background: rgba(255, 255, 255, .08); color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-block: 12px;
  transition: padding .25s var(--ease);
}
.nav-shell {
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding-inline: 14px 10px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(221, 227, 238, .9);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled .nav-shell { box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 96px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: .96rem; font-weight: 550; color: var(--ink); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--navy-50); color: var(--navy-800); }
.nav a[aria-current="page"] { color: var(--navy-800); background: var(--navy-50); box-shadow: inset 0 -2px 0 var(--orange); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--navy-50); color: var(--navy-800); cursor: pointer;
}
.nav-toggle .icon { margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav-shell { height: 64px; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px);
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); }
}
.site-header .container { position: relative; }

/* ---------- Home-Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: -96px; padding-top: calc(96px + clamp(40px, 6vw, 80px)); padding-bottom: clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(36, 67, 131, .14), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 130, 0, .08), transparent 60%),
    linear-gradient(180deg, var(--navy-50), var(--white));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28, 54, 109, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 54, 109, .05) 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%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--navy-700); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: var(--orange); border-radius: 4px; opacity: .9; z-index: -1;
}
.hero-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.hero-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.hero-list .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
.hero-list .icon { width: 20px; height: 20px; }
.hero-list span { padding-top: 7px; }
.hero-rotator { display: block; color: var(--navy-700); min-height: 1.15em; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px), (max-width: 520px) { .hero-rotator { white-space: normal; min-height: 2.3em; } }
.hero-rotator .word { display: inline-block; animation: word-in .5s var(--ease) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(.35em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero-visual { position: relative; aspect-ratio: 5 / 5.2; max-width: 100%; }
.hero-visual .photo {
  position: absolute; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 6px solid var(--white); background: var(--navy-100);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .photo--a { inset: 0 18% 30% 0; }
.hero-visual .photo--b { width: 52%; aspect-ratio: 1; right: 0; bottom: 4%; }
.hero-visual .photo--b img { object-position: 30% center; }
.hero-card {
  position: absolute; left: 4%; bottom: 0; width: min(290px, 60%);
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg);
}
.hero-card strong { display: block; font-size: .95rem; line-height: 1.3; }
.hero-card span { font-size: .85rem; color: var(--muted); }
.hero-card .icon-badge { width: 44px; height: 44px; background: var(--navy-800); color: var(--orange); }
.hero-badge {
  position: absolute; top: 8%; right: 4%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: var(--navy-800); color: var(--white);
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 252, 0, .2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; aspect-ratio: 5 / 4.6; }
}

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -96px; padding-top: calc(96px + clamp(48px, 7vw, 96px)); padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--navy-900); color: #d5ddef;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(13, 26, 54, .96) 0%, rgba(20, 38, 77, .9) 42%, rgba(28, 54, 109, .55) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--orange) 0 22%, var(--navy-700) 22% 100%);
}
.page-hero h1 { color: var(--white); max-width: 24ch; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.page-hero .lead { color: #c4cfe7; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin-bottom: 18px; color: #aebde0; }
.breadcrumb a { color: #d5ddef; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--compact h1 { max-width: none; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

/* ---------- Karten / Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.card--link { text-decoration: none; color: inherit; cursor: pointer; }
.card--link:hover { border-color: #c3cde2; box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card--link .link-arrow { margin-top: auto; padding-top: 22px; }
.card--link:hover .link-arrow svg { transform: translateX(4px); }
.section--tint .card { border-color: transparent; box-shadow: var(--shadow-sm); }

/* Service-Karten mit Bild */
.service-card { padding: 0; overflow: hidden; }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-100); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.service-card__body h3 { margin-top: 0; }
.service-card__tag {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  background: var(--navy-50); color: var(--navy-700);
}

/* ---------- Split-Sektionen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-100); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; }
.split__media .frame--contain { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 32px); }
.split__media .frame--contain img { object-fit: contain; aspect-ratio: auto; }
.split__media::before {
  content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; right: -22px; bottom: -22px;
  border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, rgba(255, 130, 0, .35) 0 2px, transparent 2px 12px);
}
.split--reverse .split__media { order: -1; }
.split__media .float-note {
  position: absolute; left: -18px; bottom: 28px; max-width: 250px;
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.35; color: var(--ink); font-weight: 600;
}
@media (max-width: 900px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .float-note { left: 12px; }
  .split__media::before { right: -8px; bottom: -8px; }
}

/* ---------- Listen ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c366d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.panel--navy .check-list li::before,
.section--navy .check-list li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 680px) { .check-list--2 { grid-template-columns: 1fr; } }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-list li {
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 550; color: var(--ink);
}
.section--navy .chip-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }

/* Feature-Zeilen (Icon + Text) */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h3, .feature h4 { margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.section--navy .feature p { color: #b9c5df; }
.feature-list { display: grid; gap: 26px; }

/* ---------- Panels & Hinweise ---------- */
.panel {
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.panel--navy { background: var(--navy-800); border-color: var(--navy-800); color: #d5ddef; }
.panel--navy h2, .panel--navy h3, .panel--navy h4, .section--navy h4 { color: var(--white); }
.panel--navy .eyebrow { color: #aebde0; }
.panel--navy strong, .section--navy strong, .contact-band strong, .announce strong { color: var(--white); }
.panel--navy a:not(.btn) { color: var(--white); }
.panel--navy .feature p { color: #b9c5df; }
.panel--navy .icon-badge { background: rgba(255, 255, 255, .08); color: var(--orange); }
.panel--orange { background: var(--orange-50); border-color: #ffd9b0; }
.note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius); background: var(--orange-50); border: 1px solid #ffd9b0;
  color: var(--ink);
}
.note .icon { color: #b85d00; margin-top: 2px; }
.note p { margin: 0; }
.note--info { background: var(--navy-50); border-color: var(--navy-100); }
.note--info .icon { color: var(--navy-700); }

/* ---------- Ankündigung (ZUGFeRD) ---------- */
.announce {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 48px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #d5ddef;
  box-shadow: var(--shadow-lg);
}
.announce::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 0, .35), transparent 65%);
}
.announce h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .25em; }
.announce p { margin: 0; }
.announce .icon-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--orange); color: var(--navy-950); }
.announce .icon-badge .icon { width: 30px; height: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white); font-weight: 600; font-size: .92rem;
}
@media (max-width: 760px) { .announce { grid-template-columns: 1fr; } }

/* ---------- Promo-Banner (PDFInvoice2go) ---------- */
.promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
  color: #d5ddef; text-decoration: none;
  border: 1px solid rgba(255, 130, 0, .45);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 130, 0, .08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.promo::before {
  content: ""; position: absolute; z-index: -1; left: -90px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 0, .3), transparent 65%);
}
.promo::after {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 0, .16), transparent 65%);
}
.promo:hover { color: #d5ddef; transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 130, 0, .14); }
.promo:hover .btn svg { transform: translateX(3px); }
.promo:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
/* Banner direkt unter dem Header im Hero (sichtbar ohne Scrollen) */
.hero-promo { position: relative; margin-bottom: clamp(28px, 4vw, 48px); }
.hero:has(.hero-promo) { padding-top: calc(96px + 8px); }
.hero-promo .promo { padding-block: clamp(26px, 3vw, 34px); }
.hero-promo .promo__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
@media (max-width: 860px) { .hero-promo .promo { padding-top: 52px; } }
.promo__badge {
  position: absolute; top: 0; left: clamp(24px, 4vw, 56px);
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 7px; border-radius: 0 0 12px 12px;
  background: var(--yellow); color: var(--navy-950); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.promo__badge .icon { width: 14px; height: 14px; }
.promo__icon { width: 72px; height: 72px; border-radius: 20px; background: var(--orange); color: var(--navy-950); animation: promo-pulse 2.6s ease-out infinite; }
.promo__icon .icon { width: 34px; height: 34px; }
.promo__text { display: grid; gap: 4px; margin-top: 8px; }
.promo__eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.promo__title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.03em; color: var(--white); }
.promo__desc { font-size: 1.05rem; max-width: 52ch; }
.promo__cta { font-size: 1.05rem; }
@keyframes promo-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 130, 0, .55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 130, 0, 0); }
}
@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; justify-items: start; padding-top: 52px; }
  .promo__text { margin-top: 0; }
  .promo__cta { width: 100%; }
}

/* ---------- Kennzahlen-Band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--white); padding: 22px 24px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800); letter-spacing: -.01em; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Ablauf / Schritte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 26px 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-800); color: var(--white); font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 6px var(--navy-50);
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: var(--navy-100); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--orange); color: var(--navy-950); }
.steps strong { display: block; padding-top: 8px; }

/* ---------- Partner ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.partner {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 96px;
  padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.partner strong { font-size: 1.02rem; line-height: 1.25; }
.partner span { font-size: .82rem; color: var(--muted); }
@media (max-width: 1000px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kontakt-Band ---------- */
.contact-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg);
  background: var(--navy-800); color: #d5ddef; position: relative; overflow: hidden; isolation: isolate;
}
.contact-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 130, 0, .22), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(36, 67, 131, .9), transparent 70%);
}
.contact-band h2 { color: var(--white); }
.contact-band p { color: #c4cfe7; margin-bottom: .35em; }
.contact-tiles { display: grid; gap: 12px; }
.contact-tile {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white); text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
a.contact-tile:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: var(--white); }
.contact-tile .icon-badge { width: 46px; height: 46px; background: var(--orange); color: var(--navy-950); }
.contact-tile small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #aebde0; }
.contact-tile span { font-weight: 600; font-size: 1.05rem; }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aebde0; padding-top: clamp(56px, 7vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 110px; margin-bottom: 18px; background: var(--white); border-radius: 12px; padding: 8px 10px; }
.site-footer h3 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5ddef; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #d5ddef; font-size: .85rem;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .fieldset legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: #b85d00; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #cdd5e3; border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 160px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8591a8; }
.input:hover, .textarea:hover { border-color: #aab6cc; }
.input:focus, .textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(36, 67, 131, .15); }
.input:user-invalid, .textarea:user-invalid { border-color: #c2410c; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.fieldset legend { margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid #cdd5e3; background: var(--white);
  font-size: .96rem; line-height: 1.45; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice:hover { border-color: #aab6cc; }
.choice:has(input:checked) { border-color: var(--navy-700); background: var(--navy-50); }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--navy-800); cursor: pointer; }
.choice--plain { padding: 0; border: 0; background: none; }
.choice--plain:has(input:checked) { background: none; }
.consent { font-size: .9rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 550; }
.form-status--ok { background: #e8f6ee; color: #14532d; border: 1px solid #b7e2c6; }
.form-status--error { background: #fdecea; color: #7f1d1d; border: 1px solid #f5c2bd; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.18rem; margin-top: 1.8em; }
.legal h4 { margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 112px; padding: 20px; border-radius: var(--radius); background: var(--navy-50); font-size: .92rem; }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.legal-toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
.legal-toc a:hover { background: var(--white); color: var(--navy-800); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

.info-list { display: grid; gap: 0; margin: 0; }
.info-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 600; color: var(--ink); }
.info-list dd { margin: 0; }
@media (max-width: 560px) { .info-list div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Hintergrund: aufgehelltes #244383 mit blassen Hintergrundfotos statt Weiß
   ========================================================================== */
:root {
  --muted: #414d66;
  --blau-hell: #d3dcef;
  --blau-hell-rgb: 211, 220, 239;
  --blau-mittel-rgb: 196, 208, 233;
}
body { background: var(--blau-hell); }

.hero, .section:not(.section--navy) {
  --schleier: rgba(var(--blau-hell-rgb), .84);
  background-color: #6f8cc4;
  background-image: linear-gradient(var(--schleier), var(--schleier)), var(--foto, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: normal, luminosity;
}
.section--tint { --schleier: rgba(var(--blau-mittel-rgb), .84); }
.section--tint:not([class*="foto-"]), .section:not([class*="foto-"]) { background-color: var(--blau-hell); }

.foto-fernwartung-netzwerk { --foto: url("../img/fernwartung-netzwerk.webp"); }
.foto-hardware { --foto: url("../img/hardware.webp"); }
.foto-webdesign-laptop { --foto: url("../img/webdesign-laptop.webp"); }
.foto-praesentation { --foto: url("../img/praesentation.webp"); }
.foto-support-headset { --foto: url("../img/support-headset.webp"); }
.foto-hilfe { --foto: url("../img/hilfe.webp"); }
.foto-kontakt { --foto: url("../img/kontakt.webp"); }

/* Eingebundene Texte Impressum/Datenschutz */
.rechtstext { min-width: 0; }
.rechtstext iframe { display: block; width: 100%; height: 75vh; border: 0; background: transparent; }
.legal-toc { background: var(--white); box-shadow: var(--shadow-sm); }
.legal-toc a:hover { background: var(--navy-50); }
.legal-toc[hidden] + .rechtstext { grid-column: 1 / -1; }

/* Sicherheitscode in den Formularen */
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha img { width: 190px; height: 64px; border-radius: 10px; border: 1.5px solid #cdd5e3; background: #eef2f9; }
.captcha-neu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1.5px solid #cdd5e3; border-radius: 999px; background: var(--white); color: var(--navy-700); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.captcha-neu:hover { background: var(--navy-50); border-color: var(--navy-700); }
.captcha-neu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.captcha-neu:hover svg { transform: rotate(120deg); }
.captcha-eingabe { max-width: 190px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }
.field-fehler { font-size: .9rem; font-weight: 550; color: #b42318; }
.field-fehler:empty { display: none; }

/* Felder im Formular oben ausrichten, auch wenn eine Spalte einen längeren Hinweis hat */
.field { align-content: start; }
