/* 
 * Project: WordPress Theme Cleanup (Twenty Twenty-Five)
 * File: custom-style.css
 */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f8fafc;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* Sprachwahl */
.lang-selector {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
}
.lang-select {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* HERO SLIDER */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  color: white;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(34,197,94,0.25));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  height: 100%;
}
.hero-content { max-width: 560px; }
.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #bbf7d0;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
}
.hero h1 span { color: #22c55e; }
.hero-sub {
  font-size: 18px;
  margin: 0 0 24px;
  color: #e5e7eb;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.button.green {
  background: #22c55e;
  color: #022c22;
}
.button.green:hover {
  background: #16a34a;
  transform: translateY(-1px);
}
.button.white {
  background: rgba(255,255,255,0.12);
  color: #f9fafb;
  border-color: rgba(248,250,252,0.4);
}
.button.white:hover {
  background: rgba(255,255,255,0.22);
}

/* Abschnitt-Layout */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.section-header {
  margin-bottom: 24px;
}
.section-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #111827;
}
.section-header p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

/* Beste Strände heute */
.top-beaches {
  background: #f9fafb;
}
.top-beach-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.top-beach-card {
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-beach-name {
  font-weight: 600;
  margin-bottom: 4px;
}
.top-beach-meta {
  font-size: 13px;
  color: #6b7280;
}
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #e5f3ff;
  color: #0369a1;
  margin-right: 4px;
}

/* Strandbereich mit Karte */
.beach-section {
  background: linear-gradient(135deg,#e0f2fe 0%,#f0f9ff 100%);
  border-radius: 24px 24px 0 0;
  margin-top: 24px;
  padding-bottom: 50px;
}
.beach-layout {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 24px;
  align-items: flex-start;
  margin-top: 12px;
}
#map {
  height: 380px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}
.beach-preview {
  background: white;
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
  font-size: 14px;
  color: #4b5563;
  min-height: 200px;
}
.beach-preview h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}
.beach-preview img {
  width: 100%;
  border-radius: 12px;
  margin: 8px 0 12px;
  object-fit: cover;
  max-height: 160px;
}

.filters {
  margin-top: 24px;
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06);
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
  gap: 14px;
  font-size: 14px;
}
.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
}
.filter-group input,
.filter-group select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.beach-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
  gap: 16px;
}
.beach-card {
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
  font-size: 14px;
}
.beach-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.beach-card-name {
  font-weight: 600;
  font-size: 16px;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-green { background:#22c55e; }
.status-yellow { background:#facc15; }
.status-red { background:#ef4444; }

.beach-card-tags {
  margin: 6px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.beach-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 13px;
  color: #0369a1;
  font-weight: 600;
}

/* Teide-Sektion */
.teide-section {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
.teide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 16px;
  margin-top: 12px;
}
.teide-card {
  background: white;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 13px;
  color: #6b7280;
  background: #0f172a;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    padding: 64px 16px;
    align-items: flex-end;
  }
  .beach-section { border-radius: 16px 16px 0 0; margin: 16px 0 0; }
  .beach-layout { grid-template-columns: 1fr; }
  #map { height: 320px; }
}
@media (max-width: 640px) {
  .section { padding: 32px 16px 44px; }
  .top-beach-list { grid-template-columns: 1fr; }
  .beach-list { grid-template-columns: 1fr; }
}
