/* =====================================================
   Fiery Glade - Style.css | Vibrant & Energetic Design
   - Modern CSS Reset & Base
   - Brand: #39476C (primary), #F3B351 (secondary), #FFFFFF, electrics
   - Fonts: Montserrat (display), Open Sans (text)
   ===================================================== */

/* --- 1. Reset & Normalize --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #21233a;
  background: #fff;
  min-height: 100vh;
  line-height: 1.5;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,.3,.17,1);
  outline: none;
}
ul, ol {
  list-style: none;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #39476C;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.15; }
h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.15; }
h4 { font-size: 1.18rem; }
p,li { font-size: 1.04rem; margin-bottom: 12px; }
strong { font-weight: 700; }

:focus {
  outline: 2px solid #F3B351;
  outline-offset: 1px;
}

/* --- 2. Brand Colors & Variables (fallbacks) --- */
:root {
  --primary: #39476C;
  --secondary: #F3B351;
  --accent: #FFFFFF;
  --electric-blue: #3FC6F7;
  --electric-pink: #FF367E;
  --electric-green: #0AE285;
  --electric-purple: #7D45EA;
  --dark-text: #21233a;
  --light-bg: #fff;
  --card-bg: #fff;
  --shadow: 0 4px 20px rgba(25,36,60,0.09), 0 1.5px 8px rgba(243,179,81,0.10);
  --border-radius: 18px;
  --transition: 0.225s cubic-bezier(.65,.15,.36,1.13);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
}

/* --- 3. Container & Layout Flex --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

/* --- 4. Section, Spacing & Card Patterns --- */
section {
  background: var(--light-bg);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features-grid, .features-icons, .testimonials-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .testimonial-card, .feature-item {
  position: relative;
  margin-bottom: 20px;
}
.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;
  background: #f5f8ff;
  color: #24254A;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(25,36,60,0.08);
  min-width: 260px;
  flex: 1 1 320px;
  font-size: 1.08rem;
}
.testimonial-card p {
  margin-bottom: 8px;
  font-style: italic;
  color: #232649;
}
.testimonial-card span {
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--electric-blue);
  font-weight: 700;
}
.features-grid > div {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 16px 18px;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 2.5px solid #f2f2f2;
  transition: border-color 0.2s, box-shadow 0.22s;
}
.features-grid > div:hover {
  border-color: var(--electric-pink);
  box-shadow: 0 8px 32px rgba(255,54,126,.08), 0 1.5px 8px rgba(243,179,81,.13);
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.features-icons {
  gap: 36px;
  justify-content: flex-start;
  align-items: flex-start;
}
.features-icons > div {
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  padding: 22px 18px 17px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03em;
  color: var(--primary);
  font-weight: 700;
}
.features-icons img {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
}
.services-list li {
  padding: 13px 0;
  border-bottom: 1px solid #F5E6C8;
  margin-bottom: 6px;
  font-size: 1.09em;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* --- 5. Buttons & Links --- */
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  content-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--secondary) 60%, var(--electric-pink) 100%);
  color: #292929;
  border: none;
  border-radius: 38px;
  padding: 16px 36px;
  margin-top: 22px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px rgba(243,179,81,.08);
  transition: box-shadow var(--transition), filter .22s, background .18s;
  cursor: pointer;
  position: relative;
  outline: none;
}
.cta.primary {
  background: linear-gradient(90deg, var(--primary) 70%, var(--electric-blue) 100%);
  color: #fff;
}
.cta.secondary {
  background: linear-gradient(90deg, var(--electric-pink) 20%, var(--electric-blue) 95%);
  color: #fff;
}
.cta:hover, .cta:focus {
  filter: brightness(1.1) saturate(1.3);
  box-shadow: 0 6px 24px rgba(33,35,58,0.12), 0 2px 8px #ffd43722;
  outline: none;
  color: #fff;
}
.main-nav a, .footer-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  text-transform: uppercase;
  margin-right: 18px;
  padding: 6px 10px;
  border-radius: 16px;
  transition: background .13s, color .13s;
  color: var(--primary);
}
.main-nav a.active, .main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  background: var(--electric-pink);
  color: #fff;
  text-shadow: 0 2px 10px #f3b35122;
}

