/* Wissensfunken Münster – Vintage Retro Style.css */

/* 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, 
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.5;
  background: #F2ECE1;
  color: #2a2927;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
:root {
  --brand-primary: #37517E;
  --brand-secondary: #72A1E5;
  --brand-accent: #F7F9FC;
  --retro-orange: #E3A857;
  --retro-blue: #37517E;
  --retro-yellow: #f9e29c;
  --retro-red: #C94F4F;
  --retro-green: #97A861;
  --retro-bg: #F2ECE1;
  --retro-brown: #7c4f20;
  --retro-paper: #f6eee3;
  --font-display: 'Montserrat', 'Arial Black', serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-subtle: 0 2px 8px rgba(60, 50, 30, 0.06);
  --shadow-card: 0 4px 18px rgba(120,69,36,0.11);
  --radius-soft: 18px;
  --radius-sm: 10px;
  --radius-xl: 30px;
}

/*********** GENERAL LAYOUTS ***********/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  min-height: 60vh;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-paper);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-subtle);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 690px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F7F9FC;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  transition: transform 0.18s cubic-bezier(.22,.61,.36,1), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(120,69,36,0.3);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*********** HEADINGS & TYPOGRAPHY ***********/
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--retro-blue);
  text-shadow: 1px 2px 0 #f9e29c;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.08;
}
h2 {
  font-size: 2rem;
  margin-bottom: 19px;
  font-weight: 800;
  color: var(--retro-orange);
  text-shadow: 1px 1px 0 #fdf4dd;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 13px;
  font-weight: 700;
  color: var(--retro-brown);
  letter-spacing: 0.5px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 9px;
  color: var(--retro-blue);
}
p, ul, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2a2927;
}
p {
  margin-bottom: 10px;
}
ul:not(.footer-nav) li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  font-weight: 500;
}
li img {
  width: 25px;
  height: 25px;
  filter: sepia(0.28) opacity(0.84) drop-shadow(0 2px 0 #ffe2b9);
}
blockquote {
  font-style: italic;
  color: var(--retro-brown);
  background: #fffbed;
  border-left: 6px solid var(--retro-orange);
  padding: 18px 18px 12px 16px;
  border-radius: 8px 22px 18px 8px;
  box-shadow: 0 1px 6px rgba(120,69,36,0.09);
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.7px;
}
strong {
  color: var(--retro-brown);
  font-weight: bold;
}

a {
  color: var(--retro-red);
  text-underline-offset: 2.5px;
  transition: color 0.19s;
}
a:hover {
  color: var(--retro-blue);
}

/*********** HEADER & NAVIGATION ***********/
header {
  background: #fffaf2 url('../assets/patterns/retro-dots.svg') repeat-x 0 90%;
  box-shadow: 0 3px 18px rgba(60,45,24,0.07);
  border-bottom: 6px solid #e3a857;
}
header .container {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 17px 20px;
  min-height: 70px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 17px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--retro-brown);
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: var(--retro-orange);
}
.cta-btn {
  margin-left: 15px;
  font-family: var(--font-display);
  background: var(--retro-red);
  color: #fffbed;
  font-weight: 900;
  border-radius: 30px 16px 40px 16px;
  box-shadow: 0 2px 12px rgba(230, 128, 80, 0.10);
  font-size: 1.08rem;
  padding: 11px 28px 12px 24px;
  letter-spacing: 1.4px;
  border: 2px solid var(--retro-brown);
  transition: background 0.23s, color 0.2s, box-shadow 0.23s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-orange);
  color: var(--retro-brown);
  box-shadow: 0 4px 20px 0 rgba(240,180,60,0.20);
}

/*********** MOBILE NAVIGATION ***********/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--retro-red);
  background: #fffaf3;
  border-radius: 50%;
  border: 2px solid #e3a857;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 22;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active {
  background: #ffeecc;
  color: var(--retro-orange);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #ede1cc;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.53,.01,.39,1);
  box-shadow: 0 1px 16px #7c4f206a;
  padding-top: 27px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--retro-red);
  font-size: 2.0rem;
  padding: 11px 19px 9px 19px;
  border-radius: 50%;
  align-self: flex-end;
  margin-right: 10px;
  margin-bottom: 12px;
  border: 2px solid #e3a857;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff2dc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--retro-brown);
  font-weight: 800;
  background: #fffaf3;
  padding: 17px 19px 13px 28px;
  margin: 0 12px;
  border-radius: 12px;
  transition: background 0.15s, color 0.13s;
  border-bottom: 2px solid #e3a85744;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--retro-yellow);
  color: var(--retro-red);
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 11px;
  }
  header nav {
    gap: 10px;
  }
}
@media (max-width: 840px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 540px) {
  header .container {
    padding: 11px 8px;
  }
  header img {
    height: 34px;
  }
  .mobile-menu-toggle {
    right: 12px;
    top: 9px;
    width: 41px;
    height: 41px;
    font-size: 1.7rem;
  }
}

