/* CRISPCASH RENOVIERUNG - PLAYFUL DYNAMIC STYLE */

/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Baloo+2:wght@700&display=swap');

:root {
  --primary: #20415C;
  --secondary: #F3F6F8;
  --accent: #D1A545;
  --fun1: #FFB347;
  --fun2: #6EE7B7;
  --fun3: #FF6F91;
  --fun4: #6C63FF;
  --white: #fff;
  --black: #222;
  --shadow: 0 6px 32px 0 rgba(32,65,92,0.10), 0 1.5px 6px 0 rgba(32,65,92,0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(.77,0,.18,1);
  --font-display: 'Montserrat', 'Fredoka One', 'Baloo 2', cursive, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--white);
  box-shadow: 0 2px 12px 0 rgba(32,65,92,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
header a img {
  height: 48px;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.cta-btn {
  background: linear-gradient(90deg, var(--accent) 60%, var(--fun1) 100%);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 8px 0 rgba(209,165,69,0.13);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--fun1) 40%, var(--accent) 100%);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 24px 0 rgba(209,165,69,0.18);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--fun3);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--fun4);
  transform: scale(1.08) rotate(8deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--fun1) 0%, var(--fun3) 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--fun4);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun3);
  transform: scale(1.08) rotate(-8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  text-decoration: none;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--white);
  color: var(--fun3);
  transform: translateX(8px) scale(1.04);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 64px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === SECTIONS & LAYOUT === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}
section:nth-child(even) {
  background: linear-gradient(90deg, var(--secondary) 80%, var(--fun2) 100%);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* === FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(32,65,92,0.13);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--fun2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: var(--black);
  font-size: 1.08rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(110,231,183,0.18);
  transform: scale(1.03) rotate(1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO & HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  color: var(--fun3);
  text-shadow: 1px 2px 0 var(--accent), 0 2px 12px var(--fun1, #FFD580);
  font-family: 'Fredoka One', var(--font-display);
}
h2 {
  font-size: 2rem;
  color: var(--fun4);
  font-family: 'Baloo 2', var(--font-display);
}
h3 {
  font-size: 1.3rem;
  color: var(--primary);
}
h4 {
  font-size: 1.1rem;
  color: var(--fun3);
}

/* === BUTTONS === */
button, .btn {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 28px;
  background: var(--fun4);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px 0 rgba(108,99,255,0.13);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--fun3);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px 0 rgba(255,111,145,0.18);
}

/* === FEATURE & SERVICE GRIDS === */
.feature-grid, .service-grid, .team-grid, .image-grid, .faq-list, .certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .service-item, .team-member, .project, .faq-item, .certification-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.feature:hover, .service-item:hover, .team-member:hover, .project:hover, .faq-item:hover, .certification-item:hover {
  box-shadow: 0 8px 32px 0 rgba(32,65,92,0.13);
  transform: scale(1.03) rotate(-1deg);
}

/* === PRICING TABLE === */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--fun1);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}
.pricing-table th, .pricing-table td {
  padding: 16px 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
}
.pricing-table th {
  background: var(--fun4);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}
.pricing-table tr:nth-child(even) td {
  background: var(--fun2);
}
.pricing-table tr:nth-child(odd) td {
  background: var(--fun1);
}

/* === FAQ === */
.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--fun2);
  color: var(--black);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* === TESTIMONIALS === */
.testimonial-meta {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display);
}
.star-rating {
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  text-shadow: 0 2px 8px var(--fun1, #FFD580);
}

/* === CERTIFICATIONS === */
.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 1rem;
  color: var(--primary);
}
.certification-item {
  background: var(--fun2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  min-width: 200px;
  flex: 1 1 220px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent);
}
.footer-logo img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--fun1);
}
.footer-contact {
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-body);
}
.footer-legal {
  width: 100%;
  text-align: center;
  color: var(--fun1);
  font-size: 0.95rem;
  margin-top: 24px;
  padding-bottom: 18px;
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  background: var(--fun4);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

/* === BEFORE-AFTER SLIDER (SIMPLE) === */
.before-after-slider {
  background: var(--fun1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
}

/* === CONTACT INFO === */
.contact-info {
  background: var(--fun2);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.contact-info a {
  color: var(--fun4);
  text-decoration: underline;
  font-weight: 700;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--fun3);
}

/* === LISTS === */
ul, ol {
  padding-left: 24px;
  margin: 0 0 18px 0;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
}
ul li:before {
  content: '• ';
  color: var(--fun3);
  font-weight: bold;
  margin-right: 4px;
}

/* === TABLES === */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}
th, td {
  padding: 12px 10px;
  border: none;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
@keyframes playful-bounce {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.08) rotate(-2deg); }
  60% { transform: scale(0.97) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cta-btn:hover, .cta-btn:focus {
  animation: playful-bounce 0.5s;
}
.card:hover, .feature:hover, .service-item:hover, .team-member:hover, .project:hover, .faq-item:hover, .certification-item:hover {
  animation: playful-bounce 0.5s;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .feature-grid, .service-grid, .team-grid, .image-grid, .certifications {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature, .service-item, .team-member, .project, .faq-item, .certification-item {
    min-width: 180px;
    flex: 1 1 180px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-grid, .team-grid, .image-grid, .certifications {
    flex-direction: column;
    gap: 12px;
  }
  .feature, .service-item, .team-member, .project, .faq-item, .certification-item {
    min-width: 0;
    flex: 1 1 100%;
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 14px 8px;
    font-size: 1rem;
  }
  .footer-logo {
    font-size: 1rem;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--fun1) 70%, var(--fun3) 100%);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: 0 -2px 24px 0 rgba(32,65,92,0.11);
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: cookie-slide-in 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 60%;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px 0 rgba(32,65,92,0.08);
}
.cookie-btn.accept {
  background: var(--fun2);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--fun4);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--fun3);
  color: var(--white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--fun1);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--fun4);
  color: var(--white);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,65,92,0.45);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 48px 0 rgba(32,65,92,0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  color: var(--primary);
  font-family: var(--font-body);
  animation: modal-pop-in 0.5s cubic-bezier(.77,0,.18,1);
  position: relative;
}
@keyframes modal-pop-in {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--fun4);
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--fun2);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  margin-right: 8px;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: var(--fun4);
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-modal .cookie-toggle input:checked + .slider {
  left: 22px;
  background: var(--fun3);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: var(--fun1);
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential label {
  color: var(--fun3);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--fun3);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--fun4);
  transform: scale(1.08) rotate(-8deg);
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px 14px 6px;
    min-width: 0;
  }
}

/* === UTILITY CLASSES === */
.hide {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 12px !important; }
.mb-2 { margin-bottom: 12px !important; }

/* === ACCESSIBILITY === */
:focus {
  outline: 2px solid var(--fun4);
  outline-offset: 2px;
}

/* === END === */
