/* ─────────────────────────────────────────
   anreisebuch.de — Küste & Meer
   style.css
───────────────────────────────────────── */

:root {
  --sand: #F2E8D4;
  --cream: #FDFAF4;
  --ocean: #1C4E6B;
  --teal: #2A7B8C;
  --teal-light: #4BA3B5;
  --coral: #D9724A;
  --coral-light: #F0A07A;
  --dark: #1A2830;
  --text: #2E3E48;
  --muted: #6B8290;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Utility ── */
.white { color: white; }
.mb-28 { margin-bottom: 28px; }
.center-text { text-align: center; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(253,250,244,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,78,107,0.1);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(28,78,107,0.08); }

.nav-brand {
  display: flex; flex-direction: row; align-items: center;
  text-decoration: none; gap: 12px;
}
.nav-logo-img {
  height: 44px; width: auto;
  /* The logo is dark blue on white – invert slightly on scroll is handled by nav bg */
}
.nav-brand-text {
  display: flex; flex-direction: column; gap: 0;
}
.nav-domain {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; line-height: 1;
  color: var(--ocean); letter-spacing: -0.02em;
}
.nav-domain span { color: var(--coral); }
.nav-sub {
  font-size: 0.68rem; font-weight: 400; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta {
  background: var(--ocean); color: white;
  padding: 10px 22px; border-radius: 40px;
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--coral); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 130px 5% 80px;
  background: var(--cream);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  right: -80px; top: -80px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,123,140,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.domain-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ocean); color: white;
  border-radius: 8px; padding: 8px 18px; margin-bottom: 28px;
}
.domain-badge-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; letter-spacing: -0.01em;
}
.domain-badge-text span { color: var(--coral-light); }
.domain-badge-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.3); }
.domain-badge-sub { font-size: 0.72rem; opacity: 0.65; letter-spacing: 0.04em; }

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1.12;
  color: var(--dark); letter-spacing: -0.02em; margin-bottom: 22px;
}
h1 em { color: var(--teal); font-style: italic; }

.hero-sub {
  font-size: 1rem; line-height: 1.75; color: var(--muted);
  margin-bottom: 38px; max-width: 500px;
}

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--ocean); color: white;
  padding: 14px 30px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 500;
  text-decoration: none; transition: all 0.25s;
  border: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--coral); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,114,74,0.3);
}

.btn-secondary {
  background: transparent; color: var(--ocean);
  padding: 14px 30px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 500;
  text-decoration: none; border: 2px solid var(--ocean);
  transition: all 0.25s;
}
.btn-secondary:hover { background: var(--ocean); color: white; transform: translateY(-2px); }

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid rgba(28,78,107,0.12);
  border-radius: 40px; padding: 6px 14px;
  font-size: 0.78rem; color: var(--text);
}
.badge::before { content: '✓'; color: var(--teal); font-weight: 700; }

.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; }
.book-stack { position: relative; width: 340px; height: 420px; }

.stack-book {
  position: absolute; border-radius: 10px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(28,78,107,0.22);
}
.stack-book img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stack-book-1 {
  width: 220px; height: 295px;
  top: 60px; left: 50px; z-index: 3;
  animation: float1 5s ease-in-out infinite;
}
.stack-book-2 {
  width: 190px; height: 255px;
  top: 20px; right: 10px; z-index: 2;
  animation: float1 5s ease-in-out infinite 1.2s;
  filter: brightness(0.85);
}
.stack-book-3 {
  width: 160px; height: 215px;
  bottom: 10px; left: 10px; z-index: 1;
  animation: float1 5s ease-in-out infinite 0.6s;
  filter: brightness(0.75);
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(0.8deg); }
}

/* ── SECTION COMMONS ── */
.section-label {
  font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.section-label.on-dark  { color: var(--teal-light); }
.section-label.on-coral { color: rgba(255,255,255,0.7); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}

/* ── PROBLEM ── */
.problem {
  background: var(--dark); color: white;
  padding: 100px 5%; position: relative; overflow: hidden;
}
.problem::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--coral));
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.quote-block {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-style: italic;
  color: var(--sand); line-height: 1.2; margin-bottom: 36px;
  border-left: 4px solid var(--coral); padding-left: 24px;
}