.footer-nav a {
  color: #39476C;
  margin-right: 16px;
  font-size: 1rem;
}
.logo img, .logo-footer img {
  width: 51px;
  height: auto;
}

/* --- 6. Header, Navbar & Logo --- */
header {
  background: #fff;
  box-shadow: 0 2px 22px rgba(33,71,108,0.09);
  position: sticky;
  top: 0;
  z-index: 198;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* --- 7. Footer --- */
footer {
  background: #39476C;
  color: #fff;
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 1100px;
}
.logo-footer {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
footer p {
  font-size: 0.99rem;
  margin-top: 5px;
  color: #f5f5fa;
  letter-spacing: 0.01em;
}

/* --- 8. Lists, Details, Text Section & Editors --- */
.text-section {
  margin-bottom: 16px;
  padding: 15px 0;
}
.editor-remarks, .profi-tipps {
  background: #eafffa;
  border-left: 4px solid var(--electric-green);
  padding: 15px 18px 14px 20px;
  margin-top: 18px;
  border-radius: 9px;
  font-size: 1.03rem;
}
.editor-remarks em, .profi-tipps h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--electric-green);
}
.profi-tipps h3 {
  color: var(--electric-blue);
  margin-bottom: 7px;
  font-size: 1.11em;
}
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  padding-left: 0.15em;
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  color: #36374f;
  font-size: 1.05rem;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--electric-blue);
  border-radius: 100%;
  margin-right: 11px;
  vertical-align: middle;
}
.services-list li::before { content: none; }

/* --- 9. Animations & Focus Styles --- */
.fade-in {
  animation: fadeIn 0.9s cubic-bezier(.35,.85,.47,1.23) both;
}
.slide-in-up {
  animation: slideInUp 0.6s cubic-bezier(.35,.85,.47,1.23) both;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: none; }
}
@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: none; }
}

button, .button {
  cursor: pointer;
  border: none;
  border-radius: 38px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  background: var(--secondary);
  color: #23223b;
  box-shadow: 0 2px 10px #ffd43733;
  transition: box-shadow .18s, filter .16s;
}
button:hover, .button:hover, button:focus, .button:focus {
  filter: brightness(1.10) saturate(1.3);
  box-shadow: 0 6px 22px rgba(255,54,126,.09);
  outline: none;
}

