/* PICUBE Consulting GmbH – orange variant of the sitegeist-style layout */

:root {
  --orange: #ff7a1a;          /* schönes, kräftiges Orange als Hintergrund */
  --orange-deep: #f2660a;
  --ink: #16110b;             /* fast schwarz, warm */
  --ink-soft: #3a3128;
  --paper: #fff7f0;
  --white: #ffffff;
  --radius: 28px;
  --radius-sm: 16px;
  --maxw: 1240px;
  --shadow: 0 24px 60px rgba(60, 30, 0, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--orange);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 32px;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--orange);
  border-bottom: 2px solid rgba(22, 17, 11, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.brand-text { color: var(--ink); }

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;
}
.brand-mark span {
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-radius: 3px;
}
.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) { background: var(--white); }
.brand-mark.small { grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); }
.brand-mark.small span { width: 9px; height: 9px; }

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0 auto 0 24px;
  padding: 0;
  font-weight: 700;
  font-size: 17px;
}
.nav-menu a { padding-bottom: 4px; border-bottom: 3px solid transparent; transition: border-color .15s; }
.nav-menu a:hover,
.nav-menu a.active { border-color: var(--ink); }

.lang { display: flex; gap: 10px; font-weight: 700; align-items: center; }
.lang a { opacity: .55; }
.lang a.lang-active { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.eyebrow {
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 28px;
  color: var(--ink);
}

.hero-text { font-size: 19px; max-width: 38ch; margin: 0 0 32px; color: var(--ink-soft); }
.hero-text strong { color: var(--ink); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  transition: transform .12s ease, background .15s, color .15s;
  border: 2px solid var(--ink);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }

.hero-media { position: relative; }
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 600 / 460;
  background: #2b2f36;
}
.media-card svg,
.media-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.badge-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); display: inline-block; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 40px;
}
.stat {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
}
.stat-num { display: block; font-size: 44px; font-weight: 900; letter-spacing: -0.02em; color: var(--orange); }
.stat-label { font-size: 15px; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head h2,
.section-split h2,
.branche-grid + * ,
.cta h2 { letter-spacing: -0.02em; }
.section h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; margin: 0; line-height: 1.02; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(60, 30, 0, 0.10);
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-4px); }
.card-ico {
  font-size: 30px;
  line-height: 1;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--ink);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Split sections */
.section-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.split-copy h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin: 0 0 18px; line-height: 1.04; }
.split-copy p { font-size: 18px; color: var(--ink-soft); }
.split-copy p strong { color: var(--ink); }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-weight: 600;
  border-bottom: 1px solid rgba(22,17,11,.14);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  width: 24px; height: 24px;
  background: var(--ink); color: var(--orange);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 900;
}

.quote-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}
.quote { font-size: 24px; font-weight: 800; line-height: 1.25; margin: 0 0 18px; }
.quote-by { margin: 0; color: var(--orange); font-weight: 700; }

