:root { 
  --bg:#0b1a27; 
  --fg:#e8eef4; 
  --muted:#94a3b8; 
  --accent:#59a1ff; 
  --card:#112233;
}

* { box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,sans-serif;
  background:#0a0f14;
  color:var(--fg);
}

a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{ max-width:1100px; margin:0 auto; padding:1.2rem; }

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:.6rem 0;
}

.brand{ display:flex; gap:.6rem; align-items:center; }

.brand-logo{
  width:36px; height:36px; border-radius:8px;
  background:linear-gradient(135deg,#14324a,#2d4e6e);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; color:#b7dcff;
}

.nav ul{
  display:flex; gap:1rem; list-style:none;
  margin:0; padding:0; flex-wrap:wrap;
}

.lang{ display:flex; gap:.5rem; align-items:center; }
.lang a img{
  width:22px; height:14px; border-radius:2px;
  border:1px solid #1e293b; display:block;
}

/* === HEADER / BANNER === */
.header{
  position: relative;
  background: url('../img/header.jpg') center 35% / cover no-repeat;
  min-height: 42vh;
  padding: 60px 0;
  border-bottom: 1px solid #16324a;

  /* Fade-in */
  opacity: 0;
  animation: fadeInHeader 1.6s ease-in-out forwards;
  animation-delay: 0.2s;
}
@keyframes fadeInHeader{
  from { opacity:0; transform: translateY(-10px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Gradient-Overlay: unten dunkler für bessere Lesbarkeit */
.header::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    180deg,
    rgba(11,17,25,0.05) 0%,
    rgba(11,17,25,0.55) 65%,
    rgba(9,15,22,0.80) 100%
  );
  pointer-events:none;
}

/* === HEADER-WORTLOGO (rechtsseitig) === */
.header::after{
  content:"";
  position:absolute;
  top:25%;
  left:75%;               /* mittig in der rechten Hälfte */
  transform:translateX(-50%);
  width:340px;
  height:80px;
  background:url('../img/ndlogo.png') center/contain no-repeat;
  opacity:0.95;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.6));
  pointer-events:none;
  z-index:2;
}
@media (max-width:900px){
  .header::after{
    width:260px;
    height:60px;
    top:27%;
    left:70%;
  }
}
@media (max-width:600px){
  .header::after{
    width:200px;
    height:48px;
    top:30%;
    left:65%;
  }
}

.header h1{
  margin:0; font-size:2rem;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.header p{
  color:#dce4ed;
  margin:.5rem 0 0;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}

/* === GRID + CARDS === */
.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin:2.2rem 0;
}

.card{
  background:#13263a;
  padding:1rem;
  border:1px solid #17324a;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);

  /* sanfter Fade-in + Hover */
  opacity:0;
  transform: translateY(10px);
  animation: cardFadeIn .8s ease forwards;
  transition: transform .25s ease, background .25s ease;
}
.card:nth-child(2){ animation-delay:.2s; }
.card:nth-child(3){ animation-delay:.4s; }
@keyframes cardFadeIn{
  to { opacity:1; transform: translateY(0); }
}
.card:hover{
  transform: translateY(-4px);
  background:#16324a;
}

.card h3{ margin:.2rem 0 .5rem; }

