/* =========================================================================
   VINCI | Büro für Gestaltung – Landingpage
   Mobile first. Schwarz/Weiß wie das Logo. Farben und Abstände zentral in :root.
   ========================================================================= */

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

:root {
  /* Schwarz/Weiß */
  --black: #0a0a0a;
  --ink-900: #141414;
  --ink-800: #1f1f1f;
  --ink-700: #333333;
  --grey-500: #6b6b6b;
  --grey-300: #b5b5b5;
  --grey-100: #ececec;
  --grey-50: #f6f6f6;
  --white: #ffffff;
  --ink: var(--ink-900);
  --muted: #5c5c5c;
  --line: #e2e2e2;

  --wowobot: #22b8e0; /* einzige Farbe – nur Footer */

  --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 18px 40px -12px rgba(0, 0, 0, .18);

  --header-h: 68px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* --- Basis --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Kein Doppeltipp-Zoom auf Handy/Tablet. Zwei-Finger-Zoom bleibt erlaubt (Barrierefreiheit). */
* { touch-action: manipulation; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Alle Überschriften im Stil der Hauptüberschrift: Textschrift, nicht fett */
h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--black);
  text-wrap: balance;
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.3; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.18; letter-spacing: -.025em; max-width: 17em; margin-bottom: .6em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--black); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.contact :focus-visible, .footer :focus-visible, .card--featured :focus-visible { outline-color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-500); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--black); border-radius: 2px; }
.eyebrow--light { color: var(--grey-300); }
.eyebrow--light::before { background: #fff; }

/* --- Buttons & Links ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--black); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.btn--primary:hover { background: var(--ink-700); }
.btn--primary svg { transition: transform .2s; }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--black); border-color: rgba(0, 0, 0, .2); }
.btn--ghost:hover { border-color: var(--black); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .94rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--black); text-decoration: none;
  border-bottom: 2px solid var(--grey-300); padding-bottom: 2px;
  transition: border-color .2s;
}
.text-link::after { content: '→'; transition: transform .2s; }
.text-link:hover { border-color: var(--black); }
.text-link:hover::after { transform: translateX(3px); }
.text-link--light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.text-link--light:hover { border-color: #fff; }

/* --- Header (ohne Menü) -------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .3); }

.header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.header__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--black); }
.header__logo img { width: 44px; height: 44px; border-radius: 50%; }
.header__name { display: none; font-size: .95rem; line-height: 1.2; color: var(--muted); }
.header__name strong { font-family: var(--font-head); letter-spacing: .12em; color: var(--black); margin-right: 6px; }


/* --- Hero ---------------------------------------------------------------- */

.hero { padding: clamp(72px, 12vw, 168px) 0 clamp(72px, 10vw, 140px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__visual { display: grid; place-items: center; order: -1; }
.hero__logo { width: min(62vw, 300px); height: auto; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 38em; margin: 0; }



/* --- Sektionen ----------------------------------------------------------- */

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--grey-50); }

.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Leistungs-Karten */
.cards { display: grid; gap: 18px; }
.cards__sammlung { display: contents; } /* Dashboard-Sammlung – Karten bleiben Teil des Rasters */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: #fff; margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); }
.card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.card__list li { display: flex; gap: 10px; align-items: baseline; }
.card__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--black); flex-shrink: 0; transform: translateY(-2px); }
.card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
}
.card__link::after { content: '→'; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(4px); }
.card__link::before { content: ''; position: absolute; inset: 0; border-radius: inherit; } /* ganze Karte klickbar */

