/* ============================================================
   M.A.S.S.-Security GmbH – Dark Theme 2025
   Moderne Neugestaltung mit Dark/Light-Mode
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg-primary:    #0d0d0d;
  --bg-secondary:  #111111;
  --bg-card:       #181818;
  --bg-elevated:   #222222;
  --accent:        #ebc95f;
  --accent-light:  #e6c000;
  --accent-dim:    rgba(201,160,0,0.12);
  --accent-border: rgba(201,160,0,0.28);
  --text-primary:  #f0ece4;
  --text-secondary:#a8a29e;
  --text-muted:    #5a5550;
  --border:        #252525;
  --shadow:        0 4px 32px rgba(0,0,0,0.65);
  --shadow-gold:   0 0 40px rgba(201,160,0,0.12);
  --radius:        3px;
  --nav-height:    72px;
  --transition:    0.28s ease;
}

/* Light-Mode Overrides */
body.light-mode {
  --bg-primary:    #f4f4f0;
  --bg-secondary:  #eaeae5;
  --bg-card:       #ffffff;
  --bg-elevated:   #ebebeb;
  --text-primary:  #1a1a1a;
  --text-secondary:#4a4a4a;
  --text-muted:    #888888;
  --border:        #d8d8d8;
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.85;
  margin: 0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus { color: var(--accent-light); text-decoration: none; outline: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-top: 0;
}
p  { color: var(--text-secondary); margin-bottom: 1.1em; }
ul li { color: var(--text-secondary); }
hr { border-color: var(--border); }
strong, b { color: var(--text-primary); font-weight: 600; }

img { max-width: 100%; height: auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background-color: rgba(10,10,10,0.97) !important;
  border: none !important;
  border-bottom: 1px solid var(--accent-border) !important;
  border-radius: 0 !important;
  min-height: var(--nav-height) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.4s ease;
}

body.light-mode .navbar {
  background-color: rgba(244,244,240,0.98) !important;
}

.navbar-brand {
  padding: 12px 15px;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  max-height: 50px;
  width: auto !important;
}

/* Logo dark/light toggle */
.logo-dark  { display: inline-block; }
.logo-light { display: none; }
body.light-mode .logo-dark  { display: none; }
body.light-mode .logo-light { display: inline-block; }

.footer-logo { max-height: 72px; width: auto; margin: -10px;}

.brand-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent) !important;
  letter-spacing: 0.18em;
  line-height: 1;
}
.brand-logo-sub {
  display: block;
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted) !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 3px;
}

.navbar-nav > li > a {
  color: var(--text-secondary) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 26px 14px !important;
  line-height: 20px;
  transition: color var(--transition);
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
  color: var(--accent) !important;
  background: transparent !important;
}
.navbar-nav > li.active > a {
  border-bottom: 2px solid var(--accent);
}

/* Dropdown */
.dropdown-menu {
  background-color: #111111 !important;
  border: 1px solid var(--accent-border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7) !important;
  padding: 6px 0;
  min-width: 240px;
}
body.light-mode .dropdown-menu {
  background-color: #fff !important;
}
.dropdown-menu > li > a {
  color: var(--text-secondary) !important;
  font-size: 12.5px;
  padding: 9px 20px !important;
  transition: all var(--transition);
}
.dropdown-menu > li > a:hover {
  background-color: var(--accent-dim) !important;
  color: var(--accent) !important;
}
.dropdown-menu > .divider {
  background-color: var(--border) !important;
  margin: 5px 0;
}

/* Mobile Navbar */
.navbar-toggle {
  border-color: var(--accent-border) !important;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 8px 10px;
}
.navbar-toggle .icon-bar { background-color: var(--accent) !important; }
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(10,10,10,0.99) !important;
    border-top: 1px solid var(--border) !important;
    padding: 8px 0;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  }
  body.light-mode .navbar-collapse {
    background: rgba(244,244,240,0.99) !important;
  }
  .navbar-nav { width: 100% !important; margin: 0 !important; }
  .navbar-nav > li > a { padding: 12px 20px !important; }
  .navbar-nav > li.active > a { border-bottom: none; border-left: 2px solid var(--accent); }
}

