/* WissensWelle Augsburg - Vibrant Energetic Flexbox CSS */
/* ===== 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;
}
footer p {
  color: white;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1d2636;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  background-color: #F5F7FA;
}
img, picture, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
:focus {
  outline: 3px solid #208B3A;
  outline-offset: 2px;
}

/* === BRAND COLORS === */
:root {
  --primary: #15406A;
  --secondary: #F5F7FA;
  --secondary-light: #FFFFFF;
  --accent: #208B3A;
  --accent-alt: #00FF76;
  --danger: #E53E3E;
  --warning: #FFD600;
  --info: #4ADEDE;
  --vibrant-pink: #ef2d56;
  --vibrant-purple: #6002ee;
  --shadow: rgba(21,64,106,0.10);
  --body-text: #1d2636;
  --muted-text: #435671;
  --card-bg: #fff;
  --testimonial-bg: #FAFBFB;
  --footer-bg: #15406A;
}

/* === TYPOGRAPHY === */
h1, .display {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -1.2px;
  color: var(--primary);
  line-height: 1.13;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vibrant-pink);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--body-text);
  margin-bottom: 16px;
}
strong { font-weight: 700; }
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--muted-text);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--body-text);
}
a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a.cta:hover, a.cta:focus {
  color: var(--primary);
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
  background: transparent;
}
section:last-child { margin-bottom: 0; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  box-shadow: 0 4px 24px var(--shadow);
  border-radius: 18px;
  padding: 32px 26px;
  flex: 1 1 300px;
  min-width: 275px;
  transition: box-shadow 0.18s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 26px 2px rgba(33, 182, 90, 0.12);
  transform: translateY(-3px) scale(1.018);
  z-index: 2;
}
.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: 12px;
  background: var(--testimonial-bg);
  box-shadow: 0 2px 12px 0px var(--shadow);
  border-radius: 18px;
  padding: 20px 24px;
  min-width: 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.20s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(239, 45, 86, 0.10);
  transform: translateY(-2.5px) scale(1.02);
  z-index: 2;
}
.testimonial-card p {
  color: #222;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card .star-rating {
  font-size: 1.25rem;
  color: var(--warning);
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  box-shadow: 0 2px 15px var(--shadow);
  border-radius: 16px;
  padding: 28px 20px;
  margin-bottom: 20px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  mix-blend-mode: multiply;
}
.feature-item h3 {
  font-size: 1.2rem;
  color: var(--accent);
}
.feature-item:hover {
  box-shadow: 0 8px 24px 0 rgba(33, 182, 90, 0.14);
  transform: translateY(-3px) scale(1.01);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* === BUTTONS & CTA === */
.cta, a.cta, button.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.18rem;
  padding: 15px 38px;
  border-radius: 52px;
  box-shadow: 0 2px 12px var(--shadow);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.04em;
  border: none;
  margin-top: 10px;
  margin-bottom: 18px;
  transition: background 0.19s, color 0.19s, transform 0.16s, box-shadow 0.17s;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: #fff !important;
  transform: scale(1.045) translateY(-2px);
  box-shadow: 0 6px 18px 0 var(--shadow);
}
button, .button {
  background: var(--primary);
  color: var(--secondary-light);
  border-radius: 30px;
  padding: 10px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 13px 0 var(--shadow);
}
/* Table Styling */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
}
table th, table td {
  border-bottom: 2px solid #E0E5EC;
  padding: 12px 10px;
  text-align: left;
}
table th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
table tr:hover td {
  background: #EDF9F1;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--secondary-light);
  box-shadow: 0 1px 16px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  margin-bottom: 20px;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 14px 0;
}
header nav img {
  height: 54px;
  width: auto;
}
header nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
}
header nav ul li { display: flex; }
header nav ul a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 28px;
  padding: 9px 18px;
  transition: background 0.17s, color 0.16s, box-shadow 0.14s;
}
header nav ul a.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 34px;
  padding: 11px 26px;
  font-size: 1.12rem;
  font-weight: 800;
  box-shadow: 0 1px 10px var(--shadow);
  margin-left: 20px;
}
header nav ul a.cta:hover,
header nav ul a.cta:focus {
  background: var(--vibrant-pink);
  color: #fff;
  box-shadow: 0 3px 13px 0 var(--shadow);
}
header nav ul a:hover,
header nav ul a:focus {
  background: var(--accent-alt);
  color: var(--primary);
  box-shadow: 0 1px 13px rgba(32,139,58,0.13);
}

