/* ===== CSS RESET & BASE ===== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAFCFE;
  color: #273856;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #298ad4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #243553;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}
:focus {
  outline: 2px solid #F9C846;
  outline-offset: 2px;
}

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

/* ===== COLOR VARIABLES ===== */
:root {
  --primary: #123254;
  --secondary: #2E5077;
  --accent: #F9C846;
  --pastel-blue: #c7daf6;
  --pastel-lavender: #e8e9fa;
  --pastel-mint: #e3faef;
  --pastel-pink: #f9e2e8;
  --pastel-yellow: #fdf6cc;
  --pastel-peach: #ffe7cd;
  --text-main: #273856;
  --text-dark: #123254;
  --text-light: #ffffff;
  --shadow: 0 2px 24px rgba(44, 76, 120, 0.12);
  --border-radius: 20px;
  --transition: 0.18s cubic-bezier(.66,.16,.34,1);
}

/* ===== LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-lavender);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Flex patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 32px rgba(44, 76, 120, 0.17);
}
.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;
  margin-bottom: 24px;
  background: var(--pastel-peach);
  border-radius: 20px;
  box-shadow: var(--shadow);
  color: var(--text-dark);
  min-width: 250px;
  max-width: 650px;
  font-size: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.section h2 {
  margin-top: 0;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-size: 1rem;
}
p, ul, ol {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* ===== HEADER & NAV ===== */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 60%, var(--pastel-mint) 100%);
  box-shadow: 0 2px 16px rgba(59, 90, 136, 0.07);
  position: relative;
  width: 100%;
  z-index: 50;
  padding: 0;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 44px;
  margin: 0 10px 0 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 12px;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: var(--accent);
  border-radius: 18px;
  padding: 10px 32px;
  box-shadow: 0 2px 8px rgba(249, 200, 70, 0.13);
  text-align: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-left: 16px;
}
.cta-button:hover, .cta-button:focus {
  background: #ffe082;
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(40,40,40,0.06);
  margin-left: 16px;
  z-index: 900;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover {
  background: #ffe082;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(252,252,255,0.90);
  box-shadow: 0 0 0 400vw rgba(34,36,38,0.06);
  z-index: 1000;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.88,.12,.41,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 26px; right: 24px;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 16px;
  z-index: 1010;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fde89f;
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 90px 0 0 38px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 8px;
  border-radius: 12px;
  background: transparent;
  width: 100%;
  transition: background var(--transition), color var(--transition);
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 38px; padding: 30px 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .testimonial-card {
    font-size: 1rem; padding: 16px;
  }
  .content-wrapper, .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .section { padding: 18px 4px; margin-bottom: 18px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  .testimonial-card { font-size: 0.97rem; padding: 11px; }
}

/* ===== HERO SECTIONS ===== */
section:first-of-type, .section-hero {
  background: linear-gradient(120deg, var(--pastel-lavender) 60%, var(--pastel-mint) 100%);
  box-shadow: none;
}
section:first-of-type h1, .section-hero h1 {
  color: var(--secondary);
}

/* ===== FEATURE, LIST & CARD STYLES ===== */
ul {
  margin-bottom: 18px;
  padding-left: 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  line-height: 1.65;
  color: var(--primary);
  background: rgba(255,255,255,0.6);
  padding: 9px 15px;
  border-radius: 14px;
  /* icon inside ul li: */
  font-size: 1.03rem;
  font-weight: 500;
}
ul li img {
  width: 32px; height: 32px;
  min-width: 32px;
  display: inline-block;
  margin: 0 5px 0 0;
  vertical-align: middle;
}

/* Lists in policy pages */
[lang="de"] main>section ul li {
  background: none;
  padding: 0;
  font-size: 1rem;
  color: var(--primary);
}

/* ===== TESTIMONIAL STYLES (readable!) ===== */
.testimonial-card {
  background: var(--pastel-peach);
  color: var(--text-dark);
  box-shadow: 0 1px 16px rgba(44,76,120,0.09);
  font-size: 1.15rem;
  font-style: italic;
  border-left: 5px solid var(--accent);
}
.testimonial-card p {
  margin-bottom: 0px;
  color: var(--text-dark);
}
.testimonial-card span {
  color: #84684e;
  font-size: 0.98rem;
  font-style: normal;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  align-self: flex-end;
}

/* ===== BUTTONS & INTERACTIVES ===== */
button,
input[type="submit"],
.cta-button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* ===== SECTIONS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-lavender);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, var(--pastel-lavender) 50%, var(--pastel-blue) 100%);
  padding: 0;
  border-top: 1px solid #bfc5d5;
}
footer > .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  padding: 32px 18px 23px;
}
footer img {
  height: 44px;
  margin-right: 19px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 5px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  footer > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 8px;
  }
  footer nav { flex-direction: row; gap: 18px; }
}

@media (max-width: 460px) {
  footer > .container { padding: 18px 4px; gap: 12px; }
  footer img { height: 34px; }
  .footer-contact { font-size: 0.89rem; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw; z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, var(--pastel-mint) 60%, var(--pastel-yellow) 100%);
  color: var(--primary);
  padding: 20px 40px;
  box-shadow: 0 4px 32px 0 rgba(18, 34, 54, 0.08);
  font-size: 1rem;
  transition: transform 0.35s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button {
  border-radius: 13px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0 2px;
  border: none;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept:hover {
  background: #ffe082;
  color: var(--secondary);
}
.cookie-banner .reject {
  background: var(--pastel-pink);
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .reject:hover {
  background: #f3bac4;
  color: var(--primary);
}
.cookie-banner .settings {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--accent);
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-banner .settings:hover {
  background: var(--pastel-yellow);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
@media (max-width: 768px){
  .cookie-banner { flex-direction: column; gap: 14px; padding: 12px 4px; font-size: 0.97rem; }
  .cookie-banner .cookie-actions { flex-direction: row; gap: 11px; width: 100%; }
}
@media (max-width:460px) {
  .cookie-banner { font-size: 0.91rem; padding: 7px 2px; }
  .cookie-banner .cookie-actions button { font-size: 0.96rem; padding: 7px 14px; }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,36,80,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transform: scale(0.96);
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  transform: scale(1);
}
.cookie-modal {
  background: linear-gradient(125deg, var(--pastel-blue) 55%, var(--pastel-peach) 100%);
  border-radius: 22px;
  box-shadow: 0 0 24px 4px rgba(80,104,152,0.09);
  padding: 32px 34px 24px;
  max-width: 440px;
  width: 94vw;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2520;
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.45rem;
  color: var(--secondary);
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(120,130,170,0.08);
  padding: 14px 18px;
}
.cookie-modal .cookie-category > label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 36px; height: 20px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-category.disabled {
  opacity: .45;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 10px;
  padding: 7px 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: var(--accent);
  border-radius: 50%;
  padding: 5px 11px;
  font-size: 1.2rem;
  color: var(--primary);
  border: none;
}
.cookie-modal-close:hover {
  background: #ffe082;
}

@media (max-width: 540px) {
  .cookie-modal { padding: 12px 3px 12px; }
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
.section, .card, .testimonial-card, .cta-button, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.24s cubic-bezier(.53,.08,.34,1), background 0.24s cubic-bezier(.53,.08,.34,1), transform 0.19s cubic-bezier(.53,.08,.34,1);
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* ===== END ===== */