/* Cloud Creative Webservices – Grundstil
   Farben aus dem Logo gemessen: Navy #040A19, Cyan #00D2EC, Mittel #00A9CC, Tief #007A9B */
:root {
  --bg: #040a19;
  --bg-2: #071125;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(160, 220, 240, 0.12);
  --line-strong: rgba(0, 210, 236, 0.38);
  --text: #eaf3f8;
  --muted: #9fb2c2;
  --soft: #6f8496;
  --cyan: #00d2ec;
  --cyan-mid: #00a9cc;
  --cyan-deep: #007a9b;
  --grad: linear-gradient(135deg, #00d2ec 0%, #00a9cc 55%, #007a9b 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  -webkit-tap-highlight-color: transparent;
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* sanfter Lichtschein im Hintergrund */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(0, 169, 204, .16), transparent 60%),
    radial-gradient(50rem 36rem at -10% 30%, rgba(0, 122, 155, .12), transparent 60%),
    var(--bg);
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #6fe9f7; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--cyan); color: #021018; padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* Navigation: schwebende Glas-Leiste */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav-inner {
  pointer-events: auto; width: min(100% - 1.5rem, var(--max)); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; padding: .55rem .6rem .55rem 1rem;
  background: rgba(7, 17, 37, .62); border: 1px solid var(--line); border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: background .3s var(--ease);
}
.nav.scrolled .nav-inner { background: rgba(5, 12, 28, .86); }
.marke { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); margin-right: auto; }
.marke img { width: 36px; height: 36px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.05; }
.marke-name { font-weight: 600; letter-spacing: .1em; font-size: .86rem; text-transform: uppercase; }
.marke-sub { font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; gap: .15rem; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .92rem; padding: .5rem .85rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-links a.aktiv { color: var(--text); background: var(--surface-2); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 650; font-size: .98rem; text-decoration: none;
  background: var(--grad); color: #021018; border: 0; cursor: pointer;
  box-shadow: 0 8px 30px -10px rgba(0, 210, 236, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { color: #021018; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(0, 210, 236, .7); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { color: var(--text); background: rgba(0, 210, 236, .08); box-shadow: none; }
.btn-klein { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.ccws-home .hero { padding-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.ccws-home .hero-ort { margin-bottom: 1rem; }
.ccws-home .hero h1 { letter-spacing: -.05em; }
.ccws-home .hero-symbol { max-width: 390px; }
.angebotswahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.angebotswahl a {
  display: grid; align-content: start; gap: .2rem; min-width: 0; padding: 1.05rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text); text-decoration: none;
}
.angebotswahl a:hover, .angebotswahl a:focus-visible { border-color: var(--line-strong); background: var(--surface-2); }
.angebotswahl strong { color: var(--cyan); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.angebotswahl small { color: var(--muted); font-size: .86rem; }
.preis-navigation { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.7rem; }
.preis-navigation a {
  padding: .48rem .82rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: .95rem; text-decoration: none;
}
.preis-navigation a:hover, .preis-navigation a:focus-visible { border-color: var(--line-strong); color: var(--cyan); }
@media (max-width: 700px) {
  .angebotswahl { grid-template-columns: 1fr; gap: .5rem; }
  .angebotswahl a { padding: .75rem .95rem; }
  .ccws-home .hero-symbol { max-width: 275px; }
}
.hero { padding: 150px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-ort {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; margin-bottom: 1.6rem; background: var(--surface);
}
.punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.035em; margin-bottom: .45em; }
.verlauf { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-symbol { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; perspective: 900px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.hero-symbol::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 236, .24), rgba(0, 122, 155, .08) 55%, transparent 70%); filter: blur(20px);
}
.hero-symbol .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.hero-symbol .ring:nth-child(2) { inset: 12%; border-color: rgba(0, 210, 236, .14); }
/* Lichtschein folgt dem Zeiger (nur transform/opacity) */
.logo-glow { position: absolute; left: 50%; top: 50%; width: 60%; height: 60%; margin: -30% 0 0 -30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 255, .38), rgba(0, 169, 204, .12) 45%, transparent 70%);
  opacity: 0; transform: translate3d(0, 0, 0); transition: opacity .4s var(--ease); pointer-events: none; will-change: transform, opacity; }
.hero-symbol.aktiv .logo-glow { opacity: 1; }
.logo-tilt { position: absolute; inset: 0; backface-visibility: hidden; }
.cc-logo { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; filter: drop-shadow(0 24px 40px rgba(0, 169, 204, .35)); }
.cc-logo path { fill: none; stroke-width: 86; stroke-linecap: round; stroke-linejoin: round; }
.cc-schatten { stroke-width: 70 !important; opacity: .55; filter: url(#cc-shadow); }
.cc-c1 { transform: translateZ(0); }
/* Zeichnen beim Laden */
.logo-zeichnen .cc-stroke { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: cc-zeichnen 1.5s cubic-bezier(.65, 0, .35, 1) forwards; }
.logo-zeichnen .cc-c2 .cc-stroke { animation-delay: .45s; }
.logo-zeichnen .cc-schatten { opacity: 0; animation: cc-einblenden .6s 1.3s ease forwards; }
@keyframes cc-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes cc-einblenden { to { opacity: .55; } }
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 4.5rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fakten div { background: var(--bg-2); padding: 1.3rem 1.4rem; }
.fakten strong { display: block; font-size: 1.08rem; }
.fakten span { color: var(--muted); font-size: .9rem; }

/* Abschnitte */
.section { padding: 96px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; }
.section-lead { color: var(--muted); max-width: 40rem; font-size: 1.08rem; margin-bottom: 2.6rem; }
.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: border-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: rgba(0, 210, 236, .3); }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem; background: rgba(0, 210, 236, .1); border: 1px solid rgba(0, 210, 236, .22); color: var(--cyan); }
.icon svg { width: 22px; height: 22px; }

/* Pakete */
.preise { align-items: stretch; }
.preis { display: flex; flex-direction: column; padding: 2rem 1.7rem; position: relative; }
.preis-name { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.preis .preis-betrag { color: var(--text); font-size: 3rem; font-weight: 750; letter-spacing: -0.03em; margin: .4rem 0 .1rem; line-height: 1.1; }
.preis .preis-betrag small { font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.preis .preis-art { color: var(--cyan); font-weight: 600; font-size: .95rem; margin: 0 0 1.4rem; }
.preis ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; }
.preis li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .96rem; }
.preis li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.preis li.minus::before { border-left: 0; border-bottom: 2px solid var(--soft); transform: none; top: .7em; }
.preis .btn { margin-top: auto; }
.preis-top { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(0, 210, 236, .1), rgba(0, 122, 155, .03)); box-shadow: 0 30px 70px -40px rgba(0, 210, 236, .5); }
.badge { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: rgba(0, 210, 236, .14); color: var(--cyan); border: 1px solid rgba(0, 210, 236, .3); }
.preis .badge { position: absolute; top: 1.4rem; right: 1.4rem; }
.hinweis { color: var(--soft); font-size: .9rem; margin-top: 1.6rem; max-width: 52rem; }

/* Ablauf */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: s; }
.schritte li { counter-increment: s; position: relative; }
.schritte li::before { content: "0" counter(s); display: block; font-size: .85rem; font-weight: 700; letter-spacing: .15em; color: var(--cyan); margin-bottom: .9rem; }

/* Branchen */
.branchen { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.branche h3 { display: flex; align-items: center; gap: .6rem; }

/* Werkzeuge in Entwicklung */
.werkzeug { display: flex; flex-direction: column; gap: .2rem; }
.werkzeug .badge { align-self: flex-start; margin-bottom: 1rem; background: rgba(255, 196, 0, .08); color: #ffd36b; border-color: rgba(255, 196, 0, .28); }
.werkzeug ol { margin: .9rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: .94rem; }

/* Konzepte */
.konzepte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.konzepte li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); padding-right: 1.5rem; }
.konzepte strong { display: block; }
.konzepte span { color: var(--muted); font-size: .93rem; }

/* Über */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.profil { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; letter-spacing: .05em; background: var(--grad); color: #021018; }
.profil-name { font-weight: 700; margin: 0; }
.profil-rolle { color: var(--muted); margin: 0; font-size: .92rem; }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.liste li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.liste li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(0, 210, 236, .7); }

/* FAQ */
.fragen { max-width: 52rem; border-top: 1px solid var(--line); }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.fragen details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.fragen details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }
.fragen small { color: var(--soft); }

