:root { --blau:#0b3c6f; --blau-hell:#1f6fb5; --hell:#f4f7fb; --text:#1d2733; --weiss:#fff; --rand:#dde4ee; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:"Segoe UI",Arial,sans-serif; color:var(--text); line-height:1.65; background:var(--weiss); }
a { color:var(--blau-hell); }
img { max-width:100%; height:auto; }
.wrap { max-width:1050px; margin:0 auto; padding:0 20px; }
.text { max-width:820px; }

/* Navigation */
.topnav { background:var(--weiss); border-bottom:1px solid var(--rand); position:sticky; top:0; z-index:20; }
.topnav .wrap { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding-top:10px; padding-bottom:10px; }
.brand { color:var(--blau); font-size:1.25rem; font-weight:700; text-decoration:none; }
.menu-toggle, .burger { display:none; }
.menu { list-style:none; display:flex; flex-wrap:wrap; gap:6px 22px; align-items:center; }
.menu a { text-decoration:none; color:var(--text); font-weight:600; padding:6px 0; display:inline-block; }
.menu a:hover, .menu a.aktiv { color:var(--blau-hell); }
.has-sub { position:relative; }
.has-sub > a::after { content:" ▾"; font-size:.75em; }
.sub { list-style:none; display:none; position:absolute; left:-12px; top:100%; min-width:250px; background:var(--weiss); border:1px solid var(--rand); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.12); padding:8px 0; }
.sub a { display:block; padding:7px 16px; font-weight:500; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display:block; }
@media (max-width:860px) {
  .burger { display:block; font-size:1.7rem; cursor:pointer; color:var(--blau); line-height:1; }
  .menu { display:none; width:100%; flex-direction:column; align-items:flex-start; gap:0; }
  .menu-toggle:checked ~ .menu { display:flex; }
  .sub { display:block; position:static; border:0; box-shadow:none; padding:0 0 4px 14px; min-width:0; }
}

/* Header */
header.hero { background:linear-gradient(135deg,var(--blau),var(--blau-hell)); /* Eigenes Bild: background:linear-gradient(rgba(11,60,111,.75),rgba(11,60,111,.75)),url("header.jpg") center/cover; */ color:var(--weiss); text-align:center; padding:70px 20px; }
header.hero.klein { padding:44px 20px; }
.hero .logo { height:130px; width:auto; background:var(--weiss); padding:8px; border-radius:10px; margin-bottom:20px; }
.hero h1 { font-size:clamp(1.8rem,5vw,3rem); margin-bottom:8px; }
.hero p { font-size:1.2rem; max-width:680px; margin:0 auto 24px; }
.hero.klein p { margin-bottom:0; }
.btn { display:inline-block; background:var(--weiss); color:var(--blau); padding:12px 28px; border-radius:30px; font-weight:700; text-decoration:none; border:0; font:inherit; font-weight:700; cursor:pointer; }
.btn:hover { background:var(--hell); }
.btn.blau { background:var(--blau); color:var(--weiss); }
.btn.blau:hover { background:var(--blau-hell); }

/* NAS mit blinkenden LEDs */
.nas { width:280px; margin:40px auto 0; background:#1b2430; border:2px solid #3a4a63; border-radius:12px; padding:14px; box-shadow:0 10px 30px rgba(0,0,0,.35); text-align:left; }
.bay { display:flex; align-items:center; background:#263244; border:1px solid #3a4a63; border-radius:6px; padding:10px 12px; margin-bottom:8px; }
.griff { flex:1; height:10px; margin-right:14px; border-radius:3px; background:repeating-linear-gradient(90deg,#3a4a63 0 6px,#2f3d54 6px 12px); }
.led { width:10px; height:10px; border-radius:50%; margin-left:7px; }
.led.gruen { background:#2ee66b; box-shadow:0 0 8px #2ee66b; animation:blink 1.8s ease-in-out infinite; }
.led.orange { background:#ffa726; box-shadow:0 0 8px #ffa726; animation:blink-schnell .6s steps(1) infinite; }
.bay:nth-child(2) .led.gruen { animation-delay:.4s; } .bay:nth-child(3) .led.gruen { animation-delay:1s; } .bay:nth-child(4) .led.gruen { animation-delay:.7s; }
.bay:nth-child(1) .led.orange { animation-duration:.5s; } .bay:nth-child(2) .led.orange { animation-duration:.9s; } .bay:nth-child(3) .led.orange { animation-duration:.7s; } .bay:nth-child(4) .led.orange { animation-duration:1.1s; }
.nas-fuss { display:flex; justify-content:space-between; align-items:center; margin-top:4px; color:#8fa3bf; font-size:.8rem; font-weight:700; letter-spacing:.1em; }
.nas-fuss .led { margin:0; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.25; } }
@keyframes blink-schnell { 0% { opacity:1; } 50% { opacity:.15; } }
@media (prefers-reduced-motion:reduce) { .led { animation:none !important; } }

/* Inhalt */
section { padding:56px 0; }
section.hell { background:var(--hell); }
h2 { color:var(--blau); font-size:1.8rem; margin-bottom:18px; }
h3 { color:var(--blau); margin:22px 0 8px; }
.mitte { text-align:center; } .mitte.text { margin-left:auto; margin-right:auto; }
p { margin-bottom:14px; }
.text ul, .karte ul { padding-left:22px; margin-bottom:14px; }
li { margin-bottom:6px; }
.karten { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; margin:22px 0; }
.karte { background:var(--weiss); border-radius:12px; padding:26px; box-shadow:0 2px 10px rgba(0,0,0,.08); border-top:4px solid var(--blau-hell); }
.karte h3 { margin-top:0; }
.karte .mehr { display:inline-block; margin-top:6px; font-weight:700; }
.hell .karte { background:var(--weiss); }
a.karte { text-decoration:none; color:var(--text); display:block; }
a.karte:hover { box-shadow:0 6px 18px rgba(11,60,111,.18); }
.hinweis { background:#eaf3fc; border-left:4px solid var(--blau-hell); padding:14px 18px; border-radius:6px; margin:18px 0; }
.preis { font-size:2rem; font-weight:700; color:var(--blau); }
table { border-collapse:collapse; width:100%; margin:16px 0; }
td, th { padding:12px 14px; border-bottom:1px solid var(--rand); text-align:left; }
td:last-child { text-align:right; font-weight:700; white-space:nowrap; }
.zwei { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:30px; align-items:start; }
.logos { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.zert img { border-radius:8px; box-shadow:0 4px 18px rgba(0,0,0,.15); }

/* Kontakt */
.kontakt { max-width:560px; margin:0 auto; }
.kontakt label { display:block; font-weight:600; margin:14px 0 4px; }
.kontakt input, .kontakt textarea { width:100%; padding:10px 12px; border:1px solid #c3cddb; border-radius:6px; font:inherit; }
.kontakt textarea { min-height:130px; resize:vertical; }
.kontakt button { margin-top:18px; }
.direkt { text-align:center; margin-bottom:12px; }

footer { background:var(--blau); color:var(--weiss); text-align:center; padding:28px 20px; font-size:.95rem; }
footer a { color:var(--weiss); margin:0 10px; }
footer p { margin-bottom:8px; }
