/* Fellzauber Mainz – Minimalist Responsive Stylesheet 
   Inspired by a modern and warm minimalist brand aesthetic 
   Developed for full flexbox layouts (no grid/columns), mobile-first, with responsive features and all required interactive components. */

/* === RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #24617A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #24617A;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.3em;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, .cta-primary {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #24617A;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5 { font-size: 1rem; }

.subheadline {
  color: #24617A;
  line-height: 1.5;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
strong { font-weight: 700; }

/* === GENERIC CONTAINERS & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

section {
  background: #fff;
  padding: 40px 0;
}
.section {
  padding: 40px 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,97,122,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 1rem;
}
.main-nav a {
  color: #24617A;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E7E0CF;
  color: #1d475c;
}
.main-nav .cta-primary {
  padding: 10px 24px !important;
  color: #fff;
  background: #24617A;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s, box-shadow 0.2s, color 0.18s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #D48820;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(248,183,91,0.10);
}

/* === MOBILE MENU BURGER === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: #24617A;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: background 0.16s;
  margin-left: 6px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E7E0CF;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: transform 0.39s cubic-bezier(.69,.03,.49,1.03);
  transform: translateX(-100%);
  box-shadow: 2px 0 20px 0 rgba(36,97,122,0.10);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  padding: 20px 28px 0 0;
  color: #24617A;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D48820;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 48px;
  padding: 0 36px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #24617A;
  padding: 10px 4px;
  border-radius: 5px;
  transition: background 0.15s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E7E0CF;
  color: #D48820;
}
.mobile-nav .cta-primary {
  color: #fff;
  background: #24617A;
  border-radius: 24px;
  padding: 12px 24px;
  margin-top: 20px;
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* Hide .main-nav and show burger button on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
}

/* === HERO SECTION === */
.hero {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #E7E0CF;
  box-shadow: 0 2px 16px 0 rgba(36,97,122,0.04);
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #24617A;
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero .cta-primary {
  margin-top: 14px;
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .hero .subheadline { font-size: 1rem; }
}

/* === CTA BUTTON === */
.cta-primary {
  display: inline-block;
  padding: 12px 32px;
  background: #24617A;
  color: #fff !important;
  border-radius: 22px;
  font-size: 1.10rem;
  font-weight: 800;
  box-shadow: 0 2px 14px 0 rgba(36,97,122,0.07);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: background 0.19s, color 0.18s, box-shadow 0.23s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #D48820;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(212,136,32,0.14);
}

/* === FEATURES === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 10px;
}
.feature-item {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(36,97,122,0.06);
  border-radius: 14px;
  padding: 24px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  min-height: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform .18s;
}
.feature-item img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
  filter: saturate(0.6);
  opacity: 0.87;
}
.feature-item h3 {
  font-size: 1.17rem;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 32px 0 rgba(36,97,122,0.10);
  transform: translateY(-2px) scale(1.011);
}

/* === ABOUT SNIPPET === */
.about-snippet {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 20px;
}
.about-snippet img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
  box-shadow: 0 2px 10px 0 rgba(36,97,122,0.08);
}
.about-snippet p {
  font-size: 1rem;
  flex: 1 1 240px;
  margin-bottom: 12px;
}
.about-snippet ul {
  flex: 1 1 160px;
  list-style: disc inside;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .about-snippet { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-snippet img { margin-bottom: 4px; }
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 22px 0 rgba(36,97,122,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  min-height: 135px;
  transition: box-shadow 0.16s, transform 0.15s;
  color: #173A47;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 36px 0 rgba(36,97,122,0.13);
  transform: translateY(-2px);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #173A47;
}
.testimonial-meta {
  color: #24617A;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
  opacity: 0.87;
}

/* === OTHER CARDS & FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 3px 22px 0 rgba(36,97,122,0.07);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section,
  .about-snippet {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid, .testimonials, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* === TEAM SECTION === */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 260px;
  max-width: 340px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 20px 0 rgba(36,97,122,0.07);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.team-member img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: saturate(0.7);
}

/* === SERVICE & PRICING LISTS === */
.services-list,
.pricing-list,
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.services-list h3, .pricing-list h3, .benefits-list h3 {
  color: #24617A;
  font-size: 1.09rem;
  margin-top: 12px;
}
.services-list ul, .pricing-list ul, .benefits-list ul, .tips-and-hints ul {
  margin-bottom: 0.5em;
}
.tips-and-hints {
  background: #E7E0CF;
  border-radius: 10px;
  padding: 20px 20px;
  margin-top: 16px;
  color: #173A47;
}
.tips-and-hints h3 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: #24617A;
}

