/* RESET & BASE ---------------------------------------------------------- */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  background: #fff;
  color: #202532;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:root {
  --primary: #1A202C;
  --secondary: #2176AE;
  --accent: #F2B134;
  --bg-light: #FDFCF6;
  --bg-card: #FFFFFF;
  --text-dark: #232a36;
  --text-light: #fff;
  --shadow: 0 4px 14px 0 rgba(33, 35, 61, 0.12), 0 1.5px 5px 0 rgba(242, 177, 52, 0.07);
  --radius: 18px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 18px; letter-spacing: -1.5px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 10px; }
h4, h5, h6 { margin-bottom: 5px; }
p { margin-bottom: 12px; }

ul, ol {
  margin: 0 0 16px 26px;
  padding: 0;
}
ul ul, ol ol { margin-bottom:0; margin-top:4px; }
li { margin-bottom: 7px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 18px 0; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); }
th, td { padding: 14px 12px; border-bottom: 1px solid #F2B13422; text-align: left; }
tr:last-child td { border-bottom: none; }
th { background: #F2B13411; font-family:'Montserrat',sans-serif; color: var(--primary); font-size: 1.05rem; }

/* SECTIONS & CONTAINERS ------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* FLEXBOX LAYOUTS ------------------------------------------------------- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px 25px; transition: box-shadow .20s, transform .18s; }
.card:hover { box-shadow: 0 12px 25px 0 rgba(33,35,61,0.23), 0 1.5px 6px 0 rgba(242,177,52,0.10); transform: translateY(-4px) 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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 240px;
  transition: transform .18s, box-shadow .20s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 7px 18px 0 rgba(33,35,61,0.18), 0 1.5px 9px 0 rgba(242,177,52,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION --------------------------------------------------- */
header {
  background: var(--accent);
  box-shadow: 0 1px 8px 0 rgba(33,35,61,0.06);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
  position: relative;
}
.logo img { height: 52px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 24px;
  transition: background 0.19s, color 0.17s, box-shadow .15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
  box-shadow: 0 3px 12px #2176ae4f;
}
.main-nav .cta-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 26px;
  padding: 9px 24px;
  margin-left: 10px;
  box-shadow: 0 6px 18px 0 #f2b13455;
  transition: background .19s, color .18s, transform .20s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
}

/* BURGER MENU ----------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 8px 12px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px #2176ae55;
  transition: background .16s, transform .16s;
  z-index: 1080;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
  outline: 2px solid var(--primary);
  transform: scale(1.12);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 0 50px #2176ae23;
  z-index: 9998;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.82,.09,.33,1.13);
  padding: 28px 10% 32px 10%;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 16px; cursor: pointer;
  transition: color .18s, transform .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
  transform: scale(1.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  color: var(--primary);
  text-decoration: none;
  padding: 13px 0 13px 0;
  border-radius: 18px;
  background: none;
  line-height: 1.3;
  transition: background .15s, color .14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}

/* HERO SECTION -------------------------------------------------------- */
.hero {
  background: linear-gradient(116deg, #fff 65%, #f2b13436 100%);
  padding: 48px 0 30px 0;
  min-height: 350px;
  margin-bottom: 0;
  z-index: 10;
  position: relative;
}
.hero .container { display: flex; align-items: center; min-height: 250px; }
.hero h1 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 2.75rem;
  color: var(--secondary);
  font-weight: 800;
}
.hero p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.17rem;
  color: var(--primary);
}

