/* =========================================
   Residenz am Mühlenberg – Modernes Design
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0C526F;
  --primary-dark:  #083a50;
  --primary-light: #1880a8;
  --accent:        #e6a830;
  --text:          #1e2d3d;
  --text-muted:    #637080;
  --bg:            #f4f8fb;
  --white:         #ffffff;
  --border:        #dde7ee;
  --shadow:        0 2px 20px rgba(12, 82, 111, 0.1);
  --shadow-lg:     0 8px 40px rgba(12, 82, 111, 0.18);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER / NAV ───────────────────────────────────── */

header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  position: relative;
}

.logo {
  flex-shrink: 0;
}
.logo a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.logo span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
.nav-links a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  line-height: 1;
  transition: var(--transition);
}
.nav-toggle:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── HERO ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,58,80,0.7) 0%, rgba(24,128,168,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(230, 168, 48, 0.92);
  color: #1a2030;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.1rem;
  max-width: 700px;
}
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a2030;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #f0be48;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 168, 48, 0.45);
  text-decoration: none;
  color: #1a2030;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

/* ── LAYOUT ─────────────────────────────────────────── */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.5rem 0; }

.section-header { margin-bottom: 2.5rem; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.8px;
  margin-bottom: 0.6rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── PAGE HEADER (innere Seiten) ────────────────────── */

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 3.5rem 0 3rem;
  color: #fff;
}
.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.page-header p {
  opacity: 0.8;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  max-width: 550px;
}

/* ── FEATURE CARDS ──────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 82, 111, 0.1);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: block;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── HIGHLIGHT STRIP ────────────────────────────────── */

.highlight-strip {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
}
.highlight-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.highlight-strip h2 { font-size: 1.6rem; font-weight: 700; max-width: 500px; }
.highlight-strip p { opacity: 0.8; margin-top: 0.35rem; }

/* ── GALLERY ────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ── FEATURE LIST ───────────────────────────────────── */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.feature-item .fi-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}
.feature-item span { font-size: 0.85rem; color: var(--text-muted); }

/* ── PRICING ────────────────────────────────────────── */

.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-card-header {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 1.5rem;
}
.pricing-card-header h3 { font-size: 1.1rem; font-weight: 700; }
.pricing-card-header p { font-size: 0.82rem; opacity: 0.75; margin-top: 0.2rem; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table th {
  background: rgba(12, 82, 111, 0.07);
  color: var(--primary);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid var(--border);
}
.pricing-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--bg); }
.price-val {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.season-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}
.season-hs { background: #fef3cd; color: #856404; }
.season-zs { background: #d1ecf1; color: #0c5460; }
.season-vs { background: #d4edda; color: #155724; }
.season-wn { background: #f0f0f0; color: #555; }

.pricing-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  margin-top: 2rem;
}
.pricing-note h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; }
.pricing-note ul { padding-left: 1.25rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.9; }

/* ── ACTIVITIES (Willingen page) ────────────────────── */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.activity-card img { width: 100%; height: 200px; object-fit: cover; }
.activity-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.activity-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; }
.activity-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.activity-card a {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* ── CONTACT ────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-card .cc-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.contact-card p, .contact-card address {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
  font-style: normal;
}
.contact-card a { color: var(--primary-light); }

/* ── MAP ─────────────────────────────────────────────── */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.map-wrap img { width: 100%; height: auto; }
.map-wrap iframe { width: 100%; border: none; display: block; }

.address-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.address-box .ab-icon { font-size: 2rem; flex-shrink: 0; }
.address-box p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.address-box strong { color: var(--text); }

/* ── BOOKING IFRAME ─────────────────────────────────── */

.booking-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.booking-wrap iframe { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* ── IMPRESSUM ──────────────────────────────────────── */

.legal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  line-height: 1.8;
}
.legal-content h2 { font-size: 1.3rem; color: var(--primary); margin: 2rem 0 0.75rem; font-weight: 700; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.92rem; }
.legal-content a { color: var(--primary-light); }

/* ── FOOTER ─────────────────────────────────────────── */

footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 0.3rem;
}
.footer-brand p { font-size: 0.85rem; max-width: 260px; line-height: 1.65; }
.footer-col h4 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); margin: 0 0.4rem; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ── OSTSEE PAGE ─────────────────────────────────────── */

.promo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
}
.promo-card img { width: 100%; height: 360px; object-fit: cover; }
.promo-card-body { padding: 2rem 2.5rem; }
.promo-card-body h2 { font-size: 1.5rem; color: var(--primary); font-weight: 700; margin-bottom: 0.75rem; }
.promo-card-body p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

/* ── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 900px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; align-items: center; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 0.75rem;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 1rem; font-size: 0.95rem; }

  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.85rem; letter-spacing: -0.8px; }
  .hero p { font-size: 1rem; }
  .hero-content { padding: 3.5rem 1.25rem 3rem; }

  .section { padding: 3rem 0; }
  .section-title { font-size: 1.65rem; }

  .page-header { padding: 2.5rem 0 2rem; }
  .page-header h1 { font-size: 1.75rem; }

  .highlight-strip .container { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .legal-content { padding: 1.5rem; }

  .pricing-wrap { grid-template-columns: 1fr; }
}
