/* ============================================================
   DevSpring – style.css
   Statische Seite, keine externen Ressourcen.
   Schriften lokal eingebunden (DSGVO-konform, keine Google-Server).
   ============================================================ */

/* ---------- Lokale Schriften ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* ---------- Design-Token ---------- */
:root {
  --bg: #0B0E14;
  --text: #EDF2FF;
  --muted: #8FA4C2;
  --accent: #4FC3F7;
  --teal: #26C6A6;
  --line: rgba(143, 164, 194, 0.14);
  --line-soft: rgba(143, 164, 194, 0.12);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(79, 195, 247, 0.25); }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Hintergrund ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 164, 194, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 164, 194, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
}
.bg-glow {
  position: fixed;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.13), transparent 65%);
  animation: pulseGlow 9s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .2s;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  color: #0B0E14;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(79, 195, 247, 0.35);
  transition: box-shadow .25s;
}
.nav-cta:hover { box-shadow: 0 0 28px rgba(79, 195, 247, 0.55); }

/* ---------- Sektionen ---------- */
.section {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 28px 100px;
}
.eyebrow {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head { margin-bottom: 48px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.015em;
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 172px 28px 120px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(79, 195, 247, 0.3);
  background: rgba(79, 195, 247, 0.06);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.dot--accent { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0B0E14;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 0 32px rgba(79, 195, 247, 0.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(79, 195, 247, 0.6);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(143, 164, 194, 0.3);
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  transition: border-color .2s;
}
.btn-secondary:hover { border-color: var(--accent); }

/* ---------- Leistungen ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .25s;
}
.service-card--dev { background: linear-gradient(160deg, rgba(79, 195, 247, 0.06), rgba(255, 255, 255, 0.015)); }
.service-card--dev:hover { border-color: rgba(79, 195, 247, 0.45); }
.service-card--sec { background: linear-gradient(160deg, rgba(38, 198, 166, 0.06), rgba(255, 255, 255, 0.015)); }
.service-card--sec:hover { border-color: rgba(38, 198, 166, 0.45); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon--dev { background: rgba(79, 195, 247, 0.1); border: 1px solid rgba(79, 195, 247, 0.3); }
.service-icon--sec { background: rgba(38, 198, 166, 0.1); border: 1px solid rgba(38, 198, 166, 0.3); }
.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 12px;
}
.service-text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: 1px solid rgba(143, 164, 194, 0.22);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
}

/* ---------- Vorgehensweise ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.step-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 195, 247, 0.4), transparent);
}
.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 10px;
}
.step-text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Über uns ---------- */
.about-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.05), rgba(38, 198, 166, 0.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}
.about-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.about-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}
.about-points { display: grid; gap: 14px; }
.about-point {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(11, 14, 20, 0.5);
}
.about-point span:last-child { font-size: 15px; color: var(--text); }
.about-point .dot { width: 8px; height: 8px; }

/* ---------- Kontakt ---------- */
.contact { text-align: center; padding-bottom: 120px; }
.contact-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 40px;
  text-wrap: pretty;
}
.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 44px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact-card--link {
  border-color: rgba(79, 195, 247, 0.3);
  background: rgba(79, 195, 247, 0.05);
  transition: border-color .25s;
}
.contact-card--link:hover { border-color: var(--accent); }
.contact-card-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.contact-card-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
}
.contact-card--link .contact-card-value { color: var(--accent); }

/* ---------- Kontaktformular ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 7px;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid rgba(143, 164, 194, 0.22);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 22px;
}
.form-consent input {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-consent a { color: var(--accent); }
.form-status {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  display: none;
}
.form-status.ok { display: block; color: var(--teal); }
.form-status.err { display: block; color: #FF8A80; }
/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line-soft);
  background: rgba(11, 14, 20, 0.6);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 22px; width: auto; display: block; }
.footer-brand span { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-link:hover { color: var(--text); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 150px 28px 100px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  margin: 28px 0 10px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }
.legal address {
  font-style: normal;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.legal-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.02);
  margin: 0 0 18px;
}

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bg-glow { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav { height: auto; padding: 12px 20px; flex-direction: column; gap: 12px; }
  .nav-links { justify-content: center; gap: 18px; }
  .hero { padding-top: 190px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .contact-card { padding: 22px 30px; width: 100%; max-width: 360px; }
  .legal { padding-top: 190px; }
}
