/* ================================================================
   IT by PASSION — gemeinsame Stylesheet-Datei
   Wird von allen Seiten (index, profil, leistungen, branchen,
   kontakt, impressum) eingebunden.
   ================================================================ */

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

:root {
  --navy:    #1B3A6B;
  --steel:   #2E75B6;
  --light:   #EAF2FB;
  --rule:    #C8D9EC;
  --white:   #ffffff;
  --off:     #F4F6F9;
  --gray:    #556070;
  --dark:    #111E33;
  --text:    #1C2B40;
  --serif:   Georgia, 'Times New Roman', serif;
  --sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

/* ── NAV (identisch auf jeder Seite) ── */
nav.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 0 5vw; height: 60px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1060px;
  height: 100%;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-brand-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 40px;
  padding: 4px 16px 4px 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.18);
}
.nav-logo-img { height: 36px; width: 36px; border-radius: 0%; object-fit: cover; display: block; flex-shrink: 0; }
.nav-brand-text {
  font-family: var(--serif); font-size: 1rem; font-weight: bold;
  color: #2A3FC0; letter-spacing: 0.01em; white-space: nowrap;
}
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.81rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); text-decoration: underline; }
.nav-links a.active { color: var(--white); border-bottom: 2px solid var(--steel); padding-bottom: 2px; }
.nav-cta {
  background: var(--steel) !important; color: var(--white) !important;
  padding: 6px 15px; border-radius: 2px; text-decoration: none !important;
}
.nav-cta:hover { background: #3a8fd4 !important; }

/* ── HAMBURGER (nur auf Mobile sichtbar) ── */
.nav-toggle { display: none; }           /* Checkbox selbst nie sichtbar */
.nav-toggle-label {
  display: none;                          /* Desktop: verborgen */
  cursor: pointer;
  padding: 10px;
  user-select: none;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; position: relative;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease, opacity 0.15s ease;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: ''; position: absolute; left: 0;
}
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after  { bottom: -7px; top: auto; }

/* „X"-Form, wenn geöffnet */
.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span::before {
  top: 0; transform: rotate(45deg);
}
.nav-toggle:checked ~ .nav-toggle-label span::after {
  bottom: 0; top: 0; transform: rotate(-45deg);
}

/* ── HERO ── */
.hero { background: var(--white); padding: 72px 5vw 64px; border-bottom: 1px solid var(--rule); }
.hero-inner {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 350px; gap: 56px; align-items: end;
}
.hero-eyebrow {
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: bold; line-height: 1.15;
  color: var(--navy); margin-bottom: 1.3rem;
}
.hero-sub { font-size: 1.1rem; line-height: 1.82; color: var(--gray); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--steel); color: var(--white);
  padding: 10px 22px; border-radius: 2px;
  text-decoration: none; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.03em; display: inline-block;
}
.btn-primary:hover { background: #3a8fd4; }
.btn-ghost {
  border: 1px solid var(--rule); color: var(--navy);
  padding: 10px 22px; border-radius: 2px;
  text-decoration: none; font-size: 0.95rem; display: inline-block;
}
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); }

.hero-team-img {
  margin-top: 2.2rem; border-radius: 4px; overflow: hidden;
  box-shadow: 0 3px 18px rgba(27,58,107,0.13); border: 1px solid var(--rule);
}
.hero-team-img img { width: 100%; height: auto; display: block; }

.hero-card {
  background: var(--navy); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px; padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(27,58,107,0.18); margin-top: 45px;
}
.hero-card-label {
  font-size: 0.69rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #8EC5E8; margin-bottom: 1rem;
  padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-pillars { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-pillar {
  font-size: 0.95rem; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  padding-left: 0.85rem; border-left: 2px solid var(--steel);
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; margin-top: 1.1rem;
  background: rgba(255,255,255,0.10);
  border-radius: 2px; overflow: hidden;
}
.hero-stat { background: rgba(255,255,255,0.06); padding: 0.75rem; text-align: center; }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--white); }
.hero-stat span { font-size: 0.68rem; color: rgba(255,255,255,0.50); letter-spacing: 0.04em; }

/* ── QUOTE BAR ── */
.quote-bar {
  background: var(--light);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 40px 5vw; text-align: center;
}
.quote-bar blockquote {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-style: italic; line-height: 1.55;
  color: var(--navy); max-width: 800px; margin: 0 auto 0.7rem;
}
.quote-bar cite {
  font-size: 0.77rem; font-style: normal;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--steel);
}

/* ── SECTION BASE ── */
.section { padding: 68px 5vw; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-alt { background: var(--off); }
.dark-section { background: var(--dark); }

.section-label {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.6rem;
}
.dark-section .section-label { color: #8EC5E8; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold; line-height: 1.22;
  color: var(--navy); margin-bottom: 0.9rem;
}
.dark-section .section-title { color: var(--white); }
.section-lead { font-size: 1rem; color: var(--gray); max-width: 650px; line-height: 1.8; }
.dark-section .section-lead { color: rgba(255,255,255,0.58); }

hr.rule { border: none; border-top: 1px solid var(--rule); margin: 0 5vw; }

/* ── PROFIL ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start; margin-top: 2.5rem;
}
.about-text p { font-size: 1rem; color: var(--gray); line-height: 1.82; margin-bottom: 1rem; }
.about-text p strong { color: var(--navy); font-weight: 600; }

.credentials { display: flex; flex-direction: column; gap: 0.85rem; }
.credential {
  background: var(--white); border-left: 3px solid var(--steel);
  padding: 0.2rem 1rem 0.8rem; border-radius: 0 3px 3px 0;
}
.credential strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.credential span { font-size: 0.92rem; color: var(--gray); line-height: 1.35; display: inline-block; }

/* ── LEISTUNGEN ── */
.leistungen-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end; margin-bottom: 2.5rem;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 3px; overflow: hidden;
}
.service-card { background: var(--white); padding: 1.6rem 1.4rem; }
.service-card:hover { background: var(--off); }
.service-num {
  font-family: var(--serif); font-size: 2rem; font-weight: bold;
  color: rgba(27,58,107,0.07); line-height: 1; margin-bottom: 0.7rem;
}
.service-card h3 {
  font-family: var(--serif); font-size: 1.08rem; font-weight: bold;
  color: var(--navy); margin-bottom: 0.55rem; line-height: 1.3;
}
.service-card p { font-size: 1rem; color: var(--gray); line-height: 1.72; }

