/*
Theme Name: Ferienwohnung Gehlberg
Theme URI: https://ferienwohnung-gehlberg.de
Author: Frank
Description: SEO-optimierte Landingpage für Ferienwohnung in Gehlberg (Thüringer Wald)
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: ferienwohnung-gehlberg
*/

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
  line-height: 1.55;
  background: #ffffff;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px; /* << VEEL minder witruimte */
}

/* =========================
   HERO / HEADER
========================= */

.hero-parallax {
  position: relative;
  min-height: 82vh; /* groot, maar geen leegte */
  background-image:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    url("https://ferienwohnung-gehlberg.de/wp-content/uploads/2026/02/gehlberg-in-thueringer-wald.png");
  background-size: cover;
  background-position: center 70%; /* onderkant beter zichtbaar */
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 900px;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 42px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero-content p {
  color: #e5e7eb;
  font-size: 20px;
  margin: 0 0 22px;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: #15803d;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #166534;
  transform: translateY(-1px);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 28px 0; /* << hier zat de meeste witruimte */
}

.section h2 {
  margin: 0 0 10px;
  font-size: 28px;
  text-align: center;
}

.section p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  color: #374151;
  text-align: center;
}

/* =========================
   USP GRID
========================= */

.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; /* compacter */
  margin-top: 20px;
}

.usps div {
  background: #f9fafb;
  border-radius: 10px;
  padding: 16px 18px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* =========================
   CTA SECTION
========================= */

.section.cta {
  padding: 32px 0 40px;
  text-align: center;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #111827;
  color: #d1d5db;
  text-align: center;
  padding: 28px 20px;
  font-size: 14px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .section h2 {
    font-size: 24px;
  }
}

/* =========================
   GLOBAL SPACING RESET
========================= */

section {
  margin: 0;
}

.container {
  padding: 18px 20px;
}

/* =========================
   HEADINGS & TEXT
========================= */

h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* =========================
   SECTIONS (KEY FIX)
========================= */

.section {
  padding: 16px 0; /* was veel te groot */
}

.section + .section {
  padding-top: 6px; /* voorkomt stapeling */
}

/* =========================
   USP GRID
========================= */

.usps {
  margin-top: 12px;
  gap: 12px;
}

.usps div {
  padding: 14px;
  font-size: 15px;
}

/* =========================
   CTA BUTTON SECTION
========================= */

.section.cta,
.section[style*="text-align:center"] {
  padding: 20px 0 26px;
}

/* =========================
   HERO → CONTENT OVERLAP FIX
========================= */

.hero-parallax {
  min-height: 80vh;
}

.hero-content {
  padding-bottom: 20px;
}

/* =========================
   REMOVE EMPTY GAP EFFECT
========================= */

.section:empty {
  display: none;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 18px 20px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .container {
    padding: 14px 16px;
  }

  .section {
    padding: 14px 0;
  }

  p {
    margin-bottom: 8px;
  }
}
