/* ─── RESET & VARIABLES ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:      #0d1f3c;
  --navy2:     #132848;
  --blue:      #1d4ed8;
  --blue-lt:   #eff4ff;
  --blue-mid:  #2563eb;
  --gold:      #f59e0b;
  --gold-lt:   #fffbeb;
  --ink:       #111827;
  --soft:      #374151;
  --muted:     #6b7280;
  --border:    #e5e7eb;
  --bg:        #f8f7f4;
  --white:     #ffffff;
  --r:         8px;
  --max:       1160px;
  --ease:      cubic-bezier(.4, 0, .2, 1);
}

html  { scroll-behavior: smooth; }
body  {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; height: auto; }

/* ─── LAYOUT ────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-mid); margin-bottom: .8rem;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
h2.title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin-bottom: 1.1rem;
}
h2.title em {
  font-style: italic; font-family: 'Lora', serif;
  font-weight: 400; color: var(--blue-mid);
}
.lead { font-size: .97rem; color: var(--muted); line-height: 1.78; max-width: 520px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: 6px; font-size: .875rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: all .2s var(--ease); font-family: 'Outfit', sans-serif;
  text-decoration: none; white-space: nowrap;
}
.btn-navy        { background: var(--navy); color: #fff; }
.btn-navy:hover  { background: var(--blue-mid); }
.btn-outline     { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-gold        { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover  { background: #fbbf24; }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ─── LANGUAGE SWITCH ────────────────────────────────────── */
body.en .lang-de { display: none; }
body.de .lang-en { display: none; }

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200; height: 64px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.nav-logo {
  font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em;
}
.nav-logo span { color: var(--blue-mid); }
.nav-menu { display: flex; gap: 1.8rem; list-style: none; }
.nav-menu a { font-size: .85rem; font-weight: 500; color: var(--muted); transition: color .18s; }
.nav-menu a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: .9rem; }
.lang-sw { display: flex; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-sw button {
  background: none; border: none; padding: 5px 12px;
  font: 700 .72rem/1 'Outfit', sans-serif;
  color: var(--muted); cursor: pointer; transition: all .18s; letter-spacing: .04em;
}
.lang-sw button.on { background: var(--navy); color: #fff; }

/* hamburger (mobile) */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero { background: var(--navy); overflow: hidden; position: relative; }
.hero-bg-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 80px);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem;
  align-items: center; padding: 5.5rem 0 0; position: relative; z-index: 1;
}
.hero-avail {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 5px 14px; font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.7); margin-bottom: 1.8rem; width: fit-content;
}
.hero-avail-dot {
  width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
}
h1.hero-h {
  font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.06; color: #fff; margin-bottom: 1.4rem;
}
h1.hero-h em {
  font-style: italic; font-family: 'Lora', serif; font-weight: 400; color: var(--gold);
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.55); line-height: 1.78;
  max-width: 420px; margin-bottom: 2.4rem;
}
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; padding: 2.5rem 0 4rem;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.8rem;
}
.stat-n {
  font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1;
}
.stat-l {
  font-size: .7rem; color: rgba(255,255,255,.38);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 5px;
}