/* FEATURES ------------------------------------------------------------- */
.features {
  background: var(--bg-light);
  margin-bottom: 60px; padding: 40px 0;
}
.features h2 {
  color: var(--primary);
  margin-bottom: 26px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
  justify-content: flex-start;
}
.feature {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px 27px;
  flex: 1 1 200px;
  min-width: 230px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .17s, transform .18s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  height: 56px;
  margin-bottom: 13px;
  transition: transform .18s;
}
.feature:hover img { transform: scale(1.13) rotate(-8deg); }
.feature:hover, .feature:focus {
  box-shadow: 0 9px 30px #f2b1341b, 0 6px 17px #2176ae12;
  transform: translateY(-4px) scale(1.05);
}
.feature h3 {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.feature p { color: var(--primary); font-size: 1rem; }

/* ABOUT PREVIEW -------------------------------------------------------- */
.about-preview {
  background: #fff7e1;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.about-preview h2 { color: var(--primary); }
.about-preview p { font-size: 1.2rem; color: var(--primary); }

/* SERVICES LIST -------------------------------------------------------- */
.services {
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 38px 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  padding: 22px 20px 20px;
  margin-bottom: 20px;
  transition: transform .17s, box-shadow .15s;
}
.service-item:hover {
  box-shadow: 0 12px 34px #f2b13410, 0 2px 10px #2176ae18;
  transform: scale(1.04);
}
.service-item h3 {
  color: var(--secondary);
  font-size: 1.16rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
}
.service-item ul { margin-left: 22px; }
.service-item li { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; }

/* PREISE TABLE --------------------------------------------------------- */
.preise {
  background: #f2b13409;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.preise h2 { margin-bottom: 18px; }
.preise table { margin-bottom: 26px; }

/* VORTEILE ------------------------------------------------------------- */
.vorteile {
  background: #fbf8ee;
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.vorteile ul li {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.07rem;
  color: var(--secondary);
  list-style-type: '✨ ';
  margin-bottom: 9px;
  padding-left: 2px;
}

/* LEGAL SECTIONS -------------------------------------------------------- */
.legal {
  background: #fafbff;
  border-radius: var(--radius);
  margin-top: 36px;
  margin-bottom: 60px;
  padding: 38px 0;
}
.legal h1, .legal h2 {
  color: var(--secondary);
}
.legal h2 { margin-top: 16px; }

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonials { background: #fff6e3; border-radius: var(--radius); margin-bottom: 60px; }
.testimonials h2, .testimonials h3 { color: var(--secondary); }
.rating {
  color: var(--accent);
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: var(--primary);
  font-family:'Montserrat', cursive, sans-serif;
}
.testimonial-card span {
  font-family:'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #404040;
}

/* BUTTONS, CTAs & INTERACTIVES ---------------------------------------- */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 32px;
  padding: 13px 32px;
  border: none;
  box-shadow: 0 5px 22px #f2b13433;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .15s, transform .19s;
  text-decoration: none;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 9px 38px #2176ae27;
  transform: scale(1.05) rotate(-2deg);
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  flex-direction: row;
  justify-content: space-between;
}
.footer-brand img { height: 46px; margin-bottom: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 14px;
  transition: background .18s, color .15s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus { background: var(--accent); color: var(--primary); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a img { height: 26px; opacity: 0.85; transition: opacity .13s, transform .13s; }
.footer-social a:hover img, .footer-social a:focus img { opacity: 1; transform: scale(1.12); }
.footer-copy {
  font-size: 0.98rem;
  color: #e0e0e0;
  margin-top: 22px;
  flex-basis: 100%;
  text-align: center;
}

/* FORM FIELDS ---------------------------------------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1.5px solid #2176AE33;
  padding: 11px 14px;
  margin-bottom: 15px;
  width: 100%;
  background: #fff;
  transition: border .16s, box-shadow .16s;
}
input:focus, textarea:focus, select:focus { border: 1.5px solid var(--secondary); outline: none; box-shadow: 0 1.8px 6px #f2b1342f; }
label { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; margin-bottom: 5px; display: block; }

/* THANK YOU / SUCCESS MESSAGES ------------------------------------------ */
.success {
  background: #fff0a9;
  border-radius: var(--radius);
  text-align: center;
  margin: 50px auto 60px auto;
  padding: 40px 0;
}
.success h1 { color: var(--secondary); margin-bottom: 14px; }
.success p { color: var(--primary); }

/* RESPONSIVE DESIGN (MOBILE-FIRST) -------------------------------------- */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .hero h1 { font-size: 1.52rem; }
  .container { padding-left: 8px; padding-right: 8px; }
  .content-grid, .features .feature-grid, .service-list, .card-container,
  footer .container { flex-direction: column; gap: 22px !important; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-copy { margin-top: 18px; }
  .hero { padding: 32px 0 20px 0; min-height: 202px; }
  .testimonial-card, .feature, .service-item, .card {
    min-width: unset; max-width: unset; width: 100%;
  }
  .about-preview, .preise, .vorteile, .legal, .services, .features, .section, .testimonials, .success {
    margin-bottom: 28px;
    padding: 25px 0!important;
    border-radius: 14px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
}

@media (max-width: 450px) {
  .hero h1 { font-size: 1.18rem; }
  .container { padding-right: 3px; padding-left: 3px; }
  .cta-btn { min-width: 90%; font-size: 0.99rem; padding: 12px 0; }
}

/* ANIMATIONS ------------------------------------------------------------ */
.cta-btn, .feature, .service-item, .testimonial-card, .card, .card > img {
  transition: box-shadow .17s, background .13s, color .13s, transform .15s;
}
.cta-btn:active {
  transform: scale(.98) rotate(1deg);
}

/* Cookie Consent -------------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe6;
  color: var(--primary);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -2px 30px #2176ae14;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 9999;
  padding: 26px 5% 22px 5%;
  animation: banner-slide-in 0.6s cubic-bezier(.76,1.78,.56,.93);
}
@keyframes banner-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.01rem;
  margin-right: 8px;
  margin-bottom: 0;
  flex: 1;
}
.cookie-btn, .cookie-btn-alt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 9px 18px;
  margin-left: 9px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .15s, transform .14s;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn-alt {
  background: #eaeaea;
  color: var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.07);
}
.cookie-btn-alt:hover, .cookie-btn-alt:focus {
  background: var(--primary);
  color: #fff;
}

/* COOKIE MODAL ---------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,32,44,.36);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fade-in .22s;
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  min-width: 320px;
  max-width: 98vw;
  min-height: 220px;
  padding: 36px 26px 22px 26px;
  box-shadow: 0 7px 44px #2176ae33;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modal-bounce .47s cubic-bezier(.44,1.72,.58,1.07);
}
@keyframes modal-bounce {
  0% { transform: scale(0.72); opacity: 0; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal h2 {
  font-family:'Montserrat',sans-serif;
  color: var(--secondary);
  margin-bottom: 13px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 13px;
  font-size: 1rem;
  gap: 12px;
}
.cookie-modal .switch {
  height: 25px;
  width: 44px;
  border-radius: 20px;
  background: #E4E6E7;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  transition: background .18s;
  box-shadow: 0 1.5px 7px #2176ae11; }
.cookie-modal .switch input { display:none; }
.cookie-modal .slider {
  position: absolute; top: 3.5px; left: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  transition: transform .17s, background .13s;
}
.cookie-modal .switch input:checked + .slider {
  transform: translateX(15px);
  background: var(--secondary);
}
.cookie-modal .cat-label { font-weight:500; color:var(--primary); }
.cookie-modal .cat-desc { color: #404040; font-size:.97em; margin-left:6px; }
.cookie-modal .cookie-btn-group {
  margin-top: 18px; display:flex; gap:14px;
}
.cookie-modal .cookie-btn, .cookie-modal .cookie-btn-alt {
  min-width:100px;
}
.cookie-modal .close-x {
  position: absolute; top: 11px; right: 24px;
  font-size: 1.6rem;
  color: var(--secondary);
  background: none; border: none; cursor: pointer;
  transition: color .13s;
}
.cookie-modal .close-x:hover,.cookie-modal .close-x:focus { color: var(--accent); }

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 93vw; max-width: 100vw; padding: 23px 4vw 22px 4vw;
  }
  .cookie-modal .close-x { right: 8px; }
  .cookie-consent-banner { flex-direction: column; padding: 16px 2.5% 17px 2.5%; }
  .cookie-consent-banner p { margin-bottom: 7px; }
}

/* UTILITY CLASSES ------------------------------------------------------ */
.bg-accent { background: var(--accent) !important; color: var(--primary)!important; }
.bg-primary { background: var(--primary) !important; color: #fff !important; }
.bg-secondary { background: var(--secondary) !important; color: #fff !important; }
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.round { border-radius: 50%; overflow:hidden; }

/* Scrollbar Styling for Webkit (playful accent) ------------------------- */
::-webkit-scrollbar { width: 11px; background: #fdfcf6; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* MICRO-INTERACTIONS (Subtle Animation on button tap) ------------------- */
button:active, a:active { filter: brightness(.93); }

/* FUN FONTS FOR STRONG HEADLINES --------------------------------------- */
h1, h2, .cta-btn, .feature h3, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', cursive, sans-serif;
  letter-spacing: .5px;
}

/* SUBTLE MOVEMENT ON SECTIONS ------------------------------------------- */
.section, .features, .service-item, .card {
  animation: fadePopIn .47s cubic-bezier(0.600, -0.280, 0.735, 0.045);
}
@keyframes fadePopIn {
  0% { opacity:0; transform: translateY(30px) scale(.99); }
  80% { opacity:.7; }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* COLORFUL LIST MARKERS (Playful) --------------------------------------- */
ul li::marker {
   color: var(--accent);
   font-size: 1.1em;
}

/* LINK STYLES ----------------------------------------------------------- */
a { color: var(--secondary); text-decoration: underline dotted #F2B13444; transition: color .14s, text-decoration .14s; }
a:hover, a:focus { color: var(--accent); text-decoration: underline solid #F2B134; }

/* Prevent overlapping between all cards/sections ------------------------ */
section, .section, .testimonials, .features, .about-preview, .preise, .vorteile, .legal, .success {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Accessibility: Ensure testimonial contrast ----------------------------- */
.testimonial-card, .testimonials {
  background: #fffefa;
  color: #1A202C;
  box-shadow: 0 3px 21px #f2b13419;
}
.testimonial-card p, .testimonial-card span { color: #232a36; }

/* END */
