/* CSS RESET & NORMALIZE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #FFF8F3;
  color: #34495E;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #D16BA5;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #34495E;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #34495E;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #E17055;
  background: #fdf3e7;
  border-left: 5px solid #FFB347;
  padding: 18px 28px;
  border-radius: 18px;
  margin: 20px 0 24px 0;
}
strong { font-weight: bold; }

/* COLOR PALETTE - PLAYFUL DYNAMIC */
:root {
  --brand-primary: #34495E;  /* navy blue */
  --brand-secondary: #F6D1C1; /* light peach */
  --brand-accent: #FFFFFF;   /* base white */
  --brand-yellow: #FFD700;   /* playful yellow */
  --brand-pink: #E17055;     /* lively coral pink */
  --brand-mint: #60D394;     /* mint accent */
  --brand-lavender: #A593E0; /* lavender accent */
  --shadow-main: 0 4px 24px 0 rgba(52, 73, 94, 0.08);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8F3;
  border-radius: 32px;
  box-shadow: var(--shadow-main);
}

.feature-grid,
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature-grid > div, .team-members > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F6D1C1;
  padding: 28px 22px;
  border-radius: 22px;
  box-shadow: 0 3px 8px 0 rgba(204, 132, 118, 0.09);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid > div:hover,
.team-members > div:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 30px 0 rgba(52, 73, 94, 0.18);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  padding: 28px 20px;
  background: #fff;
  border: 2px solid #F6D1C1;
}

.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;
  margin-bottom: 20px;
  background: #fff;
  border-left: 6px solid #FFD700;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 rgba(52, 73, 94, 0.10);
  min-height: 96px;
  font-style: italic;
  color: #34495E;
  font-size: 1rem;
  transition: box-shadow 0.22s, border-left 0.22s, background 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(52,73,94,0.13);
  border-left: 6px solid #E17055;
  background: #F6D1C1;
}
.testimonial-card span {
  font-style: normal;
  color: #8C4646;
  font-weight: bold;
  margin-left: auto;
  font-size: 15px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BLOG TEASERS & CATEGORIES */
.blog-teaser {
  margin-bottom: 28px;
  background: #FFF6F3;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(246, 209, 193, 0.10);
  padding: 18px 18px 20px 18px;
  transition: box-shadow 0.16s, background 0.18s;
  cursor: pointer;
}
.blog-teaser:hover {
  background: #F6D1C1;
  box-shadow: 0 5px 20px rgba(225,112,85,0.08);
}
.blog-categories {
  margin-top: 14px;
  font-size: 1rem;
  color: #34495E;
}
.blog-categories a {
  margin: 0 8px;
  color: #E17055;
  font-weight: 500;
}
.blog-categories a:hover { color: #FFD700; }

/* CALL TO ACTION BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FFD700 60%, #E17055 100%);
  color: #34495E;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 15px 38px;
  border: none;
  box-shadow: 0 3px 14px rgba(246, 209, 193, 0.28);
  cursor: pointer;
  text-shadow: none;
  margin: 11px 0;
  transition: transform 0.15s, box-shadow 0.18s, background 0.22s, color 0.12s;
  outline: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #E17055 60%, #FFD700 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,215,0,0.18);
  transform: translateY(-2px) scale(1.06) rotate(-1deg);
}

/* HEADER & NAVIGATION */
header {
  background: #F6D1C1;
  box-shadow: 0 2px 14px rgba(52,73,94,0.05);
  width: 100%;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #34495E;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 20px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #FFD700;
  color: #E17055;
}
header .cta-primary {
  margin-left: 26px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
}

/* FOOTER */
footer {
  width: 100%;
  background: #34495E;
  color: #fff;
  padding: 50px 0 28px 0;
  font-size: 1rem;
  margin-top: 54px;
}
footer .container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px 0 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #FFF8F3;
  font-size: 1rem;
  padding: 2px 0;
  border: none;
  border-radius: 0;
  font-weight: 500;
  transition: color 0.17s;
}
footer nav a:hover {
  color: #FFD700;
}
footer img {
  margin-bottom: 8px;
  max-width: 90px;
}
footer p, footer a {
  color: #fff;
  font-size: 1rem;
}
footer a {
  text-decoration: underline;
}
footer a:hover, footer a:focus { color: #FFD700; }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 20px;
  z-index: 1100;
  background: #fffbe7;
  color: #34495E;
  border: 2px solid #FFD700;
  box-shadow: 0 2px 22px 0 rgba(244,193,156,0.15);
  border-radius: 18px;
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  animation: fadeInUp 0.7s cubic-bezier(.54,.04,.28,1.44);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-btns {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 11px 28px;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  background: #FFD700;
  color: #34495E;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.13s, color 0.15s;
  box-shadow: 0 1px 8px rgba(225,112,85,0.07);
}
.cookie-btn.revoke {
  background: #A593E0;
  color: #fff;
}
.cookie-btn.settings {
  background: #E17055;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus { background: #34495E; color: #FFF8F3; }

.cookie-modal {
  position: fixed;
  z-index: 1200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(69,51,133,0.34);
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.3s ease;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-inner {
  background: #fffbe7;
  border-radius: 18px;
  box-shadow: 0 8px 50px #FFD70033;
  padding: 28px 33px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 16px;
  background: #FFD70055;
  position: relative;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFD700;
  transition: left 0.18s, background 0.16s;
}
.cookie-switch input:checked + .slider {
  left: 18px;
  background: #60D394;
}
.cookie-modal-header {
  font-weight: bold;
  font-size: 1.1rem;
  color: #E17055;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #E17055;
  cursor: pointer;
}
@keyframes fadeInBg { from { opacity:0; } to { opacity:1; } }

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: #FFD700;
  color: #E17055;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin-left: 18px;
  transition: background 0.15s, transform 0.15s, color 0.13s;
  box-shadow: 0 2px 8px rgba(246,209,193,0.15);
  cursor: pointer;
  z-index: 1111;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E17055;
  color: #FFD700;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF8F3;
  box-shadow: 0 0 100px 10px #E1705544;
  z-index: 1201;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.82,.25,.3,1.2);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 17px;
  right: 26px;
  background: none;
  color: #E17055;
  border: none;
  font-size: 2.3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1220;
}
.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 35px;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: #34495E;
  border-radius: 16px;
  padding: 13px 23px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.14s, color 0.12s;
  box-shadow: 0 1px 4px rgba(225,112,85,0.05);
  width: 90vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD700;
  color: #E17055;
}

/* FLEX LAYOUTS - MANDATORY COMPONENTS, RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    max-width: 100%;
    padding: 0;
  }
  .feature-grid, .team-members {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div,
  .team-members > div {
    min-width: 180px;
    padding: 18px 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .feature-grid, .team-members {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .team-members > div {
    min-width: 0;
  }
  .content-wrapper {
    max-width: 100%;
    padding: 0;
    gap: 16px;
  }
  .section {
    padding: 30px 7px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
  header .container {
    min-height: 64px;
    padding: 0 8px;
  }
  header nav, header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
    padding: 0 7px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}
@media (max-width: 486px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 0.97rem; }
  .cta-primary {
    padding: 14px 18px;
  }
  .section {
    padding: 16px 3vw;
    margin-bottom: 22px;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 13px;
  }
}

/* FORM ELEMENTS, ICONS, & MISC */
input, textarea, select, button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #FFD700;
  padding: 11px 10px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #E17055;
}

