/* HORNEX Hornissen - Standalone Stylesheet (100% Google-free & DSGVO-konform) */

:root {
  --primary: #1e6c93;
  --primary-hover: #154e6b;
  --primary-light: #eef6f9;
  --accent: #226e93;
  --accent-warm: #d97706;
  --text-main: #212121;
  --text-muted: #555555;
  --text-light: #777777;
  --bg-main: #ffffff;
  --bg-alt: #f4f7f9;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --footer-bg: #152229;
  --footer-text: #cad4d8;
  --footer-heading: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ================= Top Bar & Navigation Drawer ================= */
.top-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  transition: background-color 0.2s;
}

.hamburger-btn:hover {
  background-color: var(--bg-alt);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

/* Drawer & Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1500;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: #ffffff;
  box-shadow: 4px 0 24px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  z-index: 1600;
  display: flex;
  flex-direction: column;
}

.nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.drawer-close:hover {
  background-color: var(--bg-alt);
  color: var(--text-main);
}

.drawer-nav {
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}

.drawer-nav ul {
  list-style: none;
}

.drawer-nav li a {
  display: block;
  padding: 14px 24px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.drawer-nav li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

.drawer-nav li a.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border-left-color: var(--primary);
}

/* ================= Hero Banner ================= */
.hero-banner {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 30, 40, 0.75) 0%, rgba(30, 108, 147, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content p.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 800px;
  color: #eef6f9;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Small '+' Zoom Button on Hero Banners */
.hero-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 25, 35, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-zoom-btn:hover {
  transform: scale(1.1);
  background: var(--primary);
  border-color: #ffffff;
}

.hero-zoom-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

/* ================= Main Container & Sections ================= */
.main-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.content-section {
  margin-bottom: 56px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-intro {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* Feature Two-Column Layout */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}

.feature-media {
  text-align: center;
  position: relative;
}

.feature-media img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-media img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Cards & Lists */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 108, 147, 0.35);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Bullet list */
.custom-list {
  list-style: none;
  margin: 16px 0;
}

.custom-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.custom-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Quote Box */
.quote-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px 30px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-main);
}

.quote-author {
  display: block;
  font-style: normal;
  font-weight: 700;
  margin-top: 10px;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ================= Footer ================= */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 56px;
  margin-top: 64px;
  border-top: 4px solid var(--primary);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: var(--footer-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  color: var(--footer-text);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col a {
  color: #7dd3fc;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #0c151a;
  padding: 20px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #8fa0a8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= Fullscreen Image Lightbox Modal ================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

