:root {
  --navy: #0c2b3b;
  --navy-deep: #071e2a;
  --ink: #102f3f;
  --teal: #2e8c84;
  --mint: #a8ceca;
  --gold: #c29d57;
  --sage: #dce9df;
  --sage-deep: #bfd6ca;
  --gold-wash: #efe2c5;
  --cream: #faf7ef;
  --paper: #f5f6f2;
  --white: #fff;
  --muted: #64777f;
  --line: rgba(16, 47, 63, .16);
  --sans: "Avenir Next", Avenir, "Futura PT", Futura, "Century Gothic", sans-serif;
  --page: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; color: var(--navy); background: var(--white); }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: var(--page); min-height: 112px; margin: 0 auto; gap: 34px; }
.theme-dark .site-header { color: var(--white); }
.brand { display: flex; align-items: center; gap: 16px; min-width: 280px; text-decoration: none; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-title { display: block; white-space: nowrap; }
.brand-bullet { display: inline-block; font-size: 1em; margin-inline: .05em; }
.brand-copy strong { display: inline-block; font-size: 1.18rem; font-weight: 500; letter-spacing: .015em; }
.brand-copy small { margin-top: 3px; color: var(--teal); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.theme-dark .brand-copy small { color: var(--mint); }
.brand-symbol { position: relative; display: grid; width: 42px; gap: 5px; padding-right: 11px; }
.brand-symbol i { display: block; height: 4px; border-radius: 6px; background: var(--teal); }
.brand-symbol i:nth-child(2) { width: 82%; background: var(--mint); }
.brand-symbol i:nth-child(3) { width: 91%; background: var(--gold); }
.brand-symbol i:nth-child(4) { width: 65%; background: currentColor; }
.brand-symbol b { position: absolute; top: -5px; right: 0; width: 4px; height: 43px; border-radius: 6px; background: var(--teal); }
.main-navigation { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.main-navigation a { position: relative; padding: 10px 0; text-decoration: none; }
.main-navigation a[aria-current="page"] { color: var(--teal); }
.theme-dark .main-navigation a[aria-current="page"] { color: var(--mint); }
.main-navigation a:not(.nav-contact)::after { content: ""; position: absolute; inset: auto 0 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .18s ease; }
.main-navigation a:hover::after, .main-navigation a:focus-visible::after, .main-navigation a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 10px 16px !important; border: 1px solid currentColor; border-radius: 99px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; padding: 3px; border: 1px solid currentColor; border-radius: 99px; color: inherit; background: transparent; font: 700 .58rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .18s ease; }
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--teal); }
.theme-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.theme-toggle-option { display: block; padding: 7px 9px; border-radius: 99px; opacity: .58; transition: color .18s ease, background .18s ease, opacity .18s ease; }
.theme-toggle-option.is-active { color: var(--navy); background: var(--mint); opacity: 1; }
[data-theme="light"] .theme-toggle-option.is-active { background: var(--sage); }
.menu-button { display: none; }

