:root {
  --primary: #3c8d93;
  --secondary: #2e6f73;
  --accent: #e0f7f5;
  --light: #f7f9f9;
  --dark: #1a1a1a;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  scroll-behavior: smooth;
  background: var(--light);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary);
}

.logo span {
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  background: url('bilder/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--secondary);
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 1.5rem;
}

.light-bg {
  background: var(--accent);
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary);
}

h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

/*
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
*/
.grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "card1 card2 card3"
    ".      card4 card5";
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.grid-5 .card:nth-child(1) { grid-area: card1; }
.grid-5 .card:nth-child(2) { grid-area: card2; }
.grid-5 .card:nth-child(3) { grid-area: card3; }
.grid-5 .card:nth-child(4) { grid-area: card4; }
.grid-5 .card:nth-child(5) { grid-area: card5; }

@media (max-width: 900px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "card1 card2"
      "card3 card4"
      "card5 card5";
  }
}

@media (max-width: 600px) {
  .grid-5 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5";
  }
}

.flex-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.flex-5 .card {
  flex: 0 1 320px;
}


.image-round {
  width: 100%;
  border-radius: 15px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem;
  color: var(--primary);
}

.card p {
  margin: 0 1rem 1.5rem;
  font-size: 0.95rem;
}

/* ---------- Kontakt ---------- */
.map iframe {
  border-radius: 12px;
}

.footer {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1a1a1a;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: #9fe7e5;
}

.cookie-banner button {
  margin-left: 1rem;
}
