/* ============================================================
   KOWA Solutions – Landingpage
   Farben & Schriften orientieren sich am Logo:
   Navy-Blau + Orange, Schriften: Space Grotesk / Manrope
   ============================================================ */

/* ---------- Schriften (selbst gehostet, DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

/* ---------- Grundgerüst ---------- */
:root {
  --navy: #16305c;
  --navy-deep: #0c1a38;
  --navy-soft: #1d3d74;
  --orange: #f18a1d;
  --orange-bright: #fca23c;
  --orange-soft: #fef3e3;
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #24324d;
  --muted: #5c6b85;
  --line: #e4e9f2;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 54, 0.06), 0 4px 12px rgba(13, 27, 54, 0.05);
  --shadow-md: 0 2px 4px rgba(13, 27, 54, 0.06), 0 12px 32px rgba(13, 27, 54, 0.10);
  --shadow-lg: 0 4px 8px rgba(13, 27, 54, 0.08), 0 24px 64px rgba(13, 27, 54, 0.16);
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--navy); }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

section { padding: 96px 0; }

/* Kleine orange Überschrift über jeder Sektion */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 640px;
}

.section-intro {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 640px;
}

.highlight { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #fff;
  box-shadow: 0 8px 24px rgba(241, 138, 29, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(241, 138, 29, 0.45); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 48, 92, 0.28);
}
.btn-navy:hover { background: var(--navy-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(12, 26, 56, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(12, 26, 56, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--orange-bright); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--orange-bright); }
.main-nav .nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #fff;
  font-weight: 600;
}
.main-nav .nav-cta:hover { color: #fff; filter: brightness(1.08); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(241, 138, 29, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(60, 110, 200, 0.18), transparent 60%),
    linear-gradient(160deg, #0e2148 0%, var(--navy-deep) 55%, #0a1630 100%);
  color: #fff;
  padding: 190px 0 130px;
  overflow: hidden;
}

/* dezentes Punkteraster als Anspielung auf die Platinen-Linien im Logo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 0 4px rgba(241, 138, 29, 0.25);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange-bright), #ffc069);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 38px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-points svg { flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(closest-side, rgba(241, 138, 29, 0.28), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

/* --- Animiertes Entwickler-Fenster im Hero --- */
.code-window {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  background: #0b1834;
  border: 1px solid rgba(96, 140, 214, 0.35);
  border-radius: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(241, 138, 29, 0.08);
  font-family: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  overflow: hidden;
  animation: cw-float 7s ease-in-out infinite;
}
@keyframes cw-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cw-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #0e2148;
  border-bottom: 1px solid rgba(96, 140, 214, 0.22);
}
.cw-dot { width: 11px; height: 11px; border-radius: 50%; }
.cw-red { background: #f26d6d; }
.cw-yellow { background: #f5c351; }
.cw-green { background: #58c98b; }
.cw-title {
  margin-left: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.cw-tabs {
  display: flex;
  gap: 2px;
  background: #0e2148;
  padding: 0 10px;
}
.cw-tab {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
}
.cw-tab.active {
  background: #0b1834;
  color: var(--orange-bright);
  box-shadow: inset 0 2px 0 var(--orange);
}

.cw-code {
  padding: 16px 18px 10px;
  min-height: 208px;
  font-size: 13px;
  line-height: 1.65;
  counter-reset: cwline;
}
.cw-line { white-space: pre; min-height: 21px; counter-increment: cwline; }
.cw-line::before {
  content: counter(cwline);
  display: inline-block;
  width: 2ch;
  margin-right: 14px;
  color: rgba(111, 149, 216, 0.35);
  text-align: right;
}

/* Syntax-Farben */
.tk-kw { color: #fca23c; }
.tk-st { color: #7ee0a3; }
.tk-pr { color: #6f95d8; }
.tk-fn { color: #c792ea; }
.tk-id { color: #dbe5f5; }
.tk-pl { color: #8fa6c9; }
.tk-cm { color: #5b6f93; font-style: italic; }

.cw-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--orange-bright);
  vertical-align: -2px;
  margin-left: 1px;
  border-radius: 1.5px;
  animation: cw-blink 0.95s steps(1) infinite;
}
@keyframes cw-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

.cw-term {
  border-top: 1px solid rgba(96, 140, 214, 0.22);
  background: #0a142b;
  padding: 12px 18px;
  min-height: 92px;
  font-size: 12.5px;
  line-height: 1.7;
}
.t-line { animation: cw-rise 0.3s ease both; }
@keyframes cw-rise {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.t-prompt { color: #58c98b; }
.t-cmd { color: #dbe5f5; }
.t-ok { color: #58c98b; }
.t-dim { color: rgba(219, 229, 245, 0.55); }

.cw-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 16px;
  background: #0e2148;
  border-top: 1px solid rgba(96, 140, 214, 0.22);
  font-family: var(--font-head);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.cw-status-item { display: inline-flex; align-items: center; gap: 6px; }
.cw-ok {
  color: #58c98b;
  margin-left: auto;
  animation: cw-pulse 2.4s ease-in-out infinite;
}
@keyframes cw-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Schwebende Info-Chips um das Fenster */
.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 33, 72, 0.92);
  border: 1px solid rgba(96, 140, 214, 0.4);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-chip-1 { right: -8px; bottom: 34px; animation: cw-float 6s ease-in-out 1.2s infinite; }
.hero-chip-2 { left: -6px; top: -14px; color: var(--orange-bright); animation: cw-float 6.5s ease-in-out 2.4s infinite; }
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58c98b;
  box-shadow: 0 0 0 4px rgba(88, 201, 139, 0.2);
  animation: cw-pulse 2s ease-in-out infinite;
}

/* weicher Übergang vom Hero in den hellen Bereich */
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ---------- MicroSaaS-Erklärung ---------- */
.saas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.saas-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.saas-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(241, 138, 29, 0.4);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 22px;
}

.saas-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.saas-card p { font-size: 15.5px; color: var(--muted); }

.saas-note {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(120deg, var(--orange-soft), #fff8ee);
  border: 1px solid rgba(241, 138, 29, 0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.saas-note svg { flex-shrink: 0; margin-top: 3px; }
.saas-note p { font-size: 16px; color: #6b4a1d; }
.saas-note strong { color: #4f3512; }

/* ---------- Leistungen ---------- */
.services { background: #fff; border-block: 1px solid var(--line); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  border-radius: 22px;
  padding: 44px 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card.dark {
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(241, 138, 29, 0.22), transparent 60%),
    linear-gradient(150deg, #13294f, var(--navy-deep));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.8);
}
.service-card.dark h3, .service-card.dark .service-num { color: #fff; }
.service-card.dark li { color: rgba(255, 255, 255, 0.78); }

.service-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.service-card > p { font-size: 16px; margin-bottom: 24px; color: inherit; }
.service-card:not(.dark) > p { color: var(--muted); }

.service-card ul { list-style: none; display: grid; gap: 12px; }
.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: var(--text);
}
.service-card li svg { flex-shrink: 0; margin-top: 5px; }

/* ---------- Projekt: HandwerkOS ---------- */
.project { background: var(--bg); }

.project-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(241, 138, 29, 0.18), transparent 55%),
    linear-gradient(140deg, #142c55, var(--navy-deep));
  box-shadow: var(--shadow-lg);
}

.project-info {
  padding: 56px 30px 56px 56px;
  color: rgba(255, 255, 255, 0.82);
}

.project-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  background: rgba(241, 138, 29, 0.14);
  border: 1px solid rgba(241, 138, 29, 0.35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.project-info h3 {
  font-size: clamp(28px, 3.4vw, 38px);
  color: #fff;
  margin-bottom: 16px;
}

.project-info > p { margin-bottom: 28px; font-size: 16.5px; }

.project-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 36px;
}
.project-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.project-features svg { flex-shrink: 0; }

/* Stilisierte App-Vorschau (Browser-Fenster) */
.project-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.browser {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
  transition: transform 0.35s ease;
}
.project-card:hover .browser { transform: rotate(0deg) scale(1.02); }

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef1f6;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.browser-bar .b-dot { width: 11px; height: 11px; border-radius: 50%; }
.b-dot.red { background: #f26d6d; }
.b-dot.yellow { background: #f5c351; }
.b-dot.green { background: #58c98b; }
.browser-bar .b-url {
  flex: 1;
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--muted);
  padding: 5px 12px;
}

.browser-body { display: flex; min-height: 260px; }
.mock-side {
  width: 34%;
  background: var(--navy-deep);
  padding: 16px 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.mock-side .m-item {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.mock-side .m-item.active { background: var(--orange); width: 85%; }
.mock-side .m-item:nth-child(2) { width: 70%; }
.mock-side .m-item:nth-child(3) { width: 78%; }
.mock-side .m-item:nth-child(4) { width: 62%; }
.mock-side .m-item:nth-child(5) { width: 72%; }

.mock-main { flex: 1; padding: 18px; }
.mock-title { height: 15px; width: 55%; border-radius: 7px; background: #d9e0ec; margin-bottom: 16px; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.mock-cards div {
  height: 52px;
  border-radius: 9px;
  background: #f1f4f9;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.mock-cards div::after {
  content: "";
  position: absolute;
  left: 10px; top: 10px;
  width: 45%; height: 8px;
  border-radius: 4px;
  background: #d9e0ec;
}
.mock-cards div::before {
  content: "";
  position: absolute;
  left: 10px; bottom: 10px;
  width: 28%; height: 10px;
  border-radius: 5px;
  background: var(--orange-bright);
  opacity: 0.85;
}
.mock-rows { display: grid; gap: 8px; }
.mock-rows div { height: 13px; border-radius: 6px; background: #edf0f6; }
.mock-rows div:nth-child(2) { width: 88%; }
.mock-rows div:nth-child(3) { width: 74%; }

/* ---------- Über mich ---------- */
.about { background: #fff; border-block: 1px solid var(--line); }

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-photo { position: relative; }
.about-photo img {
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  opacity: 0.9;
}
.about-photo::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 160px;
  height: 160px;
  border-radius: 24px;
  border: 2px dashed rgba(22, 48, 92, 0.3);
}

.about-text .section-title { max-width: none; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-text p strong { color: var(--text); }

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
  list-style: none;
}
.about-facts li {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(241, 138, 29, 0.12), transparent 60%),
    linear-gradient(160deg, #10254c, var(--navy-deep));
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent 70%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
}

.contact .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact .eyebrow { color: var(--orange-bright); }
.contact .section-title { color: #fff; }
.contact-lead { color: rgba(255, 255, 255, 0.75); margin-bottom: 34px; }

.contact-direct {
  display: grid;
  gap: 16px;
}
.contact-direct a, .contact-direct .contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}
.contact-direct a:hover { color: var(--orange-bright); }
.contact-direct .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 22px;
  margin-bottom: 26px;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 138, 29, 0.15);
}

.form-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.form-hint a { color: var(--navy); }

.contact-form .btn { width: 100%; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #081226;
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 36px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .brand img { height: 36px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--orange-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 14px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange-bright); }
.footer-legal { display: flex; gap: 22px; }

/* ---------- Unterseiten (Impressum / Datenschutz / Danke) ---------- */
.page-header {
  background: linear-gradient(160deg, #0e2148, var(--navy-deep));
  color: #fff;
  padding: 160px 0 70px;
}
.page-header h1 { color: #fff; font-size: clamp(32px, 4.5vw, 46px); }

.legal-content { padding: 72px 0 96px; }
.legal-content .container { max-width: 780px; }
.legal-content h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content strong { color: var(--text); }
.legal-content ul { margin: 0 0 14px 22px; color: var(--muted); }

.thanks-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(160deg, #0e2148, var(--navy-deep));
  color: #fff;
  padding: 140px 24px 80px;
}
.thanks-hero h1 { color: #fff; margin: 24px 0 14px; font-size: clamp(30px, 4.5vw, 44px); }
.thanks-hero p { color: rgba(255, 255, 255, 0.75); max-width: 480px; margin-bottom: 34px; }

/* ---------- Einblend-Animationen beim Scrollen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }

  .hero { padding: 150px 0 100px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-visual { order: -1; }
  .code-window { width: min(420px, 100%); }
  .cw-code { font-size: 12px; min-height: 192px; }
  .hero-chip-1 { right: 0; }
  .hero-chip-2 { left: 0; }

  .saas-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .project-card { grid-template-columns: 1fr; }
  .project-info { padding: 44px 32px 8px; }
  .project-mockup { padding: 36px 32px 44px; }

  .about .container { grid-template-columns: 1fr; gap: 64px; }
  .about-photo { max-width: 420px; margin-inline: auto; }

  .contact .container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 22, 48, 0.98);
    backdrop-filter: blur(14px);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .project-features { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
