@charset "utf-8";
/* CSS Document */

/* =========================
   RESET + TOKENS
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg1:#1E3560;         /* Dunkles Logo-Blau */
  --bg2:#2F4F86;         /* Haupt-Blau */
  --text:#ffffff;

  --muted: rgba(255,255,255,.78);

  --card: rgba(255,255,255,.06);
  --card-border: rgba(255,255,255,.12);

  --accent:#F6D94A;      /* Logo-Gelb */
  --accent2:#FFE875;     /* Highlight-Gelb */

  --shadow: 0 12px 30px rgba(0,0,0,.25);
  --radius: 14px;

  --header-bg: rgba(10,26,58,.82);
  --header-border: rgba(255,255,255,.10);
}

body{
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg1);
  line-height: 1.45;
}

/* Basic link safety */
a{ color: inherit; }

/* =========================
   LAYOUT (GLOBAL)
========================= */
.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Optional: narrower content blocks */
.content-narrow{
  width: min(980px, 92%);
  margin-left:auto;
  margin-right:auto;
}

.section{
  padding: 72px 0;
}

.section-alt{
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.section-head{
  text-align:center;
  margin-bottom: 28px;
}

h1, h2, h3{
  letter-spacing: .2px;
}

h2{
  font-size: 2rem;
  margin-bottom: 8px;
}

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

/* =========================
   GLOBAL HEADER (GRID, STABLE)
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
}

/* Stable header layout */
.header-inner{
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 10px 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto; /* logo | nav | burger | cta */
  align-items: center;
  gap: 14px;
}

.site-header .brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo{
  width: 260px;
  max-width: 52vw;
  height: auto;
  display: block;
}

/* Desktop nav centered-ish */
.header-nav{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.header-nav a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}

.header-nav a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.26);
}

.header-cta{
  padding: 12px 16px;
  border-radius: 10px;
  white-space: nowrap;
}

/* =========================
   BURGER + MOBILE MENU
========================= */
.burger{
  display:none;                 /* desktop hidden */
  width:44px;
  height:40px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px;
  cursor:pointer;
}

.burger span{
  display:block;
  width:18px;
  height:2px;
  background:rgba(255,255,255,.92);
  border-radius:2px;
  transition: transform .15s ease, opacity .15s ease;
}

/* Mobile menu panel */
.mobile-menu{
  display:none;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(10,26,58,.96);
  backdrop-filter: blur(10px);
  padding:12px 0;
}

.mobile-menu a{
  display:block;
  padding:12px 16px;
  text-decoration:none;
  font-weight:800;
  color:rgba(255,255,255,.92);
}

.mobile-menu a:hover{
  background:rgba(255,255,255,.06);
}

/* Open state */
.site-header.nav-open .mobile-menu{ display:block; }

/* Burger -> X */
.site-header.nav-open .burger span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.site-header.nav-open .burger span:nth-child(2){
  opacity:0;
}
.site-header.nav-open .burger span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   HERO
========================= */
.hero{
  position: relative;
  overflow: hidden;

  /* Path is relative to /css/style.css */
  background-image: url("/assets/hero/aat_a350.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-color: var(--bg1);
  padding: 42px 0 56px;
}

/* Overlay */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    rgba(4,30,66,0.92),
    rgba(4,30,66,0.86)
  );
  z-index: 0;
  pointer-events: none;
}

/* Optional blur layer */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter: blur(5px);
  z-index: 0;
  pointer-events: none;
}

/* Content above overlay */
.hero .container{ position: relative; z-index: 1; }
.hero .hero-inner{ position: relative; z-index: 1; text-align:center; }

.hero h1{
  font-size: 2.8rem;
  font-weight: 700;
  margin: 10px auto 10px;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.lead{
  max-width: 780px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row{
  display:flex;
  gap: 14px;
  justify-content:center;
  align-items:center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.quick-badges{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 10px;
  margin-top: 10px;
}

.badge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .92rem;
  color: rgba(255,255,255,.88);
}

.micro{
  margin-top:10px;
  font-size:.85rem;
  opacity:.75;
  text-align:center;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 700;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--accent);
  color: var(--bg1);
  box-shadow: var(--shadow);
}

.btn-primary:hover{ background: var(--accent2); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.22);
}

.btn-ghost:hover{
  border-color: rgba(255,255,255,.40);
  background: rgba(255,255,255,.06);
}

/* =========================
   CARDS / GRIDS
========================= */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.card h3{
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p{
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}

.list{
  list-style: none;
  margin-top: 8px;
}

.list li{
  padding-left: 14px;
  position: relative;
  margin: 7px 0;
  color: rgba(255,255,255,.85);
}

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

/* =========================
   CONTACT
========================= */
.contact-box{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

.contact-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* =========================
   FOOTER
========================= */
.footer{
  background: rgba(0,0,0,0.15);
  padding: 24px 20px;
  margin-top: 80px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a{
  color: #cfd9e6;
  text-decoration: none;
}

.footer a:hover{ text-decoration: underline; }

.footer .sep{
  margin: 0 8px;
  color: #6f86a5;
}

.small{ font-size: .92rem; }

/* =========================
   LEGAL PAGES (scoped)
========================= */
.legal-page{
  padding: 56px 0 0;
}

.legal-page .container{
  width: min(1000px, 92%);
  margin: 0 auto;
}

.legal-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px 18px;
  margin: 14px 0;
}

.legal-card h2{ margin-bottom: 8px; }

.legal-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.privacy-section h3{ margin-bottom: 12px; }
.privacy-section ul{ margin-top: 0; }

/* =========================
   SITUATION SELECTOR (Hero)
========================= */
.situation{
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.situation-kicker{
  margin: 0 0 10px;
  font-weight: 800;
  color: rgba(255,255,255,.88);
  letter-spacing: .2px;
}

.situation-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.situation-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
}
.situation-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.30);
}

/* =========================
   SMALL HERO (OBC/Recovery)
========================= */
.hero-small{
  padding: 28px 0 44px;
}

/* =========================
   FLOATING CTA (mobile)
========================= */
.floating-emergency{
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg1);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
  z-index: 9999;
}

@media (min-width: 851px){
  .floating-emergency{ display:none; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }

  .contact-box{
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions{
    justify-content:flex-start;
  }
}

@media (max-width: 600px){
  .hero{ padding: 32px 0 44px; }
  .hero h1{ font-size: 2.05rem; }
  .lead{ font-size: 1rem; }
  .brand-logo{ width: 200px; }

  .situation{ padding: 12px; }
  .situation-row{ gap: 8px; }
  .situation-btn{ width: 100%; max-width: 360px; }
}

/* =========================
   MOBILE HEADER RULES
   -> burger visible, desktop nav hidden,
   -> header CTA hidden on mobile
========================= */
@media (max-width: 850px){
  .header-inner{
    grid-template-columns: auto 1fr auto;  /* logo | spacer | burger */
  }

  .header-nav{ display:none !important; }
  .site-header .header-cta{ display:none !important; }

  .burger{ display:inline-flex; }

  .mobile-menu{ display:none; }
  .site-header.nav-open .mobile-menu{ display:block; }
}

/* =========================
   DESKTOP: mobile menu hidden
========================= */
@media (min-width: 851px){
  .mobile-menu{ display:none !important; }
}

/* =========================
   MOBILE: contact cleanup
========================= */

@media (max-width: 850px){

  /* Telefonnummer im Contact Block ausblenden */
  #contact a[href^="tel:"],
  .contact-box a[href^="tel:"]{
    display:none !important;
  }

}