/* ══════════════════════════════════════════
   ODOJ – Shared Styles v2
   Gilt für alle Seiten
══════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── RESET & VARS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #132847;
  --navy-light:  #1C3760;
  --navy-soft:   #243F6E;
  --accent:      #E8A020;
  --accent-lt:   #F5BE5A;
  --accent-pale: #FDF3DC;
  --sky:         #4A8FC1;
  --sky-lt:      #A8CBE5;
  --white:       #FFFFFF;
  --off:         #F4F7FB;
  --gray-lt:     #E8EDF5;
  --gray:        #8A9AB5;
  --text:        #0B1F3A;
  --text-mid:    #3A5070;
  --text-lt:     #7A8FA8;
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;
  --sh-sm: 0 2px 12px rgba(11,31,58,.08);
  --sh-md: 0 8px 32px rgba(11,31,58,.14);
  --sh-lg: 0 20px 60px rgba(11,31,58,.18);
  --nav-h: 72px;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo { font-family: 'Plus Jakarta Sans', sans-serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  text-decoration: none;
  flex-shrink: 0;
  display: block;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-logo em {
  display: block;
  font-style: normal;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: 5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .2px;
  transition: color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover  { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 600; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 22px !important;
  border-radius: var(--r-sm) !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
  background: var(--accent-lt) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger – mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(11,31,58,.98);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px 28px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--white); }

/* ── PAGE HERO (Unterseiten) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 56px) 60px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 30% 60%, black, transparent);
  pointer-events: none;
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,143,193,.15) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.page-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  line-height: 1.65;
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-accent {
  background: var(--accent);
  color: var(--navy);
}
.btn-accent:hover {
  background: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── SECTION BASICS ── */
section { padding: 88px 60px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 18px;
}
.section-title-white { color: var(--white); }
.section-sub {
  font-size: 17px;
  color: var(--text-lt);
  max-width: 540px;
  line-height: 1.65;
  font-weight: 300;
}
.section-sub-white { color: rgba(255,255,255,.55); }

/* ── TAGS / BADGES ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.tag-gastro { background: #FEF3E8; color: #A85500; }
.tag-bau    { background: #EBF5FF; color: #1A5FA0; }
.tag-lager  { background: #EEF2FF; color: #3040A0; }
.tag-events { background: #F5EEFF; color: #6020A0; }
.tag-green  { background: #E6F5EE; color: #1A7040; }
.tag-orange { background: #FFF4E0; color: #A05000; }

/* ── FOOTER ── */
footer {
  background: #07152B;
  color: rgba(255,255,255,.5);
  padding: 64px 60px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.32);
  line-height: 1.65;
  font-weight: 300;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .2px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.4);
  font-size: 14px;
  font-weight: 300;
  transition: color .2s;
  text-decoration: none;
}
.footer-col ul a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); font-weight: 300; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── NAV AUTH AREA ── */
#nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-user-name {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-profil-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-soft);
  color: rgba(255,255,255,.9) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.nav-profil-btn:hover { background: var(--accent); color: var(--navy) !important; }
.nav-logout-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background .2s;
  white-space: nowrap;
}
.nav-logout-btn:hover { background: rgba(255,255,255,.2); }
.nav-user-name-mobile {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  display: block;
  padding: 10px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 400;
}
.nav-logout-mobile {
  color: #e74c3c !important;
  font-weight: 600 !important;
}

/* ── UNREAD DOT ── */
.odoj-unread-dot {
  position: absolute;
  top: -3px;
  right: -10px;
  width: 7px;
  height: 7px;
  background: #e74c3c;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

/* ── TOAST NOTIFICATION ── */
.odoj-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--sh-lg);
  max-width: 90vw;
  text-align: center;
  transition: opacity .4s;
  pointer-events: none;
}
.odoj-toast.toast-warn    { background: var(--accent); color: var(--navy); }
.odoj-toast.toast-success { background: #1a7a50; }
.odoj-toast.toast-error   { background: #c0392b; }

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--gray-lt);
  margin: 0;
  border: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1200px) {
  nav { padding: 0 36px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1050px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 8px 16px !important; }
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 64px 24px; }
  .page-hero { padding: calc(var(--nav-h) + 36px) 24px 56px; }
  footer { padding: 52px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}