/* --- 10. Mobile Menu & Responsive Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--primary);
  font-size: 2.3em;
  border: none;
  margin-left: 14px;
  cursor: pointer;
  z-index: 2201;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background .12s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--electric-blue);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #fff 70%, var(--electric-blue) 100%);
  box-shadow: 0 6px 32px rgba(39,71,108,0.18);
  z-index: 2100;
  padding: 0;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.65,.2,.27,.97);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--electric-pink);
  font-size: 2.5em;
  border: none;
  position: absolute;
  top: 32px;
  right: 30px;
  z-index: 2204;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background .12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff0fa;
  color: var(--electric-blue);
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 40px 20px 32px;
  gap: 14px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: #2E3473;
  background: none;
  border-radius: 12px;
  padding: 13px 9px 11px 9px;
  margin-bottom: 0px;
  min-width: 165px;
  transition: background .13s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--electric-pink);
  color: #fff;
}

/* --- 11. Responsive Layouts (Mobile First) --- */
@media (max-width: 1100px) {
  .container { max-width: 96%; }
  .content-wrapper { max-width: 760px; }
}
@media (max-width: 900px) {
  .container { max-width: 99%; padding: 0 6px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100%; padding-right: 9px; padding-left: 9px; }
  .content-wrapper { padding: 0 2px; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 28px 6px; }
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    padding-top: 9px; padding-bottom: 9px; gap: 9px;
  }
  .features-grid { flex-direction: column; gap: 18px; }
  .testimonials-slider { flex-direction: column; gap: 19px; }
  .features-icons { gap: 22px; flex-direction: row; justify-content: flex-start; }
  .footer-nav { flex-direction: column; gap: 6px; margin-bottom: 4px; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 33px; }
  .testimonial-card { font-size: 1rem; padding: 14px; }
  h1 { font-size: 1.29rem; }
  h2 { font-size: 1.11rem; }
  .footer-nav a { font-size: 0.94rem; }
}
@media (max-width: 480px) {
  body, html, .container { font-size: 0.96rem !important; }
  .content-wrapper { max-width: 100%; padding: 0; }
  .section { padding: 16px 2px; }
  .logo img, .logo-footer img { width: 38px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid { flex-direction: column; gap: 15px; }
}

/* --- 12. Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #21233a;
  box-shadow: 0 -2px 18px #F3B35177;
  z-index: 2400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px 21px 22px;
  gap: 25px;
  border-top: 2px solid #F3B351;
  font-size: 1.05rem;
  animation: slideInUp .65s cubic-bezier(.4,.11,.81,1.08);
}
.cookie-banner span {
  font-size: 1.11em;
  font-weight: 600;
  color: #39476C;
}
.cookie-banner-buttons {
  display: flex;
  gap: 17px;
}
.cookie-btn, .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 30px;
  padding: 11px 23px;
  margin: 0 1px;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background .12s, color .11s;
  background: var(--secondary);
  color: #23233a;
  box-shadow: 0 2px 8px #ffd43728;
}
.cookie-btn.reject {
  background: var(--electric-pink);
  color: #fff;
}
.cookie-btn.accept {
  background: var(--electric-green);
  color: #fff;
}
.cookie-settings-btn {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  filter: brightness(1.1) saturate(1.25);
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2550;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,36,64,0.33);
  pointer-events: none;
  opacity: 0;
  transition: opacity .23s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  min-width: 340px;
  max-width: 96vw;
  box-shadow: 0 4px 32px #27476c33, 0 1px 6px #F3B35134;
  padding: 36px 30px 29px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  animation: fadeIn .4s cubic-bezier(.39,.13,.62,.94);
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 10px;
  background: none;
  border: none;
  color: var(--electric-pink);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2209;
  border-radius: 7px;
  padding: 2px 10px 4px 8.5px;
  transition: background .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff0fa;
  color: var(--electric-blue);
}
.cookie-modal h3 { font-size: 1.21em; margin-bottom: 8px; font-family: 'Montserrat', Arial, sans-serif; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 2px 8px 0;
}
.cookie-category label { font-weight: 600; }
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  flex-shrink: 0;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--electric-blue);
  border-radius: 50%;
  transition: transform .22s, background .22s;
}
.cookie-toggle input:checked + span {
  transform: translateX(17px);
  background: var(--electric-green);
}
.cookie-category.essential label {
  color: #afb0b5;
  font-size: 1em;
}
.cookie-category.essential .cookie-toggle span {
  background: #ccc;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-toggle {
  background: #e8e8e8;
  cursor: not-allowed;
}
@media (max-width:650px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 19px 13px 15px 13px; font-size: 0.97rem; }
  .cookie-modal-content { min-width: 92vw; padding: 23px 8px 15px 12px; }
}

/* --- 13. Misc. Adjustments & Classes --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.team-intro {
  margin-top: 30px;
  background: #F9F6FF;
  border-left: 4px solid var(--electric-purple);
  border-radius: 9px;
  padding: 18px 23px 10px 18px;
}
.contact-instructions {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--primary);
}

/* --- 14. Utility Classes --- */
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.w-100 { width: 100% !important; }
.mt-32 { margin-top: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* --- END OF FIERY GLADE STYLES --- */
