/* it-autec GmbH — Main Stylesheet */

:root {
  --navy: #0e2444;
  --navy-mid: #1a3a5c;
  --blue: #1e5799;
  --accent: #e8820c;
  --accent-hover: #cf6e09;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --border: #d8e0e8;
  --shadow: 0 2px 12px rgba(14,36,68,0.10);
  --shadow-lg: 0 8px 32px rgba(14,36,68,0.16);
  --radius: 6px;
  --max-w: 1200px;
}

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

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0; /* Logo niemals komprimieren */
  background: #dde4ed;
  border-radius: 999px;
  padding: 3px 10px;
}

.site-logo img {
  height: 22px;
  width: auto;
  max-width: none; /* globales img { max-width:100% } überschreiben */
}

.site-logo .tagline {
  color: #8ab4cc;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 14px;
  color: #c8d8e8;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1.4;
}

.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-link.active { color: var(--accent); }

.has-dropdown:hover > .nav-link, .has-dropdown.open > .nav-link {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 4px;
  background: transparent;
  z-index: 100;
  min-width: 200px;
}
.dropdown-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--light); color: var(--navy); }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.lang-switcher a {
  color: #8ab4cc;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-switcher a:hover, .lang-switcher a.active { color: var(--white); background: rgba(255,255,255,0.15); }
.lang-switcher .sep { color: rgba(255,255,255,0.2); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #c8d8e8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--navy);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,36,68,0.7) 0%, rgba(14,36,68,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-sub {
  color: #b8d4e8;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  max-width: 500px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-header p {
  color: #8ab4cc;
  font-size: 16px;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ===== MAIN CONTENT ===== */
.site-main { flex: 1; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--light); }

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-title .accent { color: var(--accent); }

.section-sub {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 12px 0 32px;
  border-radius: 2px;
}

/* ===== PRODUCT CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  flex-shrink: 0;
}
.card-title { color: var(--white); font-size: 20px; font-weight: 700; }
.card-sub { color: #8ab4cc; font-size: 13px; }

.card-body { padding: 24px; }
.card-body p { color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }

.card-list { margin: 0 0 20px; padding: 0; }
.card-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: var(--text-light);
  font-size: 14px;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }

/* ===== INFO BOX / SPEC TABLE ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.info-box {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px;
}
.info-box h4 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.info-box ul { padding: 0; }
.info-box li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.info-box li:last-child { border: none; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.spec-table tr:nth-child(even) td { background: var(--light); }

/* ===== CONTENT LAYOUT ===== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.sidebar-box {
  background: var(--light);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border);
}
.sidebar-box h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

/* Article text */
.article-content h2 { font-size: 22px; color: var(--navy); margin: 28px 0 12px; }
.article-content h3 { font-size: 18px; color: var(--navy-mid); margin: 22px 0 8px; }
.article-content p { margin-bottom: 14px; line-height: 1.7; color: var(--text); }
.article-content ul, .article-content ol {
  margin: 12px 0 16px 20px;
  line-height: 1.7;
  color: var(--text);
}
.article-content li { margin-bottom: 4px; }
.article-content strong { color: var(--navy); }

/* ===== REFERENZEN GALLERY ===== */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.ref-card-header {
  background: var(--light);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.ref-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.ref-card-header span { font-size: 12px; color: var(--text-light); }

.ref-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ref-images figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.ref-images figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ref-images figure:hover img { transform: scale(1.05); }
.ref-images figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14,36,68,0.7);
  color: var(--white);
  font-size: 11px;
  padding: 4px 8px;
  text-align: center;
}