/* === HAMBURGER / MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 104;
  border: none;
  box-shadow: 0 2px 9px var(--shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--vibrant-pink);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,64,106,0.97);
  color: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  margin: 24px 32px 0 0;
  align-self: flex-end;
  transition: color 0.18s;
  z-index: 100004;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent-alt);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 96vw;
  max-width: 420px;
  margin-top: 36px;
  margin-right: 36px;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 0 10px 12px;
  border-radius: 9px;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-alt);
  color: var(--primary);
}

@media (max-width: 1100px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 750px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  section, .section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  h1, .display { font-size: 1.61rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
  .feature-item, .card, .testimonial-card {
    padding: 18px 13px;
    min-width: 0;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper, .card-container {gap: 16px;}
}
@media (max-width: 700px) {
  header nav ul {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* Flex direction change for .text-image-section on small screens */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* === FOOTER === */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 40px 0 9px 0;
  font-size: 0.97rem;
  margin-top: 60px;
  box-shadow: 0 -2px 22px var(--shadow);
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}
footer nav {
  margin-bottom: 14px;
  flex: 1 1 100%;
}
footer nav a {
  color: #fff;
  font-weight: 700;
  margin: 0 6px 0 0;
  font-size: 1rem;
  padding: 2px 7px;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--secondary-light);
}
.footer-contact, .footer-social {
  margin-bottom: 11px;
  flex: 1 1 210px;
  color: #e6ecf2;
}
.footer-contact a {
  color: var(--info);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 6px;
}
.footer-social img {
  width: 35px;
  height: 35px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
/* === ADDRESS BLOCKS AND SPECIALS === */
.address-block, .office-hours, .contact-methods, .map-placeholder {
  background: var(--secondary-light);
  border-radius: 13px;
  box-shadow: 0 1px 7px var(--shadow);
  padding: 17px 16px 13px 19px;
  margin-bottom: 20px;
  flex: 1 1 200px;
  min-width: 180px;
}

/* === UTILITY CLASSES === */
.muted {
  color: var(--muted-text);
  opacity: 0.73;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

/* === ANIMATIONS & TRANSITIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px);}
  to   { opacity: 1; transform: translateY(0);}
}
.card, .feature-item, .testimonial-card, .cta, .button, .address-block, .office-hours, .contact-methods, .map-placeholder {
  animation: fadeInUp 0.65s cubic-bezier(.16,.92,.5,1.08) both;
}

/* === COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20000;
  background: #fff;
  color: var(--body-text);
  box-shadow: 0 -4px 24px 0 rgba(21,64,106,0.15);
  padding: 24px 18px 18px 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  animation: fadeInUp .7s cubic-bezier(.16,.92,.5,1.08) both;
}
.cookie-banner__text {
  flex: 3 1 220px;
  margin-bottom: 10px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
}
.cookie-banner__button,
.cookie-banner__button--accept {
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  padding: 11px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.15s;
}
.cookie-banner__button--accept:hover,
.cookie-banner__button--accept:focus {
  background: var(--vibrant-pink);
  color: #fff;
  transform: translateY(-1.5px) scale(1.045);
}
.cookie-banner__button--reject {
  background: var(--danger);
  color: #fff;
}
.cookie-banner__button--reject:hover,
.cookie-banner__button--reject:focus {
  background: #c81d37;
}
.cookie-banner__button--settings {
  background: var(--info);
  color: var(--primary);
  margin-left: 5px;
}
.cookie-banner__button--settings:hover,
.cookie-banner__button--settings:focus {
  background: var(--accent-alt);
  color: var(--primary);
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 13px 16px 16px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 8px;
  }
}

/* === COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  z-index: 20020;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,64,106,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__content {
  background: #fff;
  color: var(--body-text);
  border-radius: 20px;
  min-width: 320px;
  max-width: 410px;
  box-shadow: 0 10px 44px 0 rgba(21,64,106,0.32);
  padding: 34px 38px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeInUp .47s cubic-bezier(.16,.92,.5,1.08) both;
}
.cookie-modal__close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--danger);
  font-size: 2.1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #6f141c;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-setting {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.cookie-setting__label {
  flex: 1 1 auto;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 46px;
  height: 24px;
  background: #dde8f5;
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  box-shadow: 0 2px 5px rgba(40,40,40,0.13);
  transition: left 0.16s;
}
.cookie-toggle:checked::before {
  left: 23px;
}
.cookie-toggle[disabled] {
  opacity: 0.54;
  cursor: not-allowed;
}
.cookie-category-desc {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 17px;
}
@media (max-width: 600px) {
  .cookie-modal__content {
    min-width: 0;
    max-width: 92vw;
    padding: 20px 10px 16px 10px;
  }
  .cookie-modal h3 {
    font-size: 1.05rem;
  }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 1200px) {
  .feature-grid, .card-container {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .feature-grid,
  .card-container,
  .content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
}

/* === MISC: FORMS AND TABLES === */
input[type="text"],
input[type="email"],
input[type="password"],
textarea, select {
  padding: 11px 13px;
  border: 1.5px solid #C6DEE4;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 13px;
  background: #fff;
  color: var(--body-text);
  box-shadow: none;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* Accessibility helpers */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* END WissensWelle Augsburg CSS */
