/* RESET & NORMALIZATION */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #222831;
  color: #F5F5F5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
:focus {
  outline: 2px solid #E8B245;
  outline-offset: 2px;
}

/* BRAND COLORS & FONTS */
:root {
  --color-primary: #20334A;
  --color-secondary: #F5F5F5;
  --color-accent: #E8B245;
  --color-bg: #222831;
  --color-light: #FAFBFF;
  --color-neon: #1FF8FF;
  --color-heading: #E8B245;
  --color-card-bg: #263043;
  --color-footer-bg: #1A2233;
  --color-link: #1FF8FF;
  --color-shadow: 0 2px 24px 0 rgba(32, 51, 74, 0.18), 0 1.5px 8px 0 rgba(0,0,0,0.09);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* GENERAL TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-heading);
  margin-bottom: 8px;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 1.85rem; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
.subheadline {
  font-family: var(--font-body);
  font-size: 1.13rem;
  color: var(--color-neon);
  margin-bottom: 14px;
  font-weight: 500;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-secondary);
  font-size: 1rem;
}
strong { color: var(--color-accent); font-weight: 600; }
em, i { color: var(--color-neon); }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 720px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX PATTERNS (Mandatory) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: var(--color-shadow);
  padding: 28px 22px;
}
.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: center;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px 0 rgba(32, 51, 74, 0.06);
  color: #20334A;
  font-family: var(--font-body);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 32px 0 rgba(32, 51, 74, 0.30);
  transform: translateY(-3px) scale(1.016);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  position: relative;
  background: var(--color-bg);
  z-index: 1001;
  box-shadow: 0px 2px 16px 0 rgba(32, 51, 74, 0.13);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 18px 0;
  width: 100%;
  gap: 20px;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  display: flex;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.18s, background 0.2s;
  padding: 6px 6px;
  border-radius: 5px;
}
.main-nav a.cta {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 26px;
  padding: 9px 22px;
  margin-left: 14px;
  box-shadow: 0 2px 8px 0 #00000024;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
  border: none;
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: var(--color-neon);
  color: #182030;
  box-shadow: 0 5px 18px 0 #1FF8FF55;
}
.main-nav li a:hover,
.main-nav li a:focus {
  color: var(--color-neon);
  background: #28334a77;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 20px;
  font-size: 2.4rem;
  color: var(--color-neon);
  background: none;
  z-index: 1103;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 51, 74, 0.98);
  z-index: 2000;
  animation: slideInMenu 0.25s cubic-bezier(.77,0,.18,1) forwards;
  transition: background 0.15s;
}
@keyframes slideInMenu {
  from { transform: translateX(100vw); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  color: var(--color-accent);
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin: 20px 30px 0 0;
  align-self: flex-end;
  z-index: 2021;
  border-radius: 6px;
  transition: background 0.12s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #444;
  color: var(--color-neon);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  width: 100%;
  padding: 34px 44px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--color-secondary);
  padding: 14px 0px 14px 10px;
  width: 100%;
  border-radius: 6px;
  background: none;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #263043;
  color: var(--color-neon);
}