/* ============================================================
   HERO – Startseite
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  background-color: #080808;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(201,160,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(201,160,0,0.04) 0%, transparent 55%),
    linear-gradient(rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.60) 100%),
    url('../img/preview-O4-158.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
body.light-mode .hero {
  background-color: #f0efeb;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(201,160,0,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(201,160,0,0.05) 0%, transparent 55%),
    linear-gradient(rgba(240,239,235,0.65) 0%, rgba(240,239,235,0.50) 100%),
    url('../img/preview-O4-158.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}
body.light-mode .hero-title { color: #111; }
body.light-mode .hero-subtitle { color: #444; }
body.light-mode .stat-label { color: #333; }
body.light-mode .emblem-box {
  background: rgba(201,160,0,0.18);
  border-color: rgba(201,160,0,0.6);
}
body.light-mode .emblem-sub { color: #222; }
body.light-mode .emblem-tagline { color: #333; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,160,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,160,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; padding: 60px 0; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-title .gold { color: var(--accent); }

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-bottom: 28px;
}

.hero-text { font-size: 1.4rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 36px; }

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 1.35rem;
  margin-bottom: 9px;
}
.hero-checklist li::before {
  content: '✔';
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero-Wappen (rechte Seite) */
.hero-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}
.emblem-box {
  border: 1px solid var(--accent-border);
  background: rgba(201,160,0,0.04);
  padding: 50px 44px;
  text-align: center;
  position: relative;
}
.emblem-box::before, .emblem-box::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}
.emblem-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.emblem-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.emblem-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.25em;
  display: block;
  line-height: 1;
}
.emblem-tagline {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}
.emblem-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 20px auto;
}
.emblem-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #a87800 100%);
  color: #000 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(201,160,0,0.22);
}
.btn-gold:hover {
  box-shadow: 0 6px 28px rgba(201,160,0,0.38);
  transform: translateY(-2px);
  color: #000 !important;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--accent) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section      { padding: 88px 0; }
.section-alt  { background-color: var(--bg-secondary); }
.section-cta  { background: linear-gradient(135deg, #0a0a0a 0%, #0f0d05 100%); border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--accent-border); }
body.light-mode .section-cta { background: linear-gradient(135deg, #e8e7e2 0%, #edeadc 100%); }
.section-sm   { padding: 60px 0; }

.section-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-badge::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.section-lead {
  font-size: 1.4rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 52px;
}

/* ============================================================
   SERVICE GRID (Index)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 34px 30px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.service-card:hover::after  { width: 100%; }
.service-card:hover         { background: var(--bg-elevated); }

.service-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: var(--accent-dim);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card p {
  font-size: 1.35rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}
.card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.card-link::after { content: '→'; }
.service-card:hover .card-link { gap: 10px; }

/* ============================================================
   USP STRIP
   ============================================================ */
.usp-strip {
  background: var(--accent);
  padding: 30px 0;
}
.usp-strip .container { display: flex; gap: 0; flex-wrap: wrap; }
.usp-item {
  flex: 1;
  min-width: 180px;
  padding: 0 28px;
  border-right: 1px solid rgba(0,0,0,0.15);
  text-align: center;
}
.usp-item:last-child { border-right: none; }
.usp-item .usp-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
}
.usp-item .usp-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  margin-top: 4px;
}
@media (max-width: 767px) {
  .usp-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.12); padding: 16px 20px; }
  .usp-item:last-child { border-bottom: none; }
}

/* ============================================================
   ABOUT TEASER (Index)
   ============================================================ */
.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  height: 100%;
}
@media (max-width: 767px) { .about-block { padding: 28px 22px; } }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header-wrap {
  padding: calc(var(--nav-height) + 48px) 0 52px;
  min-height: 280px;
  background: #080808;
  background-image: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(201,160,0,0.06) 0%, transparent 65%);
  border-bottom: 1px solid var(--accent-border);
  position: relative;
  overflow: hidden;
}
.page-header-wrap .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,160,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,160,0,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-header-wrap h1 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.page-header-wrap .lead {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
}

body.light-mode .page-header-wrap {
  background: #e8e8e4;
  background-image: none;
}
body.light-mode .page-header-wrap h1 { color: var(--text-primary); }

/* ============================================================
   CONTENT BODY
   ============================================================ */
.content-body { padding: 30px 0; }

/* Content-Feature-Bild im Artikelbereich */
.content-img-feature {
  margin: 36px 0 8px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--accent-border);
}
.content-img-feature img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 420px;
  filter: brightness(0.92);
  transition: filter 0.4s ease;
}
.content-img-feature:hover img {
  filter: brightness(1);
}
.content-img-feature figcaption {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(8,8,8,0.6);
  letter-spacing: 0.03em;
  border-top: 1px solid var(--accent-border);
}

.content-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-body h2::before {
  content: '';
  display: block;
  width: 3px;
  height: 20px;
  background: var(--accent);
  flex-shrink: 0;
  border-radius: 2px;
}

.content-body p { font-size: 1.4rem; color: var(--text-secondary); line-height: 1.85; }
.content-body ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.content-body ul li {
  padding: 9px 0 9px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 1.35rem;
  color: var(--text-secondary);
}
.content-body ul li:last-child { border-bottom: none; }
.content-body ul li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 0.75rem;
}

