/* ============================================================
   BSG-IT – Hauptstyles (index.html)
   Eingebunden via: <link rel="stylesheet" href="assets/main.css">
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy:       #072567;
    --navy-deep:  #051a4a;
    --navy-mid:   #0e3a8c;
    --cyan:       #2ab3f9;
    --cyan-light: #e6f6fe;
    --cyan-mid:   #b3e4fd;
    --ink:        #0d1b3e;
    --ink-soft:   #2d3d6b;
    --ink-muted:  #6b7aa1;
    --surface:    #ffffff;
    --surface-2:  #f5f7fc;
    --surface-3:  #edf1f9;
    --border:     #d8dff0;
    --border-soft:#edf1f9;
    --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
    --font: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --logo-font: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font); color: var(--ink); background: var(--surface); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    height: 80px;
    display: flex; align-items: center;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    justify-content: space-between;
  }
  .nav-logo { display: flex; align-items: center; text-decoration: none; height: 80px; }
  .nav-logo-img { height: 80px; width: auto; display: block; }
  .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 400; transition: color 0.2s; }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta {
    background: var(--navy) !important; color: #fff !important;
    padding: 9px 20px; border-radius: var(--r-sm);
    font-weight: 500 !important; font-size: 14px !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--navy-mid) !important; }

  /* HERO */
  .hero-wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
  .hero {
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cyan-light); color: var(--navy);
    font-size: 12px; font-weight: 500; padding: 6px 14px;
    border-radius: 100px; margin-bottom: 1.5rem; letter-spacing: 0.02em;
    border: 1px solid var(--cyan-mid);
  }
  .hero-eyebrow-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
  .hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 1.25rem; }
  .hero h1 strong { font-weight: 600; color: var(--navy); }
  .hero-sub { font-size: 17px; color: var(--ink-muted); font-weight: 300; line-height: 1.7; margin-bottom: 2rem; max-width: 440px; }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--navy); color: #fff; padding: 12px 24px;
    border-radius: var(--r-sm); font-weight: 500; font-size: 15px;
    text-decoration: none; transition: background 0.2s, transform 0.15s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }
  .btn-ghost {
    background: transparent; color: var(--ink-soft); padding: 12px 24px;
    border-radius: var(--r-sm); border: 1px solid var(--border);
    font-weight: 400; font-size: 15px; text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

  /* HERO VISUAL */
  .hero-visual { display: flex; flex-direction: column; gap: 12px; }
  .stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(7,37,103,0.08); }
  .stat-icon {
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: var(--cyan-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .stat-icon svg { width: 22px; height: 22px; }
  .stat-label { font-size: 12px; color: var(--ink-muted); margin-bottom: 2px; }
  .stat-value { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
  .stat-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card.accent { background: var(--navy); border-color: var(--navy); }
  .stat-card.accent .stat-label { color: rgba(255,255,255,0.6); }
  .stat-card.accent .stat-value { color: #fff; }
  .stat-card.accent .stat-icon { background: rgba(42,179,249,0.2); }

  /* SECTION */
  section { padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.75rem; }
  .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 0.75rem; line-height: 1.2; }
  .section-title strong { font-weight: 600; }
  .section-lead { font-size: 16px; color: var(--ink-muted); max-width: 520px; line-height: 1.7; font-weight: 300; }
  .section-header { margin-bottom: 3rem; }

  /* LEISTUNGEN */
  #leistungen { background: var(--surface-2); }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
  .service-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--cyan));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
  }
  .service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(7,37,103,0.08); border-color: var(--navy); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-icon { width: 48px; height: 48px; background: var(--cyan-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em; }
  .service-text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; font-weight: 300; }
  .service-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
  .service-list li { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
  .service-list li::before { content: ''; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; }

  /* WARUM */
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .why-points { display: flex; flex-direction: column; gap: 1.5rem; }
  .why-point { display: flex; gap: 16px; align-items: flex-start; }
  .why-number { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--cyan); background: var(--cyan-light); border-radius: var(--r-sm); padding: 4px 8px; flex-shrink: 0; margin-top: 2px; letter-spacing: 0.05em; border: 1px solid var(--cyan-mid); }
  .why-point-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
  .why-point-text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; font-weight: 300; }
  .trust-panel { background: var(--navy); border-radius: var(--r-xl); padding: 36px; }
  .trust-panel-title { font-family: var(--mono); font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
  .trust-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-item:last-child { border-bottom: none; }
  .trust-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; }
  .trust-item-text { font-size: 14px; color: rgba(255,255,255,0.82); font-weight: 300; }

  /* KONTAKT */
  #kontakt { background: var(--surface-2); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
  .contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.5rem; }
  .contact-info-icon { width: 40px; height: 40px; background: var(--cyan-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--cyan-mid); }
  .contact-info-icon svg { width: 18px; height: 18px; }
  .contact-info-label { font-size: 12px; color: var(--ink-muted); margin-bottom: 3px; }
  .contact-info-value { font-size: 15px; font-weight: 500; color: var(--ink); }
  .contact-info-value a { color: var(--navy); text-decoration: none; }
  .contact-info-value a:hover { text-decoration: underline; }
  .contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; }
  .form-title { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 24px; letter-spacing: -0.02em; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 7px; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--r-sm); font-family: var(--font); font-size: 14px;
    color: var(--ink); background: var(--surface); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(42,179,249,0.15); }
  .form-group textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
  .form-privacy { font-size: 12px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 20px; font-weight: 300; }
  .form-privacy a { color: var(--navy); text-decoration: none; }
  .form-privacy a:hover { text-decoration: underline; }
  .form-submit {
    width: 100%; padding: 13px 24px; background: var(--navy); color: #fff;
    border: none; border-radius: var(--r-sm); font-family: var(--font);
    font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }

  /* FOOTER */
  footer { background: var(--navy-deep); color: rgba(255,255,255,0.55); padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem; }
  .footer-inner { max-width: 1100px; margin: 0 auto; }
  .footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); flex-wrap: wrap; gap: 1.5rem; }
  .footer-logo { display: flex; align-items: center; text-decoration: none; height: 60px; }
  .footer-logo-img { height: 60px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
  .footer-nav { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
  .footer-nav a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
  .footer-nav a:hover { color: rgba(255,255,255,0.9); }
  .footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

  /* FORM SUCCESS */
  .form-success { display: none; text-align: center; padding: 2rem; }
  .form-success-icon { width: 56px; height: 56px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
  .form-success h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
  .form-success p { font-size: 14px; color: var(--ink-muted); }

  /* HOURS BOX */
  .hours-box { margin-top: 2rem; padding: 20px; background: var(--cyan-light); border-radius: var(--r-md); border: 1px solid var(--cyan-mid); }
  .hours-box-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
  .hours-box-text { font-size: 13px; color: var(--ink-soft); line-height: 1.7; font-weight: 300; }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { display: none; }
    .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-top { flex-direction: column; align-items: flex-start; }
  }
