/* =========================
   RESET & BASIS
========================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 16px; }

body{
  margin: 0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",
    Roboto,Helvetica,Arial,sans-serif;
  color: #e6eaf0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(0,180,255,.15), transparent 60%),
    radial-gradient(1000px 500px at 90% 0%, rgba(0,255,180,.12), transparent 55%),
    #05070c;
  line-height: 1.6;
}

/* =========================
   TYPO
========================= */
a{ color: inherit; text-decoration: none; }
a:hover{ opacity:.95; }

h1,h2,h3{ letter-spacing:-.4px; line-height:1.25; }
h1{ font-size:clamp(2rem,4vw,2.6rem); margin:0 0 12px; }
h2{ font-size:1.5rem; margin:0 0 12px; }

.muted{ color:#a9b0c0; }

/* =========================
   LAYOUT
========================= */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* =========================
   HEADER
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(
    to bottom,
    rgba(6,10,20,.85),
    rgba(6,10,20,.6)
  );
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
}

/* Logo */
.brand{
  display:flex;
  align-items:center;
}
.site-logo{
  height:64px;
  width:auto;
  display:block;
}

/* =========================
   NAV DESKTOP
========================= */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Dropdown */
.dropdown{ position:relative; }

.dropdown-btn{
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#e6eaf0;
  font-weight:800;
  cursor:pointer;
}
.dropdown-btn:hover{
  background:rgba(255,255,255,.08);
}

.dropdown-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:260px;
  padding:10px;
  background:rgba(10,14,28,.98);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  display:none;
}
.dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}
.dropdown-menu a:hover{
  background:rgba(255,255,255,.06);
}
.dropdown.open .dropdown-menu{ display:block; }

/* Kontakt Button */
.nav-contact-btn{
  padding:8px 14px;
  border-radius:12px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(
    135deg,
    rgba(0,255,180,.18),
    rgba(0,180,255,.18)
  );
}
.nav-contact-btn:hover{
  background:linear-gradient(
    135deg,
    rgba(0,255,180,.28),
    rgba(0,180,255,.28)
  );
}

/* =========================
   MOBILE NAV
========================= */
.nav-toggle{
  display:none;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#e6eaf0;
  font-size:1.2rem;
  cursor:pointer;
}

.nav-mobile{
  background:rgba(6,10,20,.88);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(255,255,255,.06);
}
.nav-mobile-inner{
  display:grid;
  gap:10px;
  padding:14px 20px 18px;
}
.nav-mobile a{
  padding:12px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  font-weight:800;
}
.nav-mobile a:hover{
  background:rgba(255,255,255,.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:860px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

@media (max-width:768px){
  .site-logo{ height:52px; }
}

/* =========================
   Kontaktseite – Fix Styling
   ========================= */

.page-narrow{
  max-width: 760px;
  padding: 40px 20px;
}

/* Info-Box auf Kontakt */
.info-box{
  margin-top: 14px;
}

/* Formular Layout */
.form-grid{
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.form-grid label{
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: #e6eaf0;
}

/* Inputs / Textarea Dark */
.form-grid input,
.form-grid textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #e6eaf0;
  outline: none;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder{
  color: rgba(230,234,240,.55);
}

.form-grid textarea{
  resize: vertical;
  min-height: 140px;
}

/* Focus */
.form-grid input:focus,
.form-grid textarea:focus{
  border-color: rgba(0,255,180,.35);
  box-shadow: 0 0 0 3px rgba(0,255,180,.12);
}

/* Checkbox */
.checkbox{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .95rem;
  color: #cfd6e4;
}

.checkbox input[type="checkbox"]{
  margin: 4px 0 0 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox span{
  line-height: 1.4;
}

/* Actions (Buttons + Hinweis) */
.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.small-note{
  font-size: .9rem;
}

/* Buttons – Text immer weiß */
.nav-contact-btn{
  color: #fff !important;
}

/* Secondary Button */
.nav-contact-btn.secondary{
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
.nav-contact-btn.secondary:hover{
  background: rgba(255,255,255,.08) !important;
}