.theme-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 12%, rgba(194,157,87,.22), transparent 28%),
    radial-gradient(circle at 10% 74%, rgba(46,140,132,.25), transparent 34%),
    linear-gradient(135deg, #071e2a 0%, #0c2b3b 48%, #123a40 72%, #2b372f 100%);
}
.theme-dark::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right,transparent,#000,transparent); }
.home-hero { position: relative; display: grid; grid-template-columns: 1fr; align-items: start; width: var(--page); margin: 0 auto; padding: 42px 0 90px; }
.hero-copy { min-width: 0; max-width: 820px; }
.eyebrow, .page-kicker { margin: 0 0 25px; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.theme-dark .eyebrow { display: flex; align-items: center; color: var(--mint); }
.theme-dark .eyebrow::before { content: ""; width: 42px; height: 1px; margin-right: 14px; background: var(--gold); }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.4rem, 6vw, 6.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.home-hero h1 span { color: var(--mint); font-weight: 400; }
.hero-lead { max-width: 690px; margin: 32px 0 0; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.4vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.button-mint { color: var(--navy); background: var(--mint); transition: transform .18s ease, background .18s ease; }
.button-mint:hover { background: var(--white); transform: translateY(-3px); }
.hero-contact-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; color: var(--white); border: 1px solid rgba(255,255,255,.72); border-radius: 99px; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .18s ease, background .18s ease, transform .18s ease; }
.hero-contact-button:hover { color: var(--navy); background: var(--white); transform: translateY(-3px); }
.security-cycle { position: relative; min-width: 0; width: min(620px, calc(100% - 220px)); min-height: 620px; margin: 44px auto 0; }
.security-cycle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-track, .cycle-line, .cycle-motion { fill: none; transform: rotate(-90deg); transform-origin: center; }
.cycle-track { stroke: rgba(255,255,255,.07); stroke-width: 38; }
.cycle-line { stroke: url(#cycle-gradient); stroke-width: 4; filter: url(#cycle-glow); }
.cycle-motion { stroke: rgba(255,255,255,.84); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 46 1060; animation: cycle-travel 7s linear infinite; filter: url(#cycle-glow); }
.cycle-node { stroke: var(--navy-deep); stroke-width: 7; }
.cycle-node-gold { fill: var(--gold); }
.cycle-node-mint { fill: var(--mint); }
.cycle-node-teal { fill: var(--teal); }
@keyframes cycle-travel { to { stroke-dashoffset: -1106; } }
.cycle-center { position: absolute; top: 50%; left: 50%; display: grid; width: 230px; transform: translate(-50%,-50%); text-align: center; }
.cycle-center small { margin-bottom: 9px; color: var(--gold); font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.cycle-center strong { color: var(--white); font-size: .95rem; font-weight: 500; line-height: 1.55; }
.cycle-label { position: absolute; display: grid; color: var(--white); font-size: .86rem; line-height: 1.35; }
.cycle-label strong { font-weight: 600; }
.cycle-label span { margin-top: 2px; color: rgba(255,255,255,.62); font-size: .72rem; }
.cycle-requirements { top: 24px; left: 50%; transform: translateX(-50%); text-align: center; }
.cycle-evaluate { top: 47%; right: -110px; width: 170px; }
.cycle-develop { bottom: 24px; left: 50%; transform: translateX(-50%); text-align: center; }
.cycle-evidence { top: 47%; left: -110px; width: 170px; text-align: right; }
.cycle-evidence span { max-width: 170px; }

/* Helle Variante der Startseite */
.theme-dark[data-theme="light"] {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 14%, rgba(194,157,87,.28), transparent 27%),
    radial-gradient(circle at 12% 72%, rgba(46,140,132,.17), transparent 31%),
    linear-gradient(135deg, var(--sage) 0%, var(--cream) 52%, var(--gold-wash) 100%);
}
.theme-dark[data-theme="light"]::before { display: none; }
.theme-dark[data-theme="light"] .site-header { color: var(--ink); }
.theme-dark[data-theme="light"] .brand-copy small { color: var(--teal); }
.theme-dark[data-theme="light"] .eyebrow { color: var(--teal); }
.theme-dark[data-theme="light"] .home-hero h1 span { color: var(--teal); }
.theme-dark[data-theme="light"] .hero-lead { color: var(--muted); }
.theme-dark[data-theme="light"] .hero-contact-button { color: var(--ink); border-color: rgba(16,47,63,.68); }
.theme-dark[data-theme="light"] .hero-contact-button:hover { color: var(--white); background: var(--ink); }
.theme-dark[data-theme="light"] .cycle-track { stroke: rgba(16,47,63,.08); }
.theme-dark[data-theme="light"] .cycle-motion { stroke: rgba(255,255,255,.9); }
.theme-dark[data-theme="light"] .cycle-node { stroke: var(--paper); }
.theme-dark[data-theme="light"] .cycle-center strong,
.theme-dark[data-theme="light"] .cycle-label { color: var(--ink); }
.theme-dark[data-theme="light"] .cycle-label span { color: var(--muted); }

/* Helle Variante der Unterseiten */
body:not(.theme-dark)[data-theme="light"] {
  color: var(--ink);
  background: var(--cream);
}
body:not(.theme-dark)[data-theme="light"] .page-hero {
  color: var(--ink);
  background:
    linear-gradient(112deg, rgba(220,233,223,.96), rgba(250,247,239,.94) 58%, rgba(239,226,197,.9)),
    repeating-linear-gradient(90deg, transparent 0 71px, rgba(46,140,132,.08) 72px);
  border-top: 1px solid rgba(46,140,132,.14);
  border-bottom: 1px solid rgba(194,157,87,.25);
}
body:not(.theme-dark)[data-theme="light"] .page-hero p:last-child { color: var(--muted); }
body:not(.theme-dark)[data-theme="light"] .service-card,
body:not(.theme-dark)[data-theme="light"] .process-list li,
body:not(.theme-dark)[data-theme="light"] .project-strip article,
body:not(.theme-dark)[data-theme="light"] .price-card:not(.featured) { background: rgba(250,247,239,.9); }
body:not(.theme-dark)[data-theme="light"] .price-card.featured {
  color: var(--ink);
  background: linear-gradient(145deg, rgba(220,233,223,.92), rgba(250,247,239,.96) 58%, rgba(239,226,197,.74));
}
body:not(.theme-dark)[data-theme="light"] .price-card.featured small { color: var(--teal); }
body:not(.theme-dark)[data-theme="light"] .price-card.featured .price { color: var(--ink) !important; }
body:not(.theme-dark)[data-theme="light"] .price-card.featured > p:last-child { color: var(--muted); }
body:not(.theme-dark)[data-theme="light"] .work-principles article { background: rgba(220,233,223,.46); }
body:not(.theme-dark)[data-theme="light"] .section-title h2,
body:not(.theme-dark)[data-theme="light"] .profile-text h2,
body:not(.theme-dark)[data-theme="light"] .price-lead h2 { color: var(--ink); }
body:not(.theme-dark)[data-theme="light"] .section-number,
body:not(.theme-dark)[data-theme="light"] .page-kicker,
body:not(.theme-dark)[data-theme="light"] a:not(.button):not(.nav-contact) { text-decoration-color: var(--teal); }

/* Dunkle Variante der Unterseiten */
body:not(.theme-dark)[data-theme="dark"] { color: var(--white); background: var(--navy-deep); }
body:not(.theme-dark)[data-theme="dark"] .site-header { color: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .brand-copy small { color: var(--mint); }
body:not(.theme-dark)[data-theme="dark"] .page-main { color: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .service-card,
body:not(.theme-dark)[data-theme="dark"] .process-list li,
body:not(.theme-dark)[data-theme="dark"] .project-strip article,
body:not(.theme-dark)[data-theme="dark"] .price-card:not(.featured),
body:not(.theme-dark)[data-theme="dark"] .work-principles article { color: var(--white); border-color: rgba(255,255,255,.14); background: var(--navy); }
body:not(.theme-dark)[data-theme="dark"] .service-card p,
body:not(.theme-dark)[data-theme="dark"] .service-card li,
body:not(.theme-dark)[data-theme="dark"] .process-list p,
body:not(.theme-dark)[data-theme="dark"] .project-strip p,
body:not(.theme-dark)[data-theme="dark"] .price-card > p:last-child,
body:not(.theme-dark)[data-theme="dark"] .work-principles p,
body:not(.theme-dark)[data-theme="dark"] .profile-text > p,
body:not(.theme-dark)[data-theme="dark"] .qualification p,
body:not(.theme-dark)[data-theme="dark"] .price-lead p { color: rgba(255,255,255,.66); }
body:not(.theme-dark)[data-theme="dark"] .qualification { border-color: rgba(255,255,255,.16); }
body:not(.theme-dark)[data-theme="dark"] .price-card:not(.featured) .price { color: var(--white) !important; }
body:not(.theme-dark)[data-theme="dark"] .price-note,
body:not(.theme-dark)[data-theme="dark"] .legal-notice { color: var(--ink); }
body:not(.theme-dark)[data-theme="dark"] .legal-main { color: var(--white); }

.page-hero {
  padding: 105px 0 85px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(194,157,87,.2), transparent 25%),
    radial-gradient(circle at 18% 86%, rgba(46,140,132,.26), transparent 30%),
    linear-gradient(125deg, var(--navy-deep), var(--navy) 58%, #173e3f);
  border-top: 1px solid rgba(168,206,202,.08);
  border-bottom: 1px solid rgba(194,157,87,.18);
}
.page-hero > div { width: var(--page); margin: 0 auto; }
.page-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.page-hero p:last-child { max-width: 780px; margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: 1.08rem; }
.page-main { width: var(--page); margin: 0 auto; padding: 105px 0 130px; }
.section-title { display: grid; grid-template-columns: 190px 1fr; gap: 5vw; margin-bottom: 60px; }
.section-title-clean { display: block; }
.section-title h2 { max-width: 900px; margin: 0; font-size: clamp(2.3rem,4.5vw,4.1rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.section-number { margin: 8px 0 0; color: var(--teal); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.content-section + .content-section { margin-top: 120px; }

.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.service-card-wide { grid-column: 1 / -1; }
.service-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(46,140,132,.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(250,247,239,.92), rgba(220,233,223,.76));
  box-shadow: 0 18px 55px rgba(16,47,63,.07);
}
.service-card:nth-child(3n+2) { background: linear-gradient(145deg, rgba(250,247,239,.94), rgba(239,226,197,.72)); }
.service-card:nth-child(3n) { background: linear-gradient(145deg, rgba(220,233,223,.82), rgba(250,247,239,.9)); }
.service-card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(46,140,132,.12), transparent 68%); pointer-events: none; }
.service-card small { color: var(--gold); font-size: .63rem; letter-spacing: .16em; }
.service-card h2, .service-card h3 { margin: 20px 0 12px; font-size: 1.45rem; font-weight: 600; line-height: 1.22; }
.service-card p, .service-card li { color: var(--muted); font-size: .88rem; }
.service-card ul { margin: 18px 0 0; padding-left: 18px; }
.service-card li + li { margin-top: 7px; }
.scope-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 7vw;
  padding: 55px;
  color: var(--ink);
  border: 1px solid rgba(194,157,87,.25);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 15%, rgba(194,157,87,.28), transparent 28%),
    linear-gradient(128deg, rgba(220,233,223,.9), rgba(250,247,239,.94) 58%, rgba(239,226,197,.84));
  box-shadow: 0 24px 70px rgba(16,47,63,.08);
}
.scope-panel h2 { margin: 0; font-size: 2rem; font-weight: 500; }
.scope-panel ul { margin: 0; padding-left: 18px; color: var(--muted); }
.scope-panel li + li { margin-top: 9px; }

.process-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding: 0; list-style: none; }
.process-list li { position: relative; padding: 35px 35px 40px; border: 1px solid rgba(46,140,132,.16); border-radius: 22px; background: linear-gradient(145deg, rgba(250,247,239,.94), rgba(220,233,223,.72)); box-shadow: 0 18px 50px rgba(16,47,63,.06); }
.process-list li:nth-child(2) { background: linear-gradient(145deg, rgba(220,233,223,.82), rgba(239,226,197,.62)); }
.process-list li:nth-child(3) { background: linear-gradient(145deg, rgba(239,226,197,.72), rgba(250,247,239,.94)); }
.process-list li + li { border-left: 1px solid rgba(46,140,132,.16); }
.process-list span { color: var(--gold); font-size: .66rem; }
.process-list h2 { margin: 0 0 12px; font-size: 1.45rem; font-weight: 600; }
.process-list p { color: var(--muted); }
.work-principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.work-principles article { padding: 27px; border: 1px solid rgba(46,140,132,.16); border-radius: 18px; background: linear-gradient(145deg, rgba(220,233,223,.66), rgba(250,247,239,.82)); box-shadow: 0 14px 40px rgba(16,47,63,.05); }
.work-principles h3 { margin: 0 0 10px; font-size: 1rem; }
.work-principles p { margin: 0; color: var(--muted); font-size: .83rem; }

.profile-layout { display: grid; grid-template-columns: minmax(260px,.52fr) 1.48fr; align-items: start; gap: 8vw; }
.portrait { position: sticky; top: 30px; width: min(360px,100%); }
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 9px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mint) 46%, var(--gold) 78%, rgba(239,226,197,.7));
  box-shadow:
    0 24px 70px rgba(16,47,63,.16),
    0 0 55px rgba(46,140,132,.13),
    0 0 90px rgba(194,157,87,.1);
}
.portrait p { margin: 18px 0 0; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.profile-text h2 { margin: 0 0 22px; font-size: clamp(2.2rem,4vw,3.8rem); font-weight: 500; letter-spacing: -.04em; }
.profile-text > p { color: var(--muted); font-size: 1rem; }
.qualification-list { margin-top: 50px; }
.qualification { padding: 24px 0; border-top: 1px solid var(--line); }
.qualification h3 { margin: 0 0 6px; font-size: 1.05rem; }
.qualification p { margin: 0; color: var(--muted); font-size: .84rem; }
.project-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 55px; }
.project-strip article { padding: 25px; border: 1px solid rgba(46,140,132,.15); border-radius: 18px; background: linear-gradient(145deg, rgba(250,247,239,.9), rgba(220,233,223,.68)); box-shadow: 0 14px 40px rgba(16,47,63,.05); }
.project-strip article:nth-child(2) { background: linear-gradient(145deg, rgba(220,233,223,.75), rgba(239,226,197,.58)); }
.project-strip article:nth-child(3) { background: linear-gradient(145deg, rgba(239,226,197,.66), rgba(250,247,239,.9)); }
.project-strip small { color: var(--teal); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-strip h3 { margin: 15px 0 8px; font-size: 1rem; }
.project-strip p { margin: 0; color: var(--muted); font-size: .78rem; }

.price-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: end; }
.price-lead h2 { margin: 0; font-size: clamp(2.5rem,5vw,4.8rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.price-lead p { color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 65px; }
.price-card { padding: 35px; border: 1px solid rgba(46,140,132,.18); border-radius: 24px; background: linear-gradient(145deg, rgba(220,233,223,.92), rgba(250,247,239,.92) 62%, rgba(239,226,197,.72)); box-shadow: 0 20px 60px rgba(16,47,63,.08); }
.price-card:nth-child(2) { background: linear-gradient(145deg, rgba(250,247,239,.95), rgba(239,226,197,.84) 55%, rgba(220,233,223,.7)); }
.price-card:nth-child(3) { background: linear-gradient(145deg, rgba(239,226,197,.78), rgba(250,247,239,.92) 55%, rgba(168,206,202,.72)); }
.price-card.featured { color: var(--white); background: radial-gradient(circle at 82% 12%, rgba(194,157,87,.26), transparent 32%), linear-gradient(135deg, var(--navy-deep), var(--navy) 56%, #206860); }
.price-card small { color: var(--teal); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.price-card.featured small { color: var(--mint); }
.price-card h2 { margin: 24px 0 8px; font-size: 1.25rem; }
.price { margin: 0; color: var(--ink) !important; font-size: 2.8rem !important; font-weight: 600; line-height: 1; }
.featured .price { color: var(--white) !important; }
.price span { font-size: .8rem; font-weight: 400; }
.price-card > p:last-child { color: var(--muted); font-size: .82rem; }
.featured > p:last-child { color: rgba(255,255,255,.68); }
.price-note { margin-top: 35px; padding: 25px 30px; border-left: 3px solid var(--gold); background: #fff9ec; color: var(--muted); font-size: .86rem; }
.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 100px;
  padding: 50px;
  color: var(--ink);
  border: 1px solid rgba(46,140,132,.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 16%, rgba(194,157,87,.3), transparent 30%),
    linear-gradient(125deg, rgba(168,206,202,.88), rgba(250,247,239,.94) 58%, rgba(239,226,197,.82));
  box-shadow: 0 24px 70px rgba(16,47,63,.08);
}
.contact-band h2 { margin: 0; font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 500; }
.contact-band a { padding: 15px 22px; border: 1px solid var(--ink); border-radius: 99px; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .18s ease, background .18s ease; }
.contact-band a:hover { color: var(--white); background: var(--ink); }

.legal-main { width: min(860px,calc(100vw - 48px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-main h1 { margin: 0; font-size: clamp(3rem,7vw,5rem); font-weight: 500; letter-spacing: -.05em; }
.legal-main h2 { margin-top: 45px; font-size: 1.35rem; }
.legal-notice { margin: 32px 0; padding: 22px; border-left: 3px solid var(--gold); background: #fff9ec; }
.legal-back { display: inline-block; margin-bottom: 25px; color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 45px;
  padding: 52px max(24px,calc((100vw - 1240px)/2));
  color: var(--muted);
  border-top: 1px solid rgba(46,140,132,.16);
  background:
    radial-gradient(circle at 82% 8%, rgba(194,157,87,.2), transparent 25%),
    linear-gradient(118deg, rgba(220,233,223,.96), rgba(250,247,239,.96) 60%, rgba(239,226,197,.88));
  font-size: .95rem;
}
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--ink); font-size: .96rem; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer p { margin: 0; }

/* Kontaktseite */
.contact-page { display: grid; gap: 85px; }
.contact-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.contact-details > div {
  min-height: 220px;
  padding: 34px;
  border: 1px solid rgba(46,140,132,.17);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(220,233,223,.88), rgba(250,247,239,.93) 62%, rgba(239,226,197,.68));
  box-shadow: 0 18px 55px rgba(16,47,63,.06);
}
.contact-provider address { margin-top: 10px !important; }
.contact-details > .contact-mail { background: linear-gradient(145deg, rgba(250,247,239,.94), rgba(239,226,197,.78), rgba(220,233,223,.62)); }
.contact-details > .contact-linkedin { background: linear-gradient(145deg, rgba(168,206,202,.72), rgba(220,233,223,.84), rgba(250,247,239,.9)); }
.contact-label { margin: 0 0 25px; color: var(--teal); font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-details h2 { margin: 0 0 10px; font-size: clamp(1.35rem,2vw,1.9rem); font-weight: 600; }
.contact-details p:not(.contact-label), .contact-details address { margin: 0; color: var(--muted); font-size: .9rem; font-style: normal; }
.contact-mail h2 a,
.contact-linkedin h2 a,
.contact-provider h2 a,
.contact-form-trigger { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-form-trigger { padding: 0; border: 0; background: transparent; font: inherit; text-align: left; text-decoration-line: underline; cursor: pointer; }
.contact-form-trigger:focus-visible { outline: 3px solid rgba(46,140,132,.28); outline-offset: 7px; border-radius: 2px; }
.contact-dialog {
  width: min(1120px,calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 32px 100px rgba(7,30,42,.35);
  overflow: auto;
}
.contact-dialog::backdrop { background: rgba(7,30,42,.72); backdrop-filter: blur(7px); }
.contact-dialog-content {
  position: relative;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 7vw;
  padding: 55px;
  border: 1px solid rgba(46,140,132,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(194,157,87,.22), transparent 28%),
    linear-gradient(128deg, rgba(220,233,223,.9), rgba(250,247,239,.96) 58%, rgba(239,226,197,.76));
  box-shadow: 0 24px 70px rgba(16,47,63,.08);
}
.contact-dialog-close {
  position: absolute;
  z-index: 1;
  top: 19px;
  right: 21px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(16,47,63,.2);
  border-radius: 50%;
  background: rgba(250,247,239,.72);
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.contact-dialog-close:hover { background: var(--cream); }
.contact-dialog-close:focus-visible { outline: 3px solid rgba(46,140,132,.28); outline-offset: 3px; }
.contact-form-intro h2 { margin: 0 0 24px; font-size: clamp(2rem,3.5vw,3.3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.contact-form-intro > p:not(.contact-label) { color: var(--muted); font-size: .9rem; }
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; }
.form-field { display: grid; align-content: start; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.optional { margin-left: 6px; color: var(--muted); font-size: .66rem; font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid rgba(16,47,63,.22);
  border-radius: 10px;
  outline: 0;
  background: rgba(255,255,255,.52);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.checkbox-option { display: flex; align-items: flex-start; gap: 9px; margin-top: 3px; color: var(--muted); font-size: .72rem !important; font-weight: 500 !important; line-height: 1.4; cursor: pointer; }
.checkbox-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--teal); }
.checkbox-option .optional { margin-left: 3px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); background: rgba(255,255,255,.78); box-shadow: 0 0 0 3px rgba(46,140,132,.14); }
.form-field [aria-invalid="true"] { border-color: #a94c43; box-shadow: 0 0 0 3px rgba(169,76,67,.1); }
.field-hint { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.field-error { min-height: 1.2em; color: #8d3932; font-size: .7rem; }
.form-notices { color: var(--muted); font-size: .76rem; }
.form-notices p { margin: 0; }
.form-notices p + p { margin-top: 12px; }
.form-notices a { color: var(--ink); text-underline-offset: 4px; }
.form-actions { display: flex; align-items: center; gap: 22px; }
.form-actions .button {
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.form-actions .button:hover { color: var(--white); background: var(--ink); transform: translateY(-2px); }
.form-actions .button:focus-visible { outline: 3px solid rgba(46,140,132,.28); outline-offset: 4px; }
.form-actions .button:disabled { cursor: wait; opacity: .66; transform: none; }
.form-status { margin: 0; color: var(--muted); font-size: .76rem; }
.form-feedback {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(46,140,132,.34);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(16,47,63,.25);
}
.form-feedback::backdrop { background: rgba(8,31,43,.52); backdrop-filter: blur(4px); }
.form-feedback-content { padding: 36px; }
.form-feedback h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.1; }
.form-feedback p:not(.contact-label) { margin: 0; color: var(--muted); line-height: 1.6; }
.form-feedback-close { margin-top: 28px; padding: 13px 22px; color: var(--ink); border: 1px solid var(--ink); border-radius: 99px; background: transparent; cursor: pointer; }
.form-feedback-close:hover { color: var(--white); background: var(--ink); }
.form-feedback-close:focus-visible { outline: 3px solid rgba(46,140,132,.28); outline-offset: 4px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.imprint-panel {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 7vw;
  padding: 55px;
  border: 1px solid rgba(194,157,87,.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(194,157,87,.28), transparent 29%),
    linear-gradient(128deg, rgba(220,233,223,.9), rgba(250,247,239,.95) 58%, rgba(239,226,197,.82));
  box-shadow: 0 24px 70px rgba(16,47,63,.08);
}
.imprint-panel h2 { margin: 0; font-size: clamp(2rem,3.5vw,3.3rem); font-weight: 500; letter-spacing: -.04em; }
.imprint-panel dl { margin: 0; }
.imprint-panel dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 25px; padding: 18px 0; border-top: 1px solid rgba(16,47,63,.13); }
.imprint-panel dt { color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.imprint-panel dd { margin: 0; color: var(--muted); }
.imprint-panel dd a { color: var(--ink); text-underline-offset: 4px; }
.legal-caution { grid-column: 2; margin: 10px 0 0; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(250,247,239,.72); color: var(--muted); font-size: .78rem; }

/* Dunkle Variante: dieselbe weiche Verlaufsstimmung */
.theme-dark[data-theme="dark"] .site-footer,
body:not(.theme-dark)[data-theme="dark"] .site-footer {
  color: rgba(255,255,255,.72);
  border-color: rgba(168,206,202,.1);
  background:
    radial-gradient(circle at 84% 12%, rgba(194,157,87,.16), transparent 27%),
    radial-gradient(circle at 14% 80%, rgba(46,140,132,.18), transparent 30%),
    linear-gradient(125deg, #071e2a, #0c2b3b 58%, #173e3f);
}
.theme-dark[data-theme="dark"] .site-footer strong,
body:not(.theme-dark)[data-theme="dark"] .site-footer strong { color: var(--white); }
body:not(.theme-dark)[data-theme="dark"] {
  background:
    radial-gradient(circle at 88% 12%, rgba(194,157,87,.2), transparent 26%),
    radial-gradient(circle at 12% 76%, rgba(46,140,132,.22), transparent 33%),
    linear-gradient(135deg, #071e2a, #0c2b3b 54%, #173e3f);
}
body:not(.theme-dark)[data-theme="dark"] .service-card,
body:not(.theme-dark)[data-theme="dark"] .process-list li,
body:not(.theme-dark)[data-theme="dark"] .work-principles article,
body:not(.theme-dark)[data-theme="dark"] .project-strip article,
body:not(.theme-dark)[data-theme="dark"] .contact-details > div {
  color: var(--white);
  border-color: rgba(168,206,202,.14);
  background:
    radial-gradient(circle at 84% 14%, rgba(194,157,87,.14), transparent 28%),
    linear-gradient(145deg, rgba(12,43,59,.94), rgba(23,62,63,.88));
}
body:not(.theme-dark)[data-theme="dark"] .scope-panel,
body:not(.theme-dark)[data-theme="dark"] .contact-band,
body:not(.theme-dark)[data-theme="dark"] .contact-dialog-content,
body:not(.theme-dark)[data-theme="dark"] .imprint-panel {
  color: var(--white);
  border-color: rgba(194,157,87,.18);
  background:
    radial-gradient(circle at 86% 14%, rgba(194,157,87,.18), transparent 28%),
    linear-gradient(125deg, rgba(12,43,59,.96), rgba(23,62,63,.92));
}
body:not(.theme-dark)[data-theme="dark"] .scope-panel ul,
body:not(.theme-dark)[data-theme="dark"] .contact-details p:not(.contact-label),
body:not(.theme-dark)[data-theme="dark"] .contact-details address,
body:not(.theme-dark)[data-theme="dark"] .imprint-panel dd { color: rgba(255,255,255,.64); }
body:not(.theme-dark)[data-theme="dark"] .contact-band a { color: var(--white); border-color: rgba(255,255,255,.75); }
body:not(.theme-dark)[data-theme="dark"] .contact-band a:hover { color: var(--navy); background: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .contact-mail h2 a,
body:not(.theme-dark)[data-theme="dark"] .contact-linkedin h2 a,
body:not(.theme-dark)[data-theme="dark"] .contact-provider h2 a,
body:not(.theme-dark)[data-theme="dark"] .contact-form-trigger,
body:not(.theme-dark)[data-theme="dark"] .imprint-panel dd a { color: var(--mint); }
body:not(.theme-dark)[data-theme="dark"] .contact-dialog { color: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .contact-dialog-close { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(7,30,42,.72); }
body:not(.theme-dark)[data-theme="dark"] .contact-dialog-close:hover { background: rgba(23,62,63,.96); }
body:not(.theme-dark)[data-theme="dark"] .contact-form-intro > p:not(.contact-label),
body:not(.theme-dark)[data-theme="dark"] .field-hint,
body:not(.theme-dark)[data-theme="dark"] .form-notices,
body:not(.theme-dark)[data-theme="dark"] .form-status { color: rgba(255,255,255,.64); }
body:not(.theme-dark)[data-theme="dark"] .form-field label,
body:not(.theme-dark)[data-theme="dark"] .form-notices a { color: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .checkbox-option { color: rgba(255,255,255,.68); }
body:not(.theme-dark)[data-theme="dark"] .form-actions .button { color: var(--white); border-color: rgba(255,255,255,.75); }
body:not(.theme-dark)[data-theme="dark"] .form-actions .button:hover { color: var(--navy); background: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .form-feedback { color: var(--white); background: #102d3c; border-color: rgba(255,255,255,.24); }
body:not(.theme-dark)[data-theme="dark"] .form-feedback p:not(.contact-label) { color: rgba(255,255,255,.72); }
body:not(.theme-dark)[data-theme="dark"] .form-feedback-close { color: var(--white); border-color: rgba(255,255,255,.75); }
body:not(.theme-dark)[data-theme="dark"] .form-feedback-close:hover { color: var(--navy); background: var(--white); }
body:not(.theme-dark)[data-theme="dark"] .form-feedback-close:focus-visible { outline-color: rgba(255,255,255,.75); }
body:not(.theme-dark)[data-theme="dark"] .form-field input,
body:not(.theme-dark)[data-theme="dark"] .form-field select,
body:not(.theme-dark)[data-theme="dark"] .form-field textarea { color: var(--white); border-color: rgba(255,255,255,.2); background: rgba(7,30,42,.42); }
body:not(.theme-dark)[data-theme="dark"] .form-field input:focus,
body:not(.theme-dark)[data-theme="dark"] .form-field select:focus,
body:not(.theme-dark)[data-theme="dark"] .form-field textarea:focus { border-color: var(--mint); background: rgba(7,30,42,.62); }
body:not(.theme-dark)[data-theme="dark"] .imprint-panel dl > div { border-color: rgba(255,255,255,.12); }
body:not(.theme-dark)[data-theme="dark"] .legal-caution { color: var(--ink); }
body:not(.theme-dark)[data-theme="dark"] .price-card:not(.featured) {
  color: var(--white);
  border-color: rgba(168,206,202,.14);
  background:
    radial-gradient(circle at 84% 12%, rgba(194,157,87,.16), transparent 30%),
    linear-gradient(145deg, rgba(12,43,59,.95), rgba(23,62,63,.9));
}
body:not(.theme-dark)[data-theme="dark"] .price-card:not(.featured) .price { color: var(--white) !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .site-header { min-height: 84px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .theme-toggle { margin-left: auto; }
  .menu-button { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; border: 0; color: inherit; background: transparent; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 1px; background: currentColor; }
  .main-navigation { position: absolute; inset: 100% 0 auto; display: none; padding: 15px 24px 25px; background: var(--navy-deep); color: var(--white); }
  .main-navigation.is-open { display: grid; }
  .main-navigation a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-contact { margin-top: 8px; text-align: center; }
  .home-hero { padding-top: 38px; }
  .security-cycle { width: min(560px, calc(100% - 140px)); min-height: 560px; margin-top: 40px; }
  .cycle-requirements { top: 14px; }
  .cycle-develop { bottom: 14px; }
  .section-title, .scope-panel, .profile-layout, .price-lead, .contact-dialog-content { grid-template-columns: 1fr; }
  .service-grid, .process-list, .price-grid { grid-template-columns: 1fr 1fr; }
  .work-principles, .project-strip { grid-template-columns: 1fr 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .portrait { position: static; width: min(500px,100%); }
}

@media (max-width: 600px) {
  :root { --page: calc(100vw - 36px); }
  .site-header { min-height: 92px; gap: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .brand-symbol { flex: 0 0 30px; width: 30px; padding-right: 8px; }
  .brand-symbol b { height: 37px; }
  .brand-copy { min-width: 0; }
  .brand-title { white-space: normal; }
  .brand-copy strong { font-size: .82rem; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
  .theme-toggle { flex: 0 0 auto; margin-left: 0; }
  .menu-button { flex: 0 0 42px; }
  .home-hero h1 { font-size: clamp(2.6rem,12vw,4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .home-hero { padding-top: 32px; }
  .security-cycle { width: 100%; min-height: 390px; margin-top: 36px; }
  .cycle-center { width: 180px; }
  .cycle-center strong { font-size: .78rem; }
  .cycle-label { font-size: .72rem; }
  .cycle-label span { font-size: .62rem; }
  .cycle-requirements { top: 8px; }
  .cycle-evaluate { right: -8px; width: 105px; }
  .cycle-develop { bottom: 8px; }
  .cycle-evidence { left: -8px; width: 105px; }
  .service-grid, .process-list, .work-principles, .project-strip, .price-grid { grid-template-columns: 1fr; }
  .contact-details, .imprint-panel { grid-template-columns: 1fr; }
  .contact-dialog { width: min(100% - 20px,1120px); max-height: calc(100dvh - 20px); }
  .contact-dialog-content { padding: 58px 26px 34px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: 1; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .legal-caution { grid-column: 1; }
  .imprint-panel { padding: 34px 26px; }
  .imprint-panel dl > div { grid-template-columns: 1fr; gap: 6px; }
  .page-hero { padding: 70px 0 60px; }
  .page-hero h1,
  .section-title h2,
  .profile-text h2,
  .service-card h2,
  .service-card h3 { overflow-wrap: anywhere; hyphens: auto; }
  .page-main { padding: 75px 0 95px; }
  .section-title { gap: 18px; }
  .scope-panel { padding: 32px 25px; }
  .process-list li + li { border-left: 0; }
  .contact-band { grid-template-columns: 1fr; padding: 32px 25px; }
  .portrait { width: min(310px,90%); margin: 0 auto; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
}

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