/* HERO SECTION / SECTION ACCENTS */
section:first-of-type {
  background: linear-gradient(140deg, #20334A 60%, #222831 100%);
  box-shadow: 0 2px 32px 0 rgba(32, 51, 74, 0.09);
  border-radius: 0 0 32px 32px;
}
section:not(:first-of-type) {
  background: none;
}

/* FEATURES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
  align-items: stretch;
}
.feature-grid li {
  background: var(--color-card-bg);
  color: var(--color-neon);
  border-radius: 16px;
  box-shadow: var(--color-shadow);
  padding: 26px 20px 19px 20px;
  flex: 1 1 170px;
  min-width: 210px;
  max-width: 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.15s, transform 0.18s;
  position: relative;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 24px 0 #1FF8FF40;
  transform: translateY(-4px) scale(1.018);
  background: #23304A;
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 5px #E8B24533) drop-shadow(0 0 14px #1FF8FF68);
}
.feature-grid h3 {
  font-size: 1.14rem;
  color: var(--color-neon);
  margin-bottom: 9px;
}
.feature-grid p {
  color: #E6EAF2;
  font-size: 1rem;
  margin-bottom: 0;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 10px;
}
.trust-badges img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 8px #1FF8FFbb);
}

/* CARD COMPONENTS / PRICES / CTA */
.price-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.price-grid > div {
  background: var(--color-card-bg);
  color: var(--color-accent);
  border-radius: 15px;
  box-shadow: 0 1px 10px #1FF8FF22;
  padding: 19px 24px;
  min-width: 168px;
  flex: 1 1 148px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  transition: box-shadow 0.14s, background 0.15s;
}
.price-grid > div:hover {
  box-shadow: 0 6px 22px #E8B24522;
  background: #25314A;
}

.cta {
  display: inline-block;
  background: var(--color-accent);
  color: #20334A;
  font-family: var(--font-display);
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: .04em;
  margin-top: 6px;
  box-shadow: 0 2px 10px 0 #E8B24518, 0px 1px 2px 0 #1FF8FF24;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 2;
  text-align: center;
  text-decoration: none;
}
.cta:hover, .cta:focus {
  background: var(--color-neon);
  color: var(--color-primary);
  box-shadow: 0 7px 30px 0 #1FF8FF38;
  transform: translateY(-1px) scale(1.021);
}

/* MAP BLOCK (Kontakt) */
.map-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 0 0;
}
.map-block span {
  padding: 0;
}
.map-block img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 0 7px #1FF8FF88);
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-secondary);
  padding: 42px 0 18px 0;
  margin-top: 60px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 28px;
}
footer img {
  width: 64px;
  margin-bottom: 14px;
}
footer ul {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
footer li {
  font-size: 1rem;
  color: #F5F5F5;
}
footer a {
  color: #E8B245;
  font-family: var(--font-body);
  transition: color 0.2s;
}
footer a:hover, footer a:focus {
  color: var(--color-neon);
}
.footer-contact {
  font-size: 0.98rem;
  color: #F5F5F5;
  margin-top: 17px;
}
.footer-contact address,
.footer-contact a {
  color: #F5F5F5;
  font-style: normal;
  font-family: var(--font-body);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 19px;
}
.social-links a img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px #1FF8FF88);
  transition: filter 0.2s, transform 0.13s;
}
.social-links a:hover img {
  filter: drop-shadow(0 0 16px #E8B24599) brightness(1.23);
  transform: scale(1.12);
}

/* ADDRESS & MISCELLANEOUS */
address {
  font-style: normal;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100vw;
  background: #20334A;
  color: #fff;
  box-shadow: 0 -2px 22px 0 #23304A61;
  padding: 22px 12px 22px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  gap: 26px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-banner-content {
  max-width: 700px;
}
.cookie-banner-btns {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  border-radius: 22px;
  font-family: var(--font-display);
  padding: 9px 18px;
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
  margin-left: 2px;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: #20334A;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-neon);
  color: #182030;
  box-shadow: 0 2px 18px #1FF8FF30;
}
.cookie-banner .reject {
  background: #27354D;
  color: #fff;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #1FF8FF;
  color: #20334A;
}
.cookie-settings-btn {
  background: #1FF8FF;
  color: #182030;
  box-shadow: 0 2px 12px #1FF8FF33;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #E8B245;
  color: #20334A;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(32, 51, 74, 0.92);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: showCookieModal 0.22s cubic-bezier(.17,.67,.23,1) 1;
}
@keyframes showCookieModal {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: #f2f6fa;
  color: #20334A;
  border-radius: 23px;
  box-shadow: 0 8px 28px 0 #1FF8FF3a;
  max-width: 420px;
  width: 95%;
  padding: 36px 30px 32px 30px;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--color-heading);
  margin-bottom: 10px;
}
.cookie-modal em {
  color: #3689a8;
  font-size: 1em;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  font-size: 1.6rem;
  color: #20334A;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s;
  z-index: 3120;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #E8B245;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 12px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  justify-content: flex-start;
}
.cookie-category .toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 20px;
  background: #E8B24533;
  border-radius: 12px;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
}
.cookie-category .toggle[data-on="true"] {
  background: #1FF8FF;
  box-shadow: 0 0 10px #1FF8FF99;
}
.cookie-category .toggle[data-on="false"] {
  background: #e2e4e9;
  filter: saturate(0.5);
}
.cookie-category .toggle-dot {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.21s cubic-bezier(.18,.67,.3,1);
}
.cookie-category .toggle[data-on="true"] .toggle-dot {
  left: 16px;
}
.cookie-category .label {
  font-family: var(--font-display);
  font-weight: 500;
  color: #20334A;
}
.cookie-modal button {
  margin-top: 11px;
  border-radius: 20px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07rem;
  background: var(--color-accent);
  color: #20334A;
  border: none;
  transition: background 0.15s, color 0.16s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-neon);
  color: #0F172A;
}
.cookie-modal .cookie-info {
  color: #956C23;
  font-size: 0.97em;
  margin-top: 3px;
}
.cookie-category .toggle[data-on="true"] .toggle-dot {
  background: #E8B245;
}

/* TABLES (if exist) */
table {
  width: 100%;
  margin-bottom: 32px;
  border-collapse: collapse;
  background: var(--color-card-bg);
  color: var(--color-secondary);
}
th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #e2e2e241;
  font-size: 1.02rem;
}
th {
  color: var(--color-accent);
  font-size: 1.08rem;
}

/* MEDIA QUERIES: RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container {
    max-width: 960px;
  }
  .card-container, .content-grid, .feature-grid, .price-grid {
    gap: 16px;
  }
  .card, .feature-grid li, .price-grid > div {
    min-width: 148px;
    padding-left: 11px;
    padding-right: 11px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 14px;
  }
  .feature-grid, .card-container, .price-grid {
    flex-wrap: wrap;
    gap: 14px;
  }
  .feature-grid li {
    max-width: 48vw;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding-left: 8.5vw;
    padding-right: 8.5vw;
  }
  header {
    padding-right: 0;
  }
  .section {
    padding: 28px 7vw;
    margin-bottom: 36px;
  }
  .content-grid,
  .feature-grid,
  .price-grid,
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid li, .price-grid > div {
    min-width: 95%;
    max-width: 100%;
  }
  .footer-contact,
  .footer-contact address {
    font-size: 0.95rem;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    padding: 17px 10px;
  }
  .social-links a img {
    width: 33px;
    height: 33px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .section {
    padding: 17px 3vw;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.16rem; }
  .main-nav > a img, footer img {
    width: 42px;
    height: auto;
  }
}

/* HIDE/SHOW LOGIC FOR BANNER*/
.cookie-banner[hidden],
.cookie-modal-overlay[hidden] {
  display: none !important;
}

/* ANIMATIONS / TRANSITIONS */
html, body, * {
  scroll-behavior: smooth !important;
}

/* --- END OF STYLES --- */
