/* ===========================================================
   PROJECT CONSULT – Redesign Preview
   Design system: deep-navy premium hero, sky→teal digital accents
   =========================================================== */

:root {
  --ink:      #0B1B2B;
  --ink-2:    #12293D;
  --text:     #0F1E2E;
  --slate:    #51657A;
  --muted:    #7A8CA0;
  --line:     #E3EAF0;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F9FB;
  --brand-1:  #38BDF8;   /* sky   */
  --brand-2:  #14B8A6;   /* teal  */
  --brand-ink:#0E7C86;
  --accent:   #F59E0B;   /* amber, sparsam */
  --grad:     linear-gradient(135deg, var(--brand-1), var(--brand-2));
  --shadow-sm: 0 2px 10px rgba(11,27,43,.06);
  --shadow:    0 18px 45px -20px rgba(11,27,43,.28);
  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1180px;
  --font-head:'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .92rem 1.6rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(20,184,166,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(20,184,166,.85); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-ghost.btn-dark { border-color: var(--line); color: var(--ink); }
.btn-ghost.btn-dark:hover { background: var(--bg-soft); border-color: var(--brand-2); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 1rem;
}
.eyebrow-light { color: #7FE3D8; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.lead { font-size: 1.12rem; color: var(--slate); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; color: var(--ink); }
.brand-text em { font-style: normal; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--slate); transition: color .15s; position: relative; }
.main-nav a:not(.nav-cta):hover, .main-nav a.active { color: var(--ink); }
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .2s;
}
.main-nav a:not(.nav-cta):hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { background: var(--ink); color: #fff !important; padding: .55rem 1.2rem; border-radius: 999px; }
.nav-cta:hover { background: var(--ink-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-1 { width: 460px; height: 460px; background: #14B8A6; top: -140px; right: -60px; }
.glow-2 { width: 420px; height: 420px; background: #2563EB; bottom: -160px; left: -80px; opacity: .4; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-copy h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.05; }
.hero-copy .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { color: rgba(255,255,255,.78); max-width: 30rem; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.trust-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2.4rem; }
.trust-chips li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.72); font-weight: 500; }
.trust-chips li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: .8rem; height: .8rem; border-radius: 50%; background: var(--grad); }

.hero-visual { position: relative; }
.network .pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }
.hero-badge {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); border-radius: 14px; padding: .8rem 1.1rem; text-align: center; width: max-content; max-width: 92%;
}
.hero-badge strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1rem; }
.hero-badge span { font-size: .74rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
#ueber h2 { margin-top: .4rem; }
#ueber .lead { margin-top: 1.4rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service cards ---------- */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(20,184,166,.14));
  color: var(--brand-ink); margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .98rem; }

/* ---------- Handlungsfelder ---------- */
.field-card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.6rem; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.field-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.field-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.field-card:hover::before { transform: scaleX(1); }
.field-no { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: transparent; -webkit-background-clip: text; background-clip: text; background: var(--grad); }
.field-card h3 { margin: .5rem 0 .6rem; }
.field-card p { color: var(--slate); font-size: .96rem; margin-bottom: 1.1rem; }
.tag { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .01em; color: var(--brand-ink); background: rgba(20,184,166,.1); padding: .3rem .7rem; border-radius: 999px; }

/* ---------- 5 Aspekte ---------- */
.aspekte { background: var(--ink); color: #fff; }
.aspekte h2 { color: #fff; }
.aspekte .lead { color: rgba(255,255,255,.72); }
.pillars { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: p; position: relative; }
.pillar { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 1.6rem 1.2rem; transition: background .2s, transform .2s; }
.pillar:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.pillar-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #06222A; font-family: var(--font-head); font-weight: 800; margin-bottom: 1rem; }
.pillar h3 { color: #fff; margin-bottom: .4rem; }
.pillar p { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.5; }

/* ---------- Journey ---------- */
.journey { list-style: none; padding: 0; margin: 0 0 2.6rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; }
.journey::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); opacity: .4; }
.journey li { position: relative; text-align: center; padding-top: 0; }
.j-node { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-2); color: var(--brand-ink); font-family: var(--font-head); font-weight: 800; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--bg-soft); }
.journey h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.journey p { font-size: .88rem; color: var(--slate); }

/* ---------- Split (Know-how / Kontakt) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-copy .lead { margin: 1.2rem 0 1.8rem; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; }
.feature-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(56,189,248,.15), rgba(20,184,166,.15)); color: var(--brand-ink); }
.feature-list strong { font-family: var(--font-head); display: block; margin-bottom: .15rem; }
.feature-list p { font-size: .92rem; color: var(--slate); }

/* ---------- News ---------- */
.post { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { position: relative; height: 168px; }
.thumb-1 { background: linear-gradient(135deg, #0EA5E9, #14B8A6); }
.thumb-2 { background: linear-gradient(135deg, #6366F1, #38BDF8); }
.thumb-3 { background: linear-gradient(135deg, #0E7C86, #0B1B2B); }
.post-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px; }
.post-body { padding: 1.4rem 1.4rem 1.6rem; }
.post-body h3 { margin-bottom: .5rem; }
.post-body p { color: var(--slate); font-size: .95rem; margin-bottom: 1rem; }
.post-link { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--brand-ink); }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--ink); color: #fff; }
.kontakt h2 { color: #fff; }
.kontakt .lead { color: rgba(255,255,255,.75); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.contact-card { font-style: normal; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 2rem; }
.contact-card > strong { font-family: var(--font-head); font-size: 1.1rem; color: #fff; display: block; line-height: 1.3; }
.contact-card > p { color: rgba(255,255,255,.72); margin: .8rem 0 1.4rem; }
.contact-card dl { display: grid; gap: .8rem; margin: 0; }
.contact-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card dt { color: rgba(255,255,255,.55); font-size: .9rem; }
.contact-card dd { margin: 0; color: #fff; font-weight: 500; }
.contact-card a:hover { color: #7FE3D8; }

/* ---------- Footer ---------- */
.site-footer { background: #06121E; color: rgba(255,255,255,.7); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.site-footer a:hover { color: #7FE3D8; }
.site-footer address { font-style: normal; font-size: .92rem; line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.preview-note { color: var(--accent); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); 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; } .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .hero-badge { position: static; transform: none; margin: 1rem auto 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 24px 1.2rem;
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: .8rem; border: 0; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-card dl > div { flex-direction: column; gap: .2rem; }
}
