/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #232C36;
  color: #E8E6E1;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F6B940;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
:focus-visible {
  outline: 2px solid #F6B940;
  outline-offset: 2px;
}

/* ===== VARIABLE FALLBACKS ===== */
:root {
  --color-primary: #2E3A46;
  --color-secondary: #E8E6E1;
  --color-dark-bg: #232C36;
  --color-light-bg: #E8E6E1;
  --color-accent: #F6B940;
  --color-neon: #62fbee;
  --color-shadow: rgba(38,245,255,0.05);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-secondary);
  text-shadow: 0 2px 16px #62fbee40, 0 0px 2px #00000099;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-accent);
  text-shadow: 0 4px 12px #62fbee33;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-neon);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}
strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ====== LAYOUT ====== */
.container {
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 24px #00000026;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  max-height: 48px;
  filter: drop-shadow(0 0 4px #62fbee55);
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #2e3a4644;
  color: var(--color-accent);
}
.cta-btn {
  background: linear-gradient(90deg, #F6B940 70%, #62fbee 100%);
  color: #232C36;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 34px;
  margin-left: 30px;
  box-shadow: 0 4px 24px #62fbee30, 0 1.5px 0 #ffffff11;
  border: none;
  cursor: pointer;
  text-shadow: 0 1px #fff9;
  transition: box-shadow 0.18s, background 0.18s, color 0.16s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #62fbee 70%, #F6B940 100%);
  color: #2E3A46;
  box-shadow: 0 5px 40px #62fbee88, 0 2px 12px 0 #F6B94055;
}

/* ===== MOBILE HEADER NAVIGATION ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #62fbee;
  font-size: 2rem;
  padding: 12px;
  border-radius: 50%;
  margin-left: 16px;
  display: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 120;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #2E3A46;
  color: #F6B940;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232C36ee;
  z-index: 1111;
  padding: 36px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
  box-shadow: 0 2px 40px #62fbee33;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6B940;
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 1212;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 50%;
  padding: 4px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #62fbee;
  background: #2E3A46;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 42px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  padding: 14px 0 14px 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid #F6B94033;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: #F6B940;
  background: #2E3A4688;
}

@media (max-width: 1040px) {
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header nav {
    gap: 10px;
  }
  .cta-btn {
    margin-left: 17px;
  }
}
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(120deg, #2E3A46 60%, #315968 100%);
  box-shadow: 0 3px 16px #62fbee22;
  padding-bottom: 62px;
  padding-top: 32px;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero h1 {
  color: var(--color-neon);
}
.hero p {
  color: var(--color-light-bg);
  font-size: 1.18rem;
  margin-bottom: 22px;
  text-align: center;
}
.hero .cta-btn {
  font-size: 1.25rem;
  padding: 14px 40px;
  margin-left: 0;
  margin-top: 8px;
}

/* FEATURES SECTION */
.features {
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
}
.features .container {
  width: 100%;
}
.features .content-wrapper {
  width: 100%;
}
.content-wrapper > h2 {
  text-align: left;
}
.feature-grid, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 28px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #2E3A46;
  box-shadow: 0 3px 26px #62fbee1e, 0 2px 2px #0002;
  border-radius: 18px;
  padding: 30px;
  flex: 1 1 255px;
  min-width: 220px;
  color: #e3e5ea;
  border: 1.2px solid #2e3a4680;
  transition: transform 0.18s, box-shadow 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px var(--color-neon));
}
.feature-item h3 {
  color: var(--color-neon);
  font-size: 1.15rem;
  font-family: var(--font-display);
  margin-bottom: 7px;
}
.feature-item p {
  color: #e6eeef;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 10px 44px #62fbee55;
  transform: translateY(-6px) scale(1.03);
  z-index: 4;
}