/* ===== REFERENZEN THUMBNAIL GALERIE ===== */
.ref-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.ref-thumb {
  display: block;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ref-thumb-num {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.60);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  z-index: 1;
  pointer-events: none;
}
.ref-thumb:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ref-thumb img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #fff;
  display: block;
  border-bottom: 1px solid var(--border);
}
.ref-thumb-title {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ===== REFERENZEN DETAIL SEITE ===== */
.ref-detail-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.ref-detail-col-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ref-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.ref-detail-cell img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}
.ref-detail-empty {
  aspect-ratio: 4/3;
  background: var(--light);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.ref-detail-single {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.ref-detail-fig { margin: 0; }
.ref-detail-fig img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@media (max-width: 600px) {
  .ref-detail-row, .ref-detail-header { grid-template-columns: 1fr; }
  .ref-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ===== DOWNLOADS ===== */

/* Übersichts-Karten (Download-Landing) */
.dl-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.dl-card:hover { color: inherit; }
.dl-card .card-body { flex: 1; display: flex; flex-direction: column; }
.dl-card .card-body p { flex: 1; }

.dl-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}
.dl-card-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* Unterseiten */
.dl-section { margin-bottom: 40px; }
.dl-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
}

.dl-table {
  width: 100%;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  border-collapse: collapse;
}
.dl-table tr { border-bottom: 1px solid var(--border); }
.dl-table tr:last-child { border-bottom: none; }
.dl-table td { padding: 12px 18px; font-size: 14px; }
.dl-table tr:nth-child(even) td { background: var(--light); }
.dl-table .dl-name { font-weight: 500; color: var(--text); }
.dl-table .dl-size { color: var(--text-light); font-size: 13px; width: 80px; }
.dl-table .dl-date { color: var(--text-light); font-size: 13px; width: 100px; }
.dl-table .dl-action { width: 60px; text-align: right; }
.dl-table .dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.dl-btn:hover { background: var(--accent-hover); color: var(--white); }

.dl-notice {
  background: #fff8e6;
  border: 1px solid #ffd68c;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: #7a5c00;
  margin-bottom: 24px;
}
.dl-notice strong { color: #5a4000; }

/* Flash: verschachtelte Kategorien */
.dl-cat { margin: 0 0 20px 0; }
.dl-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 18px;
}
.dl-cat-subtitle { font-size: 12px; font-weight: 400; color: var(--text-light); margin-left: 6px; }
.dl-size-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  padding: 7px 18px;
  background: #edf2f8;
  border-top: none;
  border-left: 3px solid var(--blue);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dl-cat .dl-table { border-radius: 0; border-top: none; }
.dl-cat .dl-size-group:last-child .dl-table,
.dl-cat > .dl-table { border-radius: 0 0 var(--radius) var(--radius); }
.dl-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.dl-fname { font-size: 12px; color: var(--text-light); }

/* ===== CONTACT / FOOTER ===== */
.contact-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text); font-size: 14px; font-weight: 500; }

.site-footer {
  background: var(--navy);
  color: #8ab4cc;
  padding: 32px 0;
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #8ab4cc; transition: color 0.2s; font-size: 13px; }
.footer-links a:hover { color: var(--white); }

/* ===== HOMEPAGE EXTRAS ===== */
.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.home-intro img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* Stats bar */
.stats-bar {
  background: var(--accent);
  padding: 28px 0;
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item .num { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-item .label { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ===== FLASH IMAGE TABLE ===== */
.flash-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.flash-table th {
  background: var(--navy-mid);
  color: var(--white);
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.flash-table td {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.flash-table tr:nth-child(even) td { background: var(--light); }
.flash-table tr:hover td { background: #e8f0f8; }

/* ===== LIGHTBOX ===== */
#lightbox { display: none; }
#lightbox.active { display: flex; }

.customer-list { columns: 1; }

/* ===== ADMIN ===== */
.admin-body { background: #f0f2f5; min-height: 100vh; }
.admin-header {
  background: var(--navy);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header h1 { color: var(--white); font-size: 18px; }
.admin-header a { color: #8ab4cc; font-size: 13px; }
.admin-header a:hover { color: var(--white); }

.admin-main { max-width: 900px; margin: 40px auto; padding: 0 24px; }
.admin-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}
.admin-card h2 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group .hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.alert {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success { background: #e6f9ee; border: 1px solid #6fcf97; color: #1a6b3a; }
.alert-error { background: #fdecea; border: 1px solid #e57373; color: #8b1a1a; }
.alert-info { background: #e8f4fd; border: 1px solid #7ab8e8; color: #0c4a7a; }

.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.admin-tab {
  padding: 8px 20px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.admin-tab.active, .admin-tab:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 0 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-item { width: 100%; }
  .nav-link { padding: 10px 20px; border-radius: 0; font-size: 15px; color: var(--white); display: flex; justify-content: space-between; align-items: center; }
  .nav-link .arrow { display: inline-block; transition: transform 0.2s; font-style: normal; }
  .nav-item.expanded .nav-link .arrow { transform: rotate(180deg); }
  .has-dropdown:hover .dropdown { display: none; }
  .dropdown { position: static; display: none; box-shadow: none; border: none; border-radius: 0; background: transparent; margin-left: 0; padding-top: 0; }
  .dropdown-inner { background: rgba(0,0,0,0.2); box-shadow: none; border-radius: 0; border: none; }
  .nav-item.expanded .dropdown { display: block; }
  .dropdown a { padding: 8px 20px 8px 32px; color: rgba(255,255,255,0.9); font-size: 14px; background: transparent; border-color: rgba(255,255,255,0.08); }
  .dropdown a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
  .lang-switcher { margin-left: 20px; border-left: none; padding-left: 0; margin-top: 4px; }

  .home-intro { grid-template-columns: 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 320px; }
  .hero-overlay { padding: 0 32px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-images { grid-template-columns: 1fr; }
}
