:root {
  --brand: #FCCB3A;
  --brand-dark: #E09900;
  --brand-light: #FFD966;
  --text-primary: #2d2d2d;
  --text-secondary: #525252;
  --text-muted: #737373;
  --bg-primary: #f8f9fa;
  --bg-secondary: #f1f3f4;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --shadow: rgba(252, 203, 58, 0.1);
  --shadow-hover: rgba(252, 203, 58, 0.2);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Unified Styles */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.8;
}

.logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text h1 {
  font-family: "Crimson Pro", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: -8px;
  margin-top: -8px;
}

.brand-text p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.lang-switcher {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--border);
}

.lang-toggle {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 8px var(--shadow);
}

.lang-toggle:hover {
  color: var(--text-primary);
}

.current-lang {
  display: inline-block;
  transition: all 0.2s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: relative;
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger-btn:hover .burger-line {
  background: var(--brand);
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow);
  padding: 16px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-menu-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-lang-switcher {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--border);
}

.mobile-lang-btn {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.mobile-lang-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 4px var(--shadow);
}

.mobile-lang-btn:hover {
  color: var(--text-primary);
}

/* Desktop/Mobile visibility */
.desktop-only {
  display: flex;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
}

/* Main Content */
main {
  padding: 60px 0;
}

/* Footer - Unified Styles */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  text-align: center;
}

.footer-company {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-address {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

/* Language visibility */
[data-i18n] {
  display: none !important;
}
.show-de [data-i18n="de"],
.show-en [data-i18n="en"] {
  display: revert !important;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .brand {
    flex-direction: row;
    text-align: left;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .brand-text p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 24px;
  }
}
