/* =======================================================================
   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,
main, 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.6;
  background: #F0F1F5;
  color: #14314C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: inside;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #14314C;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, li, dd {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1a2736;
  margin-bottom: 14px;
}
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #14314C;
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}
a {
  color: #E9B100;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus,
a:hover {
  color: #FF4E50;
  text-decoration-skip-ink: auto;
  outline: none;
}

/* =======================================================================
   BRAND COLOR PALETTE (Vibrant Energetic Added)
   ======================================================================= */
:root {
  --brand-primary: #14314C;
  --brand-secondary: #F0F1F5;
  --brand-accent: #E9B100;
  --vibrant-blue: #2D77FF;
  --vibrant-magenta: #FF4E50;
  --vibrant-lime: #CAFF00;
  --vibrant-yellow: #FFE500;
  --dark-text: #14314C;
  --light-text: #fff;
  --shadow-color: rgba(32,32,68,0.12);
  --card-radius: 18px;
  --input-radius: 8px;
  --section-padding-v: 40px;
  --container-max: 1080px;
}

/* =======================================================================
   LAYOUT STRUCTURE & SPACING
   ======================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: var(--brand-secondary);
  border-radius: var(--card-radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px var(--shadow-color);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
}

.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;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 16px var(--shadow-color);
  padding: 20px;
  margin-bottom: 24px;
  flex: 1 1 380px;
}
.testimonial-meta {
  color: #14314C;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
}
.testimonial-meta span {
  display: inline-block;
  margin-left: 10px;
  color: #E9B100;
  font-size: 1.1em;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--shadow-color);
  padding: 22px 16px;
  transition: box-shadow 0.2s, transform 0.14s;
  border-left: 6px solid var(--vibrant-blue);
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(45, 119, 255, 0.12), 0 2px 10px var(--shadow-color);
  transform: translateY(-2px) scale(1.04);
  border-left-color: var(--vibrant-magenta);
}

.overall-score {
  font-weight: 700;
  color: var(--vibrant-blue);
  font-size: 1.1rem;
  margin-top: 16px;
  font-family: 'Oswald', Arial, sans-serif;
}

/* =======================================================================
   HEADER, NAVIGATION, LOGO, CTAs
   ======================================================================= */
header {
  background: var(--brand-primary);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 200;
  box-shadow: 0 2px 9px var(--shadow-color);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: border 0.13s, color 0.17s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: #FFE500;
  border-bottom: 2.5px solid #FFE500;
  outline: none;
}

.cta {
  background: linear-gradient(90deg, #E9B100 0%, #FF4E50 100%);
  color: #fff !important;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 1px;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  margin-left: 14px;
  box-shadow: 0 2px 14px var(--shadow-color);
  cursor: pointer;
  transition: background 0.18s, transform 0.16s, box-shadow 0.18s;
  text-align: center;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FF4E50 0%, #E9B100 100%);
  transform: scale(1.08) translateY(-1.5px);
  box-shadow: 0 8px 28px rgba(233, 177, 0, 0.13);
  color: var(--light-text) !important;
  outline: none;
}

/* =======================================================================
   MOBILE NAVIGATION
   ======================================================================= */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFE500;
  cursor: pointer;
  display: none;
  padding: 8px 12px;
  margin-left: 18px;
  border-radius: 6px;
  transition: background 0.15s;
  z-index: 300;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(255, 229, 0, 0.16);
  outline: 2px solid #E9B100;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,49,76,0.98);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.86,0,.07,1), opacity 0.27s;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFE500;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 20px 24px 4px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 910;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #FF4E50;
  background: rgba(255,229,0, 0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  background: none;
  padding: 12px 4px 12px 0;
  display: block;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.18s, background 0.15s, border-bottom 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #E9B100;
  background: none;
  border-bottom: 2px solid #E9B100;
  outline: none;
}

/* Hide desktop nav and show mobile menu toggle on small screens */
@media (max-width: 1024px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================================================
   MAIN LAYOUT & SECTION SPACING
   ======================================================================= */
main {
  width: 100%;
  margin-bottom: 40px;
  flex: 1 0 auto;
}
section {
  width: 100%;
  margin-bottom: 60px;
  background: none;
}

/* =======================================================================
   TABLES, FAQ & LISTS (Preise, FAQ, etc.)
   ======================================================================= */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 12px var(--shadow-color);
  border-radius: var(--card-radius);
  margin-bottom: 20px;
  overflow: hidden;
}
thead {
  background: var(--vibrant-blue);
}
thead th {
  font-family: 'Oswald', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 18px 14px;
  border-right: 1px solid #e2e5ea;
  text-align: left;
}
tbody td {
  padding: 16px 14px;
  font-size: 1rem;
  color: #14314C;
  border-bottom: 1px solid #e2e5ea;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #F9EDC0;
}

ol, ul {
  font-size: 1rem;
  padding-left: 22px;
  margin-bottom: 18px;
}
ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}
dl dt {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 14px;
}
dl dd {
  margin-bottom: 8px;
  padding-left: 16px;
  color: #14314C;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
footer {
  width: 100%;
  background: var(--brand-primary);
  color: #fff;
  padding: 30px 0 18px 0;
  box-shadow: 0 -2px 8px var(--shadow-color);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
}
footer img {
  width: 50px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #FFE500 !important;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.17s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff !important;
}
footer p {
  color: #E9B100;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
}

/* =======================================================================
   BUTTONS, INPUTS, MICRO-INTERACTIONS
   ======================================================================= */
button, .button {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  background: var(--vibrant-blue);
  color: #fff;
  padding: 10px 28px;
  font-size: 1.04rem;
  letter-spacing: 1px;
  transition: background 0.16s, color 0.14s, transform 0.13s, box-shadow 0.15s;
  box-shadow: 0 2px 14px var(--shadow-color);
  margin-bottom: 8px;
}
button:hover,
button:focus,
.button:hover,
.button:focus {
  background: var(--vibrant-magenta);
  color: #fff;
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,78,80,0.15);
  outline: none;
}

