/* RESET & BASE STYLES (Normalize + Box Sizing) */
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;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9fafc;
  color: #284560;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }
ul, ol {list-style: none;}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
}
strong, b { font-weight: 700; }

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
}
h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 700; }
p, li, address, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 10px;
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #284560;
  position: relative;
}
blockquote:before {
  content: '“';
  color: #F5C75C;
  font-size: 2.5rem;
  position: absolute;
  left: -24px;
  top: -10px;
  font-family: 'Montserrat', cursive;
}

/* COLOR SYSTEM */
:root {
  --primary: #284560;
  --primary-light: #4A6781;
  --secondary: #7E9EB2;
  --accent: #F5C75C;
  --section-bg: #fffbe6;
  --gray-bg: #f9fafc;
  --danger: #F24848;
}

/* CONTAINERS & GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(40,69,96,0.05);
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(126,158,178,0.14);
  min-width: 260px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px #F5C75C44, 0 2px 14px rgba(126,158,178,0.19);
  transform: translateY(-6px) scale(1.03);
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(126,158,178,0.09);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 540px;
  animation: fadeInUp 0.6s cubic-bezier(.37,1.16,.47,1.07);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(56px); }
  100% { opacity:1; transform: translateY(0); }
}

/* MAIN SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

/* HERO/CTA STYLES */
section .btn-primary {
  margin-top: 12px;
}

/* LISTS */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 8px 8px 8px 0;
  background: none;
  font-size: 1.05rem;
}
ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
}

/* BUTTONS */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  background: var(--accent);
  padding: 12px 32px;
  font-size: 1.15rem;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(245,199,92,0.14);
  cursor: pointer;
  margin-top: 10px;
  min-width: 180px;
  transition: background 0.18s, color 0.19s, box-shadow 0.15s, transform 0.13s;
  outline: none;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffe195;
  color: var(--primary);
  box-shadow: 0 6px 28px 0 #F5C75C66;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--primary);
  color: #fff;
  border-radius: 22px;
  padding: 11px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,69,96,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
header nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 14px;
  padding: 8px 15px;
  transition: background 0.13s, color 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header .btn-primary {
  font-size: 1.07rem;
  color: var(--primary);
  background: var(--accent);
  box-shadow: 0 2px 12px #F5C75C33;
  margin-left: 12px;
}

/* BURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background 0.19s, box-shadow 0.14s;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe195;
  box-shadow: 0 4px 12px #F5C75C36;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.52,1.66,.47,1.19), opacity 0.26s;
  box-shadow: 0 4px 48px 0 rgba(40,69,96,0.15);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 24px 8px 0;
  padding: 8px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe195;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 32px 20px 32px;
  align-items: flex-start;
  margin-top: 14px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid #f2f4f8;
  border-radius: 0;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--primary);
}

/* MAIN/SECTIONS CARD SHADOWS */
section, .testimonial-card, .card {
  box-shadow: 0 2px 14px #F5C75C10, 0 2px 8px #7E9EB208;
}