/* Info-Box */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.info-box p  { margin: 0; font-size: 1.35rem; }
.info-box strong { color: var(--accent); }

/* Feature Items */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color var(--transition);
}
.feature-item:hover { border-color: var(--accent-border); }
.feature-item .fi-icon {
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item .fi-text { font-size: 1.35rem; color: var(--text-secondary); line-height: 1.7; }

/* Sidebar */
.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-box-header {
  background: var(--bg-elevated);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.sidebar-box-body { padding: 18px 20px; font-size: 1.3rem; }

/* ============================================================
   TEAM CARDS (Über uns)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.team-card-top {
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.team-avatar {
  width: 54px;
  height: 54px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.team-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.team-name { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); margin: 0; }
.team-card-body { padding: 20px 24px; }
.team-card-body p { font-size: 1.3rem; color: var(--text-secondary); line-height: 1.8; margin: 0; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-row { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--accent-dim);
}
.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-value { font-size: 1.35rem; color: var(--text-primary); }

.map-wrap {
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(25%) brightness(0.85) contrast(1.05);
  transition: filter var(--transition);
}
body.light-mode .map-wrap iframe { filter: none; }

/* ============================================================
   PROFIL-BOXEN (Über uns – Teamprofile)
   ============================================================ */
.profile-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color var(--transition);
}
.profile-box:hover { border-color: var(--accent-border); }

.profile-header {
  padding: 22px 28px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.profile-avatar {
  width: 54px;
  height: 54px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.profile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
  display: block;
}
.profile-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.profile-body { padding: 22px 28px; }
.profile-body p {
  font-size: 1.35rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 0.8em;
}

/* ============================================================
   KARRIERE
   ============================================================ */
.job-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.job-section-head {
  padding: 18px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.job-section-head span { font-size: 1.2rem; }
.job-section-head h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0;
}
.job-section-body { padding: 22px 24px; }
.job-section-body p, .job-section-body li { font-size: 1.35rem; }

/* Requirement badges */
.req-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.req-badge {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.req-badge.gold {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070707;
  border-top: 1px solid var(--accent-border);
  padding: 64px 0 0;
}
body.light-mode .site-footer { background: #e0e0dc; }

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.footer-tagline { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 9px; }
.footer-nav-list a { font-size: 1.2rem; line-height: 1.3; color: var(--text-muted) !important; transition: color var(--transition); display: block; }
.footer-nav-list a:hover { color: var(--accent) !important; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.footer-contact-item .fci-icon { flex-shrink: 0; margin-top: 2px; color: var(--accent); font-size: 0.9rem; }

.footer-bottom {
  margin-top: 44px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 1rem; color: var(--text-muted); margin: 0; }
.footer-bottom a { color: var(--text-muted) !important; }
.footer-bottom a:hover { color: var(--accent) !important; }

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.theme-toggle-label { font-size: 1rem; color: var(--text-muted); }
.toggle-switch {
  position: relative;
  width: 44px;
  height: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: background 0.3s ease;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease;
}
body.light-mode .toggle-switch { background: #ccc; }
body.light-mode .toggle-switch::after { transform: translateX(22px); }

/* ============================================================
   RESPONSIVENESS
   ============================================================ */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 100px 0 68px; }
  .hero-content { padding: 40px 16px; }
  .hero-emblem { min-height: auto; margin-top: 48px; }
  .section { padding: 64px 0; }
  .content-body { padding: 42px 0; }
  .page-header-wrap { padding: calc(var(--nav-height) + 16px) 0 24px; }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .content-body { padding: 40px 0; }
  .hero { padding: 80px 0 52px; }
  .hero-content { padding: 32px 20px; }
  .hero-actions { flex-direction: column; }
  .btn-gold, .btn-ghost { text-align: center; }
  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .usp-strip .container { flex-direction: column; }
  .emblem-title { font-size: 2rem; }
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ – tabellarisch
   ============================================================ */
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--text-secondary);
  vertical-align: top;
}
.legal-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  width: 170px;
}
.legal-table tr:last-child td { border-bottom: none; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
/* Lang-switcher li – vertically centered in navbar */
.navbar-nav > li.lang-switcher-li {
  padding: 25px 8px !important;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  background: transparent;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  text-decoration: none !important;
  padding: 0;
}
.lang-btn:hover { opacity: 0.9; }
.lang-btn.lang-active {
  opacity: 1;
  border-color: var(--accent);
}
@media (max-width: 991px) {
  .navbar-nav > li.lang-switcher-li {
    padding: 0 !important;
  }
  .lang-switcher-li .lang-switcher {
    padding: 10px 20px;
    margin-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.text-gold   { color: var(--accent) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-sec    { color: var(--text-secondary) !important; }
.divider-gold { border: none; height: 1px; background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); margin: 40px 0; }
.gold-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 80px; }
