/* ============================================
   PMG Offshore - Im Stil der Flaggschiff-Seite
   Farben, Layout und Lesbarkeit wie privacy-management-group.com
   ============================================ */

:root {
  /* Farben wie Flaggschiff-Seite */
  --pmg-green: #2a5a5a;
  --pmg-green-dark: #1e4a4a;
  --pmg-green-light: #3a7a7a;
  --pmg-gold: #c9a227;
  --pmg-red: #cc0000;

  /* Text & Hintergründe */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-cream: #fafafa;
  --border-light: #e0e0e0;

  /* Typografie */
  --font-main: 'Open Sans', Arial, sans-serif;

  /* Layout */
  --sidebar-width: 280px;
  --max-content-width: 800px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
}

/* ============================================
   Passwort-Schutz
   ============================================ */
.password-overlay {
  position: fixed;
  inset: 0;
  background: var(--pmg-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.password-box {
  background: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.password-box h2 {
  color: var(--pmg-green);
  margin-bottom: 10px;
}

.password-box p {
  color: var(--text-medium);
  margin-bottom: 20px;
}

.password-input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  text-align: center;
  letter-spacing: 0.3em;
  margin-bottom: 15px;
}

.password-input:focus {
  outline: none;
  border-color: var(--pmg-green);
}

.password-btn {
  width: 100%;
  padding: 15px;
  background: var(--pmg-green);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.password-btn:hover {
  background: var(--pmg-green-dark);
}

.password-error {
  color: var(--pmg-red);
  margin-top: 10px;
  display: none;
}

/* ============================================
   Layout
   ============================================ */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ============================================
   Sidebar - Linkes Menü wie Flaggschiff
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  background: var(--pmg-green);
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.sidebar-tagline {
  color: var(--pmg-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

/* Sprach-Wechsler */
.language-switch {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lang-btn {
  padding: 5px 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--pmg-gold);
  border-color: var(--pmg-gold);
  color: var(--pmg-green-dark);
}

/* Navigation */
.sidebar-nav {
  padding: 15px 0;
}

.nav-section {
  margin-bottom: 5px;
}

.nav-section-title {
  padding: 10px 20px;
  color: var(--pmg-gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  gap: 10px;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.nav-link.active {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
}

.nav-link .icon {
  width: 18px;
  opacity: 0.7;
}

.nav-link .arrow {
  margin-left: auto;
  font-size: 10px;
  opacity: 0.5;
}

/* Submenu */
.nav-submenu {
  background: rgba(0,0,0,0.15);
  display: none;
}

.nav-item.open .nav-submenu {
  display: block;
}

.nav-submenu .nav-link {
  padding-left: 45px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* Sidebar Badges unten */
.sidebar-badges {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-badges img {
  max-width: 100%;
  margin-bottom: 10px;
  background: white;
  padding: 8px;
  border-radius: 4px;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  background: var(--bg-cream);
  min-height: 100vh;
}

/* Hero Banner - Bild OHNE Filter */
.hero-banner {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sekundäre Navigation */
.secondary-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.secondary-nav a {
  padding: 15px 20px;
  color: var(--text-medium);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.secondary-nav a:hover,
.secondary-nav a.active {
  color: var(--pmg-green);
  border-bottom-color: var(--pmg-green);
}

/* Content Layout - 2 Spalten */
.content-layout {
  display: flex;
  gap: 30px;
  padding: 30px;
  max-width: 1300px;
}

/* Hauptinhalt - BREITE TEXTE */
.content-main {
  flex: 1;
  max-width: var(--max-content-width);
  background: var(--bg-white);
  padding: 35px 40px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
}

/* Rechte Sidebar */
.content-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* ============================================
   Typografie - Wie Flaggschiff
   ============================================ */
.content-main h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.content-main h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--pmg-green);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.content-main h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 25px;
  margin-bottom: 12px;
}

.content-main p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 18px;
  text-align: justify;
}

.content-main a {
  color: var(--pmg-green);
  text-decoration: underline;
}

.content-main a:hover {
  color: var(--pmg-green-dark);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.breadcrumb a {
  color: var(--pmg-green);
  text-decoration: none;
}

/* Lead Text */
.lead {
  font-size: 16px;
  color: var(--pmg-green);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Listen */
.content-main ul,
.content-main ol {
  margin: 20px 0;
  padding-left: 25px;
}

.content-main li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ============================================
   Info-Boxen - Wie Flaggschiff
   ============================================ */
.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--pmg-green);
  padding: 20px 25px;
  margin: 25px 0;
}

.info-box h4 {
  color: var(--pmg-green);
  font-size: 15px;
  margin-bottom: 10px;
}

.info-box p {
  margin-bottom: 0;
  font-size: 14px;
}

.info-box.gold {
  border-left-color: var(--pmg-gold);
  background: #fffbf0;
}

/* ============================================
   Buttons - Wie Flaggschiff
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--pmg-green);
  color: white;
}

.btn-primary:hover {
  background: var(--pmg-green-dark);
}

.btn-gold {
  background: var(--pmg-gold);
  color: var(--text-dark);
}

/* ============================================
   Rechte Sidebar Widgets
   ============================================ */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.widget-header {
  background: var(--pmg-green);
  color: white;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
}

.widget-content {
  padding: 15px;
}

.widget-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
}

/* CTA Widget */
.cta-widget {
  background: var(--pmg-green);
  color: white;
  padding: 25px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
}

.cta-widget h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-widget p {
  color: white;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
}

/* Preis im CTA Widget - Maximaler Kontrast */
.cta-widget .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--pmg-gold);
  margin: 15px 0;
}

.cta-widget .btn {
  width: 100%;
  justify-content: center;
  background: var(--pmg-gold);
  color: #1a1a1a;
  font-weight: 700;
}

/* Fact Box */
.fact-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.fact-box .header {
  background: var(--pmg-green);
  color: white;
  padding: 12px 15px;
  font-weight: 600;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-label {
  color: var(--text-medium);
}

.fact-value {
  font-weight: 600;
  color: var(--text-dark);
}

/* Price Box */
.price-box {
  background: var(--pmg-gold);
  padding: 20px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
}

.price-box .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--pmg-green-dark);
}

.price-box .note {
  font-size: 13px;
  color: var(--pmg-green-dark);
  opacity: 0.8;
}

/* ============================================
   Bilder - OHNE FILTER
   ============================================ */
.content-image {
  margin: 25px 0;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.image-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--pmg-green-dark);
  color: rgba(255,255,255,0.8);
  padding: 30px;
  margin-left: var(--sidebar-width);
  text-align: center;
}

.site-footer a {
  color: var(--pmg-gold);
  text-decoration: none;
}

/* ============================================
   Contact Bar - Unten fixiert
   ============================================ */
.contact-bar {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-width);
  right: 0;
  background: var(--pmg-green);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 12px 20px;
  z-index: 100;
}

.contact-bar a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-bar a:hover {
  color: var(--pmg-gold);
}

/* Padding unten für Contact Bar */
.main-content {
  padding-bottom: 60px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .content-layout {
    flex-direction: column;
  }

  .content-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -280px;
    transition: left 0.3s;
    z-index: 1000;
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    margin-left: 0;
  }

  .site-footer,
  .contact-bar {
    margin-left: 0;
    left: 0;
  }

  .content-main {
    padding: 25px 20px;
  }

  .mobile-toggle {
    display: flex;
  }
}

.mobile-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
  width: 45px;
  height: 45px;
  background: var(--pmg-green);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  border: none;
}