/* === FAQ LIST === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

/* === CONTACT DETAILS === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-details img {
  width: 20px; height: 20px;
  opacity: 0.7;
  margin-right: 3px;
}

/* === FOOTER === */
footer {
  background: #F6F7F6;
  color: #24617A;
  padding: 26px 0 16px 0;
  font-size: 0.99rem;
  border-top: 1px solid #E7E0CF;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-navigation nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-navigation a {
  color: #24617A;
  opacity: 0.82;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-navigation a:hover, .footer-navigation a:focus { color: #D48820; }
.footer-contact { margin-bottom: 7px; }
.footer-legal p {
  font-size: 0.93rem;
  color: #A7A6A2;
  margin-top: 6px;
}
footer a {
  color: #24617A;
  text-decoration: underline dotted;
  transition: color 0.16s;
}
footer a:hover, footer a:focus { color: #D48820; }

/* === MISCELLANEOUS: Section Headings & Paragraphs === */
section h1, section h2, section h3 {
  color: #24617A;
}
section p, section ul, section ol {
  color: #173A47;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #173A47;
  border-top: 1px solid #E7E0CF;
  box-shadow: 0 -5px 30px 0 rgba(36,97,122,0.10);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 8vw 24px 8vw;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  transition: transform 0.36s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-msg {
  flex: 2;
  max-width: 430px;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  flex: 1;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 18px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s, color 0.16s, box-shadow 0.19s;
}
.cookie-banner .accept {
  background: #24617A;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #D48820;
  color: #fff;
  box-shadow: 0 3px 14px 0 rgba(212,136,32,0.10);
}
.cookie-banner .reject {
  background: #E7E0CF;
  color: #24617A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #24617A;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #24617A;
  outline: 1px solid #B9CACE;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E7E0CF;
  color: #24617A;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 10px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(36,97,122, 0.19);
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.22s;
}
.cookie-modal.active {
  display: flex;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 50px 0 rgba(36,97,122,0.15);
  padding: 38px 26px 28px;
  width: 93vw;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-pop .33s cubic-bezier(.34,1.56,.64,1) 1;
}
@keyframes modal-pop {
  0% { transform: scale(0.9); opacity: 0.2; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 17px;
  font-size: 2rem;
  background: none;
  color: #24617A;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: color 0.12s, opacity 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #D48820;
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.3rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.cookie-modal .cookie-category input[type=checkbox],
.cookie-modal .cookie-category input[type=radio] {
  accent-color: #24617A;
  width: 20px; height: 20px;
  margin: 0 7px 0 0;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.cookie-modal .essential {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal label {
  cursor: pointer;
  user-select: none;
}

/* === RESPONSIVE: GENERAL === */
@media (max-width: 1024px) {
  .container { max-width: 100vw; padding: 0 6vw; }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.25rem;}
  .footer-navigation nav {flex-direction: column; gap: 5px;}
  .feature-item, .testimonial-card, .team-member, .card {max-width: 100%;}
}
@media (max-width: 460px) {
  h1 {font-size: 1.3rem;}
  h2 {font-size: 1.05rem;}
}

/* === MICRO-INTERACTIONS === */
.cta-primary, .main-nav a, .footer-navigation a, .cookie-banner button {
  transition: background .17s, color .17s, box-shadow .23s, transform .14s;
}
.cta-primary:active {
  transform: scale(0.97);
}
.cookie-banner .accept:active, .cookie-banner .reject:active {
  transform: scale(0.95);
}

/* === SELECTED GENERIC HELPERS === */
.mt-2 { margin-top: 16px !important; }

/* === SYSTEM: Spacing Classes for Rare Customization === */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* === FORM ELEMENTS (future proof for form pages) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 10px 15px;
  border: 1px solid #E7E0CF;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #24617A;
}

/* == Accessibility: Reduce motion for reduced motion users == */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Fallback for CSS Custom Properties */
:root {
  --primary: #24617A;
  --secondary: #E7E0CF;
  --accent: #D48820;
}

/* === Hide non-interactive skip/print stuff (if present) === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
