/* GDV – Gregor Droscha Vermietung: Stylesheet */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #003366;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to bottom, #ffffff 0%, #e0f0ff 100%);
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3rem;
  margin: 0;
  color: #0055aa;
}

h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.subtitle {
  font-size: 1.2rem;
  color: #003366;
  margin-top: 0.5rem;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  background: linear-gradient(to bottom, rgba(0,85,170,0.1), rgba(240,248,255,1));
}

.yacht-box {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yacht-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.yacht-box h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
}

.yacht-box a.cta-button {
  background-color: #0055aa;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 1.2rem;
  transition: background-color 0.3s;
}

.yacht-box a.cta-button:hover {
  background-color: #003f80;
}

.hinweis {
  text-align: center;
  font-size: 0.95rem;
  color: #222;
  line-height: 1.4;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #f0f8ff;
  font-size: 0.9rem;
  margin-top: 2rem;
}

footer nav a {
  color: #0055aa;
  margin: 0 1rem;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 1rem;
  }

  .yacht-box img {
    height: auto;
    max-height: 300px;
  }
}