.pain-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
}
.pain-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(217,114,74,0.18); border: 1px solid rgba(217,114,74,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; margin-top: 1px;
}

.solution-card {
  background: linear-gradient(135deg, rgba(42,123,140,0.2), rgba(28,78,107,0.3));
  border: 1px solid rgba(42,123,140,0.3);
  border-radius: 20px; padding: 40px;
}
.solution-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--teal-light); margin-bottom: 14px;
}
.solution-card p { color: rgba(255,255,255,0.68); line-height: 1.75; font-size: 0.95rem; }

/* ── WHY ── */
.why { padding: 100px 5%; background: var(--cream); }
.why-inner { max-width: 1100px; margin: 0 auto; }
.why-header { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.why-header h2 { color: var(--dark); }
.why-header p { color: var(--muted); line-height: 1.7; margin-top: 14px; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 48px;
}
.feature-card {
  background: white; border-radius: 16px; padding: 30px 26px;
  border: 1px solid rgba(28,78,107,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0; transition: opacity 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(28,78,107,0.1); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  color: var(--dark); margin-bottom: 8px;
}
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.ideal-for {
  background: var(--sand); border-radius: 18px;
  padding: 34px 44px; display: flex; align-items: center; gap: 36px;
}
.ideal-label {
  font-family: 'Playfair Display', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--ocean); white-space: nowrap;
}
.ideal-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: white; border-radius: 40px; padding: 8px 16px;
  font-size: 0.84rem; color: var(--ocean); font-weight: 500;
  border: 1px solid rgba(28,78,107,0.15);
}

/* ── PRODUCTS ── */
.products { padding: 100px 5%; background: var(--ocean); }
.products-inner { max-width: 1100px; margin: 0 auto; }
.products-header { text-align: center; margin-bottom: 60px; }
.products-header p { color: rgba(255,255,255,0.55); margin-top: 12px; }

.books-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.book-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; overflow: hidden;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.book-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.11);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.book-cover { position: relative; overflow: hidden; aspect-ratio: 3/4; background: rgba(0,0,0,0.2); }
.book-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.book-card:hover .book-cover img { transform: scale(1.04); }
.book-cover-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--coral); color: white;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}

.book-info { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.book-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 600; color: white;
  margin-bottom: 8px; line-height: 1.25;
}
.book-info p { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 18px; flex: 1; }

.book-highlights { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.book-highlights li {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 7px;
}
.book-highlights li::before { content: '→'; color: var(--teal-light); }

.book-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: white;
  padding: 11px 20px; border-radius: 40px;
  font-size: 0.84rem; font-weight: 500;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s; align-self: flex-start;
}
.book-cta:hover { background: var(--coral); border-color: var(--coral); }

/* ── PARENTS ── */
.parents { padding: 100px 5%; background: var(--cream); }
.parents-inner { max-width: 1100px; margin: 0 auto; }
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.parents-content h2 { color: var(--dark); margin-bottom: 14px; }
.parents-content > p { color: var(--muted); font-size: 0.97rem; line-height: 1.75; margin-bottom: 38px; }

