/* --- 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;
  min-height: 100vh;
  background: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #15334f;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}


/* --- BRAND & VIBRANT ENERGETIC COLORS --- */
:root {
  --color-primary: #274060;                  /* Deep blue */
  --color-secondary: #ffc93a;                /* Electric yellow (custom vibrant instead of C0A060) */
  --color-accent: #30d5c8;                   /* Energetic turquoise */
  --color-bg-light: #fffbe6;                 /* Soft light yellow background */
  --color-contrast: #222846;                 /* For strong text on bright bg */
  --color-white: #fff;
  --color-dark: #101222;
  --color-danger: #ee1553;
  --color-shadow: rgba(39, 64, 96, 0.10);
  --color-card: #fff;
  --color-testimonial-bg: #fcf8f3;           /* readable & energetic */
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.11;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 13px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, ul, ol, a, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-contrast);
  line-height: 1.7;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(39,64,96,0.11);
}
.tagline {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-style: italic;
  margin: 18px 0 20px 0;
  font-weight: 700;
}
strong, b {
  color: var(--color-primary);
}


/* --- DEFAULT SPACING + LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 28px;
  box-shadow: 0 8px 36px var(--color-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 26px;
  transition: transform 0.18s cubic-bezier(.55,.27,.68,.48), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 32px rgba(39,64,96,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: flex-start;
  gap: 20px;
  background: var(--color-testimonial-bg);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px rgba(39, 64, 96, 0.09);
  border-left: 5px solid var(--color-secondary);
  max-width: 660px;
}
.testimonial-card p {
  color: #221c1a;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS --- */
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 14px 42px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(39,64,96,0.13);
  border: 2px solid var(--color-secondary);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-3px) scale(1.04);
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 13px 38px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(39,64,96,0.09);
  border: 2px solid var(--color-accent);
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
  transform: translateY(-3px) scale(1.04);
}

/* --- NAVIGATION --- */
header {
  background: var(--color-primary);
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 18px 0;
  justify-content: flex-start;
}
.main-nav .logo {
  margin-right: 32px;
}
.main-nav a {
  color: var(--color-white);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  transition: color 0.15s;
  padding: 6px 12px;
  border-radius: 7px;
  position: relative;
}
.main-nav a:not(.logo):hover, .main-nav a:not(.logo):focus {
  color: var(--color-secondary);
  background: rgba(255, 201, 58, 0.13);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  padding: 9px 22px;
  border-radius: 14px;
  cursor: pointer;
  margin-left: auto;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 2px 8px rgba(39,64,96,0.10);
  transition: background 0.16s, color 0.18s, box-shadow 0.14s;
  z-index: 1001;
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* --- MOBILE NAV OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.5,0,.35,1);
  box-shadow: 0 12px 38px rgba(39,64,96,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 32px;
  right: 34px;
  font-size: 2.2rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 98px;
  border: none;
  cursor: pointer;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px rgba(0,0,0,0.13);
  transition: background 0.21s, color 0.16s;
  z-index: 1011;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-danger);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 70px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 0;
  width: 90%;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,201,58, 0.07);
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}


/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  padding: 24px 0 18px 0;
  margin-top: 60px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  opacity: 0.88;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}


/* --- HERO, CTA, SECTION LAYOUTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 5px 32px var(--color-shadow);
  background: var(--color-bg-light);
  /* Avoid excessive overlay for vibrant feel */
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* --- LISTS (ul,ol) --- */
ul, ol {
  margin: 8px 0 12px 24px;
  list-style: disc inside;
}
ul > li, ol > li {
  margin-bottom: 8px;
  padding-left: 6px;
  color: var(--color-contrast);
  font-size: 1.04rem;
  line-height: 1.7;
}

/* --- FLEX UTILITIES --- */
.flex-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.flex-col {
  flex-direction: column !important;
}
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }


/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 32px 12px;
  }
  .main-nav { gap: 14px; }
}

@media (max-width: 800px) {
  .container {
    max-width: 100vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 20px;
  }
  section {
    padding: 23px 3vw;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .footer-nav {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: block !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 550px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.23rem; }
  .btn-primary, .btn-secondary { padding: 10px 19px; font-size: .99rem; }
  .container { padding-left: 5px; padding-right: 5px; }
  .testimonial-card { padding: 14px 10px; }
  section {padding: 11vw 3vw;}
  .card { padding: 11vw 4vw; }
}


/* --- SHADOWS, EFFECTS & ANIMATIONS --- */
.card, section, .testimonial-card {
  box-shadow: 0 2px 14px var(--color-shadow);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, section:hover {
  box-shadow: 0 8px 32px rgba(39,64,96,0.16);
  transform: translateY(-2px) scale(1.01);
}


/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.card, section, .testimonial-card {
  animation: fadeInUp .6s cubic-bezier(.43,.76,.27,1) both;
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: var(--color-bg-light);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -5px 24px var(--color-shadow);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 17px 12px 17px 12px;
  font-size: 1rem;
  animation: fadeInUp 0.7s .1s both;
}
.cookie-banner .cookie-text {
  max-width: 400px;
  margin-right: 12px;
  color: var(--color-bg-light);
  font-weight: 400;
}
.cookie-banner .cookie-btn {
  border-radius: 88px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 11px;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  transition: background .14s, color .13s, box-shadow .13s;
  box-shadow: 0 1px 8px rgba(39,64,96,0.13);
  display: inline-block;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom: 0;
  background: rgba(22,24,44,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1700;
  transition: background 0.27s;
}
.cookie-modal .cookie-modal-content {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 22px;
  padding: 36px 30px 27px 30px;
  min-width: 325px;
  max-width: 95vw;
  box-shadow: 0 10px 38px rgba(39,64,96,0.13);
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: fadeInUp .45s cubic-bezier(.46,.96,.21,1) both;
}
.cookie-modal h3 {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
}
.cookie-modal .category-list {
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 7px 0;
  display: flex;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.12rem;
}
.cookie-modal label {
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 88px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .16s, color .12s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 1.55rem;
  background: none;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.93rem;
    border-radius: 12px 12px 0 0;
    padding: 12px 8px 14px 8px;
  }
  .cookie-modal .cookie-modal-content { min-width: unset; padding: 19px 9px 17px 9px; }
}


/* --- MICRO-INTERACTIONS/HOVER --- */
a {
  transition: color 0.14s, background 0.14s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.975);
}
ul > li:before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 9px;
  margin-bottom: 1px;
}

/* Remove marker for sections like cookie categories or plain lists */
.cookie-modal ul, .cookie-modal ul > li:before {
  content: unset !important;
  background: none !important;
}

/* --- CUSTOM SCROLLBAR (WEBKIT) --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 12px;
}

/* --- FORMS & INPUTS (if any) --- */
input, textarea, select {
  font-size: 1rem;
  padding: 10px 12px;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  transition: border .18s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px dashed var(--color-accent);
  outline-offset: 3px;
}

/* --- SPECIAL ELEMENTS --- */
h2, h3, h4 {
  border-left: 6px solid var(--color-accent);
  padding-left: 11px;
  margin-bottom: 17px;
  background: none;
}

/* --- HEADER LOGO ADJUSTMENT --- */
.logo img {
  height: 32px;
  width: auto;
  display: block;
}
@media (max-width: 550px) {
  .logo img { height: 22px; }
}

/* --- DIALOG OVERLAY (used for modals in cookie settings) --- */
.dialog-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.36);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/********************************/
/*  END OF STYLE - BücherKompass  */
/********************************/
