/* Worksonar Teaser — CI: Navy #0B3D5C · Teal #22C7BF/#14B8A6 · Ink #0F172A · Muted #64748B · Inter */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --navy: #0B3D5C;
  --navy-dark: #082C43;
  --accent: #22C7BF;
  --accent-600: #14B8A6;
  --ink: #0F172A;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FA;
  --line: #E2E8F0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .07), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, .10), 0 18px 44px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-600); margin-bottom: .6rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn.primary { background: var(--accent-600); }
.btn.primary:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent-600); color: var(--accent-600); box-shadow: none; }
.btn.light { background: #fff; color: var(--navy); }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.topbar .brand img { height: 34px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 1.4rem; }
.topbar nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.topbar nav a:hover { color: var(--accent-600); text-decoration: none; }
.topbar nav .btn { padding: .55rem 1.1rem; }
@media (max-width: 680px) { .topbar nav a:not(.btn) { display: none; } }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 60%, #06263A 100%);
  color: #fff; padding: 84px 0 92px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -220px; top: -220px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34, 199, 191, .22), transparent 65%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .82); }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(34, 199, 191, .16); border: 1px solid rgba(34, 199, 191, .45);
  color: var(--accent); font-size: .82rem; font-weight: 600;
  padding: .34rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 199, 191, .55); } 70% { box-shadow: 0 0 0 9px rgba(34, 199, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 199, 191, 0); } }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 1.7rem; }
.chip {
  font-size: .82rem; font-weight: 500; color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  padding: .32rem .8rem; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-shot { order: -1; max-width: 520px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -46px; position: relative; z-index: 2; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.2rem; text-align: center;
}
.stat b { display: block; font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid.g2, .grid.g3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card .body { padding: 1.3rem 1.4rem 1.5rem; }
.pill {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent-600); background: rgba(20, 184, 166, .1);
  padding: .22rem .65rem; border-radius: 999px; margin-bottom: .55rem;
}
.pill.star { color: var(--navy); background: rgba(11, 61, 92, .08); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .85rem; color: var(--ink); }
.checklist li::before {
  content: ''; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* Expertise-Band */
.expertise {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 2.6rem 3rem;
}
.expertise h2 { color: #fff; }
.expertise p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 640px; }
.exp-num { text-align: center; padding-right: 48px; border-right: 1px solid rgba(255, 255, 255, .18); }
.exp-num b { display: block; font-size: 4.2rem; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.exp-num span { display: block; margin-top: .5rem; font-size: .95rem; color: rgba(255, 255, 255, .82); font-weight: 500; }
@media (max-width: 760px) {
  .expertise { grid-template-columns: 1fr; gap: 24px; padding: 2rem 1.6rem; }
  .exp-num { padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 1.2rem; }
}

/* Zielgruppe / Branchen */
.branchen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
@media (max-width: 880px) { .branchen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .branchen { grid-template-columns: 1fr; } }
.branche { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.branche img { height: 220px; width: 100%; object-fit: cover; transition: transform .3s ease; }
.branche:hover img { transform: scale(1.05); }
.branche span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .6rem .6rem;
  background: linear-gradient(transparent, rgba(8, 44, 67, .88));
  color: #fff; font-size: .95rem; font-weight: 600; text-align: center;
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.5rem 1.6rem; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: .9rem;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Kontakt / Formular */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-wrap { grid-template-columns: 1fr; } }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .3rem; }
.field .req { color: var(--accent-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-600); box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 0 0 1.2rem; }
.consent input { margin-top: .25rem; }
.form-msg { display: none; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .93rem; margin-bottom: 1rem; }
.form-msg.ok { display: block; background: rgba(20, 184, 166, .12); color: #0B5E56; border: 1px solid rgba(20, 184, 166, .4); }
.form-msg.err { display: block; background: rgba(220, 38, 38, .08); color: #991B1B; border: 1px solid rgba(220, 38, 38, .3); }

/* Footer */
footer.site {
  background: var(--navy-dark); color: rgba(255, 255, 255, .75);
  padding: 46px 0 34px; font-size: .9rem;
}
footer.site .container { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; }
footer.site img { height: 30px; width: auto; }
footer.site a { color: rgba(255, 255, 255, .85); }
footer.site nav { display: flex; gap: 1.4rem; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink); font-size: .97rem; }
.legal .muted { color: var(--muted); font-size: .9rem; }

/* Consent-Banner */
.ws-consent { position: fixed; inset: auto 0 0 0; z-index: 1000; display: flex; justify-content: center; padding: 1rem; }
.ws-consent[hidden] { display: none; }
.ws-consent-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(11, 61, 92, .18); max-width: 640px; width: 100%; padding: 1.4rem 1.5rem;
}
.ws-consent-card h2 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--navy); }
.ws-consent-card p { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.ws-consent-opts { display: grid; gap: .6rem; margin: 0 0 1rem; }
.ws-consent-opts[hidden] { display: none; }
.ws-opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink); }
.ws-opt input { margin-top: .2rem; }
.ws-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.ws-consent-actions .btn { font-size: .9rem; padding: .6rem 1.1rem; }
.ws-consent-actions .btn[hidden] { display: none; }
@media (max-width: 560px) { .ws-consent-actions { justify-content: stretch; } .ws-consent-actions .btn { flex: 1; } }
.ws-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 999; width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 61, 92, .16); display: grid; place-items: center; transition: transform .15s ease;
}
.ws-fab:hover { transform: scale(1.06); }
.ws-fab[hidden] { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
