/* =====================
Energiefluss GmbH – Tech Futuristic CSS
Modern, responsive, flexbox-only layouts
===================== */
/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; height: auto; }
button { border: none; background: none; font: inherit; cursor: pointer; }
input, textarea { font: inherit; box-sizing: border-box; }
/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --color-primary: #133954;
  --color-secondary: #F9B233;
  --color-accent: #E6E6E6;
  --color-bg-dark: #101924;
  --color-bg-light: #181F29;
  --color-card: #17273a;
  --color-text: #e6e6e6;
  --color-heading: #ffffff;
  --color-muted: #92a5bb;
  --color-hero-glow: #1daaff;
  --color-neon: #2de0f6;
  --color-shadow: rgba(30,182,240,0.12);
  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
/* ===== BASE BODY & BACKGROUND ===== */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 16px;
  background: linear-gradient(135deg, #143652 0%, #101924 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
/* CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, li, blockquote { font-size: 1rem; line-height: 1.6; color: var(--color-text); }
strong { color: var(--color-secondary); font-weight: 700; }
blockquote {
  border-left: 3px solid var(--color-neon);
  margin-left: 0;
  padding-left: 18px;
  font-style: italic;
  color: var(--color-secondary);
  font-size: 1.08rem;
  background: rgba(36,57,88,0.10);
}
/* TEXT LINKS */
a {
  color: var(--color-neon);
  font-weight: 500;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
  outline: none;
}
/* ==== HEADER & NAVIGATION ==== */
header { width: 100%; background: var(--color-bg-light); box-shadow: 0 6px 16px 0 rgba(20,60,108,0.09); position: relative; z-index: 30; }
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img { height: 44px; width: auto; }
.navbar-placeholder { display: none; }
/* Desktop Navigation */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 8px 6px;
  color: var(--color-text);
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.18s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-neon);
  border-bottom: 2px solid var(--color-neon);
}
/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 24px 0 var(--color-shadow);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.2s;
  border: 2px solid var(--color-secondary);
  position: relative;
  z-index: 1;
}
.btn-primary::after {
  /* Neon Glow */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 9px 2px var(--color-neon);
  opacity: 0.19;
  z-index: -1;
  transition: box-shadow 0.2s, opacity 0.15s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-neon);
  box-shadow: 0 1px 16px 0 var(--color-neon), 0 0 4px 2px var(--color-neon);
  outline: none;
}
.btn-primary:hover::after, .btn-primary:focus::after {
  opacity: 0.35;
  box-shadow: 0 0 18px 7px var(--color-neon);
}
/* Hamburger Menu Button Mobile */
.mobile-menu-toggle {
  background: var(--color-bg-dark);
  color: var(--color-neon);
  font-size: 2rem;
  border-radius: 8px;
  width: 48px; height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s;
  z-index: 60;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-neon);
  color: var(--color-primary);
  outline: none;
}
/* ==== MOBILE NAVIGATION ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,57,84,0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.72,0.02,0.29,1.02);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-secondary);
  margin: 20px;
  align-self: flex-end;
  background: transparent;
  border-radius: 8px;
  width: 44px; height: 44px;
  transition: background 0.2s, color 0.2s;
  z-index: 1100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: var(--color-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 30px 20px 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-text);
  padding: 16px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neon);
  color: var(--color-primary);
  outline: none;
}
/* ===== HERO SECTION ===== */
.hero {
  min-height: 380px;
  padding: 0 20px;
  width: 100%;
  background:
    linear-gradient(110deg, rgba(25,71,114,0.5) 30%, rgba(19,57,84,0.97) 90%),
    var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: -130px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  box-shadow: 0 0 90px 45px var(--color-neon);
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
}
.hero .container {
  z-index: 2;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 24px;
  padding: 40px 0 24px 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-heading);
  text-shadow: 0 2px 50px var(--color-neon);
}
.hero p {
  color: var(--color-muted);
  font-size: 1.23rem;
  margin-bottom: 8px;
}

