    :root {
      --primary: #004b8d;
      --primary-dark: #003562;
      --accent: #f9a825;
      --bg-light: #f5f5f5;
      --text: #222;
      --text-muted: #666;
      --max-width: 1100px;
    }
    * { box-sizing: border-box; }
    body { margin:0; font-family: system-ui, sans-serif; color: var(--text); background: #fff; line-height:1.6; }
    a { color: inherit; text-decoration: none; }
    img { max-width:100%; height:auto; display:block; }
    header, footer, section { width: 100%; }
    header { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 100; }
    .nav-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; padding: 0.35rem 0.5rem;}   
    .container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
    .topbar { background: var(--primary-dark); color: #fff; font-size: 0.9rem; padding: 0.3rem 0; display:none;}
    .topbar a { white-space: nowrap;}
    .topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
    .topbar .container > div:last-child{ display: flex; flex-wrap: wrap;gap: 0.35rem 0.6rem;}
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; }
    .logo { font-weight: bold; font-size: 1.2rem; color: var(--primary-dark); }
    .logo .sub { display: block; font-size: 0.85rem; color: var(--text-muted); }
    nav ul { list-style: none; display: flex; gap: 1rem; margin:0; padding:0; }
    nav a { padding-bottom: 0.2rem; position: relative; }
    nav a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background: var(--accent); transition: width 0.2s ease; }
    nav a:hover::after { width:100%; }
    .cta-nav { background: var(--accent); color: #222; padding: 0.45rem 0.9rem; border-radius: 999px; font-weight:600; }
    .hero { 
        background: linear-gradient(135deg, rgba(0,75,141,0.9), rgba(0,53,98,0.9)), url('img/hero-placeholder.jpg'); 
        color:#fff; 
        padding:4rem 0 3.5rem; 
        background-attachment: fixed; 
        background-position: bottom; 
        background-size: cover;
        opacity: 0.7;
    }
    .hero .container { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin:0;  }
    .hero p { margin:1rem 0; font-size:1.1rem; }
    .btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 999px; font-weight:600; font-size:1rem; margin:0.5rem; cursor: pointer; }
    .btn-primary { background: var(--accent); color: #222; }
    .btn-secondary { background: transparent; border: 2px solid #fff; color: #fff; }
    section { padding: 3rem 0; }
    h2 { text-align: center; color: var(--primary-dark); margin-bottom: 0.5rem; }
    .subtitle { text-align: center; color: var(--text-muted); margin: 0 auto 2rem; max-width: 700px; }
    .services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
    .service { background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); overflow: hidden; display: flex; flex-direction: column; }
    .service .img { background: #ddd url('img/dummy.jpg') center/cover no-repeat; height: 180px; filter: brightness(0.98); transition: transform 0.35s ease, filter 0.35s ease;}
    .service:hover .img {transform: scale(1.08);filter: brightness(1.05);}
    .service .content { padding: 1rem; flex-grow: 1; }
    .service h3 { margin: 0 0 0.5rem; color: var(--primary-dark); }
    .service p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
    .cta-block { background: var(--primary); color: #fff; border-radius: 12px; padding: 1.8rem 1rem; text-align: center; }
    .cta-block h3 { margin: 0; font-size: 1.4rem; }
    .cta-block p { margin: 0.7rem 0 1.5rem; font-size: 1.05rem; }
    .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
    .feature { background: #fff; border-radius: 8px; padding: 1.2rem; border: 1px solid #e6ecf2; }
    .feature h4 { margin: 0 0 0.3rem; color: var(--primary-dark); }
    .feature p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
    .about { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    .contact { background: var(--bg-light); border-radius: 8px; padding: 1.5rem; }
    .contact h3 { margin-top:0; }
    .contact p { margin: 0.4rem 0; }
    footer { background: #111; color: #ccc; font-size: 0.85rem; padding: 1.5rem 0; }
    footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
    footer a { color: #ccc; text-decoration: underline; }
    
    @media (max-width: 768px) {
    nav ul {display: none; flex-direction: column; width: 100%; gap: 0.6rem; padding: 0.8rem 0 0.2rem;margin-top: 0.6rem;border-top: 1px solid #e0e0e0;}
    nav ul.open {display: flex;}
    .nav-toggle {display: block;margin-left: auto;}
    .cta-nav {display: inline-block;width: fit-content;background:none;}
    }
    
    /* ===== Unterseiten (neu) ===== */

.sub-hero{
  background:
    linear-gradient(135deg, rgba(0,75,141,0.92), rgba(0,53,98,0.92)),
    var(--hero-image, url('../img/hero-placeholder.jpg')) center/cover no-repeat;
  color:#fff;
  padding: 3.2rem 0 2.8rem;
}

.sub-hero h1{
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.sub-hero p{
  margin: 0.2rem 0 1.4rem;
  font-size: 1.05rem;
  color: #e9eef6;
  max-width: 820px;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:0.8rem;
}

.lead{
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 900px;
}

.section-title{
  text-align:center;
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
  font-size: 1.7rem;
}

.section-subtitle{
  text-align:center;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  max-width: 780px;
}

.subpage-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card{
  background:#fff;
  border-radius:12px;
  border:1px solid #e6ecf2;
  padding: 1.25rem 1.35rem;
}

.card h3{
  margin: 0 0 0.6rem;
  color: var(--primary-dark);
}

.muted{ color: var(--text-muted); }

.checklist{
  list-style:none;
  padding:0;
  margin: 1rem 0 0;
}

.checklist li{
  position:relative;
  padding-left: 1.6rem;
  margin: 0.55rem 0;
  color: var(--text-muted);
}

.checklist li::before{
  content:"\2714";
  position:absolute;
  left:0;
  top:0;
  color: var(--accent);
}

/* 2-Spalten USP Bereich */
.subpage-usp{
  display:grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 1.8rem;
  align-items:start;
}

/* Responsive */
@media (max-width: 900px){
  .subpage-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-usp{ grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px){
  .subpage-grid{ grid-template-columns: minmax(0, 1fr); }
}

/* =========================
   Navigation + Submenu
   ========================= */

/* Logo als Link: nicht wie Link aussehen */
.logo {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* Dropdown Parent */
.has-sub { position: relative; }

/* Dropdown Arrow (Unicode-sicher) */
@media (min-width: 900px) {
  .has-sub > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
  }

}

/* --- Mobile / Tablet Navigation (Burger + Fullscreen Overlay) --- */
@media (max-width: 768px) {

  /* Burger sichtbar */
  .nav-toggle {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 202;
  }

  .nav-toggle::before {
    content: "\2630"; /* ? */
  }

  /* Hauptmenü als Fullscreen Overlay */
  nav ul {
    position: fixed;
    inset: 0;                  /* top/left/right/bottom: 0 */
    background: #fff;
    padding: 5.5rem 1.5rem 2rem; /* Platz für Header/Logo */
    margin: 0;
    list-style: none;

    display: none;
    flex-direction: column;
    gap: 0.8rem;

    overflow-y: auto;
    z-index: 200;
  }

  nav ul.open { display: flex; }

  /* Links gut klickbar */
  nav ul > li > a {
    font-size: 1.1rem;
    padding: 0.4rem 0;
  }

  /* CTA im Menü */
  .cta-nav {
    margin-top: 1rem;
    display: inline-block;
    width: fit-content;
    background: none;
  }

  /* Submenu: auf Mobile IMMER sichtbar, sobald Menü offen ist */
  .submenu {
    list-style: none;
    margin: 0.35rem 0 0;
    padding-left: 1rem;
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }

  .submenu li a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    white-space: normal;
  }
}

/* --- Desktop Navigation (Hover Dropdown) --- */
@media (min-width: 900px) {

  /* Submenu als Dropdown */
  .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    z-index: 1000;
    padding: 0.25rem 0;
  }

  /* Hover + Tastatur-Fokus -> offen */
  .has-sub:hover > .submenu,
  .has-sub:focus-within > .submenu {
    display: block;
  }

  /* Hover-Bridge gegen "Zuklappen beim rüberfahren" */
  .has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;
    background: transparent;
  }

  /* Größere Trefferflächen */
  .submenu li a {
    display: block;
    padding: 0.75rem 1rem;
    white-space: nowrap;
  }

  .submenu li a:hover {
    background: #f3f3f3;
  }
}
