/* ===========================
   Noahs Arche Pflegedienst
   Stil: Ruhiges Weiß + Marineblau
   =========================== */

/* Grundlayout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #e1e5eb;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  height: 42px;
  width: auto;
  border-radius: 50%;
}

h1 {
  font-size: 1.2rem;
  color: #0b3a6f;
  font-weight: 600;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

nav a {
  color: #0b3a6f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #174f9e;
}

.btn {
  background: #0b3a6f;
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #164b9c;
}

.btn-alt {
  background: #f1f4fa;
  color: #0b3a6f !important;
  border: 1px solid #d5ddee;
}

.btn-alt:hover {
  background: #e6ecf7;
}

/* Hero-Bereich */
.hero {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  padding: 3rem 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero h2 {
  color: #0b3a6f;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  max-width: 950px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 1rem 0;
}

.badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  background: #eef3f9;
  color: #0b3a6f;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.hero-card {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Abschnittsüberschriften */
.section h3 {
  color: #0b3a6f;
  margin-bottom: 1rem;
  text-align: center;
}

/* Kartenbereiche (Leistungen / Werte) */
.section {
  padding: 3rem 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

/* Banner (Pädagogik + Einsatzgebiet) */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 1.5rem auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.banner-image {
  width: 100%;
  display: block;
}

.banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(11,58,111,0.9) 100%);
  color: #fff;
  padding: 1.5rem;
  font-size: 1rem;
  text-align: left;
  border-radius: 0 0 16px 16px;
}

/* Kontakt + Footer */
#kontakt {
  background: #f7f9fc;
}

footer {
  background: #ffffff;
  color: #222;
  padding: 3rem 0 1rem 0;
  border-top: 1px solid #e2e6ef;
  text-align: left;
}

footer .foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

footer strong {
  color: #0b3a6f;
}

footer a {
  color: #0b3a6f;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.subfoot {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #e1e6ee;
  margin-top: 2rem;
  padding-top: 1rem;
}

/* Cookie-Banner */
.cookie-banner {
  background: #0b3a6f;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  z-index: 100;
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cookie-banner a {
  color: #ffda7b;
}

#cookie-accept {
  background: #ffda7b;
  border: none;
  color: #0b3a6f;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 1rem;
}

#cookie-accept:hover {
  background: #ffd84d;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
  }
  .banner-text {
    position: static;
    background: none;
    color: #222;
    padding: 1rem 0 0 0;
    text-align: center;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  footer .foot {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
