/*
Theme Name: Lake Pearl
Theme URI: https://lake-pearl.eu
Author: Vadim
Description: Helles Premium-Theme für Lake Pearl GmbH — Boote als eigene Inhaltstypen mit Preis, Länge, Leistung und Foto. Maritime Optik in Weiß/Navy/Gold mit animiertem Hero.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lakepearl
*/
/* Lake Pearl GmbH — Light Maritime */
:root {
  --bg: #f7f9fc;
  --white: #ffffff;
  --navy: #14365c;
  --navy-deep: #0d2540;
  --blue: #2a6fa8;
  --blue-soft: #e8f1f8;
  --gold: #b98e3f;
  --gold-light: #d9bc7a;
  --gold-grad: linear-gradient(180deg, #d9bc7a 0%, #b98e3f 100%);
  --text: #2c3a4a;
  --muted: #64748b;
  --line: #d8e2ec;
  --line-gold: rgba(185, 142, 63, .45);
  --radius: 12px;
  --shadow: 0 4px 16px rgba(20, 54, 92, .08);
  --shadow-hover: 0 14px 34px rgba(20, 54, 92, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .brand { font-family: var(--serif); }

.gold-rule { width: 70px; height: 2px; background: var(--gold-grad); margin: 18px 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 1.4rem; font-weight: 600; letter-spacing: .18em; }
.brand:hover { text-decoration: none; color: var(--blue); }
.brand-logo { height: 52px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav a {
  display: block; padding: 8px 13px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a.active { color: var(--navy); border-bottom-color: var(--gold); }

.btn {
  display: inline-block; padding: 13px 30px;
  font-weight: 800; font-size: .92rem; font-family: "Manrope", sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 8px; cursor: pointer; transition: .2s;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 3px 12px rgba(20, 54, 92, .25);
}
.btn-gold:hover { background: var(--navy-deep); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--blue-soft); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile menu (accordion) ---------- */
.mobile-menu {
  display: none; background: var(--white);
  border-top: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.mobile-menu.open { max-height: calc(100vh - 76px); overflow-y: auto; }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer;
  padding: 16px 22px;
  color: var(--navy); font-family: "Manrope", sans-serif;
  font-size: 1rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.chev {
  width: 9px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: .25s; margin-right: 4px;
}
.acc-head[aria-expanded="true"] .chev { transform: rotate(225deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body.open { max-height: 1200px; }
.mm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 16px 18px 20px;
  border-bottom: 1px solid var(--line);
}
.mm-item { text-align: center; padding: 12px 8px 14px; border-radius: 10px; border: 1px solid transparent; color: var(--navy); }
.mm-item:hover { text-decoration: none; border-color: var(--line); background: var(--blue-soft); }
.mm-item img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  margin-bottom: 10px;
}
.mm-item span { font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mm-link {
  display: block; padding: 16px 22px;
  color: var(--navy); font-weight: 800; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.mm-link:hover { text-decoration: none; background: var(--blue-soft); }
.mm-foot { padding: 16px 22px 22px; font-size: .85rem; color: var(--muted); }

/* ---------- hero (split) ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 520px; }
.hero-media { overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel {
  background: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 70px 40px;
  border-bottom: 1px solid var(--line);
}
.hero-panel h1 {
  font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 600;
  color: var(--navy); letter-spacing: .14em; line-height: 1.05;
}
.hero-panel .gold-rule { margin: 22px auto; }
.hero-panel p { max-width: 420px; font-size: 1.08rem; color: var(--text); }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--blue-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 600;
  color: var(--navy); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 46px;
}
.series-title {
  font-size: 1.55rem; font-weight: 600; color: var(--navy);
  letter-spacing: .14em; text-transform: uppercase;
  margin: 48px 0 24px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.series-title:first-child { margin-top: 0; }

.page-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center;
  padding: 58px 0 52px;
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600;
  color: #fff; letter-spacing: .12em; text-transform: uppercase;
}
.page-head .gold-rule { margin: 16px auto; }
.page-head p { max-width: 720px; margin: 0 auto; color: #dbe4f0; font-size: 1.05rem; }

/* ---------- category cards (home) ---------- */
.cat-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cat-card {
  position: relative; display: block; text-align: center;
  background: var(--white);
  border: 1px solid var(--line-gold); border-radius: 16px;
  padding: 28px 24px 56px;
  box-shadow: var(--shadow); transition: .25s;
  color: var(--text);
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); text-decoration: none; border-color: var(--gold); }
.cat-card h3 {
  color: var(--navy); font-size: 1.45rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.cat-media { aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 18px; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-card p { color: var(--muted); font-size: .95rem; line-height: 1.8; padding-top: 14px; border-top: 1px solid var(--line); }
.cat-arrow {
  position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 14px rgba(20, 54, 92, .25);
}

/* ---------- featured (home) ---------- */
.feat-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.feat-card {
  background: var(--white); text-align: center;
  border: 1px solid var(--line-gold); border-radius: 16px;
  padding: 18px 18px 26px;
  box-shadow: var(--shadow); transition: .25s;
  color: var(--text);
}
.feat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); text-decoration: none; border-color: var(--gold); }
.feat-media { aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 16px; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-card h3 { color: var(--navy); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.feat-card .price { display: block; margin-bottom: 14px; }

/* ---------- product cards ---------- */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line-gold); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); transition: .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--gold); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--blue-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .05em;
  padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { color: var(--navy); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.specs { list-style: none; margin-bottom: 16px; }
.specs li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.specs li span { color: var(--muted); }
.specs li strong { color: var(--navy); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 1.3rem; font-weight: 800; color: var(--gold); font-family: "Manrope", sans-serif; }

/* ---------- features ---------- */
.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.feature h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.25rem; font-weight: 600; letter-spacing: .06em; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; padding: 66px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: .1em; }
.cta-band .btn-gold { background: var(--gold-grad); border-color: var(--gold-light); color: var(--navy-deep); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- placeholder ---------- */
.placeholder {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--blue-soft);
  border: 1px dashed var(--gold); border-radius: 16px;
  padding: 50px 34px;
}
.placeholder h2 { color: var(--navy); margin-bottom: 14px; font-size: 1.7rem; letter-spacing: .1em; text-transform: uppercase; }
.placeholder p { color: var(--text); margin-bottom: 12px; }
.placeholder .hero-actions { margin-top: 24px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1.2fr; margin-bottom: 40px; }
.contact-item { margin-bottom: 26px; }
.contact-item h3 { color: var(--navy); font-size: 1.25rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item p { color: var(--muted); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line-gold); border-radius: 16px;
  padding: 30px; box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy); margin-bottom: 18px; font-size: 1.4rem; letter-spacing: .08em; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; color: var(--navy); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 5px;
  padding: 11px 13px; font: inherit; color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); background: #fff; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- legal ---------- */
.legal { max-width: 820px; }
.legal h2 { color: var(--navy); margin: 30px 0 12px; font-size: 1.6rem; letter-spacing: .06em; }
.legal h3 { color: var(--navy); margin: 22px 0 8px; font-size: 1.25rem; }
.legal p { margin-bottom: 12px; }
.legal strong { color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c6d6; }
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 52px 20px 36px;
}
.site-footer h4 {
  color: var(--gold-light); margin-bottom: 10px;
  font-family: var(--serif); font-size: 1.15rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.site-footer a { color: #dbe4f0; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; font-size: .85rem; text-align: center; }

/* ---------- mobile ---------- */
@media (max-width: 1020px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { max-height: 300px; }
  .hero-panel { padding: 52px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 480px) {
  .cat-grid, .card-grid, .feat-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .brand-logo { height: 44px; }
}

/* ================= HERO 2 — cinematic (light) ================= */
.hero2 {
  position: relative; overflow: hidden;
  min-height: clamp(540px, 88vh, 820px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero2-bg { position: absolute; inset: 0; }
.hero2-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero2-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 37, 64, .55) 0%,
    rgba(13, 37, 64, .3) 45%,
    rgba(247, 249, 252, .55) 100%);
}
.hero2-content { position: relative; z-index: 3; max-width: 880px; padding: 90px 20px 170px; }
.hero2-logo {
  height: 78px; width: auto; margin: 0 auto 22px;
  background: #fff; padding: 9px 16px; border-radius: 14px;
  box-shadow: 0 8px 26px rgba(13, 37, 64, .35);
  animation: fadeUp 1s both, bob 5.5s ease-in-out 1.2s infinite;
}
.hero2-kicker {
  color: var(--gold-light); font-weight: 700; font-size: .85rem;
  letter-spacing: .45em; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(13,37,64,.5);
  margin-bottom: 18px;
  animation: fadeUp 1s .15s both;
}
.hero2-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 8.5vw, 5.6rem);
  letter-spacing: .16em; line-height: 1.02;
  background: linear-gradient(100deg, #ffffff 25%, #d9bc7a 50%, #ffffff 75%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 16px rgba(13, 37, 64, .55));
  animation: fadeUp 1s .3s both, shimmer 7s linear 1.6s infinite;
}
.hero2-sub {
  color: #fff; font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 560px; margin: 22px auto 0;
  text-shadow: 0 2px 10px rgba(13, 37, 64, .6);
  animation: fadeUp 1s .45s both;
}
.hero2 .hero-actions { animation: fadeUp 1s .65s both; }
.hero2 .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.hero2 .btn-ghost:hover { background: rgba(255,255,255,.15); }

/* waves */
.hero2-waves {
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 130px; z-index: 2; pointer-events: none;
}
.hero2-waves .wave {
  position: absolute; bottom: 0; left: 0;
  width: 200%; height: 100%;
  animation: waveMove linear infinite;
}
.wave-back  { animation-duration: 26s; }
.wave-back path  { fill: rgba(42, 111, 168, .4); }
.wave-mid   { animation-duration: 19s; animation-direction: reverse; }
.wave-mid path   { fill: rgba(185, 142, 63, .3); }
.wave-front { animation-duration: 13s; }
.wave-front path { fill: #f7f9fc; }

/* scroll hint */
.hero2-scroll {
  position: absolute; bottom: 140px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px;
}
.chev-down {
  width: 16px; height: 16px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  animation: chevPulse 1.9s ease-out infinite;
}
.hero2-scroll .chev-down:nth-child(2) { margin-top: -9px; animation-delay: .3s; }

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(1.5%, -1.5%); }
}
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes waveMove { to { transform: translateX(-50%); } }
@keyframes chevPulse {
  0%   { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: rotate(45deg) translate(7px, 7px); }
  100% { opacity: 0; }
}

@media (max-width: 720px) {
  .hero2 { min-height: 76vh; }
  .hero2-content { padding: 64px 18px 130px; }
  .hero2-logo { height: 62px; }
  .hero2-waves { height: 84px; }
  .hero2-scroll { bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2-bg img, .hero2-title, .hero2-kicker, .hero2-sub, .hero2-logo,
  .hero2 .hero-actions, .wave, .chev-down { animation: none !important; }
  .hero2-title { color: #fff; background: none; -webkit-background-clip: initial; }
}

/* ================= WordPress-Spezifisches ================= */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a,
.main-nav li.current-menu-ancestor > a {
  color: var(--navy); border-bottom-color: var(--gold);
}
.brand .brand-logo { height: 52px; width: auto; }

.card-media .no-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem; background: var(--blue-soft);
}
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--blue); text-decoration: none; }

/* single boat */
.boot-single { display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; align-items: start; }
.boot-single-media img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.boot-single-info .specs { margin: 18px 0 22px; }
.boot-single-info .price { font-size: 1.7rem; display: block; margin-bottom: 18px; }
.boot-content { margin-top: 34px; max-width: 880px; }
.boot-content p { margin-bottom: 12px; }
@media (max-width: 860px) { .boot-single { grid-template-columns: 1fr; } }

/* term description / empty states */
.term-desc { max-width: 760px; margin: 0 auto; }
