/* Crosswind-Labs – Stylesheet
   Keine externen Fonts, keine Cookies, kein Tracking. */

:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --teal: #1fa39a;
  --teal-2: #2ec4b6;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #13202e;
  --muted: #5b6b7c;
  --line: #dde3ea;
  --radius: 14px;
  --maxw: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1622;
    --surface: #112234;
    --text: #e6edf3;
    --muted: #9fb0c1;
    --line: #22384f;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--teal); }
a:hover { color: var(--teal-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 650; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(46,196,182,.25), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
  position: relative;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
.hero p { font-size: 1.15rem; max-width: 620px; color: #c9d7e4; margin: 0 0 30px; }
.hero .streaks { position: absolute; right: -40px; top: 40px; width: 420px; opacity: .18; pointer-events: none; }
@media (max-width: 760px) { .hero .streaks { display: none; } }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer;
  font-size: 16px; font-family: inherit;
}
.btn:hover { background: var(--teal-2); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); margin-left: 8px; }
.btn.ghost:hover { border-color: #fff; }

/* Sections */
section { padding: 80px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--teal); font-weight: 700; margin: 0 0 8px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 16px; line-height: 1.2; }
.lead { color: var(--muted); max-width: 700px; font-size: 1.08rem; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.values { display: grid; gap: 14px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.value strong { display: block; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Projects */
.projects { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.project + .project { border-top: 1px solid var(--line); }
.project.reverse .project-text { order: 2; }
.project h3 { font-size: 1.7rem; margin: 6px 0 12px; }
.project ul { padding-left: 1.2em; color: var(--muted); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(31,163,154,.14); color: var(--teal); }

@media (max-width: 820px) {
  .project { grid-template-columns: 1fr; gap: 28px; }
  .project.reverse .project-text { order: 0; }
}

/* Screenshot-Rahmen */
.shots { display: flex; gap: 18px; justify-content: center; }
.phone {
  width: 190px; aspect-ratio: 9 / 19; border-radius: 30px;
  background: var(--navy); padding: 8px; box-shadow: 0 18px 40px rgba(15,42,68,.25); margin: 0;
}
.phone img, .phone .screen {
  width: 100%; height: 100%; border-radius: 23px; object-fit: cover; display: block;
}
.phone .screen {
  background: linear-gradient(170deg, #1d4a72, #0f2a44);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9fc3dd; font-size: 13px; padding: 12px;
}
.phone:nth-child(2) { transform: translateY(28px); }
@media (max-width: 480px) { .phone { width: 140px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }
form { display: grid; gap: 14px; }
label { font-size: 14px; font-weight: 600; display: grid; gap: 6px; }
input, textarea {
  font: inherit; font-size: 16px; padding: 11px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 2rem; margin-top: 0; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal p, .legal li { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { color: var(--text); }

/* Projekt-Ergänzungen */
.tagline { font-size: 1.1rem; font-weight: 600; margin: -4px 0 10px; }
.fine { font-size: 13px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; }
.desktop-shots { position: relative; display: block; padding-bottom: 40px; }
.desktop {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy);
  padding: 22px 6px 6px; position: relative; box-shadow: 0 18px 40px rgba(15,42,68,.25);
}
.desktop::before {
  content: ""; position: absolute; top: 8px; left: 12px; width: 42px; height: 8px;
  background: radial-gradient(circle, #ff6159 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; opacity: .85;
}
.desktop img { display: block; width: 100%; height: auto; border-radius: 6px; }
.desktop-shots .phone.small { position: absolute; right: -10px; bottom: 0; width: 130px; transform: none; aspect-ratio: 420 / 768; border-radius: 22px; padding: 6px; }
.desktop-shots .phone.small img { border-radius: 17px; object-fit: contain; background: #fff; }
.phone img { object-position: top; }
@media (max-width: 480px) { .desktop-shots .phone.small { width: 100px; right: 0; } }