/*********** CARDS, FEATURES, BLOCKS ***********/
.card, .feature-item, .text-section {
  background: #fffef8;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  transition: box-shadow 0.19s, background 0.2s;
}
.card:hover, .feature-item:hover {
  background: #fcf1df;
  box-shadow: 0 7px 20px 0 rgba(120,69,36,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*********** TESTIMONIALS ***********/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbed;
  border-radius: 18px 30px 18px 9px;
  box-shadow: 0 3px 18px rgba(231, 152, 80, 0.098);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 510px;
  border: 2px dashed var(--retro-orange);
  font-size: 1.10rem;
  position: relative;
}
.testimonial-card p strong {
  color: var(--retro-blue);
}
.testimonial-card blockquote {
  color: #31302f;
  border: none;
  background: none;
  font-size: 1.12rem;
  padding: 0 0 4px 0;
  margin: 0;
  text-shadow: 0 1px 0 #ffe8bb;
}
/* Ensure testimonial contrast */
.testimonial-card, .testimonial-card * {
  color: #222;
}

/*********** FOOTER ***********/
footer {
  background: #ede1cc;
  border-top: 4px solid #e3a857;
  font-size: 1rem;
  padding: 24px 0 8px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--retro-brown);
  background: none;
  font-weight: 700;
  font-size: 1.02rem;
  transition: color 0.16s;
  margin-bottom: 3px;
}
footer nav a:hover {
  color: var(--retro-orange);
}
.footer-info {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #433c2c;
}
.footer-info img {
  vertical-align: middle;
  width: 21px;
  margin-right: 6px;
  margin-left: 2px;
}

/*********** RESPONSIVE ADJUSTMENTS ***********/
@media (max-width: 820px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  section {
    padding: 28px 8px;
  }
  .testimonial-card {
    max-width: 100%;
    flex-direction: column;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.01rem; }
  section { padding: 17px 2px; margin-bottom: 33px; }
  .text-section, .card, .feature-item { padding: 13px 7px; }
  .testimonial-card { padding: 12px 8px; }
}

/***** COOKIE CONSENT BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #fff7e6;
  box-shadow: 0 -3px 24px 0px #73520922;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 27px 18px 22px 24px;
  font-family: var(--font-body);
  border-top: 3px solid var(--retro-orange);
  font-size: 1.1rem;
  transition: transform 0.38s cubic-bezier(.31,.17,.4,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  max-width: 550px;
  color: #2a2927;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 19px 9px 18px;
  border: 2px solid var(--retro-brown);
  background: var(--retro-brown);
  color: #ffeedd;
  font-weight: bold;
  margin-right: 6px;
  box-shadow: 0 1px 9px #e3a85745;
  transition: background 0.16s, color 0.16s, transform 0.19s;
  cursor: pointer;
  min-width: 128px;
}
.cookie-btn[aria-selected="true"] {
  background: var(--retro-orange);
  color: #7c4f20;
  border-color: var(--retro-orange);
}
.cookie-btn.secondary {
  background: #fffbed;
  color: var(--retro-brown);
}
.cookie-btn.settings {
  background: var(--retro-blue);
  color: #fffde8;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-2px) scale(1.04);
  background: var(--retro-yellow);
  color: var(--retro-brown);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 175;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(155,117,24,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffdf6;
  border-radius: 20px;
  box-shadow: 0 5px 32px 0 rgba(120,69,36,0.27);
  min-width: 340px;
  max-width: 97vw;
  padding: 36px 29px 24px 29px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-family: var(--font-body);
  color: #2a2927;
}
.cookie-modal h2 {
  color: var(--retro-orange);
  text-shadow: none;
  margin-bottom: 19px;
}
.cookie-modal-divider {
  height: 1px;
  background: #efe3d0;
  margin: 11px 0 17px 0;
}
.cookie-modal label {
  font-size: 1.03rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-toggle {
  width: 39px; height: 23px;
  border-radius: 13px;
  background: #e3a85788;
  border: 1px solid #d5b46e;
  position: relative;
  transition: background 0.16s;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
  position: absolute;
  left: 0; top: 0;
}
.cookie-toggle span {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff5e4;
  border-radius: 50%;
  box-shadow: 1.5px 1.5px 5px #b7894644;
  transition: left 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 17px;
  background: var(--retro-orange);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--retro-red);
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  padding: 5px 8px 4px 7px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe2b6ee;
}

@media (max-width: 540px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 22px 6vw 15px 6vw;
  }
  .cookie-banner {
    padding: 13px 5px 11px 11px;
    font-size: 0.95rem;
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
}

/***** UTILITIES & MICROINTERACTIONS *****/
@media (hover: hover) {
  .card, .card .feature-item, .testimonial-card {
    transition: box-shadow 0.18s, background 0.16s, transform 0.18s;
  }
  .card:hover, .feature-item:hover, .testimonial-card:hover {
    box-shadow: 0 12px 32px 0 rgba(180, 120, 45, 0.17);
    background: #ffefd6;
    transform: translateY(-5px) scale(1.02) rotate(-0.8deg);
  }
}

::-webkit-scrollbar {
  width: 12px;
  background: #f9e0b3;
}
::-webkit-scrollbar-thumb {
  background: #d6b15d;
  border-radius: 10px;
}

/******* RETRO PATTERN DECORATIONS *******/
section::before {
  content: "";
  display: block;
  position: absolute;
  left: -35px; top: -18px;
  width: 85px;
  height: 42px;
  background: url('../assets/patterns/retro-wave.svg');
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}
section:nth-child(even)::after {
  content: "";
  position: absolute;
  right: -23px; bottom: -13px;
  width: 69px; height: 47px;
  background: url('../assets/patterns/sparkle.svg');
  opacity: 0.19;
  pointer-events: none;
  z-index: 1;
}
@media (max-width:540px) {
  section::before, section::after { display: none; }
}

/***** MISC/HELPER CLASSES *****/
.hide { display: none !important; }
.mt-2 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }
.relative { position: relative; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/***** END OF Wissensfunken Münster - Style.css *****/