/* Branche */
.branche-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start; }
.branche-grid p { font-size: 18px; color: var(--ink-soft); margin: 0; }
.branche-grid p strong { color: var(--ink); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud span {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

/* Fact list */
.fact-list { list-style: none; padding: 0; margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(22,17,11,.10);
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list span { color: var(--ink-soft); font-weight: 600; }
.fact-list strong { text-align: right; }

/* CTA */
.cta { background: var(--ink); color: var(--white); margin-top: 30px; }
.cta-inner { padding-block: 84px; text-align: center; }
.cta h2 { font-size: clamp(30px, 4.6vw, 58px); font-weight: 900; margin: 0 0 16px; line-height: 1.02; }
.cta p { font-size: 19px; opacity: .85; margin: 0 0 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-dark { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.cta .btn-ghost-dark { color: var(--white); border-color: var(--white); }
.cta .btn-ghost-dark:hover { background: var(--white); color: var(--ink); }

/* Footer */
.site-footer { background: var(--orange-deep); color: var(--ink); padding-block: 44px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { font-size: 18px; }
.footer-brand p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.footer-nav { display: flex; gap: 22px; font-weight: 700; }
.footer-nav a { border-bottom: 2px solid transparent; }
.footer-nav a:hover { border-color: var(--ink); }
.footer-legal { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .hero-media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section-split { grid-template-columns: 1fr; gap: 32px; }
  .branche-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: left; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .nav-menu {
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--orange);
    border-bottom: 2px solid rgba(22,17,11,.15);
    margin: 0;
    padding: 8px 20px 20px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-top: 1px solid rgba(22,17,11,.12); }
  .nav-menu a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .lang { display: none; }
  .stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Ergänzungen Entwurf 12/2026: Referenzen, Porträt, Impressum ---------- */
.ref-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ref { background: var(--paper); border-radius: var(--radius-sm); padding: 28px; box-shadow: 0 10px 30px rgba(60, 30, 0, 0.10); }
.ref-kunde { font-weight: 900; font-size: 22px; letter-spacing: -0.01em; }
.ref-jahr { font-weight: 700; font-size: 14px; color: var(--ink-soft); margin-left: 8px; }
.ref h3 { margin: 6px 0 10px; font-size: 18px; font-weight: 800; }
.ref p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.ref-weitere { margin-top: 34px; }
.ref-weitere h3 { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
.portrait { display: flex; gap: 22px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.portrait img { width: 104px; height: auto; border-radius: 14px; filter: grayscale(1) contrast(1.06); flex: none; }
.portrait strong { display: block; font-size: 20px; font-weight: 900; }
.portrait span { color: var(--ink-soft); font-weight: 600; }
.footer-inner { align-items: start; }
.footer-imprint { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.footer-imprint strong { color: var(--ink); display: block; font-size: 15px; }
@media (max-width: 980px) { .ref-list { grid-template-columns: 1fr; } }

/* ---------- Kontaktformular (Entwurf: noch ohne Versand) ---------- */
.kontakt-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; text-align: left; }
.kontakt-text h2 { margin-bottom: 18px; }
.kontakt-mail a { color: var(--orange); font-weight: 800; border-bottom: 2px solid transparent; }
.kontakt-mail a:hover { border-color: var(--orange); }
.kontakt-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.kontakt-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.kontakt-form input[type="text"], .kontakt-form input[type="email"], .kontakt-form textarea {
  font: inherit; font-weight: 500; color: var(--ink); background: var(--white);
  border: 2px solid rgba(22,17,11,.18); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.kontakt-form textarea { resize: vertical; min-height: 120px; }
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-color: var(--ink); }
.kontakt-form .fehler { border-color: #b3261e !important; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kontakt-form .feld-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.feld-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.kontakt-form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.cta .kontakt-form .btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta .form-hinweis { margin: 0; font-size: 15px; font-weight: 600; opacity: 1; color: var(--ink); min-height: 1.4em; }
@media (max-width: 980px) { .kontakt-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .feld-reihe { grid-template-columns: 1fr; } .kontakt-form { padding: 22px; } }

/* ---------- Formular angeschlossen (Sicherheitsfrage, Fangfeld), Rechtstexte ---------- */
.feld-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld-check a, .footer-legal a { border-bottom: 1px solid currentColor; }
.form-hinweis.gut { color: #1b6b3a; } .form-hinweis.schlecht { color: #b3261e; }
.kontakt-form button[disabled] { opacity: .6; cursor: default; transform: none; }
.recht { max-width: 860px; padding-block: 56px 80px; }
.recht h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; margin: 0 0 10px; }
.recht h2 { font-size: 22px; font-weight: 800; margin: 34px 0 8px; }
.recht p, .recht li { font-size: 17px; color: var(--ink-soft); }
.recht .karte { background: var(--paper); border-radius: var(--radius-sm); padding: 20px 24px; margin: 10px 0 14px; }
.recht .karte p { margin: 0; color: var(--ink); }
.recht a { border-bottom: 1px solid currentColor; }

/* ---------- Login (Anmeldung bei ocon mit Google, führt in den Arbeitsbereich) ---------- */
.btn-login { background: var(--ink); color: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 9px 22px; font-weight: 800; font-size: 15px; transition: transform .12s ease, opacity .15s; white-space: nowrap; }
.btn-login:hover { transform: translateY(-2px); opacity: .9; }
@media (max-width: 640px) { .btn-login { padding: 7px 16px; font-size: 14px; margin-left: auto; } .nav-toggle { margin-left: 0; } .nav { gap: 12px; } }