/* hero panel */
.hero-panel { align-self: flex-end; height: 440px; position: relative; }
.avail-badge {
  position: absolute; top: 12%; right: 5%;
  background: var(--gold); color: var(--navy); border-radius: 10px;
  font-size: .8rem; font-weight: 700; padding: 12px 18px;
  display: flex; align-items: center; gap: 8px; z-index: 2;
}
.hpc-main {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: 14px 14px 0 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); overflow: hidden;
}
.hpc-cell {
  padding: 22px 20px; border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04); transition: background .2s;
}
.hpc-cell:hover { background: rgba(255,255,255,.08); }
.hpc-lbl {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.32); font-weight: 700; margin-bottom: 6px;
}
.hpc-val { font-size: .97rem; font-weight: 700; color: rgba(255,255,255,.9); }
.hpc-sub { font-size: .7rem; color: rgba(255,255,255,.3); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   QUICK STRIP
══════════════════════════════════════════════════════════ */
.strip { background: var(--bg); border-bottom: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item {
  padding: 2rem 1.8rem; display: flex; align-items: flex-start; gap: 14px;
  border-right: 1px solid var(--border); transition: background .2s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--white); }
.strip-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue-lt); color: var(--blue-mid);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.strip-icon svg {
  width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.strip-title { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.strip-desc  { font-size: .76rem; color: var(--muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about-section { background: var(--white); padding: 5.5rem 0; }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: 5rem; align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo {
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy2) 0%, #1a3a6b 100%);
  aspect-ratio: 4/5; max-height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo .photo-placeholder {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
.about-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(transparent, rgba(13,31,60,.6));
}
.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; border-radius: 12px;
  background: var(--gold); display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 4px;
}
.about-accent-n { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.about-accent-l {
  font-size: .65rem; font-weight: 700; color: var(--navy); opacity: .7;
  text-transform: uppercase; letter-spacing: .06em; text-align: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 1.8rem; }
.chip {
  padding: 5px 12px; border-radius: 5px; font-size: .74rem; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border); color: var(--soft);
}

/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.services-section { background: var(--bg); padding: 5.5rem 0; }
.svc-head { text-align: center; margin-bottom: 2.8rem; }
.svc-head .lead { margin: 0 auto; }
.tabs-bar {
  display: flex; gap: 3px; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 4px; width: fit-content; margin: 0 auto 2.5rem;
}
.tab-btn {
  padding: 9px 20px; border-radius: 5px; font-size: .84rem; font-weight: 600;
  color: var(--muted); cursor: pointer; border: none; background: none;
  font-family: 'Outfit', sans-serif; transition: all .2s;
}
.tab-btn.on { background: var(--navy); color: #fff; }
.tab-pane { display: none; }
.tab-pane.on { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid transparent; border-radius: var(--r);
  padding: 1.8rem; transition: all .22s var(--ease); cursor: default;
}
.svc-card:hover {
  border-left-color: var(--blue-mid);
  box-shadow: 0 4px 20px rgba(0,0,0,.07); transform: translateY(-2px);
}
.svc-num { font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); opacity: .8; margin-bottom: 1rem; }
.svc-ico {
  width: 38px; height: 38px; border-radius: 7px; background: var(--blue-lt);
  color: var(--blue-mid); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem;
}
.svc-ico svg {
  width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.svc-t { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .55rem; line-height: 1.3; }
.svc-d { font-size: .81rem; line-height: 1.68; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   WHY
══════════════════════════════════════════════════════════ */
.why-section { background: var(--white); padding: 5.5rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.why-card {
  padding: 2rem 1.6rem; border-radius: var(--r); border: 1px solid var(--border);
  position: relative; overflow: hidden; transition: border-color .2s;
}
.why-card::before {
  content: attr(data-n); position: absolute; top: -10px; right: 10px;
  font-size: 4rem; font-weight: 800; color: var(--navy); opacity: .04;
  font-family: 'Outfit', sans-serif; line-height: 1;
}
.why-card:hover { border-color: var(--blue-mid); }
.why-ico {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-lt);
  color: var(--blue-mid); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.1rem;
}
.why-ico svg {
  width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.why-t { font-size: .93rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.why-d { font-size: .81rem; line-height: 1.65; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════════ */
.portfolio-section { background: var(--bg); padding: 5.5rem 0; }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
.port-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: all .22s var(--ease);
}
.port-card:hover { box-shadow: 0 6px 28px rgba(13,31,60,.1); transform: translateY(-3px); }
.port-top {
  height: 150px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  position: relative; display: flex; align-items: flex-end; padding: 16px;
}
.port-sector {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.port-badge {
  position: absolute; top: 14px; right: 14px; background: var(--gold);
  color: var(--navy); font-size: .65rem; font-weight: 800;
  padding: 4px 10px; border-radius: 4px; letter-spacing: .04em;
}
.port-body { padding: 1.5rem; }
.port-t { font-size: .97rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; line-height: 1.3; }
.port-d { font-size: .8rem; line-height: 1.65; color: var(--muted); margin-bottom: 1.1rem; }
.port-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.port-tag {
  padding: 3px 9px; border-radius: 4px; background: var(--bg);
  border: 1px solid var(--border); color: var(--soft); font-size: .67rem; font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--navy); padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%; background: rgba(29,78,216,.18);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -60px; left: 10%;
  width: 200px; height: 200px; border-radius: 50%; background: rgba(245,158,11,.08);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  letter-spacing: -.03em; color: #fff; max-width: 520px; line-height: 1.2;
}
.cta-inner h2 em {
  font-style: italic; font-family: 'Lora', serif; font-weight: 400; color: var(--gold);
}
.cta-inner p { color: rgba(255,255,255,.5); font-size: .97rem; margin-top: .8rem; max-width: 480px; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-section { background: var(--white); padding: 5.5rem 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
.ci-list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.3rem; }
.ci      { display: flex; align-items: flex-start; gap: 13px; }
.ci-ico  {
  width: 40px; height: 40px; border-radius: 8px; background: var(--blue-lt);
  color: var(--blue-mid); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.ci-ico svg {
  width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.ci-l { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.ci-v { font-size: .9rem; font-weight: 500; color: var(--ink); }

/* Contact Form 7 overrides */
.wpcf7-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group  { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .74rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 7px;
  padding: 11px 14px; font: 400 .875rem/1.5 'Outfit', sans-serif;
  color: var(--ink); outline: none; transition: border-color .18s;
  -webkit-appearance: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--blue-mid); background: var(--white); }
.form-group textarea,
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-submit {
  background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 6px;
  font: 600 .875rem/1 'Outfit', sans-serif; cursor: pointer; border: none;
  transition: background .2s; align-self: flex-start;
}
.wpcf7-submit:hover { background: var(--blue-mid); }
.wpcf7-response-output { font-size: .85rem; padding: .75rem 1rem; border-radius: 6px; margin-top: .5rem; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--navy); padding: 4rem 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-logo { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: .7rem; letter-spacing: -.02em; }
.footer-brand-logo span { color: var(--gold); }
.footer-brand-desc { font-size: .81rem; color: rgba(255,255,255,.32); line-height: 1.7; max-width: 220px; }
.footer-col h4 { font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1.1rem; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a   { font-size: .82rem; color: rgba(255,255,255,.35); transition: color .18s; }
.footer-col a:hover { color: rgba(255,255,255,.8); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem;
}
.footer-copy  { font-size: .75rem; color: rgba(255,255,255,.2); }
.footer-legal { display: flex; gap: 1.6rem; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.25); transition: color .18s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-panel    { display: none; }
  .about-photo   { aspect-ratio: 3/2; max-height: 280px; }
  .about-accent  { display: none; }
  .strip-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .port-grid     { grid-template-columns: 1fr 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .strip-grid         { grid-template-columns: 1fr; }
  .tab-pane.on        { grid-template-columns: 1fr; }
  .why-grid, .port-grid { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .nav-menu           { display: none; }
  .nav-menu.open      { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 1rem; z-index: 100; }
  .nav-toggle         { display: flex; }
  .cta-inner          { flex-direction: column; align-items: flex-start; }
  .footer-top         { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; gap: .8rem; text-align: center; }
  .tabs-bar           { flex-wrap: wrap; width: 100%; justify-content: center; }
}
