/* CSS RESET & BASE STYLES - COMPLIANT */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #FAFAFC;
  color: #264653;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
:root {
  --color-primary: #264653;
  --color-secondary: #2A9D8F;
  --color-accent: #F4A261;
  --color-bg: #FAFAFC;
  --color-white: #FFF;
  --color-light: #FDFDFD;
  --color-grey: #ECECEC;
  --color-text: #264653;
  --color-dark: #1B2B38;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-card: 0 2px 16px 0 rgba(44, 172, 156, 0.10);
  --shadow-hover: 0 8px 32px 0 rgba(244, 162, 97, 0.22);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: 0.23s cubic-bezier(.77, .03, .23, 1);
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
svg {
  vertical-align: middle;
}
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color .15s;
}
a:hover,
a:focus {
  color: var(--color-accent);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.section h1, .section h2, .section h3 {
  margin-top: 0;
}
strong {
  font-weight: 700;
}
p,
ul,
ol {
  font-size: 1rem;
  margin-bottom: 14px;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 6px;
}

/* LAYOUT & CONTAINER */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(42, 157, 143, 0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  min-height: 78px;
}
.logo img {
  height: 54px;
  width: auto;
  transition: transform var(--transition);
}
.logo:hover img {
  transform: rotate(-8deg) scale(1.09);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cta-primary {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  margin-left: 28px;
  filter: drop-shadow(0px 7px 14px rgba(42,157,143,.06));
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.04) rotate(-2deg);
}
.cta-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-md);
  margin-top: 12px;
  border: none;
  text-align: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  outline: none;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(3deg) scale(1.04);
}
button, .cta-secondary, .cta-primary {
  cursor: pointer;
  text-decoration: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2.1rem;
  border: none;
  border-radius: var(--radius-md);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(250, 250, 252, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform .36s cubic-bezier(.94,.08,.36,1.21);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  background: var(--color-grey);
  padding: 15px 38px;
  border-radius: var(--radius-lg);
  margin: 0 0 10px 0;
  box-shadow: 0 2px 6px 0 rgba(42,157,143,0.08);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  width: 70vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.04) rotate(-1deg);
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
  }
  .cta-primary {
    display: none;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 60px 0 40px 0;
  border-radius: 0 0 44px 44px;
  animation: heroPopIn 1.1s cubic-bezier(.41,.7,.19,1.1);
  position: relative;
  margin-bottom: 60px;
}
@keyframes heroPopIn {
  0% { opacity: 0; transform: translateY(-40px) scale(0.97); }
  75%{ opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero .container { flex-direction: column; align-items: center; justify-content: center; }
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  color: #FFF;
  margin-bottom: 8px;
}
.hero p {
  color: #FDFDFD;
  font-size: 1.19rem;
  margin-bottom: 22px;
}

/* FLEXBOX STRUCTURAL PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PAGE-SPECIFIC STRUCTURE */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-item {
  background: var(--color-white);
  padding: 32px 28px 22px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: calc(50% - 18px);
  min-width: 230px;
  max-width: 336px;
  align-items: flex-start;
  min-height: 188px;
  justify-content: flex-start;
  position: relative;
  animation: popCard .7s cubic-bezier(.41,.7,.19,1.23);
  transition: box-shadow var(--transition), transform var(--transition);
}
@keyframes popCard {
  0% { opacity: 0; transform: scale(0.94) translateX(40px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}
.feature-item:hover,
.feature-item:focus {
  box-shadow: var(--shadow-hover);
  transform: scale(1.04) rotate(-2deg);
  z-index: 4;
}
.feature-item img {
  width: 38px;
  height: 38px;
  filter: hue-rotate(-12deg);
}
.feature-item h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
}

/* SERVICES OVERVIEW */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.service-card {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 22px 21px 22px;
  min-width: 220px; width: calc(33% - 18px); max-width: 350px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: popCard .6s cubic-bezier(.41,.7,.19,1.29);
}
.service-card:hover, .service-card:focus {
  box-shadow: var(--shadow-hover);
  background: #FFF5E9;
  transform: rotate(2.5deg) scale(1.04);
  z-index: 3;
}
.service-card img {
  width: 35px;
  height: 35px;
  margin-bottom: 7px;
  filter: grayscale(.08) brightness(1.1) drop-shadow(0px 3px 7px rgba(42,157,143,.04));
}
.service-card h3 {
  color: var(--color-accent);
}

/* CATEGORY TILES - Leistungen */
.category-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.category-tile {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 19px 20px;
  min-width: 170px; width: calc(25% - 13px); max-width: 255px;
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: popCard .6s cubic-bezier(.41,.7,.19,1.15);
}
.category-tile:hover, .category-tile:focus {
  box-shadow: var(--shadow-hover);
  background: #E5F6F3;
  transform: scale(1.03) rotate(-2deg);
  z-index: 3;
}
.category-tile img {
  width: 30px;
  height: 30px;
}
.category-tile h3 {
  color: var(--color-primary);
  margin-bottom: 3px;
}

/* PROJECTS & TESTIMONIALS */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.project-card {
  background: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 21px 17px 21px;
  width: calc(33% - 12px);
  min-width: 218px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: popCard .5s cubic-bezier(.41,.7,.19,1.15);
}
.project-card:hover, .project-card:focus {
  box-shadow: var(--shadow-hover);
  transform: rotate(-2.5deg) scale(1.04);
  background: #E6F5FA;
}
.project-categories {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.project-category {
  background: var(--color-accent);
  color: #FFF;
  padding: 7px 20px;
  border-radius: 32px;
  font-size: 0.97rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px 0 rgba(244, 162, 97, .10);
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px 0 rgba(38, 70, 83, 0.07);
  padding: 24px 30px 19px 30px;
  flex: 1 1 280px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.08rem;
  position: relative;
  border-left: 6px solid var(--color-accent);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:before {
  content: '"';
  font-size: 2.8rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  opacity: .28;
  position: absolute;
  left: 16px; top: 5px;
  z-index: 1;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.10rem;
  margin-bottom: 4px;
  position: relative;
}
.testimonial-card span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 600;
  position: relative;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03) rotate(1deg);
  z-index:2;
  background: #F3FDFB;
}
.rating-summary {
  display: flex;
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  margin-top: 21px;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.19rem;
  box-shadow: var(--shadow-card);
  min-width: 220px;
}
.rating-summary img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.client-feedback {
  background: var(--color-accent);
  color: #FFF;
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-top: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.client-feedback p { margin:0; }

/* QUALITY GUARANTEE BOX */
.quality-guarantee {
  background: #FFEED7;
  border-radius: var(--radius-lg);
  padding: 21px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 17px 23px;
  transition: box-shadow .22s cubic-bezier(.32,.31,.17,1), background .18s;
  cursor: pointer;
  margin-bottom: 8px;
  position: relative;
}
.faq-item.open {
  background: #E4F7F4;
  box-shadow: var(--shadow-hover);
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
  color: var(--color-secondary);
}
.faq-answer {
  display: none;
  margin-top: 10px;
}
.faq-item.open .faq-answer {
  display: block;
  animation: fadeInFaq .5s cubic-bezier(.64,.08,.24,1);
}
@keyframes fadeInFaq {
  from { opacity:0; transform: translateY(-10px); }
  to   { opacity:1; transform: translateY(0); }
}

/* PROCESS STEPS / TIMELINE */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 18px;
  margin-bottom: 18px;
}
.process-steps li {
  position: relative;
  list-style: decimal;
  padding-left: 10px;
  font-weight: 500;
}
.timeline-visual {
  margin-top: 7px;
  background: #E4F7F4;
  border-radius: var(--radius-md);
  padding: 16px 23px;
  font-family: var(--font-body);
}
.process-benefits {
  margin-top: 9px;
  background: #FFFAF5;
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 1rem;
}
.process-benefits h3 {
  margin-bottom: 7px;
}

/* LEGAL, ADDRESS, MAP*/
.legal-text {
  font-size: .99rem;
  color: var(--color-primary);
}
.legal-text h2,h3 {margin-top:24px; font-size: 1.18rem;}
.address, address {
  font-style: normal;
  color: var(--color-accent);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.map-location {
  background: #E4F7F4;
  border-radius: var(--radius-md);
  padding: 15px 19px;
  margin: 13px 0 16px 0;
  color: var(--color-primary);
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: var(--color-dark);
  color: #FFF;
  padding: 38px 0 18px 0;
  width: 100%;
  margin-top: 70px;
}
footer .container {
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1.02rem;
}
.footer-nav a {
  color: #C7F9E5;
  transition: color var(--transition);
  margin-right: 12px;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  width: fit-content;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent);
  background: rgba(42,157,143,0.20);
}
.footer-contact {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #CAF0F8;
  font-size: 0.97rem;
  line-height: 1.7;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-display);
  color: #DEF6EB;
  font-size: .97rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  filter: saturate(.91) brightness(1.19);
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1060px) {
  .feature-grid, .service-cards, .category-tiles, .project-list, .testimonial-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .feature-item,
  .service-card,
  .category-tile,
  .project-card,
  .testimonial-card {
    min-width: 188px;
    max-width: 100%;
    flex: 1 1 47%;
  }
}
@media (max-width: 900px) {
  .feature-item,
  .service-card,
  .category-tile,
  .project-card,
  .testimonial-card {
    min-width: 100%;
    width: 100%;
    flex: 1 1 365px;
  }
  .feature-grid,
  .service-cards,
  .category-tiles,
  .project-list,
  .testimonial-list {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.09rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .section { padding: 28px 6px; margin-bottom: 40px; }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-cards, .category-tiles, .project-list, .testimonial-list {
    flex-direction: column;
    gap: 9px;
  }
  .feature-item,
  .service-card,
  .category-tile,
  .project-card,
  .testimonial-card {
    min-width: 98vw;
    max-width: 98vw;
    flex: 1 1 100%;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .hero {
    padding: 44px 0 28px 0;
    border-radius: 0 0 30px 30px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
  .footer-brand img {
    height: 26px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.feature-item, .service-card, .category-tile, .project-card, .testimonial-card {
  will-change: transform, box-shadow;
}
.cta-primary, .cta-secondary, .main-nav a, .mobile-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-secondary);
  color: #FFF;
  font-family: var(--font-body);
  padding: 22px 10px 22px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -3px 24px 0 rgba(38, 70, 83, 0.05);
  z-index: 6000;
  gap: 18px;
  animation: cookiePopIn .7s cubic-bezier(.48,.84,.23,1.31);
}
@keyframes cookiePopIn {
  0% { transform: translateY(76px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1.02rem;
  line-height: 1.7;
  flex: 1;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  background: var(--color-accent);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  margin-right: 0;  /* no margin to keep spacing tight */
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #FFF9E7;
  transform: scale(1.06) rotate(-3deg);
}
.cookie-btn--settings {
  background: var(--color-secondary);
  color: #FFF;
  border: 1.5px solid #FFF;
}
.cookie-btn--reject {
  background: #FFF;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: var(--color-accent);
  color: #FFF;
  border: none;
}

@media (max-width: 730px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 5px 15px 11px;
    gap: 7px;
    font-size: 1rem;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38, 70, 83, 0.38);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: #FFF;
  color: var(--color-primary);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0 44px 0 rgba(42,157,143,0.06);
  width: 98vw;
  max-width: 420px;
  margin-bottom: 0;
  padding: 38px 20px 24px 29px;
  position: relative;
  animation: cookieModalPop .5s cubic-bezier(.48,.72,.19,1.25);
}
@keyframes cookieModalPop {
  0% { transform: translateY(108px); opacity: .35; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 17px; right: 17px;
  background: var(--color-accent);
  color: #FFF;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px 0 rgba(38,70,83,0.06);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-secondary);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.cookie-modal__category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal__switch {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #ECECEC;
  border-radius: 17px;
  transition: background .17s;
  outline: none;
  position: relative;
  margin-right: 7px;
}
.cookie-modal__switch:checked {
  background: var(--color-secondary);
}
.cookie-modal__switch::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: transform .18s, background .13s;
}
.cookie-modal__switch:checked::before {
  transform: translateX(18px);
  background: var(--color-accent);
}
.cookie-modal__category .cookie-modal__switch[disabled] {
  background: #BCBCBC;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-btn {
  margin-right: 0;
}

/* PLAYFUL_DYNAMIC ELEMENTS */
h1, h2, h3 {
  word-spacing: 0.01em;
}
h1, h2 {
  font-family: var(--font-display);
}
h1 { letter-spacing: 0.01em; }
h2 { letter-spacing: 0.02em; }
h3 { letter-spacing: 0.03em; }
.cta-primary {
  animation: ctaBobble 2.2s infinite alternate cubic-bezier(.51,.76,.18,.94);
}
@keyframes ctaBobble {
  0%   { box-shadow: var(--shadow-card); }
  85%  { box-shadow: var(--shadow-card); }
  90%  { box-shadow: var(--shadow-hover); transform: translateY(-2px) scale(1.035) rotate(-3deg); }
  100% { box-shadow: var(--shadow-card); }
}
.animated-icon {
  animation: iconBounce 1.6s infinite alternate cubic-bezier(.57,.69,.13,.86);
  display: inline-block;
}
@keyframes iconBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px) rotate(-9deg); }
}

/* SELECTION COLORS */
::selection {
  background: var(--color-accent);
  color: #FFF;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 9px;
  background: var(--color-bg);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 16px;
}

/* ACCESSIBILITY FOCUS VISIBLE */
:focus {
  outline: 2.5px dotted var(--color-accent);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #FFF; color: #000; }
}
