/* -----------------------------------------
   GoldenHaze Shore Yacht Club – style.css
   Scandinavian Clean Design • Mobile First
----------------------------------------- */

/* === CSS Reset & Normalize (Modern, Minimal) === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, 
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: #F8F9FA;
  color: #1B232B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174162;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B4933A;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin: 0 0 1.2em 0;
  padding: 0;
}

/* === Brand Font Imports === */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');

/* === Containers & Standard Spacing === */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* === Scandinavian Clean Colors: Brand Palette === */
:root {
  --color-primary: #174162;
  --color-secondary: #B4933A;
  --color-accent: #FFFFFF;
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-muted: #E5E8EA;
  --color-grey: #828282;
  --color-shadow: rgba(23,65,98,0.06);
}

/* === Typography Hierarchy === */
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.3;
}

h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
p, li, span {
  color: #1B232B;
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
.emphasis {
  font-style: italic;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--color-grey);
  margin-bottom: 24px;
}
.text-section p,
.text-section ul,
.text-section li {
  font-size: 1.08em;
  margin-bottom: 12px;
  color: #324150;
}

/* === Header & Main Navigation === */
header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-muted);
  box-shadow: 0 2px 8px var(--color-shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  max-height: 56px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  background: none;
}
.cta.primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 24px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, color 0.15s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(180,147,58,0.10);
  outline: none;
}

/* === Hamburger Burger Mobile Button === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 6px var(--color-shadow);
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(23, 65, 98, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 2101;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 52px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 28px;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #174162;
  outline: none;
}

@media (min-width: 840px) {
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 839px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
}
@media (min-width: 840px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === Hero Section (with optional .hero class) === */
.hero {
  background: linear-gradient(180deg, #F8F9FA 70%, #fff 100%);
  min-height: 44vh;
  padding: 64px 0 32px 0;
  display: flex;
  align-items: center;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
}

/* --- Features & Cards, General Patterns --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
  margin-bottom: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 26px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 16px rgba(23,65,98,0.08);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- Features --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 5px 16px rgba(23,65,98,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* --- Membership Tiers Comparison Table (Mitgliedschaft) --- */
.membership-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  margin-top: 18px;
}
.tier {
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 22px 20px;
  flex: 1 1 230px;
  min-width: 180px;
  margin-bottom: 12px;
}
.tier h3 {
  color: var(--color-secondary);
  font-size: 1.18rem;
}
.tier ul {
  list-style: disc inside;
  color: #42536A;
  padding-left: 8px;
}
.benefits-comparison h4 {
  margin-bottom: 6px;
}
.benefits-comparison ul {
  list-style: disc inside;
  color: #687493;
}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F4F6F8;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 20px;
  margin: 0 0 18px 0;
  min-width: 260px;
  color: #1B232B;
  font-size: 1.035rem;
  line-height: 1.64;
  transition: box-shadow 0.15s, background 0.18s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #222C35;
  font-size: 1.08em;
  flex: 1 1 auto;
}
.testimonial-card span {
  color: #415168;
  font-size: 0.97em;
  white-space: nowrap;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #EAF0F4;
  box-shadow: 0 4px 14px rgba(180,147,58,0.06);
}

/* --- Confirmation Section (Thank You) --- */
.confirmation-section {
  background: #FCFCFC;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 40px 24px;
  margin-bottom: 32px;
  text-align: center;
}
.confirmation-section h1 {
  margin-bottom: 18px;
}
.confirmation-section a.cta {
  margin-top: 18px;
  display: inline-block;
}

/* --- Kontakt Section --- */
.text-section img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  margin-bottom: -2px;
}

/* === Footer === */
footer {
  background: #F4F6F7;
  border-top: 1px solid var(--color-muted);
  margin-top: 60px;
  padding: 32px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #535B62;
  font-size: 0.97em;
  font-weight: 500;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p {
  color: #7A838C;
  font-size: 0.96em;
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #1B232B;
  box-shadow: 0 -2px 16px rgba(23,65,98,0.08);
  border-top: 1px solid var(--color-muted);
  padding: 18px 18px 18px 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInUp 0.4s cubic-bezier(.48,1.6,.38,1) both;
  width: 100%;
}
.cookie-banner .cookie-banner-row {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner p {
  color: #1B232B;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  margin-right: 4px;
  margin-top: 3px;
  transition: background 0.15s, color 0.14s, box-shadow 0.16s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .reject {
  background: #ECECEC;
  color: #174162;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E1E3DF;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-muted);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F7F5EF;
  border-color: var(--color-secondary);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: none; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,65,98,0.40);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s cubic-bezier(.48,1.7,.08,.97) both;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(23,65,98,0.15);
  padding: 36px 30px 28px 30px;
  width: 98vw;
  max-width: 400px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInUp 0.3s both;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-bottom: 12px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
}
.cookie-modal .toggle-switch {
  width: 36px; height: 20px;
  background: #E6E8E9;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.17s;
  margin-right: 5px;
}
.cookie-modal .toggle-switch[data-checked="true"] {
  background: var(--color-secondary);
}
.cookie-modal .toggle-knob {
  position: absolute; left: 4px; top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .toggle-switch[data-checked="true"] .toggle-knob {
  left: 20px;
}
.cookie-modal .cookie-category-label {
  font-size: 1em;
}
.cookie-modal .cookie-category-essential {
  font-weight: 600;
  color: #B4933A;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 17px; top: 15px;
  background: none;
  color: #174162;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-secondary);
}

.cookie-modal .save-settings {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 1em;
  font-weight: 600;
  margin-top: 8px;
  transition: background .16s;
  cursor: pointer;
}
.cookie-modal .save-settings:hover, .cookie-modal .save-settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- Global Inputs --- */
input, select, textarea, button {
  font-family: inherit;
}

/* --- Utility & Responsive Classes --- */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* === Responsive Breakpoints (Mobile First) === */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 1023px) {
  .container {
    max-width: 710px;
  }
  .feature-grid {
    gap: 18px;
  }
  .membership-tiers {
    gap: 12px;
  }
}
@media (max-width: 799px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid,
  .membership-tiers {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .confirmation-section {
    padding: 24px 6px;
  }
  .footer-nav {
    gap: 13px;
  }
  footer .container {
    padding-bottom: 16px;
  }
  header .container {
    gap: 8px;
  }
  .hero {
    padding: 32px 0 14px 0;
    min-height: 28vh;
  }
  .hero .container {
    min-height: 120px;
  }
}

/* Accessibility/Contrast in Testimonials & Cookie Banner */
.testimonial-card, .cookie-banner {
  color: #1B232B;
}
.testimonial-card strong, .cookie-banner strong {
  color: #174162;
}

/* Focus Styles */
a, button, .cta:focus {
  outline: 2px dotted var(--color-secondary);
  outline-offset: 2px;
}

/* Subtle hover effect for cards, features */
.card,
.feature-item,
.testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within,
.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 25px rgba(23,65,98,0.13);
}

/* Hide content overflow for improved spacing */
.card, .feature-item, .testimonial-card {
  overflow: hidden;
}

/* ===================
   END OF STYLE.CS
=================== */