/* ===== CARD & FLEXBOX CONTAINERS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 0 var(--color-shadow);
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 var(--color-neon);
  transform: translateY(-3px) scale(1.011);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #191c20;
  border-radius: 16px;
  border: 1px solid #e0e0ee;
  margin-bottom: 20px;
  box-shadow: 0 2px 17px 0 rgba(20,60,108,.09);
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  background: transparent;
  border-left: 3px solid var(--color-secondary);
}
.testimonial-card p { color: #222; }
.testimonial-card strong { color: var(--color-primary); }
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 var(--color-neon);
  transform: translateY(-3px) scale(1.009);
  border-color: var(--color-neon);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map {
  height: 220px;
  background: var(--color-accent) url('../assets/icons/icon-location.svg') center/72px no-repeat;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(20,60,108,0.12);
  margin-bottom: 20px;
}

/* ===== LISTS & ICONS ===== */
ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  color: var(--color-text);
}
ul li img {
  width: 24px; height: 24px;
  margin-right: 2px;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: var(--color-bg-dark);
  padding-top: 35px; padding-bottom: 35px;
  border-top: 2px solid #18263e;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
footer .footer-nav a {
  font-size: 1rem;
  color: var(--color-neon);
  opacity: 0.8;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  color: var(--color-accent);
  font-size: 1rem;
}
.footer-contact img { width: 18px; margin-right: 4px; vertical-align: text-bottom; }
footer p {
  color: #c1d3ea;
  font-size: 0.97rem;
  text-align: center;
  margin-top: 12px;
}
/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--color-card);
  color: var(--color-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 -6px 22px 0 var(--color-shadow);
  z-index: 2000;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s, opacity 0.24s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: var(--color-heading);
  font-size: 1rem;
}
.cookie-actions {
  display: flex; flex-direction: row; gap: 22px; margin-top: 4px;
}
.btn-cookie {
  padding: 11px 20px;
  border-radius: 21px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0;
  background: var(--color-neon);
  border: 2px solid var(--color-neon);
  color: var(--color-primary);
  transition: background 0.16s, color 0.18s, border-color 0.18s;
}
.btn-cookie-reject {
  background: transparent;
  color: var(--color-neon);
  border: 2px solid var(--color-neon);
}
.btn-cookie-settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.btn-cookie:hover, .btn-cookie:focus,
.btn-cookie-settings:hover, .btn-cookie-settings:focus,
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: var(--color-primary);
  color: var(--color-neon);
  border-color: var(--color-neon);
  outline: none;
}
/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(19,57,84,0.88);
  z-index: 2200;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--color-card);
  color: var(--color-heading);
  padding: 34px 24px 28px 24px;
  border-radius: 22px;
  min-width: 310px; max-width: 95vw;
  box-shadow: 0 2px 24px 0 var(--color-neon), 0 0 2px 1px var(--color-neon);
  display: flex; flex-direction: column; gap: 15px;
  align-items: stretch;
}
.cookie-modal-content h3 { margin-top: 0; }
.cookie-category {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.cookie-toggle {
  margin-left: auto;
  display: flex; align-items: center;
}
.cookie-switch {
  width: 38px; height: 22px;
  background: #aaa;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
}
.cookie-switch[data-checked="true"] {
  background: var(--color-neon);
}
.cookie-switch::before {
  content: "";
  position: absolute; top: 3px; left: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.24s;
}
.cookie-switch[data-checked="true"]::before {
  left: 18px;
}
.cookie-category label[disabled] { opacity: 0.7; }
.cookie-preference-actions {
  display: flex; flex-direction: row; gap: 22px; margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute; top: 22px; right: 30px;
  font-size: 2.2rem;
  color: var(--color-neon);
  background: transparent;
  border: none;
  z-index: 2300;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary); background: none; outline: none;
}
/* ===== SPACING BETWEEN CARDS/SECTIONS & FLEX GAPS ===== */
section + section {
  margin-top: 0px;
}
.section, .content-wrapper, .text-section, .card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  /* All spacing requirements, no overlap */
  margin-bottom: 0;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}
/* ========== MEDIA QUERIES, RESPONSIVE FLEX LAYOUTS ========== */
@media (max-width: 1024px) {
  .container { max-width: 910px; }
  header .container { flex-direction: row; gap: 15px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 15px; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding-left: 12px; padding-right: 12px; }
  .content-wrapper, .text-section { gap: 20px; padding: 0; }
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; font-size: 0.97rem; padding: 11px 22px; }
  .mobile-menu-toggle { display: flex; }
  .hero { min-height: 240px; padding: 20px 0; }
  .hero h1 { font-size: 1.45rem; }
  .section { padding: 25px 5px; margin-bottom: 36px; }
  .testimonial-card { padding: 14px; border-radius: 12px; }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-contact { align-items: flex-start; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .btn-primary { padding: 10px 13px; font-size: 0.93rem; }
  .hero .content-wrapper { padding: 22px 0 8px 0; }
  .section { padding: 16px 3px; margin-bottom: 26px; }
  .testimonial-card { padding: 10px; border-radius: 11px; }
  .map { height: 120px; border-radius: 10px; }
}
/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.btn-primary, .btn-cookie, .btn-cookie-settings, .btn-cookie-reject {
  transition: background 0.15s, color 0.15s, border-color 0.17s, box-shadow 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s;
}

/* ==================
FUTURISTIC VISUAL GIMMICKS
================== */
.card, .hero, .testimonial-card {
  /* Techy neon border glow under hover/focus effect */
  box-shadow: 0 1px 18px 0 var(--color-shadow);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 44px 0 var(--color-neon), 0 0 4px 1px var(--color-neon);
}
.card::before, .testimonial-card::before {
  /* Subtle corner highlight */
  content: "";
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 38px; height: 16px;
  background: linear-gradient(100deg, var(--color-neon), transparent);
  border-top-right-radius: 16px;
  opacity: 0.11;
}
.card::after, .testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 16px; height: 38px;
  background: linear-gradient(160deg, var(--color-neon), transparent);
  border-bottom-left-radius: 16px;
  opacity: 0.11;
}
/* General mobile touchscreen affordance */
@media (pointer: coarse) {
  .btn-primary, .btn-cookie, .btn-cookie-reject, .btn-cookie-settings {
    min-height: 46px;
    min-width: 46px;
    font-size: 1.16em;
  }
}

/* -- FORM ELEMENTS -- */
input, textarea, select {
  background: var(--color-bg-dark);
  color: var(--color-text);
  border: 2px solid var(--color-neon);
  border-radius: 8px;
  padding: 10px 13px;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px var(--color-neon);
  outline: none;
}

/* SPECIAL FORMS: making sure last child gets spacing on mobile */
form > *:last-child { margin-bottom: 0; }

/* === FOCUS INDICATORS FOR ACCESSIBILITY === */
*:focus-visible {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}
/* Hide visually but leave for screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========== NO GRID ========== */
/* This stylesheet contains NO grid/column properties; only flexbox is used */
