/* Teamous – Website (teamous.de) */
:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --accent: #007AFF;
  --accent-text: #0062CC;
  --label: #1d1d1f;
  --label-2: #5f5f64;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --line: rgba(60, 60, 67, 0.16);
  --nav: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #0A84FF;
    --accent-text: #409CFF;
    --label: #f5f5f7;
    --label-2: #a1a1a6;
    --bg: #000000;
    --bg-2: #161617;
    --card: #1c1c1e;
    --line: rgba(84, 84, 88, 0.6);
    --nav: rgba(22, 22, 23, 0.78);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--label); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; color: var(--label); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--label-2); }
.nav-links a:hover { color: var(--label); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 22px; font-size: 16px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap; transition: filter .15s, transform .1s; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { color: var(--accent-text); background: transparent; }
.btn.sm { height: 34px; padding: 0 16px; font-size: 14px; border-radius: 17px; }

/* Hero */
.hero { text-align: center; padding: 80px 0 40px; }
.hero .icon { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 10px 24px rgba(0, 87, 214, 0.3)); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-text); margin: 0 0 10px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 auto 18px; max-width: 820px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--label-2); max-width: 680px; margin: 0 auto 28px; }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.showcase { position: relative; max-width: 960px; margin: 56px auto 0; padding-bottom: 40px; }
.window { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.window .bar { height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--bg-2); border-bottom: 0.5px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.phone { position: absolute; right: -24px; bottom: 0; width: 22%; min-width: 150px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #1d1d1f; background: #1d1d1f; }

/* Abschnitte */
section { padding: 80px 0; }
section.alt { background: var(--bg-2); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; text-align: center; }
.sub { text-align: center; color: var(--label-2); max-width: 640px; margin: 0 auto 44px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: 18px; padding: 24px; box-shadow: 0 0 0 0.5px var(--line); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--label-2); font-size: 15px; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.38fr); gap: 16px; align-items: start; }
.shot { margin: 0; }
.shot button { all: unset; display: block; cursor: zoom-in; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 0 0.5px var(--line); transition: transform .2s; }
.shot button:hover { transform: translateY(-3px); }
.shot button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 3px; }
.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.shot.tall img { aspect-ratio: 390 / 640; object-position: top center; }
.shot figcaption { font-size: 14px; color: var(--label-2); margin-top: 10px; text-align: center; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 12px; }
dialog.lightbox button { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 20px; cursor: pointer; }

/* Vertrauen */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; max-width: 820px; margin: 0 auto; padding: 0; list-style: none; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.trust b { display: block; }
.trust span { color: var(--label-2); font-size: 15px; }

/* Kontakt */
.cta { text-align: center; }
.cta .box { background: linear-gradient(160deg, #4DB0FF, #0757D6); color: #fff; border-radius: 28px; padding: 56px 24px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 26px; }
.cta .btn.primary { background: #fff; color: #0757D6; }
.cta small { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.cta small a { color: #fff; text-decoration: underline; }

/* Footer */
footer { padding: 32px 0 48px; font-size: 13px; color: var(--label-2); border-top: 0.5px solid var(--line); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--label-2); }

/* Rechtstexte */
.legal { max-width: 760px; padding: 56px 22px 80px; }
.legal h1 { font-size: 40px; text-align: left; margin: 0 0 24px; }
.legal h2 { font-size: 22px; text-align: left; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--label-2); }
.todo { background: color-mix(in srgb, #FF9500 18%, transparent); color: var(--label); border-radius: 6px; padding: 0 4px; }
.note { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--label-2); }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot.tall { grid-column: 1 / -1; width: 46%; margin: 0 auto; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .phone { right: 8px; width: 26%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 48px 0 24px; }
  .hero .icon { width: 80px; height: 80px; }
  section { padding: 56px 0; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .phone { display: none; }
  .showcase { margin-top: 36px; padding-bottom: 0; }
  .cta .box { border-radius: 20px; padding: 40px 20px; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