.card--featured { background: var(--black); border-color: var(--black); color: #fff; justify-content: center; }
.card--featured h3, .card--featured .card__link { color: #fff; }
.card--featured h3 { font-size: 1.5rem; }
.card--featured p { color: var(--grey-300); }

/* Kunden */
/* Große Auftraggeber als ruhige Zeilen: Name links, Veranstaltungen als Fließtext */
/* Referenzen wie auf der alten Website: Spalten, Auftraggeber mit Unterpunkten */
.refs { columns: 1; column-gap: 56px; }
.ref { break-inside: avoid; padding: 0 0 22px; }
/* .ref--spalte: im Dashboard „Beginnt eine neue Spalte“ – wirkt nur bei drei Spalten (siehe 1000px) */
.ref__name { font-size: 1.05rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; margin: 0; }
.ref__events { list-style: none; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.ref__events li::before { content: '•'; margin-right: .45em; color: var(--grey-500); }


/* Team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.person {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__photo { margin: 0; aspect-ratio: 295 / 354; background: var(--grey-100); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person__body { padding: 20px 22px 18px; }
.person__body h3 { margin-bottom: 12px; }
.person__contact {
  display: flex; align-items: center; gap: 10px; padding: 9px 0;
  border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-800);
  overflow-wrap: anywhere; font-size: .88rem;
}
.person__contact:hover { color: var(--black); text-decoration: underline; }

/* --- Kontakt ------------------------------------------------------------- */

.contact { padding: var(--section-y) 0; color: #cfcfcf; background: var(--black); }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact__grid { display: grid; gap: 44px; align-items: start; }
.contact__lead { font-size: 1.08rem; max-width: 30em; }


.contact__details { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact__details h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.contact__details p, .contact__details address { font-style: normal; margin-bottom: 12px; }

/* Formular */
.form {
  background: var(--white); color: var(--ink); border-radius: var(--radius-l);
  padding: 28px 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.form a { color: var(--black); }
.form__title { font-size: 1.35rem; margin-bottom: 20px; }
.form__row { display: grid; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--black); }
.field em, .check em { color: var(--black); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--grey-50); border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--black); background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .08);
}
.field .is-invalid, .check.is-invalid input { border-color: #b3372f; box-shadow: 0 0 0 3px rgba(179, 55, 47, .12); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--black); flex-shrink: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.form__status { margin: 14px 0 0; font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form__status.is-error { color: #b3372f; }
.form__status.is-ok { color: var(--black); }
.form.is-sent .form__status { background: var(--grey-100); padding: 14px 16px; border-radius: var(--radius-s); }
.form button[disabled] { opacity: .65; cursor: progress; transform: none; }

/* --- Footer -------------------------------------------------------------- */

.footer { background: var(--ink-900); color: #a3a3a3; font-size: .92rem; padding: 64px 0 0; border-top: 1px solid #262626; }
.footer a { color: #e6e6e6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 44px; }
.footer__logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); margin-bottom: 16px; }
.footer__brand p { max-width: 26em; }
.footer__title { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.footer__wowobot a { color: var(--wowobot); font-weight: 600; }
.footer__wowobot a:hover { color: var(--wowobot); }

/* --- Rechtstexte --------------------------------------------------------- */

.legal { padding: 48px 0 var(--section-y); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-700); }
.legal a { overflow-wrap: anywhere; } /* lange URLs brechen auf dem Handy um */
.legal-page { padding-bottom: 0; }

/* =========================================================================
   Breakpoints
   ========================================================================= */

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .form { padding: 36px 34px; }
  .contact__details { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__name { display: block; }
}

@media (min-width: 860px) {
  .refs { columns: 2; }
}

@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  .refs { columns: 3; }
  .ref--spalte { break-before: column; }
  .hero__grid { grid-template-columns: 1.25fr .75fr; gap: 72px; }
  .hero__visual { order: 0; }
  .hero__logo { width: 100%; max-width: 380px; }
  .header__logo img { width: 54px; height: 54px; }


  .cards { grid-template-columns: repeat(3, 1fr); }

  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* --- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; }
.notfound img { margin: 24px auto 40px; }

/* =========================================================================
   Handy kompakt (< 600px): weniger Scrollen, Desktop bleibt unverändert
   ========================================================================= */

@media (max-width: 599px) {
  .ref { padding-bottom: 14px; }
  .hero { padding: 40px 0 56px; }
  .hero__grid { gap: 28px; }
  .hero__logo { width: 150px; }
  :root { --section-y: 52px; }
  .section__head { margin-bottom: 28px; }
  .section__head p:last-child { font-size: 1rem; }

  /* Hero: Logo kleiner */

  /* Leistungen: Icon neben Titel, Liste als Fließtext */
  .cards { gap: 12px; }
  .card { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; align-items: center; padding: 18px; }
  .card__icon { width: 40px; height: 40px; margin: 0; }
  .card__icon svg { width: 19px; height: 19px; }
  .card h3 { margin: 0; font-size: 1.08rem; }
  .card__list { grid-column: 1 / -1; display: block; font-size: .92rem; color: var(--muted); line-height: 1.6; }
  .card__list li { display: inline; }
  .card__list li::before { display: none; }
  .card__list li:not(:last-child)::after { content: ' · '; color: var(--grey-300); }
  .card--featured { display: none; } /* Anfrage-Button sitzt mobil unten in der Quickbar */

  /* Kunden */

  /* Team: Foto links, Kontakt rechts */
  .team { gap: 12px; }
  .person { display: grid; grid-template-columns: 104px 1fr; }
  .person__photo { aspect-ratio: auto; height: 100%; min-height: 128px; }
  .person__body { padding: 12px 14px 8px; min-width: 0; }
  .person__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .person__contact { padding: 6px 0; font-size: .82rem; gap: 8px; }
  .person__contact:first-of-type { border-top: 0; }

  /* Kontakt & Footer */
  .contact__details { gap: 20px; padding-top: 20px; }
  .contact__details { padding-top: 20px; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .field { margin-bottom: 12px; }
  .field input, .field select, .field textarea { padding: 11px 12px; }
  .field textarea { min-height: 100px; }
  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { display: none; }
  .footer__logo { width: 48px; height: 48px; margin-bottom: 0; }
}