/* Kontakt */
.kontakt-box { text-align: center; padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.3rem, 5vw, 4rem); border-radius: 30px; border: 1px solid var(--line-strong);
  background: radial-gradient(40rem 20rem at 50% 0%, rgba(0, 210, 236, .16), transparent 70%), var(--bg-2); }
.kontakt-box .section-title { margin-inline: auto; }
.kontakt-box .section-lead { margin-inline: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2.2rem 0 2.6rem; color: var(--soft); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-marke { display: flex; align-items: center; gap: .6rem; }
.footer-marke img { width: 26px; height: 26px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Rechtstexte & 404 */
.legal { padding: 140px 0 80px; max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal-liste { padding-left: 1.2rem; }
.offen { display: inline-block; background: rgba(255, 196, 0, .1); color: #ffd36b; border: 1px dashed rgba(255, 196, 0, .45); border-radius: 8px; padding: 0 .45rem; font-size: .92em; }
.fehler { padding: 170px 0 110px; text-align: center; min-height: 70vh; }
.fehler img { width: 120px; margin: 0 auto 1.5rem; }
.fehler h1 { font-size: clamp(4rem, 14vw, 8rem); margin-bottom: .1em; }
.fehler .hero-cta { justify-content: center; }

/* Einblenden beim Scrollen (nur mit JS und ohne reduzierte Bewegung) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.sichtbar { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1020px) {
  .grid-4, .schritte { grid-template-columns: repeat(2, 1fr); }
  .fakten { grid-template-columns: repeat(2, 1fr); }
}
/* Handy */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .4rem .9rem; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer;
  }
  .nav-toggle-icon { width: 16px; display: grid; gap: 4px; }
  .nav-toggle-icon span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
  .nav.menue-offen .nav-toggle-icon span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav.menue-offen .nav-toggle-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .nav-cta { display: none; }
  .nav-inner { flex-wrap: wrap; border-radius: 26px; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; padding: .4rem 0 .5rem; }
  .nav.menue-offen .nav-links { display: flex; }
  .nav.menue-offen .nav-inner { background: rgba(5, 12, 28, .97); }
  .nav-links a { font-size: 1.05rem; padding: .8rem 1rem; border-radius: 14px; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-symbol { order: -1; max-width: 190px; justify-self: start; margin-left: -12px; }
  .grid-3, .about { grid-template-columns: 1fr; }
  .about { gap: 1.5rem; }
  .section { padding: 72px 0; }
  .fakten { margin-top: 3rem; }
}
@media (max-width: 520px) {
  .marke-sub { letter-spacing: .3em; }
  .grid-4, .schritte, .fakten { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .preis .preis-betrag { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-tilt { transform: none !important; }
  .logo-glow { display: none; }
  .logo-zeichnen .cc-stroke { stroke-dasharray: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .hero-symbol, .footer { display: none; }
  body { background: #fff; color: #000; }
}

/* Pakete v2 */
.paket-gruppe { font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 2.6rem 0 1rem; font-weight: 600; }
.paket-gruppe:first-of-type { margin-top: 0; }
.paket-hinweis { color: var(--muted); margin: -.4rem 0 1.1rem; font-size: .95rem; }
.zusaetze { padding: .4rem 1.6rem; }
.zusaetze dl { margin: 0; }
.zusaetze dl > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.zusaetze dl > div:last-child { border-bottom: 0; }
.zusaetze dt { font-weight: 600; }
.zusaetze dd { margin: 0; color: var(--cyan); text-align: right; font-weight: 600; }

/* Anfrage-Formular */
.anfrage-form { text-align: left; max-width: 46rem; margin: 0 auto; display: grid; gap: 1rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld { display: grid; gap: .4rem; font-size: .92rem; color: var(--muted); }
.feld small { color: var(--soft); }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: rgba(4, 10, 25, .7); border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem .9rem; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.feld select option { background: #071125; }
.feld textarea { resize: vertical; min-height: 130px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 210, 236, .18); }
.feld [aria-invalid="true"] { border-color: #ff8a8a; }
.check { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--cyan); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fehler { color: #ffb4b4; background: rgba(255, 90, 90, .08); border: 1px solid rgba(255, 90, 90, .3); border-radius: 12px; padding: .7rem .9rem; margin: 0; }
.form-hinweis { color: var(--soft); font-size: .85rem; margin: 0; }
.anfrage-form .btn { justify-self: start; }
.anfrage-ok { max-width: 40rem; margin: 0 auto 2rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(0, 210, 236, .06); }
.anfrage-ok h3 { font-size: 1.3rem; }
.anfrage-ok p { color: var(--muted); }
.ticket-nr { color: var(--text); font-size: 1.2rem; letter-spacing: .06em; }
.status-link { overflow-wrap: anywhere; font-size: .92rem; }

/* Status-Seite */
.status-seite { padding: 140px 0 80px; max-width: 48rem; }
.status-kopf { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin-bottom: 1.6rem; }
.status-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 650; border: 1px solid var(--line-strong); color: var(--cyan); background: rgba(0, 210, 236, .08); }
.status-badge[data-status="wartet_auf_kunde"] { color: #ffd36b; border-color: rgba(255, 196, 0, .35); background: rgba(255, 196, 0, .08); }
.status-badge[data-status="erledigt"] { color: #8ee6a8; border-color: rgba(90, 210, 130, .35); background: rgba(90, 210, 130, .08); }
.meta { color: var(--soft); font-size: .9rem; }
.verlauf-liste { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
.nachricht { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; background: var(--surface); }
.nachricht[data-author="staff"] { border-color: rgba(0, 210, 236, .3); background: rgba(0, 210, 236, .05); }
.nachricht[data-author="system"] { background: transparent; border-style: dashed; color: var(--soft); font-size: .88rem; padding: .55rem 1rem; }
.nachricht-kopf { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--soft); margin-bottom: .4rem; }
.nachricht-kopf strong { color: var(--text); font-weight: 600; }
.nachricht-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: var(--text); }
.nachricht[data-author="system"] .nachricht-text { color: var(--soft); }
.datei-feld { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.datei-feld label.btn { cursor: pointer; }
.datei-feld:focus-within label.btn { outline: 2px solid var(--cyan); outline-offset: 2px; }
.datei-liste { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: .3rem; font-size: .88rem; color: var(--soft); }
.datei-liste:empty { display: none; }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); text-decoration: underline; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.anhaenge { list-style: none; margin: .7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.anhang { display: flex; gap: .6rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: .4rem .7rem .4rem .4rem; max-width: 100%; background: rgba(5, 13, 32, .5); }
.anhang img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; background: var(--surface); }
.anhang .pdf-symbol { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 8px; background: #3a1020; color: #ffb3c4; font-weight: 800; font-size: .85rem; }
.anhang-info { display: grid; gap: .15rem; min-width: 0; }
@media (max-width: 640px) { .feld-reihe { grid-template-columns: 1fr; } .zusaetze dl > div { flex-direction: column; gap: .2rem; } .zusaetze dd { text-align: left; } .anfrage-form .btn { width: 100%; } }
/* v2-Feinschliff */
button, input, select, textarea { font-family: inherit; }
.nowrap { white-space: nowrap; }
.status-seite .anfrage-form { max-width: none; margin: 1.2rem 0 0; }
.status-seite { min-height: 62vh; }
