/* ==== CSS RESET & NORMALIZE ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F1F6FA;
  background-color: #0A213C;
  min-height: 100vh;
  transition: background 0.3s;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
hof, ul, ol, p, figure, blockquote, dl, dd {
  margin-bottom: 1.2em;
}
ul, ol {
  padding-left: 1.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
strong { font-weight: 700; }
a {
  color: #FFC857;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 8px #FFC85788;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 500; }
p, li, table, label, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F1F6FA;
  line-height: 1.7;
}

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}

/* ==== GLOBAL STRUCTURE ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header, header {
  background: #0A213C;
  border-bottom: 1px solid #20324F;
  width: 100%;
  box-shadow: 0 1px 8px rgba(10,33,60,0.06);
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo img {
  display: block;
  width: 132px;
  height: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F1F6FA;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  background: #152b4a;
  color: #FFC857;
}

.cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #FFC857;
  color: #0A213C;
  border: none;
  border-radius: 32px;
  padding: 10px 32px;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 0 16px 2px #FFC85744;
  text-shadow: none;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.22s, box-shadow 0.2s, transform 0.1s;
  position: relative;
  z-index: 1;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFD676;
  color: #0A213C;
  filter: brightness(1.07);
  box-shadow: 0 0 28px 0 #FFC857aa;
  transform: translateY(-2px) scale(1.03);
}

.cta {
  color: #FFC857;
  border: none;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 24px;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  padding: 7px 22px;
}
.cta:hover, .cta:focus {
  background: #152b4a;
  color: #fff;
  box-shadow: 0 0 12px 1px #FFC85755;
}

main {
  flex: 1;
  width: 100%;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  background: linear-gradient(120deg, #0A213C 70%, #152b4a 100%);
  box-shadow: 0 0 44px 0px #0A213C16, 0 1.5px 8px #09203c33;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

@media (min-width: 700px) {
  section {
    padding: 54px 32px;
  }
  .content-wrapper {
    gap: 32px;
  }
}

/* ==== FLEX LAYOUTS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin: 28px 0 0 0;
}
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #11284A;
  border-radius: 20px;
  box-shadow: 0 0 16px 0 #0A213C26;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  min-height: 280px;
  border: 1.5px solid #20324F;
  transition: box-shadow 0.17s, border 0.16s, transform 0.13s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 0 36px 0 #FFC85733, 0 2.5px 32px #0A213C11;
  border: 1.5px solid #FFC857;
  transform: scale(1.02);
  z-index: 2;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px #FFC85744);
}
.price {
  color: #FFC857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-top: auto;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ==== CARD & GRID LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #11284A;
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 0 16px 0 #11284a36;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  border: 1.5px solid #20324F;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F6FA;
  color: #0A213C;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 0 14px 0 #11284A16;
  border: 1.5px solid #E9EEF3;
  flex-direction: column;
  align-items: flex-start;
  max-width: 740px;
  width: 100%;
  transition: box-shadow 0.18s, border 0.15s;
}
.testimonial-card blockquote {
  color: #0A213C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-style: italic;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  line-height: 1.6;
  quotes: "\201C" "\201D" "\2018" "\2019";
  position: relative;
}
.testimonial-card cite {
  color: #3b414e;
  font-size: 0.95rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  margin-top: 2px;
  padding-left: 12px;
  border-left: 3px solid #FFC857;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 0 22px 0 #FFC85729;
  border: 1.5px solid #FFC85788;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== BUTTONS & FORMS ==== */
button, .cta {
  outline: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  transition: all 0.16s;
}
input[type="email"], input[type="text"], textarea {
  border: 1.5px solid #20324F;
  background: #f5f8fa;
  color: #0a213c;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.16s, background 0.18s;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: #FFC857;
  background: #fff;
  outline: none;
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 16px 0 4px 0;
}
.newsletter-signup button {
  margin-top: 8px;
  width: auto;
}
@media (min-width: 400px) {
  .newsletter-signup {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }
  .newsletter-signup input {
    flex: 1 1 auto;
    margin-bottom: 0;
  }
}

