/*
Theme Name: Rixgens Reinke
Theme URI:
Author: Lina Rixgens Ocean Racing UG
Description: Offshore Racing Website für Rixgens Reinke — Doublehanded Mixed Team
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: rixgens-reinke
*/

/* ─── Variables ───────────────────────────────────────────────────────────── */
:root {
  --cyan: #00C8D8;
  --dark: #1c1c1c;
  --white: #ffffff;
  --light: #f8f9fa;
  --light2: #eef2f3;
  --text: #2c3e40;
  --muted: #6b7f82;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); }
[id] { scroll-margin-top: 82px; }

/* ─── Custom Logo (WordPress) ─────────────────────────────────────────────── */
.custom-logo { height: 44px; width: auto; display: block; }
.custom-logo-link { display: flex; align-items: center; }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px; height: 70px;
  display: flex; justify-content: space-between; align-items: center;
  background: #ffffff;
  border-bottom: 2px solid var(--cyan);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}
nav#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-logo-link { display: flex; align-items: center; }
.nav-social { display: flex; gap: 10px; align-items: center; }
.nav-social a { color: var(--muted); transition: color 0.2s; display: flex; align-items: center; }
.nav-social a:hover { color: var(--cyan); }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--dark); text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600;
  transition: color 0.2s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after, .nav-links .current-menu-item > a::after { transform: scaleX(1); }
.nav-links .current-menu-item > a { color: var(--cyan); }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.lang-switcher a { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.lang-switcher a.lang-active,
.lang-switcher a:hover { color: var(--cyan); }
.lang-sep { color: var(--light2); font-size: 0.7rem; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: center center / cover no-repeat;
  background-color: #0a2a3a;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,20,40,0.20) 0%, rgba(0,20,40,0.25) 52%, rgba(0,0,0,0.62) 78%, rgba(0,0,0,0.70) 100%);
}
.hero-shimmer-2 {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0,200,216,0.06));
  animation: water-pulse 4s ease-in-out infinite;
}
@keyframes water-pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900; line-height: 1.0; color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 4px 60px rgba(0,0,0,0.35);
  margin-bottom: 12px;
}
.hero-title .line2 { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.92); }
.hero-divider { width: 60px; height: 2px; background: var(--cyan); margin: 20px auto; }
.hero-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-arrow {
  width: 30px; height: 30px;
  border-right: 2px solid rgba(255,255,255,0.4); border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg); margin: 0 auto; animation: bounce-arrow 2s infinite;
}
@keyframes bounce-arrow { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(5px)} }
.btn { padding: 14px 36px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--cyan); color: var(--dark); }
.btn-primary:hover { background: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--cyan); color: var(--dark); }

/* ─── SECTION BASE ────────────────────────────────────────────────────────── */
.section { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; font-weight: 600; }
.section-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 0.9rem; max-width: 560px; line-height: 1.7; margin-bottom: 44px; }

