/* BIT Consulting. Farben wie bisher: Dunkelblau, Gold, Grün aus dem Logo.
   Helles Gold nur auf Dunkelblau oder als Fläche; als Schrift auf Hell das dunkle Gold (5:1).
   Jeder Abschnitt hat bewusst eine eigene Form, kein durchgehendes Kartenraster. */
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Serifenschrift für Überschriften, passend zur Serifenschrift im Logo. */
@font-face { font-family: "Source Serif"; src: url("/assets/fonts/source-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #14284b;
  --navy-2: #1d3661;
  --navy-3: #0e1d38;
  --gold: #8a6a35;
  --gold-light: #e8b76f;
  --green: #1e6b36;
  --ink: #1d2433;
  --muted: #4f5869;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f5f4f0;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Lato", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: "Source Serif", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h1, h2, h3 { overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); }
h3 { font-size: 1.12rem; color: var(--navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; border-radius: 3px; }
.anchor { position: relative; top: -96px; display: block; height: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-intro { max-width: 680px; color: var(--muted); margin-bottom: 2.4em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.draft { background: var(--gold-light); color: var(--ink); text-align: center; font-size: .82rem; padding: 4px 16px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--green); }
.nav-toggle { display: none; }
.langs { display: flex; gap: 4px; font-size: .85rem; }
.langs a, .langs span { padding: 6px 7px; border-radius: 4px; text-decoration: none; color: var(--muted); }
.langs span { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-block; background: var(--gold-light); color: #3c2f22; padding: 13px 24px; border-radius: var(--radius); text-decoration: none; font-weight: 700; border: 2px solid transparent; }
.btn:hover { background: #f1c98d; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Kopfbereich: Barcelona von oben, links dunkel für den Text */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 12vw, 140px) 0; background: var(--navy); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14, 29, 56, .95) 0%, rgba(20, 40, 75, .86) 48%, rgba(20, 40, 75, .4) 100%); }
.hero-in { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; max-width: 820px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); opacity: .92; max-width: 640px; margin: 1em 0 2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Wer wir sind: Text links, die beiden Partner rechts */
/* Beide Spalten gleich hoch, das Foto wird nicht beschnitten: Es sitzt links unten, rechts
   verteilen sich die Porträts auf dieselbe Höhe. */
.about-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.about-text { display: flex; flex-direction: column; }
.about-text h2 { margin-top: -.12em; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.about-text p:last-of-type { margin-bottom: 1.4em; }
.socios { width: 100%; height: auto; margin-top: auto; border-radius: var(--radius); }
.people { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.person img { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.person h3 { font-size: 1.25rem; margin-bottom: .1em; }
.role { color: var(--gold); font-weight: 700; font-size: .9rem; }
.person p { color: var(--muted); font-size: .97rem; }
.person > div { min-width: 0; }
.li { display: inline-flex; vertical-align: -2px; margin-left: 8px; padding: 2px; border-radius: 4px; }
.li svg { display: block; }
.li:hover svg path { fill: #004182; }
.contact .li { background: #fff; }

/* Wo wir gearbeitet haben: Karte mit Beschriftung */
.transfer { background: var(--navy); color: #fff; }
.transfer-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.transfer h2 { color: #fff; }
.transfer-text p { color: rgba(255, 255, 255, .85); }
.map { position: relative; }
.map img { width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -190%); white-space: nowrap; font-size: .82rem; font-weight: 700; color: var(--gold-light); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.pin-bcn { color: #8fd3a5; transform: translate(-62%, 70%); background: var(--navy); padding: 0 5px; border-radius: 3px; }
.pin-pe { transform: translate(calc(-100% - 14px), -50%); }
.pin-pt { transform: translate(calc(-100% - 12px), -50%); background: var(--navy); padding: 0 5px; border-radius: 3px; }
.pin-za { transform: translate(-50%, 70%); }
.pin-br { transform: translate(-10%, 60%); }
.pin-ar { transform: translate(-100%, 40%); }
.pin-co { transform: translate(-100%, -150%); }

/* Leistungen: drei Schwerpunkte mit Bild, drei weitere als Liste */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-img { position: relative; margin: 0 0 16px; }
.feature-img img { display: block; margin-bottom: 0; }
.feature-img figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 3px; background: rgba(16, 32, 62, .78); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.feature p { color: var(--muted); font-size: .98rem; }
.more { list-style: none; padding: 0; margin: 2.6em 0 0; border-top: 1px solid var(--line); }
.more-img li { grid-template-columns: 200px 1fr; align-items: center; }
.more-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.more-img h3 { margin-bottom: .3em; }
.sector-band { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: 50% 50%; border-radius: var(--radius); margin-bottom: 2.2em; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 1.4em; }
.sector { border-top: 2px solid var(--green); padding-top: 14px; }
.sector p { color: var(--muted); font-size: .95rem; margin: 0; }
.more li { display: grid; grid-template-columns: 320px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.more h3 { margin: 0; }
.more p { margin: 0; color: var(--muted); }
.coaching-note { margin-top: 2em; color: var(--muted); }

/* Branchen: ruhiger Block auf warmem Grau */
.sectors { background: var(--bg-soft); }

/* Vorträge: echte Fotos von Helmuth */
.talk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.talk { margin: 0; }
.talk img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.talk figcaption strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: .2em; }
.talk figcaption span { color: var(--muted); font-size: .92rem; }
.book { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.book img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 10px 28px rgba(16, 32, 62, .22); }
.book h3 { margin: 0; color: var(--navy); }
.book-sub { margin: .15em 0 .4em; font-style: italic; }
.book-meta { color: var(--muted); font-size: .92rem; margin: 0 0 .6em; }
.recog { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.recog h3 { margin: 0 0 .3em; color: var(--navy); }
.recog p { margin: 0; max-width: 760px; }

/* Partner */
.partners h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.partner-event { margin: 1.4em 0 0; }
.partner-event img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.partner-event figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.logos { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 104px; }
.logos img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; }

/* Kontakt */
.contact { background: var(--navy); color: #fff; }
.contact h2, .contact h3 { color: #fff; }
.contact .section-intro { color: rgba(255, 255, 255, .85); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; }
.contact-card { background: var(--navy-2); border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; align-items: center; }
.contact-card img { width: 76px; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; object-position: top; flex: none; }
.contact-card h3 { margin-bottom: .5em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .6em; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn-wa svg { flex: none; }
.contact-plain { font-size: .86rem; color: rgba(255, 255, 255, .75); margin: 0; white-space: nowrap; }
.contact-address { margin-top: 2em; font-size: .92rem; color: rgba(255, 255, 255, .8); }

/* Fuß, mit dem Signet aus dem Logo */
.foot { background: var(--navy-3); color: rgba(255, 255, 255, .75); font-size: .88rem; padding: 40px 0; }
.foot-name { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: .04em; }
.signet { width: 46px; height: auto; filter: brightness(1.6); }
.foot a { color: #fff; }

/* Rechtsseiten */
.legal { padding: 56px 0 80px; }
.legal h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal-note { background: var(--bg-soft); padding: 10px 14px; border-radius: 6px; font-size: .92rem; }
mark { background: #ffe58a; padding: 0 3px; }

/* Sprachwahl unter / und 404 */
.plain main { text-align: center; padding: 72px 0; }
.plain main > img { margin: 0 auto 32px; }
.chooser ul { list-style: none; padding: 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notfound section { margin-bottom: 2.4em; }
.notfound h2 { font-size: 1.5rem; }

/* Ruhiges Einblenden beim Scrollen; ohne JavaScript oder bei reduzierter Bewegung sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .about-in, .transfer-in { grid-template-columns: 1fr; }
  .more li { grid-template-columns: 1fr; gap: 4px; }
  .more-img li { grid-template-columns: 160px 1fr; gap: 18px; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font: inherit; color: var(--ink); }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  .top-in { gap: 8px; min-height: 68px; }
  .brand img { width: 108px; }
  .head-cta { display: none; }
  .features, .contact-grid, .sector-grid, .talk-grid { grid-template-columns: 1fr; }
  .book { grid-template-columns: 110px 1fr; gap: 18px; align-items: start; }
  .more-img li { grid-template-columns: 1fr; gap: 12px; }
  .sector-band { aspect-ratio: 16 / 9; }
  .person { grid-template-columns: 110px 1fr; gap: 16px; }
  .person img { width: 110px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { min-height: 84px; padding: 12px; }
  .logos img { max-height: 46px; }
  .langs { gap: 0; }
  .pin { font-size: .68rem; }
  .pin-pt { transform: translate(-90%, -195%); }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-actions .btn { flex: 1; text-align: center; min-height: 44px; }
}