.post-grid {
  margin-bottom: 16px;
}
.post-item {
  background: #27313D;
  border: 1px solid #2E3A4660;
  border-radius: 18px;
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 2px 14px #62fbee15;
  min-width: 245px;
  flex: 1 1 245px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.post-item h3 {
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-neon);
}
.post-item a {
  align-self: flex-start;
  padding: 7px 18px;
  background: #232C36;
  color: #F6B940;
  border-radius: 22px;
  font-size: 0.97rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 6px;
  transition: background 0.18s, color 0.18s;
}
.post-item a:hover {
  background: #62fbee;
  color: #232C36;
}
.post-item:hover {
  box-shadow: 0 10px 44px #62fbee55;
  transform: scale(1.03);
  z-index: 4;
}

/* ABOUT/VALUES/LEGAL/CONTACT */
.about, .values, .services, .legal, .contact {
  background: #27313D;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 44px 22px 40px 22px;
  box-shadow: 0 4px 30px #62fbee11;
}
.contact-info ul, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info img, .footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: sub;
  margin-right: 8px;
  filter: drop-shadow(0 0 2px var(--color-accent));
}
.text-section {
  margin-top: 22px;
  margin-bottom: 8px;
  background: #232C36;
  border-radius: 11px;
  padding: 22px 16px;
  box-shadow: 0 1.5px 6px #62fbee18;
}

