:root {
  color: var(--ink);
  background: var(--canvas);
  font: 100%/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 95% 10%, #d1e2fa, transparent 45%), radial-gradient(ellipse at 0 64%, #d5e5f7, transparent 40%), #edf2f9; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #1745ad; outline-offset: 4px; }
.wrap { width: min(90%, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: -10rem; left: 1rem; background: white; padding: .7rem; }
.skip:focus { top: .5rem; }
.mast { position: relative; z-index: 2; padding-top: clamp(.7rem, 1.7vw, 1.6rem); }
@media screen {
  html { scroll-padding-block-start: 6rem; }
  .mast { position: sticky; top: 0; }
}
@media screen and (max-width: 40rem) {
  html { scroll-padding-block-start: 7rem; }
}
@media screen and (max-width: 22rem) {
  html { scroll-padding-block-start: 9rem; }
}
.head, .index, .glass-button, .nav-contact, .legal, .contact-columns, .portrait-intro {
  border: 1px solid rgb(255 255 255 / .83);
  background: var(--glass);
  box-shadow: var(--edge), var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .58rem .68rem .58rem 1.05rem; border-radius: 3rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .56rem; color: #152642; font-size: 1.59rem; font-weight: 740; line-height: 1; letter-spacing: -.065em; text-decoration: none; }
.mark { display: block; width: auto; height: 2.15rem; }
nav, .foot, .actions { display: flex; align-items: center; flex-wrap: wrap; }
.head nav { gap: clamp(.8rem, 2.5vw, 2.4rem); }
nav a, .nav-contact { font-size: .94rem; font-weight: 570; text-decoration: none; }
nav a { display: inline-block; padding-block: .5rem; }
nav a:hover, nav a[aria-current=page], .textlink:hover { color: var(--blue); text-decoration: underline; }
.nav-contact, .glass-button, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 2rem; min-height: 2.75rem; padding: .65rem 1.35rem; font-family: inherit; font-size: .96rem; font-weight: 630; line-height: 1.25; text-decoration: none; }
.nav-contact { justify-self: end; color: #18316a; background: linear-gradient(155deg, #f9fcff, #d3e2fa); box-shadow: var(--edge), 0 2px 6px #6683a933; }
.button { border: 1px solid #123788; background: linear-gradient(170deg,#2856ae,#193775); box-shadow: inset 0 1px 0 #91b2ee99, 0 4px 10px #17397929; color: white; font-weight: 650; }
.glass-button { color: #172e57; font-weight: 620; }
.button:hover { background: #163276; }
.glass-button:hover, .nav-contact:hover { background: #f5faff; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 570; line-height: 1.04; letter-spacing: -.062em; }
h1 { font-size: clamp(3.2rem,6.4vw,6.3rem); }
h2 { font-size: clamp(2rem,3.6vw,3.55rem); }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.025em; }
.eyebrow { font-size: .95rem; font-weight: 640; color: #314b74; }
.lead { font-size: clamp(1.05rem,1.32vw,1.24rem); line-height: 1.58; color: var(--muted); }
.actions { margin-top: 1.75rem; gap: .7rem; }
.textlink { display: inline-block; font-weight: 620; color: var(--blue); }
:target { scroll-margin-top: 1.5rem; }

/* Startseite */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 4.7vw, 4.5rem); border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); margin: .65rem 0 1rem; }
.intro .lead { max-width: 46ch; }
.intro .actions { gap: 1.3rem; }
.migration-feature { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.45rem, 2.8vw, 2.5rem); border: 1px solid #fff; border-radius: 1.5rem; background: linear-gradient(125deg, #ffffffdc, #e9f0fcc9 55%, #c2d6f39c); box-shadow: var(--edge), var(--shadow); }
.migration-feature h2 { font-size: clamp(1.6rem, 2.65vw, 2.65rem); line-height: 1.12; margin-block: .7rem .85rem; }
.migration-feature h2 span { color: var(--blue); white-space: nowrap; }
.migration-feature p:not(.eyebrow) { max-width: 44ch; color: var(--muted); }
.migration-feature .textlink { margin-top: 1.2rem; }

.services, .method-inner, .portrait-row { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,6fr); gap: 7%; }
.services, .method-inner { padding-block: clamp(3rem,5.5vw,5.5rem); }
.section-intro p { color: var(--muted); margin-top: .85rem; }
.index { border-radius: 1.65rem; padding-inline: clamp(1rem,2.2vw,2rem); align-self: start; }
details + details { border-top: 1px solid var(--line); }
summary { display: flex; cursor: pointer; list-style: none; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.75rem; padding: 1rem 0; font-size: clamp(1.05rem,1.6vw,1.4rem); font-weight: 610; letter-spacing: -.03em; }
summary:hover { color: var(--blue); }
summary::-webkit-details-marker { display: none; }
.plus { display: block; flex: none; width: 1.75rem; height: 1.75rem; fill: none; }
.plus circle { stroke: var(--outline); }
.plus path { stroke: var(--blue); stroke-width: 2; }
details[open] .plus-vertical { display: none; }
.detail { padding-bottom: 1.25rem; color: var(--muted); }
.detail p { margin-top: .25rem; }
.method-inner { border-top: 1px solid var(--line); }
.process article + article { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.process p, .contact p { margin-top: .6rem; color: var(--muted); max-width: 58ch; }
.contact-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 7%; border-radius: 2rem; padding: clamp(1.4rem,3.2vw,3.2rem); margin-bottom: clamp(3rem,5vw,5rem); }
.contact h2 { font-size: clamp(1.65rem,2.4vw,2.4rem); }
.contact a { margin-top: 1rem; }
.contact aside { border-left: 1px solid var(--line); padding-left: 10%; }
.billing-contact { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.mail-address { color: var(--blue); overflow-wrap: anywhere; }
.mail-directory { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.mail-directory dt { font-weight: 630; }
footer { border-top: 1px solid var(--line); }
.foot { justify-content: space-between; gap: .7rem; padding-block: 1.2rem; }
.foot nav { gap: 1.25rem; }
.muted { color: var(--muted); }

.legal, .portrait { margin-block: clamp(1.8rem,4vw,4rem); }
.legal { padding: clamp(1.25rem,4.5vw,3.8rem); max-width: 53rem; border-radius: 2rem; }
.legal h1, .portrait h1 { font-size: clamp(2.35rem,5.4vw,4.8rem); margin: .8rem 0 1.3rem; overflow-wrap: anywhere; hyphens: auto; }
.legal h2, .portrait-row h2 { font-size: clamp(1.55rem,2.6vw,2.3rem); }
.legal h2 { margin: 2rem 0 .7rem; }
.legal p + p, .legal .textlink, .portrait-row p + p { margin-top: .9rem; }
.legal-lead, .legal aside { padding: 1.05rem; background: #dce7f5; border-radius: .8rem; }
.legal aside { margin-block: 1rem; }
.portrait-intro { padding: clamp(1.6rem,4.5vw,4.4rem); border-radius: 2rem; background: radial-gradient(ellipse at 100% 0%,#bbd3fc80,transparent 65%),var(--glass); }
.portrait-intro .lead { max-width: 60ch; }
.portrait-row { padding: clamp(2rem,4vw,4rem) 0; }
.portrait-row + .portrait-row { border-top: 1px solid var(--line); }
.portrait-row p, .work-areas dd { max-width: 64ch; color: var(--muted); }
.portrait-row a { margin-top: 1.35rem; }
.work-areas dt { font-weight: 650; }
.work-areas dd + dt { margin-top: 1.1rem; }
.proxmox-comparison { padding-block: clamp(2rem,4vw,4rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.proxmox-comparison h2 { font-size: clamp(1.55rem,2.6vw,2.3rem); margin: 0 0 1.5rem; }
.proxmox-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,25rem),1fr)); gap: clamp(1.6rem,4vw,4rem); }
.proxmox-columns h3 { margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font-size: 1.18rem; }
.proxmox-columns dd { margin: .25rem 0 0; max-width: 62ch; color: var(--muted); }
.proxmox-sources { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
form { margin-top: 1.6rem; max-width: 40rem; }
form label { display: block; font-weight: 630; margin: 1rem 0 .3rem; }
form input:not([type=hidden]), form select, form textarea { width: 100%; border: 1px solid #7b8ca4; border-radius: .7rem; color: var(--ink); background: #fafcff; padding: .75rem .85rem; font: inherit; }
form textarea { resize: vertical; }
form p { margin: 1rem 0; }
form button { cursor: pointer; font-family: inherit; font-size: 1rem; }
form button:disabled { cursor: default; background: #d6e0ed; color: #45556b; }
.feedback { border-left: 3px solid var(--blue); padding-left: .9rem; margin-block: 1rem; }

@media (max-width: 49rem) {
  .services, .method-inner, .portrait-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .migration-feature p:not(.eyebrow) { max-width: 60ch; }
}
@media (max-width: 40rem) {
  .wrap { width: min(92%,76rem); }
  .mast { padding-top: .65rem; }
  .head { grid-template-columns: 1fr auto; padding: .45rem .55rem .18rem .85rem; column-gap: .5rem; row-gap: .1rem; border-radius: 1.55rem; }
  .head nav { grid-column: 1/-1; grid-row: 2; gap: .2rem .7rem; justify-content: space-between; padding-inline: .15rem; }
  .head nav a { font-size: .88rem; }
  .nav-contact { grid-column: 2; grid-row: 1; min-height: 2.3rem; padding: .4rem 1rem; }
  .mark { height: 1.9rem; }
  .intro h1 { font-size: clamp(2.5rem, 9.5vw, 3.8rem); }
  .actions { gap: .5rem; margin-top: 1.25rem; }
  .button,.glass-button { padding-inline: 1.1rem; }
  .contact-columns { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact aside { border: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
}
@media (prefers-reduced-transparency: reduce) {
  .head, .index, .glass-button, .nav-contact, .legal, .contact-columns, .portrait-intro, .migration-feature { background: #eff5fc; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.topic-help p { display: none; margin: .35rem 0 1.2rem; padding: .8rem 1rem; border-inline-start: 3px solid #7595cb; background: #eaf1fa; color: #23395a; }
#thema:has(option[value="support"]:checked) + .topic-help .support-help,
#thema:has(option[value="proxmox"]:checked) + .topic-help .proxmox-help,
#thema:has(option[value="projekt"]:checked) + .topic-help .projekt-help,
#thema:has(option[value="karriere"]:checked) + .topic-help .karriere-help { display: block; }

.head-tools { display: flex; align-items: center; justify-self: end; gap: .45rem; }
body, .home { background: var(--scene); color: var(--ink); }
.skip { background: var(--paper); }
.eyebrow, .brand, .glass-button, .nav-contact { color: var(--ink); }
.nav-contact, .migration-feature, .portrait-intro { background: var(--glass); }
.nav-contact:hover, .glass-button:hover { background: var(--panel); }
.head, .index, .legal, .portrait-intro, .contact-columns, .migration-feature, .glass-button { border-color: var(--rim); }

.legal-lead, .legal aside, .topic-help p { background: var(--panel); color: var(--ink); }
form input:not([type=hidden]), form select, form textarea { background: var(--control); border-color: var(--outline); }
.button { background: var(--brand-fill); color: var(--brand-text); border-color: light-dark(#123788, #6688bc); }
.button:hover { background: var(--brand-fill); filter: brightness(.94); }
.stats-choice { margin: 1.5rem 0; padding: clamp(1.15rem, 3vw, 2rem); background: var(--panel); color: var(--ink); border: 1px solid var(--rim); border-radius: 1rem; }
.stats-choice h2, .legal .stats-choice h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.stats-choice p { max-width: 76ch; margin: .55rem 0; }
.stats-choice form { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 0; }
.stats-choice button { flex: 0 1 9rem; cursor: pointer; }
.cookie-privacy { display: inline-block; margin-top: 1rem; color: var(--blue); font-size: .9rem; }
#cookie-dialog {
  position: fixed; inset: 0; z-index: 20; margin: auto; padding: 0;
  width: min(31rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); max-height: calc(100dvh - 2rem);
  overflow: auto; overscroll-behavior: contain; border: 1px solid var(--rim); border-radius: 1.4rem;
  color: var(--ink); background: var(--paper);
  box-shadow: 0 1.5rem 5rem #08122659, 0 0 0 100vmax #0b142359;
}
#cookie-dialog:modal { box-shadow: var(--edge), 0 1.5rem 5rem #08122659; }
#cookie-dialog::backdrop { background: rgb(10 19 34 / .56); backdrop-filter: blur(4px); }
html:has(#cookie-dialog:modal) { overflow: hidden; }
#cookie-dialog .stats-choice { margin: 0; padding: clamp(1.3rem, 5vw, 2rem); border: 0; background: var(--glass); }
#cookie-dialog h2 { margin: 0 0 .85rem; font-size: clamp(1.5rem, 4vw, 1.85rem); }
#cookie-dialog form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); margin-top: 1.3rem; }
@media (max-width:40rem) { .head-tools { grid-column: 2; grid-row: 1; } }
@media (max-width: 22rem) {
  .head { grid-template-columns: minmax(0, 1fr) auto; padding-inline: .5rem; gap: .25rem; }
  .head .mark { max-width: 100%; height: auto; width: 4.5rem; }
  .head .brand { min-width: 0; max-width: 100%; }
  .head .nav-contact { padding-inline: .55rem; }
  .head nav { justify-content: flex-start; gap: .2rem .6rem; }
}
@media (prefers-reduced-transparency:reduce) { .head,.index,.legal,.portrait-intro,.contact-columns,.migration-feature,.nav-contact,.glass-button { background: var(--paper); } }