/* ─── NEWS ────────────────────────────────────────────────────────────────── */
.news-bg { background: var(--light); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border-radius: 2px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); border-bottom: 3px solid transparent; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; overflow: hidden; cursor: pointer; }
.news-card:hover { border-bottom-color: var(--cyan); box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.news-card-img { height: 190px; background: linear-gradient(135deg, #d4f0f5 0%, #a8e4eb 100%); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.news-card-body { padding: 22px 24px; }
.news-date { font-size: 0.65rem; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.news-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }
.news-text { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.news-link { display: inline-block; margin-top: 16px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); text-decoration: none; font-weight: 600; }

/* ─── WIDGETS ─────────────────────────────────────────────────────────────── */
.widgets-bg { background: var(--white); }
.widgets-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
.widget-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 6px; }
.widget-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--dark); margin-bottom: 20px; border-bottom: 1px solid var(--light2); padding-bottom: 12px; }
.cal-row { display: flex; align-items: stretch; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--light2); }
.cal-dot { width: 3px; background: var(--cyan); border-radius: 2px; }
.cal-date-box { min-width: 44px; text-align: center; }
.cal-day { font-size: 1.5rem; font-weight: 700; color: var(--dark); line-height: 1; }
.cal-month { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cal-event strong { font-size: 0.85rem; color: var(--dark); display: block; margin-bottom: 2px; }
.cal-event small { font-size: 0.75rem; color: var(--muted); }
.insta-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.insta-post { aspect-ratio: 1; background: linear-gradient(135deg, #cef0f5 0%, #a8e4eb 100%); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer; transition: opacity 0.2s; }
.insta-post:hover { opacity: 0.8; }
.insta-handle { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.insta-handle a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.map-box { background: var(--light2); height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed rgba(0,200,216,0.4); text-align: center; }
.map-icon { font-size: 2.5rem; }
.map-box p { font-size: 0.82rem; color: var(--muted); }
.map-hint { font-size: 0.7rem; color: var(--muted); margin-top: 8px; }

/* ─── PROJEKT ─────────────────────────────────────────────────────────────── */
.projekt-bg { background: var(--light); }
.text-body p { font-size: 0.9rem; color: var(--text); line-height: 1.85; margin-bottom: 18px; }
.text-body p:last-child { margin-bottom: 0; }

/* ─── BOOT ────────────────────────────────────────────────────────────────── */
.boot-bg { background: var(--white); }
.boot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--light2); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 12px 0; font-size: 0.86rem; vertical-align: middle; }
.spec-table td:first-child { color: var(--muted); width: 50%; }
.spec-table td:last-child { font-weight: 600; color: var(--text); text-align: right; }
.sail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sail-chip { background: var(--white); border: 1px solid rgba(0,200,216,0.3); color: var(--text); font-size: 0.74rem; padding: 5px 14px; font-weight: 500; }
.boot-desc p { font-size: 0.88rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.boot-desc p:last-child { margin-bottom: 0; }
.boot-desc strong { color: var(--text); }

/* ─── OFFSHORE ────────────────────────────────────────────────────────────── */
.offshore-bg { background: var(--dark); }
.offshore-body { max-width: 800px; }
.offshore-body p { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.9; margin-bottom: 20px; }
.offshore-body p:last-child { margin-bottom: 0; }
.offshore-body strong { color: var(--cyan); }
.offshore-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-top: 48px; }
.offshore-pillar { border-top: 2px solid var(--cyan); padding-top: 20px; }
.offshore-pillar h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.offshore-pillar p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ─── TEAM ────────────────────────────────────────────────────────────────── */
.team-bg { background: var(--light); }
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-card { background: var(--white); border: 1px solid var(--light2); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.05); transition: border-color 0.3s; }
.team-card:hover { border-color: var(--cyan); }
.team-photo { height: 260px; background: linear-gradient(135deg, #d4f0f5 0%, #a8e4eb 100%); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.team-card-body { padding: 28px 32px; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; font-weight: 600; }
.team-bio p { font-size: 0.84rem; color: var(--text); line-height: 1.85; margin-bottom: 12px; }
.team-bio p:last-child { margin-bottom: 0; }
.team-bio strong { color: var(--dark); font-weight: 600; }
.team-stat { display: flex; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--light2); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--cyan); font-weight: 700; }
.stat-label { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ─── SPONSOREN ───────────────────────────────────────────────────────────── */
.sponsors-bg { background: var(--white); }
.sponsors-flex { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.sponsor-pill { background: var(--light); border: 1px solid var(--light2); padding: 12px 28px; font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.sponsor-pill:hover { border-color: var(--cyan); color: var(--dark); box-shadow: 0 4px 16px rgba(0,200,216,0.12); }
.sponsor-trans-ocean { font-weight: 700; color: var(--dark); }

/* ─── KONTAKT ─────────────────────────────────────────────────────────────── */
.contact-bg { background: var(--light); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-left p { font-size: 0.86rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea { background: var(--white); border: 1px solid var(--light2); color: var(--dark); padding: 13px 16px; font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.2s; border-radius: 0; width: 100%; }
input:focus, textarea:focus { border-color: var(--cyan); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { height: 130px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.74rem; color: var(--muted); line-height: 1.65; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; margin-top: 2px; flex-shrink: 0; }
.form-check label { cursor: pointer; }
.form-check a { color: var(--cyan); text-decoration: none; }

/* ─── LEGAL ───────────────────────────────────────────────────────────────── */
.impressum-bg { background: var(--white); }
.datenschutz-bg { background: var(--light); }
.legal-content { max-width: 800px; }
.legal-content h3 { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-top: 36px; margin-bottom: 10px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content h4 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-top: 24px; margin-bottom: 8px; }
.legal-content p { font-size: 0.84rem; color: var(--text); line-height: 1.85; margin-bottom: 12px; }
.legal-content a { color: var(--cyan); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
footer { background: var(--dark); padding: 40px 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); }
.footer-brand small { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); font-family: 'Inter', sans-serif; margin-top: 3px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.76rem; color: rgba(255,255,255,0.4); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--cyan); }
.footer-right { font-size: 0.72rem; color: rgba(255,255,255,0.22); }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  nav#navbar { padding: 0 24px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.68rem; }
}
@media (max-width: 900px) {
  .section { padding: 60px 20px; }
  .news-grid, .widgets-grid, .team-cards, .boot-grid, .contact-layout, .offshore-three { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .nav-links { display: none; }
}