input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #E9B100;
  border-radius: var(--input-radius);
  padding: 10px 15px;
  outline: none;
  margin-bottom: 14px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(20,49,76,0.07);
  transition: border 0.15s;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: #2D77FF;
}

/* =======================================================================
   TESTIMONIALS & CARDS (High Contrast Readability)
   ======================================================================= */
.testimonial-card {
  background: #fff;
  color: #14314C;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 14px var(--shadow-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.testimonial-card p {
  color: #14314C;
  font-size: 1.13rem;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #14314C;
  font-size: 1rem;
}

/* High contrast for testimonials (dark text on white) */
.testimonial-card,
.testimonial-card p,
.testimonial-card .testimonial-meta {
  color: #14314C;
}

/* =======================================================================
   RESPONSIVE DESIGN (Mobile First)
   ======================================================================= */
@media (max-width: 1024px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.42rem;
    margin-bottom: 14px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .section, section {
    padding: 26px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    gap: 8px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.33rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .text-section, .content-wrapper {
    gap: 12px;
  }
  .cta, button, .button {
    padding: 12px 12px;
    font-size: 0.99rem;
  }
}

/* =======================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(89deg,#FFE500 65%,#E9B100 100%);
  color: #14314C;
  box-shadow: 0 -4px 20px rgba(20,49,76,0.18);
  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 18px 34px 18px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: slideUp 0.67s cubic-bezier(.77,0,.18,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-size: 1.01rem;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.5px;
  border-radius: 24px;
  padding: 7px 18px;
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: background 0.17s, color 0.13s;
  background: #fff;
  color: #14314C;
  box-shadow: 0 2px 7px var(--shadow-color);
}
.cookie-banner button.accept {
  background: #2D77FF;
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #E9B100;
  color: #14314C;
}
.cookie-banner button.reject {
  background: #FF4E50;
  color: #fff;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #14314C;
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  border: 1.5px dashed #E9B100;
  color: #14314C;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #FFE500;
  color: #14314C;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 15px 12px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(1);
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 32px rgba(32,32,60,0.19);
  z-index: 1300;
  padding: 32px 30px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: fadeInScale 0.4s cubic-bezier(.77,0,.18,1);
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeInScale {
  from { transform: translate(-50%,-55%) scale(0.75); opacity: 0; }
  to   { transform: translate(-50%,-55%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #2D77FF;
  margin-bottom: 10px;
  font-size: 1.17rem;
  font-family: 'Oswald', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-categories .cookie-category {
  background: #F0F1F5;
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-categories .cookie-category label {
  margin-left: auto;
  font-size: 0.98rem;
}
.cookie-categories .essential {
  font-weight: 600;
  color: #FF4E50;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-actions button {
  padding: 8px 20px;
  font-size: 1rem;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 6px 16px 9px;
    width: 97vw;
  }
}

/* =======================================================================
   COLORFUL ENERGETIC EXTRAS FOR "VIBRANT ENERGETIC" STYLE
   ======================================================================= */
.section {
  background: linear-gradient(90deg, #F0F1F5 80%, #FFE500 99%);
  box-shadow: 0 2px 24px rgba(45,119,255,0.08), 0 1.5px 7px var(--shadow-color);
  border-radius: 18px;
}
.text-section a:not(.cta) {
  color: #2D77FF;
  font-weight: 700;
  position: relative;
}
.text-section a:not(.cta)::after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: #2D77FF;
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: -3px;
  transition: background .2s;
}
.text-section a:not(.cta):hover::after,
.text-section a:not(.cta):focus::after {
  background: #FF4E50;
}

/* Some icons in features/lists */
li img {
  vertical-align: middle;
  margin-right: 7px;
  height: 1.2em;
}

/* Table highlight accent for energetic style */
tbody tr:last-child td {
  border-bottom: 2px solid var(--vibrant-magenta);
}

dt {
  color: var(--vibrant-blue);
}

/* =============================================================================
   MISCELLANEOUS: Animations/Micro-Interactions
   ============================================================================= */
.card,
.feature-grid > div,
.testimonial-card {
  transition: box-shadow .18s, transform .18s;
}
.card:hover,
.feature-grid > div:focus-within,
.feature-grid > div:hover,
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(255, 78, 80, 0.13), 0 2px 16px var(--shadow-color);
  transform: translateY(-3px) scale(1.03);
  z-index: 2;
}

.section h1, .section h2, .section h3 {
  color: #2D77FF;
  text-shadow: 0 1px 2px #F0F1F5, 0 2px 6px #CAFF00;
}

/* For strong accent headlines (energetic) */
h1, h2 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* =============================================================================
   Ensure proper gap between section, cards, etc.
   ============================================================================= */
section, .section {
  margin-bottom: 60px !important;
}
.card-container > *,
.feature-grid > *,
.content-grid > * {
  margin-bottom: 20px !important;
}

/* =============================================================================
  Extras: Utility classes
  ============================================================================= */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* =============================================================================
   Prevent layout overlapping issues
   ============================================================================= */
.card-container, .feature-grid, .content-grid, .testimonial-card {
  gap: 20px;
}
.card, .feature-grid > div, .testimonial-card {
  min-width: 0;
  max-width: 100%;
}

/* ----------------------------------------------------------------------------
   END OF STYLE.CSS
   ---------------------------------------------------------------------------- */