.benefit-list { display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ocean); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; flex-shrink: 0;
}
.benefit-text h4 { font-size: 0.97rem; font-weight: 500; color: var(--dark); margin-bottom: 3px; }
.benefit-text p  { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

.parents-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.format-card {
  background: white; border-radius: 14px; padding: 26px 22px; text-align: center;
  border: 1px solid rgba(28,78,107,0.08); transition: transform 0.2s;
}
.format-card:hover { transform: scale(1.03); }
.format-card:first-child { grid-column: span 2; background: var(--sand); }
.format-icon { font-size: 2rem; margin-bottom: 10px; }
.format-card h4 { font-size: 0.92rem; font-weight: 500; color: var(--dark); margin-bottom: 5px; }
.format-card p  { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.format-fits { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.fit-tag {
  background: white; border-radius: 20px; padding: 4px 12px;
  font-size: 0.73rem; color: var(--ocean); font-weight: 500;
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 100px 5%; background: var(--sand); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials h2 { color: var(--dark); text-align: center; margin-bottom: 56px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: white; border-radius: 14px; padding: 30px 26px;
  border: 1px solid rgba(28,78,107,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(28,78,107,0.1); }
.stars { color: #F4A837; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.review-author { font-size: 0.8rem; font-weight: 500; color: var(--muted); }

/* ── ABOUT ── */
.about { padding: 100px 5%; background: var(--cream); }
.about-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.about h2 { color: var(--dark); margin-bottom: 18px; }
.about-intro { font-size: 1.05rem; color: var(--muted); line-height: 1.8; margin-bottom: 48px; }
.values-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.value-chip {
  background: var(--ocean); color: white;
  padding: 9px 22px; border-radius: 40px; font-size: 0.875rem;
}
.about-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-style: italic; color: var(--teal); line-height: 1.5;
}

/* ── FAQ ── */
.faq { padding: 100px 5%; background: var(--dark); }
.faq-inner { max-width: 740px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 52px; }

.faq-item {
  background: rgba(255,255,255,0.04); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; margin-bottom: 8px;
}
.faq-q {
  padding: 20px 26px; cursor: pointer;
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.88);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s; user-select: none;
}
.faq-q:hover { color: var(--teal-light); }
.faq-q .arrow { font-size: 0.72rem; transition: transform 0.3s; color: var(--teal-light); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── FINAL CTA ── */
.final-cta {
  padding: 110px 5%; text-align: center;
  background: linear-gradient(135deg, var(--coral) 0%, #C45C35 100%);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: 'anreisebuch'; position: absolute;
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 14rem; opacity: 0.05; color: white;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none;
}
.final-cta h2 { color: white; max-width: 680px; margin: 0 auto 16px; }
.final-cta p  { color: rgba(255,255,255,0.78); font-size: 1rem; margin-bottom: 42px; }
.final-cta .btn-group { justify-content: center; }

.btn-white {
  background: white; color: var(--coral);
  padding: 15px 34px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; transition: all 0.25s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.15); }

.btn-outline-white {
  background: transparent; color: white;
  padding: 15px 34px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6); transition: all 0.25s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ── FOOTER ── */
footer { background: #0F181F; color: rgba(255,255,255,0.45); padding: 60px 5% 36px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px; flex-wrap: wrap; gap: 32px;
}
.footer-logo-img {
  height: 52px; width: auto;
  /* White-tinted version for dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 10px;
  display: block;
}
.footer-domain {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: white; letter-spacing: -0.02em;
}
.footer-domain span { color: var(--coral); }
.footer-brand-sub { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 4px; letter-spacing: 0.05em; }
.footer-desc { font-size: 0.84rem; max-width: 260px; line-height: 1.65; margin-top: 12px; }
.footer-nav h5 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28); margin-bottom: 14px;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--teal-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; }
.seo-tags { font-size: 0.75rem; opacity: 0.3; max-width: 550px; text-align: right; line-height: 1.7; }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 40px; }
  .hero-visual { order: -1; }
  .book-stack { width: 280px; height: 340px; }
  .stack-book-1 { width: 180px; height: 240px; }
  .stack-book-2 { width: 155px; height: 205px; }
  .stack-book-3 { width: 130px; height: 175px; }
  .problem-grid  { grid-template-columns: 1fr; gap: 44px; }
  .parents-grid  { grid-template-columns: 1fr; gap: 44px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .books-grid    { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .ideal-for     { flex-direction: column; align-items: flex-start; }
  .nav-links     { display: none; }
  .parents-visual          { grid-template-columns: 1fr; }
  .format-card:first-child { grid-column: span 1; }
  .footer-top { flex-direction: column; }
  .seo-tags   { text-align: left; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .ideal-for { padding: 24px; }
}
