/* CiT-Pro: gemeinsames Master-Design für sämtliche öffentlichen Seiten. */
:root {
  color-scheme: dark;
  --night: #041426;
  --surface: #061a30;
  --surface2: #0b2441;
  --ink: #edf7ff;
  --text: #edf7ff;
  --muted: #aec3d9;
  --green: #00efb1;
  --lime: #9dff1f;
  --border: rgba(147, 209, 245, .18);
  --line: rgba(147, 209, 245, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; scroll-padding-top: 158px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--lime); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 100; background: var(--lime); color: var(--night); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden, .honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Weltkugel und transparenter Schriftzug bleiben voneinander unabhängig. */
.cit-hero {
  position: sticky; top: 0; z-index: 20; isolation: isolate; overflow: hidden;
  height: clamp(370px, 51vw, 710px);
  background: #051b37 url('/assets/img/master/citpro-globus.webp') center 49% / cover no-repeat;
  transition: height .64s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.cit-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg,rgba(1,10,30,.53),transparent 30%,transparent 65%,rgba(0,5,13,.4)); }
.cit-nav { position: absolute; z-index: 4; top: 0; left: 0; right: 0; min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 clamp(18px,4.5vw,72px); background: linear-gradient(180deg,rgba(1,11,27,.82),rgba(1,11,27,0)); }
.nav-brand { text-decoration: none; font-weight: 800; font-size: clamp(17px,2vw,22px); letter-spacing: -.03em; white-space: nowrap; }
.nav-brand span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: clamp(14px,2.2vw,36px); }
.nav-links a, .mobile-panel a { text-decoration: none; color: #e5f2ff; font-size: 14px; font-weight: 600; padding-block: 10px; }
.nav-links a:hover, .nav-links a[aria-current=page], .mobile-panel a[aria-current=page] { color: var(--lime); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; list-style: none; background: rgba(2,12,25,.85); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; right: 0; top: 50px; width: min(240px, calc(100vw - 34px)); padding: 12px 16px; display: grid; gap: 3px; background: #071b2f; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 40px #0008; }
.cit-hero.menu-open { overflow: visible; }
.cit-hero__logo { position: absolute; z-index: 2; left: 50%; top: 54%; width: min(81vw,1110px); height: auto; display: block; transform: translate(-50%,-50%) scale(1); filter: drop-shadow(0 4px 0 rgba(3,22,44,.76)) drop-shadow(0 0 24px rgba(100,255,229,.43)); opacity: 1; visibility: visible; transition: opacity .32s ease, transform .62s cubic-bezier(.16,1,.3,1), visibility .32s ease; }
html.is-scrolled .cit-hero, .inner-page .cit-hero { height: 138px; box-shadow: 0 6px 24px rgba(0,0,0,.55); }
html.is-scrolled .cit-hero__logo, .inner-page .cit-hero__logo { opacity: 0; visibility: hidden; transform: translate(-50%,-63%) scale(.84); pointer-events: none; }

main { position: relative; z-index: 1; background: linear-gradient(180deg,#061426,#0a213b 68%,#07172a); }
.page-wrap, .container { width: min(1120px,calc(100% - 42px)); margin-inline: auto; }
.intro, .page-intro { padding: clamp(45px,6vw,90px) 0 36px; }
.eyebrow { color: var(--green); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 750; margin-bottom: 14px; }
h1,h2,h3 { line-height: 1.18; letter-spacing: -.03em; margin: 0; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(33px,4.5vw,60px); max-width: 900px; margin: 14px 0 20px; }
h1 span { color: var(--green); }
h2 { font-size: clamp(26px,3vw,38px); margin: 0 0 22px; }
h3 { font-size: 23px; margin-bottom: 12px; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(16px,1.65vw,21px); max-width: 760px; }
.cards, .card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 16px 0 70px; }
.card, .service-card, .detail-card, .benefit-card, .form-card, .panel { padding: 30px 25px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg,#0e304f,#07182d); box-shadow: 0 12px 28px #0002; min-width: 0; }
.card { min-height: 205px; }
.card-icon, .card-symbol { color: var(--lime); font-size: 29px; line-height: 1; margin-bottom: 24px; display: block; }
.card p, .service-card p, .benefit-card p { font-size: 15px; }
.card .text-link { display: inline-block; margin-top: 10px; }
.band, .section { padding: 70px 0 90px; border-top: 1px solid var(--border); }
.band p { max-width: 760px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-description { max-width: 360px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--lime); border-radius: 9px; margin: 0; text-decoration: none; background: var(--lime); font-weight: 750; color: #051325; line-height: 1.4; }
.cta:hover, .button:hover { color: #051325; background: #b7ff60; border-color: #b7ff60; }
.button-secondary { background: transparent; color: var(--ink); border-color: rgba(147,209,245,.5); }
.button-secondary:hover { background: #10314a; color: var(--ink); border-color: var(--green); }
.text-link { color: var(--green); font-weight: 600; }
.process-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.process-steps li { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: #0b2441; }
.step-number, .detail-number { display: block; color: var(--lime); font-size: 13px; letter-spacing: .12em; margin-bottom: 20px; }
.process-steps h3 { font-size: 21px; }
.process-steps p { font-size: 15px; margin-bottom: 0; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 34px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg,#0e304f,#07182d); margin-bottom: 70px; }
.cta-strip h2 { margin-bottom: 0; }
.service-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.detail-card h2 { font-size: clamp(24px,2.4vw,30px); }
.detail-card p, .detail-card li { color: var(--muted); }
.detail-card ul { padding-left: 20px; margin-bottom: 24px; }
.detail-card .text-link { display: inline-block; margin-top: 5px; }
.section-bottom { padding-bottom: 80px; }

/* Bestehende Formular- und Ticket-IDs bleiben unverändert. */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.form-layout > * { min-width: 0; }
.form-aside { padding-top: 15px; }
.form-aside h2 { font-size: 27px; }
.form-aside h3 { font-size: 20px; }
.form-card h2 { font-size: 28px; }
.form-hint, .field-hint { font-size: 14px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid rgba(147,209,245,.45); border-radius: 9px; background: #061a30; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { min-height: 165px; resize: vertical; line-height: 1.6; }
.field-hint { margin-top: 8px; margin-bottom: 0; }
.checkbox-field { display: flex; gap: 12px; align-items: flex-start; margin: 25px 0; }
.checkbox-field input { width: 19px; height: 19px; flex-shrink: 0; margin-top: 4px; accent-color: var(--green); }
.checkbox-field label { font-size: 14px; color: var(--muted); }
.checkbox-field a { color: var(--ink); }
.form-message { margin-top: 20px; overflow-wrap: anywhere; font-size: 15px; }
.form-message[data-kind=error] { color: #ffc8bd; border-left: 3px solid #ff9387; padding-left: 14px; }
.text-button { background: none; border: 0; color: var(--green); padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; }
button:disabled, fieldset:disabled .button { opacity: .6; cursor: wait; }
.check-list { color: var(--muted); padding-left: 20px; }
.check-list li { margin-bottom: 10px; }
.info-note { border-left: 3px solid var(--green); padding: 10px 0 0 18px; margin: 28px 0; }
.notice { padding: 18px; border: 1px solid rgba(157,255,31,.35); border-radius: 12px; background: #10314a; color: var(--ink); margin-bottom: 24px; overflow-wrap: anywhere; }
.result-panel { margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--border); }
.ticket-number { font: 20px/1.6 ui-monospace,monospace; overflow-wrap: anywhere; padding: 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--night); color: var(--lime); }
.status-details { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px 20px; }
.status-details dt { color: var(--muted); }
.status-details dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }

.legal-content { width: min(860px,calc(100% - 42px)); padding: 45px 0 75px; overflow-wrap: anywhere; }
.page-heading { margin-bottom: 30px; }
.legal-content h1 { font-size: clamp(31px,4vw,48px); }
.legal-content h2 { font-size: 26px; margin-top: 38px; }
.legal-content .panel { margin-block: 28px; }
.legal-content .panel h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li { margin-bottom: 10px; }
.legal-content a { color: var(--green); }
.legal-content dt { color: var(--ink); font-weight: 650; }
.legal-content dd { color: var(--muted); margin: 0 0 18px; }
.footer, .site-footer { padding: 25px 0; border-top: 1px solid var(--border); background: var(--night); font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { color: var(--ink); font-weight: 750; text-decoration: none; }
.footer-brand span { color: var(--muted); font-weight: 400; }
.footer-inner p { margin: 6px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a[aria-current=page] { color: var(--lime); }

@media(max-width:900px) { .form-layout { gap: 30px; } .service-details { gap: 18px; } }
@media(max-width:720px) {
  html { scroll-padding-top: 108px; }
  .cit-nav { min-height: 64px; padding: 0 17px; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .cit-hero { height: clamp(320px,66vw,450px); background-position: 50% 50%; }
  .cit-hero__logo { width: 96vw; top: 53%; }
  html.is-scrolled .cit-hero, .inner-page .cit-hero { height: 92px; }
  .cards, .card-grid, .process-steps, .service-details, .form-layout { grid-template-columns: 1fr; }
  .cards, .card-grid { padding-bottom: 40px; }
  .card { min-height: unset; }
  .band, .section { padding: 50px 0 65px; }
  .section-heading, .cta-strip, .footer-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip { padding: 26px; margin-bottom: 45px; }
  .section-description { max-width: none; }
  .form-aside { padding-top: 0; }
  .form-card, .panel, .detail-card { padding: 24px 20px; }
  .section-bottom { padding-bottom: 50px; }
}
@media(max-width:520px) {
  .field-row, .status-details { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .status-details { gap: 4px; }
  .status-details dd { margin-bottom: 14px; }
  .actions { align-items: stretch; flex-direction: column; }
  .footer-brand span { display: block; }
  .footer-links { gap: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
