/* build: MR-2026-02-03-09 */

/* =========================
   THEME / RESET
   ========================= */
:root{
  --primary:#083194;
  --accent:#de4c01;

  --text:#0f172a;
  --muted:#556176;

  --bg:#ffffff;
  --bg-soft:#f6f8fc;

  --line:#dfe6f2;

  --radius:18px;
  --shadow:0 10px 30px rgba(2,6,23,.06);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 12px}
ul{margin:0;padding:0;list-style:none}

/* Sicherheit gegen horizontales Scrollen */
html, body{overflow-x:hidden}

/* =========================
   LAYOUT: ONE TRUE CONTAINER
   ========================= */
.container{
  max-width:1200px;
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}

.section{
  padding:56px 0;
}

/* Section-Alt: KEIN full width background!
   Stattdessen bekommt der Container die Fläche (boxed). */
.section-alt{
  background:transparent;
}

.section-alt .container{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding-top:32px;
  padding-bottom:32px;
  box-shadow:0 6px 18px rgba(2,6,23,.03);
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,h2,h3{margin:0 0 12px;letter-spacing:-.02em}
h1{
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.1;
}
h2{
  font-size:clamp(22px, 2.2vw, 30px);
  line-height:1.2;
}
h3{
  font-size:18px;
  line-height:1.25;
}

.lead{color:var(--muted);max-width:60ch}
.subhead{color:var(--muted);margin-top:-4px}

.kicker{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.02em;
  text-transform:none;
  margin-bottom:8px;
}

/* =========================
   HEADER (boxed like content)
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
}

/* Linie nur in Container-Breite */
.site-header .container{
  border-bottom:1px solid var(--line);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

/* LOGO */
.logo{
  font-family:inherit;
  font-weight:700;
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.1;
  color:var(--primary);
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{color:var(--muted);font-weight:600}
.nav a:hover{color:var(--text)}
.nav a.btn{color:#fff}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  box-shadow:0 2px 10px rgba(2,6,23,.04);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--primary);
  border-color:transparent;
  color:#fff;
  box-shadow:0 10px 20px rgba(8,49,148,.22);
}
.btn-ghost{
  background:#fff;
  border-color:var(--line);
  color:var(--text);
}

/* =========================
   BURGER + MOBILE MENU
   ========================= */
.burger{
  display:none;
  background:#fff;
  border:1px solid var(--line);
  padding:10px;
  border-radius:12px;
  flex-direction:column;     /* WICHTIG: Linien untereinander */
  gap:5px;                   /* Abstand statt margin */
  width:44px;
  height:44px;
  box-shadow:0 6px 16px rgba(2,6,23,.06);
}
.burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:0;                  /* margin raus, wir nutzen gap */
  border-radius:2px;
}


/* Mobile-Menü: alle Links als Button-Kacheln */
.mobile-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:12px;

  background:#fff;                 /* wie Tel-Kachel */
  border:1px solid var(--line);

  color:var(--text);               /* deutlicher Text */
  font-weight:800;
}


/* Text & Inhalt IM Button zentrieren */
.mobile-nav a{
  justify-content:center;   /* horizontal mittig */
  text-align:center;        /* Text mittig */
}

/* Einheitlicher Hover-Effekt für ALLE Einträge */
.mobile-nav a:hover{
  box-shadow:0 8px 18px rgba(2,6,23,.08);
  transform:translateY(-1px);
}

/* Touch-Feedback auf Mobile */
.mobile-nav a:active{
  transform:scale(.99);
}

/* CTA im Mobile-Menü (Angebot anfordern) */
.mobile-nav a.btn{
  background:var(--primary);
  border-color:transparent;
  color:#fff;
  box-shadow:0 10px 20px rgba(8,49,148,.20);
}

/* Telefonnummer optisch ruhig, aber mittig */
.mobile-nav .tel{
  justify-content:center;
  border:1px solid rgba(8,49,148,.25);
  color:var(--primary);
  font-weight:900;
}



/* Hover/Touch Feedback */
.mobile-nav a:active{
  transform:scale(.99);
}

/* hidden Attribut sicher durchsetzen */
.mobile-nav[hidden]{display:none !important;}


/* Damit Mobile-Nav auch “boxed” ist: wir hängen sie optisch an den Container */
.site-header .mobile-nav{
  padding-left:24px;
  padding-right:24px;
  border-top:1px solid var(--line);
}

/* =========================
   HERO
   ========================= */
.hero{
  padding:56px 0 24px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.trust{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.trust li{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:#fff;
  font-weight:600;
  font-size:14px;
}

.hero-media{
  min-height:320px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(135deg, rgba(8,49,148,.05), rgba(222,76,1,.06));
  box-shadow:var(--shadow);
}

/* =========================
   CARDS / GALLERY
   ========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:18px;
}

.card{
  display:block;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  background:#fff;
  box-shadow:0 8px 18px rgba(2,6,23,.04);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(2,6,23,.08);
}
.card p{color:var(--muted);margin:8px 0 0}

.row-between{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
}

.link{
  color:var(--primary);
  font-weight:700;
}
.link:hover{text-decoration:underline}

.gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}
.ph{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  border:2px dashed rgba(8,49,148,.25);
  background:#fff;
  color:rgba(15,23,42,.55);
  font-weight:700;
}

/* =========================
   CTA BOX
   ========================= */
.cta{
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  background:linear-gradient(135deg, rgba(8,49,148,.06), rgba(222,76,1,.06));
  box-shadow:0 8px 18px rgba(2,6,23,.04);
}

/* =========================
   FOOTER (boxed like content)
   ========================= */
.site-footer{
  padding:34px 0;
  background:transparent; /* kein Full-Width Balken */
}

/* Linie nur in Container-Breite */
.site-footer .container{
  border-top:1px solid var(--line);
  padding-top:22px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:18px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--muted);
}

.footer-bottom{
  padding-top:12px;
  margin-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2, 1fr)}
}

@media (max-width: 720px){
  .nav{display:none}
  .burger{display:inline-flex;align-items:center;justify-content:center}

  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2, 1fr)}
  .footer-grid{grid-template-columns:1fr}

  /* Logo mobil etwas kompakter */
  .logo{font-size:clamp(22px, 6vw, 30px);}

  /* Section-alt Container: mobile etwas weniger “boxed” padding */
  .section-alt .container{
    padding-top:22px;
    padding-bottom:22px;
  }
}
