/* Virtual Solutions – Stylesheet */

@font-face { font-family: "Work Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/work-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/work-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/work-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  --teal: #008385;
  --teal-dark: #006a6c;
  --slate: #a1b9c5;
  --charcoal: #3c3c3c;
  --grey: #707070;
  --light: #f4f6f7;
  --white: #ffffff;
  --text: #3c3c3c;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--light { background: var(--light); }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e6eaec;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 220px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.nav a {
  text-decoration: none; color: var(--charcoal);
  font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: .2s; }

@media (max-width: 760px) {
  .brand img { width: 180px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e6eaec; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { display: block; padding: 12px 0; border: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 34px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: #0c1a22 center/cover no-repeat;
  min-height: clamp(380px, 62vh, 620px);
  display: flex; align-items: center; justify-content: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.45)); }
.hero .inner { position: relative; padding: 48px var(--gutter); }
.hero h1 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(32px, 6vw, 64px); margin-bottom: 40px; }
.hero--small { min-height: clamp(240px, 38vh, 400px); }
.hero--small h1 { margin-bottom: 0; }

.lead { font-size: clamp(22px, 3vw, 34px); font-weight: 400; line-height: 1.35; color: var(--charcoal); max-width: 900px; margin: 0 auto; }

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.h-big { font-size: clamp(30px, 4vw, 44px); font-weight: 400; }
.portrait img { width: 100%; max-width: 520px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Statement mit Balken ---------- */
.statement { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.statement__title { border-left: 4px solid var(--charcoal); padding-left: 20px; font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; text-transform: uppercase; margin: 0; }
@media (max-width: 760px) { .statement { grid-template-columns: 1fr; } .statement__title { order: -1; } }

/* ---------- Service-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { padding: clamp(32px, 4vw, 52px); color: #fff; display: flex; flex-direction: column; }
.tile h2, .tile h3 { color: inherit; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.tile p, .tile li { font-size: 15px; }
.tile ul { list-style: none; padding: 0; }
.tile li::before { content: "– "; }
.tile .icon { width: 56px; height: 56px; margin-bottom: 22px; }
.tile .icon svg { width: 100%; height: 100%; fill: currentColor; }
.tile .btn { margin-top: auto; align-self: flex-start; border-color: currentColor; background: transparent; color: inherit; }
.tile .btn:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.tile--slate { background: var(--slate); color: var(--charcoal); }
.tile--slate h2, .tile--slate h3 { color: var(--charcoal); }
.tile--slate .btn:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.tile--teal { background: var(--teal); }
.tile--dark { background: var(--charcoal); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Projekt-Karten (Startseite) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.card { background: #fff; display: flex; flex-direction: column; text-align: left; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card__body { padding: 20px 0 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.card .meta { font-size: 14px; color: var(--grey); margin-bottom: 6px; }
.card .tasks { font-size: 14px; margin-bottom: 14px; }
.card a.more { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Services-Liste ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.services h3 { font-size: 22px; font-weight: 700; border-top: 3px solid var(--teal); padding-top: 18px; }
.services p { font-size: 15px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--teal); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; text-transform: uppercase; }
.cta p { max-width: 820px; margin: 0 auto 28px; }
.cta .btn { background: #fff; color: var(--teal); border-color: #fff; }
.cta .btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ---------- Projekte-Seite ---------- */
.intro-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.intro-cols h2 { font-size: 26px; font-weight: 800; }
.intro-cols p { font-size: 15px; }
@media (max-width: 860px) { .intro-cols { grid-template-columns: 1fr; } }

.project { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid #e6eaec; }
.project:nth-of-type(even) { background: var(--light); }
.project h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 0 0 1em; }
.facts li { padding: 2px 0; }
.facts li strong { font-weight: 600; }
.label { font-weight: 700; margin: 1em 0 .2em; }
.credit { font-size: 13px; color: var(--grey); }

/* Galerie */
.gallery { position: relative; }
.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.gallery__item button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery__item img { width: 100%; aspect-ratio: 590/570; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--charcoal); font-size: 22px; line-height: 44px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gallery__nav:hover { background: var(--teal); color: #fff; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.gallery__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #c7d2d7; cursor: pointer; }
.gallery__dots button[aria-current="true"] { background: var(--teal); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,15,18,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; padding: 10px 16px; }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 28px 36px; align-items: center; margin-top: 40px; }
.logos img { max-height: 80px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.contact-list svg { width: 20px; height: 20px; fill: var(--teal); flex: none; }
.form { display: grid; gap: 18px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 14px 16px; border: 1px solid #c9d3d8; border-radius: var(--radius); background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .note { font-size: 13px; color: var(--grey); margin: 0; }
.form-status { padding: 14px 18px; border-left: 4px solid var(--teal); background: #e8f4f4; margin-bottom: 18px; display: none; }
.form-status.error { border-color: #b3261e; background: #fbeceb; }
.form-status.show { display: block; }
.about h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; }
.about h2 strong { font-weight: 800; }
.cv h3 { font-size: 18px; font-weight: 700; margin-top: 1.4em; }
.cv ul { list-style: none; padding: 0; }
.cv li { padding: 2px 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(22px, 6vw, 28px); hyphens: auto; overflow-wrap: break-word; font-weight: 800; margin-top: 1.6em; text-transform: uppercase; }
.legal h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; }
.legal p, .legal li { font-size: 15px; }

/* ---------- Social ---------- */
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { font-size: 13px; text-decoration: none; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #e9eef0; padding: 56px 0 32px; font-size: 14px; }
.site-footer a { color: #e9eef0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin: 0 0 6px; }
.footer-logo { width: 200px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.footer-title { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--slate); margin-bottom: 10px; }
.site-footer .social a { color: #e9eef0; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #b9c4c9; font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
