/* ============================================================
   Hagendorn IT – gemeinsame Styles für ALLE Seiten
   (Farben, Grundlayout, Menü, Buttons, Fußzeile)
   ============================================================ */
:root{
  --bg:#050607;
  --bg2:#0d1117;
  --card:#111722;
  --card2:#151d2a;
  --text:#f6f7fb;
  --muted:#aeb7c4;
  --soft:#d7dde7;
  --orange:#ff6747;
  --orange2:#ff8a35;
  --green:#8be9b4;
  --line:rgba(255,255,255,.10);
  --shadow:0 24px 70px rgba(0,0,0,.48);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:100px}

body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(255,103,71,.17), transparent 60%),
    radial-gradient(850px 480px at 90% 12%, rgba(255,138,53,.10), transparent 60%),
    linear-gradient(180deg, #050607 0%, #0b0f16 48%, #07090d 100%);
  min-height:100%;
}

a{color:inherit}

:focus-visible{outline:2px solid var(--orange); outline-offset:3px; border-radius:6px}

.skip{
  position:absolute; left:-9999px; top:8px; z-index:100;
  background:var(--orange); color:#fff; padding:10px 14px; border-radius:10px; font-weight:800;
}
.skip:focus{left:12px}

/* ---------- Hinweisleiste ---------- */
.notice{
  background:linear-gradient(90deg, rgba(255,103,71,.20), rgba(255,138,53,.10));
  border-bottom:1px solid rgba(255,103,71,.30);
  font-size:14px;
}
.notice a{
  display:block;
  max-width:var(--max);
  margin:0 auto;
  padding:10px 24px;
  text-decoration:none;
  text-align:center;
  color:#fff;
  font-weight:650;
}
.notice strong{color:var(--orange)}
.notice a:hover span{text-decoration:underline}

/* ---------- Navigation ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(0,0,0,.92);
  border-bottom:1px solid rgba(255,103,71,.25);
  backdrop-filter:blur(14px);
}

.nav{
  max-width:var(--max);
  margin:0 auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:12px 24px;
}

.brand{display:flex; align-items:center; min-width:200px}
.brand img{height:58px; width:auto; display:block; object-fit:contain}

.links{
  display:flex;
  align-items:center;
  gap:22px;
  color:#d9dee8;
  font-weight:650;
  font-size:15px;
}
.links a{text-decoration:none; opacity:.88}
.links a:hover{opacity:1; color:var(--orange)}
.links a.hot{opacity:1; color:var(--orange)}

.actions{
  display:flex;
  align-items:center;
  gap:12px;
  color:#d8dde6;
  font-size:14px;
  white-space:nowrap;
}
.phone{opacity:.84; text-decoration:none}
.phone:hover{opacity:1; color:var(--orange)}

.menu-btn{
  display:none;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  border-radius:11px;
  width:46px; height:46px;
  cursor:pointer;
}
.menu-btn svg{display:block; margin:auto}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:11px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(255,103,71,.65);
  background:transparent;
  color:#fff;
}
.btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  box-shadow:0 14px 32px rgba(255,103,71,.23);
}
.btn.primary:hover{filter:brightness(1.08)}
.ghost{background:rgba(255,255,255,.045); border-color:rgba(255,255,255,.16)}
.ghost:hover{border-color:rgba(255,103,71,.65)}

footer{border-top:1px solid rgba(255,255,255,.10); color:#9fa9b8}
.foot{
  max-width:var(--max);
  margin:0 auto;
  padding:24px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  font-size:14px
}
.foot a{text-decoration:none; color:#cbd3df}
.foot a:hover{color:var(--orange)}

/* Platzhalter, damit beim Laden nichts springt */
#site-header{min-height:131px}

/* ---------- Responsive Menü ---------- */
@media (max-width:1060px){
  .links{gap:16px; font-size:14px}
  .phone{display:none}
}

@media (max-width:900px){
  #site-header{min-height:119px}
  .menu-btn{display:block}
  .links{
    display:none;
    position:absolute;
    left:0; right:0; top:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#050607;
    z-index:30;
    border-bottom:1px solid rgba(255,103,71,.25);
    padding:8px 24px 16px;
  }
  .links.open{display:flex}
  .links a{padding:14px 0; border-bottom:1px solid var(--line); font-size:16px}
  .links a:last-child{border-bottom:0}
  .brand img{height:46px}
  .nav{min-height:76px; position:relative}
}

@media (max-width:620px){
  #site-header{min-height:140px}
  .actions .btn{display:none}
  .brand img{height:40px}
  .brand{min-width:0}
  .nav{padding-inline:16px}
  .notice a{padding-inline:16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}