/* ==== PRICING TABLE ==== */
.pricing-table th,
.pricing-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #223d61;
}
.pricing-table th {
  color: #FFC857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  background: #0A213C;
}
.pricing-table td {
  color: #F1F6FA;
  background: #13284a;
  font-size: 1rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table {
  margin-bottom: 32px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 10px #0A213C18;
}

/* ==== FAQ Accordions ==== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.faq-accordion > div {
  background: #11284A;
  border-radius: 12px;
  padding: 18px 22px;
  border: 1.5px solid #20324F;
  margin-bottom: 8px;
  cursor: pointer;
  transition: box-shadow 0.13s, border 0.15s;
}
.faq-accordion > div:hover, .faq-accordion > div:focus-within {
  border: 1.5px solid #FFC857cc;
  box-shadow: 0 0 10px #FFC85750;
}
.faq-accordion h3 {
  font-size: 1.18rem;
  color: #FFC857;
}
.faq-accordion div > div {
  color: #F1F6FA;
  margin-top: 8px;
  font-size: 1rem;
}

/* ==== BLOG LIST ==== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 30px;
}
.blog-list article {
  background: #11284A;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 0 8px 0 #FFC85711;
  border: 1.5px solid #20324F;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-list article h3 {
  color: #FFC857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 7px;
}

@media (min-width: 700px) {
  .blog-list {
    flex-direction: row;
    gap: 24px;
  }
  .blog-list article {
    flex: 1 1 310px;
    margin-bottom: 0;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #0A213C;
  border-top: 1.5px solid #20324F;
  padding: 48px 0 24px 0;
  margin-top: 32px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img {
  width: 50px;
  margin-right: 12px;
}
footer nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
footer nav a {
  font-size: 1rem;
  color: #F1F6FA;
  opacity: 0.81;
  padding-left: 0;
}
footer nav a:hover {
  opacity: 1;
  color: #FFC857;
}
footer .contact-details {
  font-size: 0.97rem;
  color: #b5bacb;
  line-height: 1.7;
  margin-top: 0;
}
footer .contact-details a {
  color: #FFC857;
  opacity: 0.85;
}
footer .contact-details a:hover {
  color: #fff;
  opacity: 1;
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 1101;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #152b4aee;
  color: #FFC857;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 0 12px #FFC85766;
  transition: background 0.16s, color 0.18s, box-shadow 0.15s, transform 0.1s;
}
.mobile-menu-toggle:active {
  background: #FFC857;
  color: #0A213C;
  transform: scale(0.94);
  box-shadow: 0 0 24px #FFC85777;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, .cta.primary {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 33, 60, 0.97);
  z-index: 1102;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.4,.5,.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 32px 18px 0;
  background: #152b4aee;
  color: #FFC857;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 0 16px #FFC85733;
}
.mobile-menu-close:hover {
  background: #FFC857;
  color: #0A213C;
  box-shadow: 0 0 32px #FFC85755;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-right: 52px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F1F6FA;
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 12px 26px;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover {
  background: #FFC857;
  color: #0A213C;
}
@media (max-width: 480px) {
  .mobile-nav a {
    font-size: 1.12rem;
    padding: 12px 14px;
  }
  .mobile-menu-close { margin: 22px 10px 8px 0; }
  .mobile-nav { margin-right: 20px; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #11284A 77%, #152b4a 100%);
  color: #F1F6FA;
  box-shadow: 0 -2px 20px #152b4a44;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 18px 20px 18px;
  font-size: 1rem;
  animation: fadeInBanner 0.7s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #F1F6FA;
  margin-bottom: 9px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 0;
}
.cookie-btn {
  min-width: 120px;
  padding: 8px 18px;
  border-radius: 22px;
  background: #FFC857;
  color: #0A213C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  margin: 0;
  margin-bottom: 0;
  box-shadow: 0 0 4px #FFC85733;
  transition: background 0.17s, color 0.18s, box-shadow 0.16s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD676;
  color: #0A213C;
  box-shadow: 0 0 16px #FFC85799;
}
.cookie-btn.secondary {
  background: #13284A;
  color: #F1F6FA;
  border: 1.5px solid #FFC857;
  font-weight: 500;
}
.cookie-btn.secondary:hover {
  background: #FFC857;
  color: #0A213C;
}

/* Cookie Modal for settings */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,33,60,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeInModal 0.37s;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #F1F6FA;
  color: #0A213C;
  max-width: 420px;
  width: 95vw;
  border-radius: 20px;
  box-shadow: 0 3px 42px #11284a22;
  padding: 32px 22px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popModal .42s;
}
@keyframes popModal {
  0% { transform: scale(0.88); opacity: 0; }
  75% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 18px; top: 14px;
  background: none;
  color: #0A213C;
  font-size: 1.6rem;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal-btn:hover {
  color: #FFC857;
}
.cookie-modal h3 {
  color: #0A213C;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #0A213C;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFC857;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.cookie-category input[disabled] {
  accent-color: #D2D8E6;
  opacity: 0.75;
  cursor: not-allowed;
}
.cookie-modal .cookie-btn {
  margin-top: 18px;
}

/* Hide modal/banner by default */
.cookie-modal-overlay[hidden], .cookie-banner[hidden] {
  display: none !important;
}

/* ==== LOCATION MAP (Kontakt) ==== */
.location-map {
  border-radius: 14px;
  background: #152b4a11;
  color: #b7bed2;
  padding: 18px 24px;
  margin-top: 12px;
  font-style: italic;
  font-size: 1rem;
  box-shadow: 0 0 5px 0 #11284A11;
}

/* ==== GENERAL UTILITY ==== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }

/* ==== RESPONSIVENESS ==== */
@media (max-width: 900px) {
  .feature-grid > div {
    flex: 1 1 98%;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 94vw;
    padding: 20px 8px 17px 13px;
    min-height: 220px;
  }
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 520px) {
  section {
    padding: 32px 7px;
    margin-bottom: 48px;
  }
}

/* ==== MICRO-ANIMATIONS ==== */
.cta.primary, .cta {
  transition: transform 0.13s, box-shadow 0.18s, background 0.18s, color 0.14s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, border 0.13s, background 0.15s, transform 0.13s;
}

input, button, .cta, .price, .testimonial-card, .feature-grid > div {
  outline: none;
}

/* ==== SCROLLBAR FUTURISTIC ==== */
::-webkit-scrollbar {
  width: 7px;
  background: #11284A;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg, #FFC85799 0%, #0A213C 90%);
  border-radius: 6px;
}
html {
  scrollbar-color: #FFC857 #11284A;
  scrollbar-width: thin;
}

/* ==== SELECTION COLOR ==== */
::selection {
  background: #FFC857;
  color: #0A213C;
}

/* ==== Z-INDEXS ==== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 2000; }

/* ==== RESPONSIVE HIDINGS ==== */
@media (max-width: 1024px) {
  header .cta.primary { display: none; }
}
