/* --- 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,
b, 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;
  background: #181E28;
  color: #F4F2F0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background-color: #181E28;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1CFEFA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: #A5FFFC;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- BRAND COLORS --- */
:root {
  --color-primary: #25303B;
  --color-secondary: #7A8D97;
  --color-accent: #F4F2F0;
  --color-neon-blue: #1CFEFA;
  --color-neon-purple: #9836FB;
  --color-bg: #181E28;
  --color-bg-soft: #232B3A;
  --color-shadow: rgba(28, 254, 250, 0.10);
  --color-shadow-strong: rgba(28, 254, 250, 0.24);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #1CFEFA;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #F4F2F0;
  text-shadow: 0 3px 14px var(--color-neon-blue);
}
h2 {
  font-size: 2rem;
  color: #1CFEFA;
}
h3 {
  font-size: 1.5rem;
  color: #F4F2F0;
}
h4 {
  font-size: 1.125rem;
}
p, li {
  font-size: 1rem;
  color: #D3E1EB;
  margin-bottom: 8px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong {
  color: #F4F2F0;
  font-weight: 700;
}

/* --- UTILITY CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  background: linear-gradient(120deg, #232B3A 68%, #25303B 100%);
  box-shadow: 0 4px 32px var(--color-shadow);
  border-radius: 22px;
  padding: 40px 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-soft);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4F2F0;
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow-strong);
  margin-bottom: 20px;
  color: #25303B;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #25303B;
  font-size: 1.15rem;
}
.testimonial-card span {
  color: #7A8D97;
  font-size: 0.97rem;
  display: block;
  margin-top: 8px;
}
.testimonial-card img {
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-right: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 24px 0;
  justify-content: flex-start;
}
.feature-grid li {
  background: #232B3A;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--color-shadow);
  flex: 1 1 235px;
  min-width: 220px;
  max-width: 270px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .25s, transform .2s;
  border: 1.5px solid transparent;
}
.feature-grid li:hover {
  box-shadow: 0 0 16px 2px var(--color-neon-blue);
  border-color: var(--color-neon-blue);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 6px;
}
/* --- LISTING & GENERIC --- */
ul.topic-overview li {
  margin-bottom: 12px;
  position: relative;
}
ul.topic-overview li:before {
  content: '\2022';
  color: var(--color-neon-purple);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: linear-gradient(90deg, #232B3A 65%, #181E28 100%);
  box-shadow: 0 1px 16px var(--color-shadow);
  position: relative;
  z-index: 21;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 20px;
  background: none;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 7px 15px;
  transition: background 0.20s, color 0.20s;
  margin-bottom: 0;
  background: transparent;
  letter-spacing: 0.02em;
  outline: none;
}
.main-nav a.primary-btn {
  background: linear-gradient(90deg, #9836FB 78%, #1CFEFA 100%);
  color: #181E28;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 3px 18px var(--color-shadow-strong);
  text-shadow: none;
  padding: 8px 28px;
  margin-left: 14px;
}
.main-nav a:hover:not(.primary-btn) {
  background: #2F4356;
  color: #1CFEFA;
}
.main-nav .primary-btn:hover,
.primary-btn:focus {
  background: linear-gradient(90deg, #1CFEFA 78%, #9836FB 100%);
  color: #232B3A;
}

.main-nav img {
  height: 36px;
  margin-right: 12px;
  margin-left: 0;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: linear-gradient(90deg,#1CFEFA,#9836FB);
  color: #181E28;
  border: none;
  font-size: 2rem;
  padding: 9px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin: 13px;
  z-index: 31;
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  transition: background 0.15s;
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 30, 40, 0.98);
  box-shadow: 0 6px 32px var(--color-shadow-strong);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(.45,0,.55,1);
  transform: translateX(0);
  overflow-y: auto;
  padding: 0 16px;
}
.mobile-menu:not(.open) {
  transform: translateX(100vw);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  color: #1CFEFA;
  font-size: 2.4rem;
  border: none;
  cursor: pointer;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 80px 0 0 20px;
}
.mobile-nav a {
  color: #F4F2F0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  background: none;
  border-radius: 6px;
  padding: 9px 0;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover {
  color: #1CFEFA;
  background: none;
}

@media (max-width: 950px) {
  .main-nav {
    gap: 9px;
    padding: 10px 10px;
  }
  .main-nav a {
    padding: 6px 9px;
    font-size: 0.98rem;
  }
  .main-nav a.primary-btn {
    padding: 7px 13px;
  }
  .container {
    padding: 0 12px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    gap: 4px;
  }
  .content-wrapper {
    padding: 20px 10px;
  }
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 20px;
  }
  .content-wrapper {
    padding: 14px 2vw;
  }
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #232B3A 70%, #181E28 100%);
  padding: 40px 0 18px 0;
  margin-top: 40px;
  border-top: 1.5px solid #232B3A;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 0 15px 0;
}
.footer-nav a {
  color: #7A8D97;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background .20s, color .19s;
}
.footer-nav a:hover {
  color: #1CFEFA;
  background: #202C36;
}
.footer-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 36px;
}
.footer-meta {
  text-align: center;
  color: #7A8D97;
  font-size: 0.93rem;
  margin-top: 15px;
}

/* --- BUTTONS --- */
.primary-btn, .secondary-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  padding: 10px 30px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background .19s, color .19s, box-shadow .18s, transform .22s;
  box-shadow: 0 2px 14px var(--color-shadow-strong);
  outline: none;
  letter-spacing: 0.02em;
  margin: 10px 0;
  text-align: center;
  min-width: 180px;
}
.primary-btn {
  background: linear-gradient(90deg, #1CFEFA 80%, #9836FB 100%);
  color: #181E28;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #9836FB 80%, #1CFEFA 100%);
  color: #F4F2F0;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px var(--color-shadow-strong);
}
.secondary-btn {
  background: #232B3A;
  color: #1CFEFA;
  border: 1.5px solid #1CFEFA;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #1CFEFA;
  color: #232B3A;
}

/* --- MAP PLACEHOLDER (KONTAKT) --- */
.map-placeholder {
  width: 100%;
  min-height: 90px;
  background: linear-gradient(93deg, #25303B 85%, #232B3A 100%);
  color: #1CFEFA;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  margin: 24px 0 14px 0;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

/* --- RESPONSIVE FLEX MODIFIERS --- */
@media (max-width: 1100px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid li {
    min-width: 130px;
    max-width: 480px;
    flex-basis: 100%;
    width: 98%;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .testimonial-cards,
  .card-container,
  .footer-nav {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .container {
    padding: 0 7vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 4vw;
  }
  .content-wrapper {
    padding: 16px 4vw;
  }
  .feature-grid li {
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width:425px) {
  .container {
    padding: 0 1vw;
  }
  .content-wrapper {
    padding: 8px 2vw;
    border-radius: 11px;
  }
  .section {
    padding: 12px 2vw;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1rem;
  }
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
.primary-btn, .secondary-btn, .feature-grid li, .card, .mobile-menu {
  transition: box-shadow 0.24s, background 0.22s, color 0.2s, transform 0.22s;
}

/* --- TABLE & GENERIC ELEMENTS --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #232B3A;
  padding: 10px 8px;
  background: #212934;
  color: #F4F2F0;
}
th {
  background: #25303B;
}

/* --- FORMS (for potential future use) --- */
input, textarea, select {
  background: #181E28;
  color: #F4F2F0;
  border: 1.5px solid #1CFEFA;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  border-color: #9836FB;
  outline: none;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(90deg,#25303B 65%,#1CFEFA 100%);
  color: #F4F2F0;
  box-shadow: 0 -4px 22px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 22px 16px;
  z-index: 10001;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  gap: 18px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.45,0,.55,1), opacity 0.35s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 20px;
  padding: 8px 30px;
  margin: 0 9px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .14s, color .15s, box-shadow .17s;
  min-width: 140px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #1CFEFA 75%, #9836FB 100%);
  color: #181E28;
}
.cookie-btn.reject {
  background: #232B3A;
  color: #1CFEFA;
  border: 1.5px solid #1CFEFA;
}
.cookie-btn.settings {
  background: #E6E2FF;
  color: #222245;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: linear-gradient(90deg,#9836FB 65%,#1CFEFA 100%);
  color: #F4F2F0;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #181E28;
  color: #1CFEFA;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #1CFEFA;
  color: #232B3A;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,30,40, 0.84);
  align-items: center;
  justify-content: center;
  transition: opacity .34s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #232B3A;
  color: #F4F2F0;
  padding: 32px 20px 20px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 32px var(--color-shadow);
  max-width: 410px;
  min-width: 280px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn .4s cubic-bezier(.45,0,.55,1);
}
@keyframes modalIn {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: #1CFEFA;
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F4F2F0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1CFEFA;
  width: 19px;
  height: 19px;
}
.cookie-category.essential label {
  color: #7A8D97;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  color: #1CFEFA;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 110px;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 17px;
}

/* --- END OF CSS --- */