/* CTA */
.cta {
  margin-bottom: 60px;
  background: linear-gradient(90deg,#2e3a46,#232c36 85%);
  border-radius: 18px;
  box-shadow: 0 2px 20px #62fbee15;
  padding: 45px 0 45px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta h3 {
  color: var(--color-accent);
  text-shadow: 0 2px 24px #62fbee44;
  font-size: 1.25rem;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .container {
  width: 100%;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonials h2 {
  color: #F6B940;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 26px 20px;
  background: #E8E6E1;
  color: #27313D;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px #62fbee17, 0 1px 1px #F6B94020;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  border: 2px solid #62fbee33;
}
.testimonial-card p {
  color: #232C36;
  font-size: 1.04rem;
  font-style: italic;
  margin: 0 0 8px 0;
  flex: 1;
}
.testimonial-author {
  color: #2E3A46;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-left: 12px;
  letter-spacing: 0.1px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px #2E3A4650, 0 2px 12px #F6B94060, 0 1px 1px #62fbee6a;
  transform: translateY(-5px) scale(1.022);
}

/* THANK-YOU PAGE */
.thank-you {
  background: #232C36;
  border-radius: 17px;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px #62fbee12;
  padding: 55px 20px 55px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.thank-you .cta-btn {
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  margin-top: 45px;
  font-size: 0.98rem;
  box-shadow: 0 -1.5px 10px #62fbee1c;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  padding: 38px 0 20px 0;
  min-height: 120px;
}
.footer-row nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-row nav a {
  color: #E8E6E1;
  font-size: 0.96rem;
  margin-bottom: 2px;
  transition: color 0.17s;
}
.footer-row nav a:hover {
  color: #F6B940;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F6B940;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
}
.footer-contact a {
  color: #F6B940;
  text-decoration: underline;
}

/* LEGAL PAGES */
.legal ul {
  margin-bottom: 24px;
  color: var(--color-secondary);
  padding-left: 10px;
}
.legal ul li {
  margin-bottom: 8px;
  line-height: 1.5;
  list-style: disc inside;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8888;
  background: #2E3A46ea;
  color: #fff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  box-shadow: 0 -4px 28px #62fbee33;
  transition: transform 0.45s cubic-bezier(.86,.01,.7,.85),opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
  gap: 28px;
}
.cookie-banner[hidden] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 250px;
  font-size: 1rem;
  padding-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F6B940;
  color: #232C36;
  border: none;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 30px;
  box-shadow: 0 2px 13px #62fbee28;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-btn.settings {
  background: #62fbee;
  color: #232C36;
}
.cookie-btn.reject {
  background: #232C36;
  color: #F6B940;
  border: 1.5px solid #F6B940;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #62fbee;
  color: #232C36;
  box-shadow: 0 6px 38px #F6B94099;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(32,49,83,0.65);
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s cubic-bezier(.77,0,.18,1);
  opacity: 0;
}
.cookie-modal-overlay[aria-hidden="false"] {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #232C36;
  color: #E8E6E1;
  border-radius: 22px;
  box-shadow: 0 6px 80px #62fbee44;
  padding: 34px 28px 28px 28px;
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  animation: pop-modal 0.28s cubic-bezier(.77,0,.18,1);
}
@keyframes pop-modal {
  0% { transform: translateY(100px) scale(0.97); opacity:0; }
  85% { opacity:1; }
  100% { transform: none; opacity:1; }
}
.cookie-modal h2 {
  color: #62fbee;
  font-size: 1.3rem;
  font-family: var(--font-display);
  margin-bottom: 13px;
}
.cookie-modal .cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: #27313D;
  border-radius: 15px;
  padding: 11px 18px;
  box-shadow: 0 1px 8px #F6B94022;
  font-size: 1rem;
  width: 100%;
}
.cookie-category input[type="checkbox"] {
  accent-color: #62fbee;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  border: 1.5px solid #F6B940;
}
.cookie-category label {
  color: #fff;
  font-family: var(--font-body);
}
.cookie-category.essential input {
  display: none;
}
.cookie-category.essential label::after {
  content: '(immer aktiviert)';
  color: #62fbee;
  font-size: 0.97em;
  margin-left: 9px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .close-modal-btn {
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 22px;
  color: #F6B940;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s, color 0.18s;
  padding: 2px 10px;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  background: #2E3A46;
  color: #62fbee;
}

/* =========== SPACING/GRID/CONTENT =========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #2E3A46;
  border-radius: 17px;
  box-shadow: 0 2px 12px #62fbee12;
  padding: 32px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 38px #62fbee40;
  transform: scale(1.024);
}
.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;
  margin-bottom: 26px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING FOR ALL CARDS/SECTIONS */
section, .section, .card, .testimonial-card, .feature-item, .post-item {
  margin-bottom: 20px;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 900px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid, .post-grid, .card-container, .content-grid, .footer-row {
    gap: 18px;
  }
  .footer-row {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 26px 0 16px 0;
  }
  .hero, .about, .features, .testimonials, .cta, .contact, .thank-you, .services, .values, .legal {
    padding-left: 0;
    padding-right: 0;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
  .feature-item, .post-item {
    min-width: 120px;
  }
}
@media (max-width: 768px) {
  /* Stack feature/post grids vertically */
  .feature-grid, .post-grid {
    flex-direction: column;
    gap: 20px;
  }

  .card-container, .content-grid, .footer-row {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 12px 18px 12px;
  }
  .cta, .thank-you {
    padding: 24px 0 28px 0;
  }
  .about, .features, .testimonials, .services, .values, .legal .contact {
    padding: 24px 12px 28px 12px;
    margin-bottom: 38px;
  }
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.3rem;
    margin-bottom: 13px;
  }
}
@media (max-width: 500px) {
  .hero h1, .thank-you h1 {
    font-size: 1.2rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 4px;
  }
  .footer-row {
    padding: 16px 0 8px 0;
    gap: 10px;
  }
}

/* ============== ANIMATIONS & MICROINTERACTIONS ============= */
.cta-btn, .cookie-btn, .cookie-modal .close-modal-btn, .mobile-menu-toggle, .mobile-menu-close, .post-item, .card, .testimonial-card, .feature-item, header nav a, .post-item a {
  transition: box-shadow 0.16s, background 0.16s, color 0.17s, transform 0.16s;
}

/* NEON SHADOW EFFECT (e.g. for accents, focus) */
.neon-glow {
  box-shadow: 0 0 12px #62fbee, 0 0 2px #F6B94099;
  border-color: #62fbee;
}

/* HIDE SCROLL ON BODY WHEN MODAL/MENU IS OPENED */
body.modal-open, body.menu-open {
  overflow: hidden !important;
}

/* Accessibility helper for skip links */
.skip-link {
  position: absolute;
  left: -800px;
  top: 8px;
  background: #62fbee;
  color: #232C36;
  font-weight: 700;
  padding: 8px 22px;
  z-index: 40000;
  border-radius: 4px;
  transition: left 0.2s;
}
.skip-link:focus {
  left: 14px;
}
