﻿* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; background: #f4f7fb; }

/* HEADER */
header {
  background: linear-gradient(135deg, #1a3f7a 0%, #2e5fa3 60%, #4a7fc1 100%);
  color: white;
  text-align: center;
  padding: 60px 20px 50px;
}

header .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 1.15rem;
  color: #c8dcf5;
  margin-bottom: 30px;
}

header .header-claim {
  display: inline-block;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 12px 24px;
  margin-bottom: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.header-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* MAIN */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* SECTION TITLE */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3f7a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2e5fa3;
}

/* DETAILS GRID */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.detail-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #2e5fa3;
}

.detail-card .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 6px;
}

.detail-card .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3f7a;
}

.detail-card-contact {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-card-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

/* HERO FOTO */
.hero-photo {
  margin-bottom: 50px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  cursor: zoom-in;
}

.hero-photo img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-photo:hover img {
  transform: scale(1.02);
}

/* AUSSTATTUNG */
.amenities {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.amenity {
  background: white;
  border-radius: 10px;
  padding: 14px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #2e5fa3;
}

.amenity span.icon {
  font-size: 1.4rem;
}

/* GRUNDRISS */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 600px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.plan-card .caption {
  padding: 14px 16px 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a3f7a;
  background: #f0f5ff;
  border-bottom: 2px solid #2e5fa3;
}

.plan-card img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}

.photos-note {
  margin-top: -24px;
  margin-bottom: 40px;
  color: #555;
  font-size: 0.95rem;
}

/* KONTAKTFORMULAR */
.contact-block {
  display: block;
}

.contact-block.visible {
  display: block;
}

.contact-section {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info p {
  margin-bottom: 14px;
  font-size: 1rem;
}

.contact-info a {
  color: #2e5fa3;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 2px;
}

.contact-note {
  margin-top: 20px;
  color: #555;
  font-size: 0.95rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d5e0f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #f9fafc;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #2e5fa3;
  background: white;
}

form textarea {
  height: 110px;
  resize: vertical;
}

form button {
  background: linear-gradient(135deg, #1a3f7a, #2e5fa3);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

form button:hover {
  opacity: 0.9;
}

.success-msg {
  display: none;
  background: #e6f4ea;
  border: 1px solid #81c784;
  color: #2e7d32;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.error-msg {
  display: none;
  margin-top: 10px;
  background: #fff4e5;
  border: 1px solid #ffb74d;
  color: #8a5100;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

/* GALERIE */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 50px;
}

@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  background: #e8edf5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* FOOTER */
footer {
  background: #1a3f7a;
  color: #c8dcf5;
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

.footer-link {
  color: #7fb3e8;
}