/* TESTIMONIALS */
.testimonial-card {
  border-left: 5px solid var(--accent);
  background: #fff;
  color: var(--primary);
  font-size: 1.13rem;
  position: relative;
}
.testimonial-card strong { color: var(--primary); font-weight: 900; }
.testimonial-card blockquote {
  color: var(--primary);
  margin-right: 16px;
}
@media (max-width: 480px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .testimonial-card blockquote { margin-bottom: 8px; }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  position: relative;
  z-index: 2;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.13s, text-decoration 0.13s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
footer address {
  font-style: normal;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
footer address a {
  color: #fff;
  text-decoration: underline dotted;
  transition: color 0.13s;
}
footer address a:hover, footer address a:focus {
  color: var(--accent);
}
footer img {
  max-width: 56px;
}

/* RESPONSIVE LAYOUTS - MOBILE FIRST */
@media (max-width: 1024px) {
  .container {
    padding: 0 12px;
    max-width: 98vw;
  }
  footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 10px 7px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle { display: flex; }
  .section {
    padding: 24px 7px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .container { padding: 0 7px; max-width: 97vw; }
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card { max-width: 99vw; width: 100%; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .btn, .btn-primary { font-size: 1rem; padding: 11px 16px; min-width: 150px; }
  .section { padding: 13px 0; }
  .testimonial-card, .card { padding: 13px; }
}

/* Playful, Dynamic Typography + Animations */
h1, h2, h3 {
  background: var(--accent);
  background-clip: text;
  text-shadow: 2px 2px 0 #fffbe7;
  animation: playfulGradient 8s linear infinite alternate;
}
@keyframes playfulGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn-primary, .btn-secondary {
  letter-spacing: 0.03em;
  box-shadow: 0 6px 30px #F5C75C22, 0 2px 8px #7E9EB218;
}

/* Fun, Rounded Card Corners and Shadows */
.card, .testimonial-card, section, .section {
  border-radius: 24px;
  box-shadow: 0 8px 32px #F5C75C13, 0 2px 15px #7E9EB212;
}

/* Micro-interactions for list items and icons */
ul li img {
  transition: transform 0.14s;
}
ul li:hover img {
  transform: rotate(-10deg) scale(1.15);
  filter: drop-shadow(0 2px 8px #F5C75C99);
}
ul li:hover, ul li:focus {
  background: #fdf7e1;
  padding-left: 8px;
}

/* Fun Accent Underline for Links 'Mehr erfahren'/inline */
.content-wrapper a:not(.btn) {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.content-wrapper a:not(.btn):hover, .content-wrapper a:not(.btn):focus {
  color: var(--accent);
  border-color: var(--primary);
}

/* Spacing adjustments for breathing room */
.content-wrapper > * { margin-bottom: 8px; }
.content-wrapper > *:last-child{ margin-bottom: 0; }

/* Decorative accents (optional dots, shapes, etc) */
section::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  border-radius: 4px;
  margin: 22px auto 0;
  background: var(--accent);
  opacity: 0.34;
  animation: playfulBar 2.2s ease-in-out infinite alternate;
}
@keyframes playfulBar {
  0% { width: 42px; }
  100% { width: 70px; }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe6;
  box-shadow: 0 -4px 32px #F5C75C22;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: cookieBannerIn 0.7s cubic-bezier(.67,0,0,1.14);
}
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p{
  margin-bottom: 0;
  color: var(--primary);
}
.cookie-banner .cookie-buttons{
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner .btn-cookie{
  padding: 10px 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.btn-cookie-accept {
  background: var(--accent);
  color: var(--primary);
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: #ffe195;
}
.btn-cookie-reject {
  background: var(--danger);
  color: #fff;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus{
  background: #ffb3b3;
  color: var(--primary);
}
.btn-cookie-settings {
  background: var(--primary);
  color: #fff;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 768px) {
  .cookie-banner{ flex-direction: column; gap: 14px; align-items: flex-start; padding: 17px 7px; }
  .cookie-banner .cookie-buttons { flex-direction: row; gap: 9px; }
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,69,96,0.57);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 34px #F5C75C28;
  padding: 38px 29px 24px 29px;
  min-width: 320px;
  max-width: 94vw;
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: fadeInUp 0.5s ease;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.45rem;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  padding: 4px 11px;
  margin-bottom: 3px;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus { background: #ffe195; }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
}

/* Fun playful background highlight for accessibility on focus */
a:focus-visible, button:focus-visible {
  outline: 3px dashed var(--accent) !important;
  outline-offset: 2px !important;
  background: #fffbe6;
}

/* HIDE mobile nav for desktop */
@media(min-width: 769px){
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Ensure all interactive elements have pointer cursor */
a, button, .btn, .btn-primary, .btn-secondary, .btn-cookie {
  cursor: pointer;
}

/* Utility classes for playful dynamic accent */
.text-accent {
  color: var(--accent) !important;
}
.bg-accent {
  background: var(--accent) !important;
  color: var(--primary) !important;
}
.text-primary {
  color: var(--primary) !important;
}
.bg-primary {
  background: var(--primary) !important;
  color: #fff !important;
}

/* Animations for appearing cards/sections */
.card, .testimonial-card, section {
  animation: fadeInUp 0.7s cubic-bezier(.37,1.16,.47,1.07);
}

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

/* Misc & Helper adjustments */
address img {
  vertical-align: middle;
  width: 21px;
  height: 21px;
  margin-right: 6px;
  margin-bottom: -3px;
}

/* ---- END STYLES ---- */