img[alt^="Telefon"],
img[alt^="E-Mail"],
img[alt^="Adresse"],
img[alt^="Öffnungszeiten"] {
  display: inline-block;
  vertical-align: middle;
  width: 23px;
  margin-right: 8px;
  margin-bottom: 2px;
}

/* Animations for playful touch */
.cta-primary, .card, .feature-grid > div, .testimonial-card, .blog-teaser {
  will-change: transform;
  transition: transform 0.16s, box-shadow 0.19s, background 0.22s, color 0.15s;
}
.cta-primary:active, .card:active, .feature-grid > div:active, .testimonial-card:active, .blog-teaser:active {
  transform: scale(0.97) rotate(1.5deg);
}

/* Fun Bouncing Hover for Cards */
.card:hover, .feature-grid > div:hover, .blog-teaser:hover {
  animation: playfulBounce 0.49s cubic-bezier(.78,-0.11,.36,1.51);
}
@keyframes playfulBounce {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-7px) scale(1.05) rotate(-2.5deg); }
  70% { transform: translateY(2px) scale(0.98) rotate(2.5deg); }
  100% { transform: translateY(0) scale(1); }
}

/* Visual Emphasis for List Items */
ul > li::marker {
  color: #FFD700;
  font-size: 1.1em;
}
ol > li::marker {
  color: #E17055;
  font-size: 1.02em;
}
dt {
  font-weight: 700;
  color: #E17055;
  margin-top: 15px;
}
dd {
  margin-left: 19px;
  margin-bottom: 10px;
}

/* Utility Classes */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 30px !important; }
.p-2 { padding: 16px !important; }

/* Hide outline for mouse but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #E17055;
  outline-offset: 3px;
}

@media (hover: none) and (pointer: coarse) {
  .cta-primary:hover, .card:hover, .feature-grid > div:hover, .testimonial-card:hover, .blog-teaser:hover {
    animation: none;
    box-shadow: 0 3px 18px rgba(52,73,94,0.10);
  }
}

/* Accessibility & Readability */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #34495E !important;
  background: transparent !important;
}
.testimonial-card {
  background: #fff !important;
}

/* Z-INDEX SAFEGUARDS */
.cookie-consent-banner, .cookie-modal, .mobile-menu {
  z-index: 1200;
}
header, .mobile-menu-toggle {
  z-index: 1201;
}

/* Hide unnecessary scroll on mobile overlay/menu */
body.menu-open {
  overflow: hidden;
}