/* === FOOTER === */
.footer{ border-top:1px solid #17324a; margin-top:2rem; }
.footer small{ color:var(--muted); }

/* === NOTICE / BUTTON === */
.notice{ font-size:.9rem; color:#9fb3c8; margin-top:.5rem; }

.button{
  display:inline-block;
  padding:.7rem 1.2rem;
  border-radius:10px;
  background:#254e78;
  border:1px solid #366da7;
  color:#e8eef4;
  font-weight:500;
  transition: background .2s ease;
}
.button:hover{ background:#3b6fa7; }

/* === RESPONSIVE === */
@media (max-width:900px){
  .grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .grid{ grid-template-columns:1fr; }
  .header{
    min-height:38vh;
    padding:36px 0;
    background-position:center 25%;
  }
}

/* === FLEET PAGE (Bilder + Text) === */
.fleet-section{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}
.fleet-section .text{
  font-size: 1rem;
  line-height: 1.6;
}
.fleet-section h4{
  margin-top: 0;
}
.fleet-section img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  border: 1px solid #17324a;
  image-rendering: auto;
  transform: translateZ(0); /* glättet Skalierung */
  transition: transform .25s ease;
}
.fleet-section img:hover{
  transform: scale(1.02);
}

/* Variante: abwechselnde Reihenfolge auf Desktop hübscher */
.fleet-section--reverse{
  grid-template-columns: 1fr 1fr;
}
.fleet-section--reverse .text{ order: 2; }
.fleet-section--reverse img { order: 1; }

@media (max-width: 800px){
  .fleet-section,
  .fleet-section--reverse{
    grid-template-columns: 1fr;
  }
  .fleet-section--reverse .text,
  .fleet-section--reverse img { order: initial; }
}
/* === CREW PAGE === */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.crew-card {
  background: var(--card);
  padding: 1rem;
  border: 1px solid #17324a;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  text-align: center;
}

.crew-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #254e78;
  margin-bottom: .8rem;
}

.crew-card h4 {
  margin: .4rem 0 .2rem;
  font-size: 1.05rem;
}

.crew-card .role {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.operations-map {
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  margin: 1.2rem auto 0;
  display: block;
  border: 1px solid #17324a;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
/* === OPERATIONS MAP === */
.operations-map {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 2rem auto;
  border-radius: 12px;
  border: 1px solid #17324a;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operations-map:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(80, 150, 255, 0.3);
}

/* Für mobile Geräte: kleinere Darstellung */
@media (max-width: 600px) {
  .operations-map {
    max-width: 100%;
    margin: 1.2rem 0;
  }
}
/* === HANGAR NEWS === */
.news-list{
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.news-item{
  background: #13263a;
  border: 1px solid #17324a;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

.news-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .4rem;
  border-bottom: 1px solid #17324a;
  padding-bottom: .4rem;
}

.news-item h4{
  margin: 0;
  font-size: 1.05rem;
}

.news-date{
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
}

.news-body p{
  margin: .6rem 0 0;
  line-height: 1.6;
}

/* === BOOKS PAGE === */
.books-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.book-card{
  background:#13263a;
  border:1px solid #17324a;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  display:flex;
  flex-direction:column;
}
.book-cover{
  position:relative;
  background:#0e1c2a;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio: 3 / 4;
}
.book-cover img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.badge{
  position:absolute;
  top:.6rem;
  left:.6rem;
  font-size:.8rem;
  padding:.25rem .5rem;
  border-radius:.5rem;
  border:1px solid #2a4f75;
  background:#17324a;
  color:#dbe7f5;
}
.badge-ok{ background:#1f4c2a; border-color:#2d6a3b; }
.badge-soon{ background:#4a3f17; border-color:#6a5a2d; }

.book-body{
  padding: .9rem;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.book-title{ margin:.2rem 0; font-size:1.05rem; }
.book-blurb p{ margin:.4rem 0; line-height:1.55; }
.book-meta{ color: var(--muted); margin:.2rem 0 0; }

.book-actions{
  margin-top:.4rem;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  align-items:center;
}
.btn-ghost{
  font-size:.9rem;
  color: var(--muted);
  border:1px dashed #365374;
  padding:.35rem .6rem;
  border-radius:.5rem;
}
	  
/* === CONTACT FORM === */
.nd-form{ margin-top: .8rem; }
.nd-form .form-row{ display:flex; flex-direction:column; gap:.35rem; margin:.8rem 0; }
.nd-form label{ font-size:.95rem; color:#c7d3e1; }
.nd-form input[type="text"],
.nd-form input[type="email"],
.nd-form textarea{
  background:#0f1e2b; color:#e8eef4; border:1px solid #17324a;
  border-radius:8px; padding:.6rem .7rem;
}
.nd-form textarea{ resize:vertical; min-height: 7rem; }
.nd-form .form-actions{ margin-top: 1rem; }

.alert{ padding:.8rem; border-radius:10px; margin:.8rem 0; }
.alert.ok{ background:#10341f; border:1px solid #255b37; color:#daf1e0; }
.alert.err{ background:#341010; border:1px solid #5b2525; color:#f1dada; }

/* Honeypot verstecken (visuell & a11y) */
.nd-form .hp{ position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }
	  
/* === LEGAL PAGE === */
.legal-section { margin-top: 1.2rem; }
.legal-section h4 { margin: .2rem 0 .4rem; }
.legal-section p, .legal-section ul { line-height: 1.6; }
	  
/* Brand bekommt auf großen Screens mehr Breite -> Menü rutscht nach rechts */
@media (min-width: 960px){
  .nav{ gap: 1.2rem; }          /* etwas Luft zwischen den 3 Header-Spalten */
  .brand{ flex: 1 0 520px; }     /* min. 520px für Logo+Claim reservieren */
}