/* ── DIFFERENZIERUNG ── */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.5rem; }
.diff-item { border-top: 1px solid rgba(255,255,255,0.13); padding-top: 1.2rem; }
.diff-num { font-size: 0.69rem; font-weight: 600; color: #8EC5E8; letter-spacing: 0.12em; margin-bottom: 0.55rem; }
.diff-item h3 {
  font-family: var(--serif); font-size: 1.08rem; font-weight: bold;
  color: var(--white); margin-bottom: 0.5rem; line-height: 1.3;
}
.diff-item p { font-size: 1rem; color: rgba(255,255,255,0.57); line-height: 1.72; }

/* ── BRANCHEN ── */
.branchen-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end; margin-bottom: 2.2rem;
}
.branchen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.branche-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 3px; overflow: hidden;
}
.branche-card:hover { border-color: var(--steel); }
.branche-card-img { width: 100%; height: 120px; overflow: hidden; position: relative; }
.branche-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.branche-card:hover .branche-card-img img { transform: scale(1.05); }
.branche-card-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: linear-gradient(to top, rgba(17,30,51,0.25), transparent);
}
.branche-card-body { padding: 1rem 1rem 1.2rem; }
.branche-tag {
  display: inline-block; background: var(--light); color: var(--navy);
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 2px; margin-bottom: 0.65rem;
}
.branche-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; line-height: 1.3; }
.branche-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.62; }

/* ── KONTAKT ── */
.contact-items { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong {
  font-size: 0.71rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray);
}
.contact-item a, .contact-item span { color: var(--navy); font-size: 1rem; text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--steel); text-decoration: underline; }
.contact-note {
  margin-top: 1.3rem; background: var(--light);
  border-left: 3px solid var(--steel);
  padding: 0.85rem 1rem;
  font-size: 0.95rem; color: var(--gray); line-height: 1.65;
}

/* ── IMPRESSUM & DATENSCHUTZ ── */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 2.5rem; }
.legal-block h3 {
  font-family: var(--serif); font-size: 1.02rem; font-weight: bold;
  color: var(--navy); margin-bottom: 0.75rem;
  padding-bottom: 0.45rem; border-bottom: 1px solid var(--rule);
}
.legal-block h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0.95rem 0 0.28rem; }
.legal-block p, .legal-block address {
  font-size: 0.95rem; color: var(--gray); line-height: 1.72;
  font-style: normal; margin-bottom: 0.5rem;
}
.legal-block a { color: var(--steel); }
.legal-block a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 32px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  border-top: 2px solid var(--navy);
}
.footer-logo { font-family: var(--serif); font-size: 0.93rem; font-weight: bold; color: var(--white); }
footer p { font-size: 0.77rem; color: rgba(255,255,255,0.36); }
.footer-links { display: flex; gap: 1.1rem; }
.footer-links a { font-size: 0.77rem; color: rgba(255,255,255,0.36); text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-grid, .leistungen-header, .branchen-header,
  .kontakt-grid, .legal-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .services-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .branchen-grid { grid-template-columns: 1fr 1fr; }

  /* Hamburger sichtbar */
  .nav-toggle-label { display: block; }

  /* Menü klappbar: geschlossen = versteckt, offen = als Liste unter Navi */
  nav.main-nav .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 0.6rem 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }
  nav.main-nav .nav-toggle:checked ~ .nav-links { display: flex; }
  nav.main-nav .nav-links li { width: 100%; }
  nav.main-nav .nav-links a {
    display: block;
    padding: 0.85rem 5vw;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  nav.main-nav .nav-links li:last-child a { border-bottom: none; }
  nav.main-nav .nav-links a.active { border-bottom: 1px solid rgba(255,255,255,0.06); border-left: 3px solid var(--steel); padding-left: calc(5vw - 3px); }
  nav.main-nav .nav-cta {
    margin: 0.5rem 5vw; text-align: center; border-radius: 3px;
  }
}
@media (max-width: 520px) {
  .services-grid, .diff-grid, .branchen-grid { grid-template-columns: 1fr; }
}

.email-rtl {
  unicode-bidi: bidi-override; direction: rtl;
  display: inline-block; font-weight: 500;
  color: var(--navy); font-size: 1rem;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem;
  width: auto; height: auto; z-index: 999;
  background: var(--navy); color: var(--white);
  padding: 0.6rem 1rem; border-radius: 3px;
}

/* ── DETAIL-SEITEN (Leistungen, Branchen im Detail) ── */
.detail-list {
  display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem;
}
.detail-item {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 3px; padding: 1.8rem 2rem;
}
.detail-item h3 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: bold;
  color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3;
}
.detail-item p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 0.8rem; }
.detail-item p:last-child { margin-bottom: 0; }
.detail-item ul { margin: 0.5rem 0 0.8rem 1.2rem; color: var(--gray); }
.detail-item ul li { font-size: 1rem; line-height: 1.7; margin-bottom: 0.3rem; }
