/*-------------------------------------------------------
 RESET & BASE STYLES
-------------------------------------------------------*/
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FAFAFA;
  color: #184D72;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #184D72;
  text-decoration: none;
  transition: color 0.2s linear;
}
a:focus,
a:hover {
  color: #FFB043;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 0.5em;
  font-weight: 800;
}
h1 { font-size: 2.5rem; line-height: 1.13; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.5rem; line-height: 1.25; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.8em;
}
strong { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/*-------------------------------------------------------
 COLOR THEME & BRANDING
-------------------------------------------------------*/
:root {
  --primary: #184D72;
  --secondary: #FAFAFA;
  --accent: #FFB043;
  --danger: #EF476F;
  --info: #47B5FF;
  --success: #06D6A0;
  --bg-card: #fff;
  --shadow: 0 4px 20px rgba(24,77,114,0.06), 0 1.5px 8px rgba(255,176,67,0.08);
  --radius: 18px;
  --gap: 24px;
  --text-dark: #184D72;
  --text-light: #fff;
  --fancy: 'Montserrat', 'Roboto', Arial, sans-serif;
  --body: 'Roboto', Arial, sans-serif;
}

/* playful_dynamic extra accent colors for variety */
.pd-bg-orange { background: #FFB043; color: #184D72; }
.pd-bg-blue { background: #47B5FF; color: #184D72; }
.pd-bg-pink { background: #EF476F; color: #fff; }
.pd-bg-green { background: #06D6A0; color: #184D72; }

/*-------------------------------------------------------
 TYPOGRAPHY (PLAYFUL, DYNAMIC FONTS)
-------------------------------------------------------*/
h1, h2, h3 {
  font-family: var(--fancy);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p, li, address {
  font-family: var(--body);
  font-size: 1rem;
}
.cta, .cta.primary {
  font-family: var(--fancy);
  font-weight: 700;
  font-size: 1.13rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Fun font: Subtle tilting for major headings (for playful effect) */
h1, h2.hero {
  transform: skew(-1deg, -1deg); /* subtle dynamic tilt */
}

/*-------------------------------------------------------
 HEADER & NAVIGATION
-------------------------------------------------------*/
header {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(24,77,114,0.08);
  position: sticky;
  top: 0; z-index: 5000;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.branding img {
  height: 54px;
  width: auto;
  margin-right: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: #fff;
  font-family: var(--fancy);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 9px 20px;
  position: relative;
}
.main-nav a.cta.primary {
  background: var(--accent);
  color: var(--primary);
  margin-left: 8px;
  box-shadow: 0 1px 8px rgba(255,176,67,0.13);
  border-radius: 28px;
  font-size: 1rem;
  animation: ctaPop 2.5s infinite alternate ease-in-out;
}
@keyframes ctaPop {
  0%, 100% { transform: scale(1); box-shadow: 0 1px 8px #FFCF6F22; }
  60%        { transform: scale(1.07); box-shadow: 0 4px 16px #FFD17A42; }
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #FFD17A;
  color: var(--primary);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 12px #ffb04545;
}
.mobile-menu-toggle {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  margin-left: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD17A;
  color: #184D72;
  box-shadow: 0 4px 18px #FFD17A44;
}

/*-------------------------------------------------------
 MOBILE NAVIGATION (SLIDE-IN ANIMATION)
-------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,77,114, 0.98);
  z-index: 10000;
  transition: transform 0.45s cubic-bezier(.8,-0.02,.25,1.07);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  margin-left: 16px;
  margin-bottom: 24px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  margin-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--fancy);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 12px 18px 0;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  padding-left: 16px;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    padding: 8px 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .main-nav a,
  .main-nav a.cta.primary {
    font-size: 0.96rem;
    padding: 7px 7px;
  }
}
@media (max-width: 790px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/*-------------------------------------------------------
 HERO/BANNER SECTIONS
-------------------------------------------------------*/
.hero {
  background: linear-gradient(130deg,#FFB043 25%,#47B5FF 110%);
  color: var(--primary);
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.hero h1,
.hero h2 {
  font-family: var(--fancy);
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 3px 18px #fff7;
  font-size: 2.1rem;
}
.hero p {
  font-size: 1.3rem;
  color: #184D72;
  margin-bottom: 18px;
}
.hero .cta.primary {
  margin-top: 18px;
  letter-spacing: 0.07em;
  padding: 16px 40px;
  font-size: 1.11rem;
  border-radius: 40px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px #184D7296;
  border: none;
  animation: ctaShake 3.5s infinite alternate cubic-bezier(.46,1.12,.53,1.08);
}
@keyframes ctaShake {
  10% { transform: rotate(-2deg) scale(1.03); }
  20% { transform: rotate(1.8deg) scale(1); }
  35% { transform: rotate(-1.7deg) scale(1.07); }
  45%, 100% { transform: none; }
}
.hero .cta.primary:focus,
.hero .cta.primary:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 28px #FFD17A88;
}

/*-------------------------------------------------------
 FLEXBOX LAYOUTS (MANDATORY) & SECTIONS
-------------------------------------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-card);
  border-radius: calc(var(--radius) * 1.2);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 32px #FFD17A33, 0 4px 16px #184D7240;
}
.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: #fff;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 4px 16px #184D7222, 0 1px 6px #ffb04318;
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #FFD17A40, 0 12px 42px #184D7225;
  transform: scale(1.03) rotate(-1deg);
}
.testimonial-card p {
  color: #184D72;
  font-size: 1.11rem;
  font-family: var(--fancy);
}
.testimonial-card span {
  font-size: 1rem;
  color: #FFB043;
  font-style: italic;
  font-family: var(--body);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid in / */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 20px;
}
.features .feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px #184D7211;
  padding: 28px 18px 22px 18px;
  min-width: 260px;
  flex: 1 1 250px;
  max-width: 310px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  z-index: 1;
}
.features .feature-grid > div:hover {
  box-shadow: 0 6px 28px #FFB04333, 0 2px 8px #184D7222;
  transform: translateY(-2px) scale(1.04);
  background: #FFF8ED;
}
.features .feature-grid img {
  height: 42px;
  margin-bottom: 14px;
}
.features .feature-grid h3 {
  font-size: 1.24rem;
  color: var(--primary);
  font-weight: 700;
}
.features .feature-grid p {
  font-size: 1rem;
  color: #32648d;
  margin-bottom: 4px;
}

/* Service Cards for services.html */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px #47B5FF11, 0 5px 22px #FFB04318;
  padding: 35px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  transition: box-shadow .21s, background .18s, transform .17s;
}
.service-card:hover {
  box-shadow: 0 8px 38px #06D6A025, 0 16px 56px #FFB04319;
  transform: scale(1.025) rotate(1.2deg);
  background: #EFFEFA;
}
.service-card img {
  height: 44px;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 1.17rem;
}
.service-card strong {
  color: #EF476F;
  font-size: 1.08rem;
}

/* Blog Teasers & Post List (blog.html preview + teasers) */
.blog-teasers, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-teasers > div, .blog-post-teaser {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 14px #184D721A;
  padding: 19px 18px 18px 18px;
  min-width: 200px;
  flex: 1 1 260px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.14s, transform .14s;
}
.blog-teasers > div:hover, .blog-post-teaser:hover {
  background: #EFFEFA;
  box-shadow: 0 9px 30px #47B5FF33, 0 2.5px 8px #184D7244;
  transform: scale(1.035) rotate(-1deg);
}
.blog-teasers h3, .blog-post-teaser h3 {
  color: #184D72;
  font-size: 1.09rem;
}


/* Testimonial carousel and grid layouts */
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}

/***********
 CTA Sections
***********/
.cta {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 36px 0 0 0;
  text-align: center;
  background: none;
}
.cta h2 {
  color: var(--primary);
  font-size: 2.1rem;
  font-family: var(--fancy);
}
a.cta.primary, .cta.primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 16px 42px;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 40px;
  border: 0;
  box-shadow: 0 4px 26px #FFD17A39;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s, transform .18s;
}
a.cta.primary:hover, .cta.primary:focus {
  background: #FFD17A;
  color: #184D72;
  transform: scale(1.045);
}

.contact-short {
  font-size: 1rem;
  color: #184D72;
  margin-top: 10px;
  line-height: 1.45;
}

/***********
 Lists & Values
***********/
.values .value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.values .value-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px #184D7210;
  padding: 28px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 230px;
  max-width: 300px;
  transition: transform .17s;
}
.values .value-grid > div:hover {
  background: #FFF8ED;
  transform: rotate(-3deg) scale(1.03);
}
.values .value-grid img {
  height: 40px;
  margin-bottom: 13px;
}
.values .value-grid h3 {
  font-size: 1.08rem;
  color: var(--primary);
}
.values .value-grid p {
  font-size: .99rem;
  color: #32648d;
}

/**********
 LEGAL SECTION STYLES
***********/
.legal {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 1px 8px #184D7220;
  margin-bottom: 44px;
  padding: 32px 18px 18px 18px;
}
.legal h1, .legal h2 {
  color: var(--primary);
  margin-bottom: 8px;
}
.legal p, .legal ul {
  font-size: 1rem;
  margin-bottom: 14px;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
}
.legal a:hover {
  color: var(--primary);
}

/**********
 BLOG CATEGORIES FILTER
***********/
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--fancy);
  font-size: 1rem;
}
.categories-filter a {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 7px 16px;
  color: #184D72;
  font-weight: 600;
  transition: background 0.14s, color 0.12s;
  margin-right: 4px;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: #FFD17A;
  color: #184D72;
}
.categories-filter span { font-size: 0.97em; }

/*-------------------------------------------------------
 FOOTER STYLES
-------------------------------------------------------*/
footer {
  background: #184D72;
  color: #fff;
  padding: 50px 0 28px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 18px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #FFD17A;
  text-decoration: none;
  font-family: var(--fancy);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.social-media {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}
.social-media img {
  height: 33px;
  opacity: 0.88;
  transition: opacity 0.13s, transform 0.18s;
  cursor: pointer;
}
.social-media img:hover {
  opacity: 1;
  transform: scale(1.13) rotate(-3deg);
}
footer address {
  color: #FFD17A;
  font-size: 0.98em;
  font-style: normal;
  margin-bottom: 12px;
}
.newsletter-signup {
  background: #FFD17A;
  color: #184D72;
  padding: 22px 22px;
  border-radius: 16px;
  margin-top: 18px;
  max-width: 340px;
  min-width: 210px;
  font-size: 1.03rem;
  box-shadow: 0 4px 16px #fff3, 0 1.5px 4px #184D7216;
  animation: fadeInBounce 1.9s 0.25s backwards;
}
@keyframes fadeInBounce {
  0% { opacity: 0; transform: scale(0.93); }
  65% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.newsletter-signup h3 {
  font-size: 1.09rem;
  margin-bottom: 8px;
}

/*-------------------------------------------------------
 COOKIE CONSENT BANNER AND MODAL
-------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 21000;
  background: #184D72;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 25px 20px 22px 20px;
  box-shadow: 0 0 40px #184D7280;
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.41s cubic-bezier(.54,.1,.23,.99), opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cookie-banner button {
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-family: var(--fancy);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s;
  box-shadow: 0 1px 7px #FFD17A33;
}
.cookie-banner .accept {
  background: #FFD17A;
  color: #184D72;
}
.cookie-banner .reject {
  background: #EF476F;
  color: #fff;
}
.cookie-banner .settings {
  background: #47B5FF;
  color: #184D72;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus { background: #FFB043; color: #184D72; }
.cookie-banner .settings:hover,
.cookie-banner .settings:focus { background: #47A8D1; color: #fff; }
.cookie-banner .reject:hover,
.cookie-banner .reject:focus { background: #d9335d; color: #fff; }

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 22000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 77, 114, 0.92);
  transition: opacity 0.19s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-preferences {
  background: #fff;
  color: #184D72;
  border-radius: 24px;
  padding: 38px 32px 30px 32px;
  min-width: 312px;
  max-width: 98vw;
  box-shadow: 0 10px 50px #184D7211;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: fadeInBounce 0.7s;
}
.cookie-modal h2 {
  font-family: var(--fancy);
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.13rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin: 10px 0 2px 0;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 18px;
  background: #FFD17A;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  border: none;
  margin-left: 10px;
}
.cookie-toggle[aria-checked="true"] {
  background: #06D6A0;
}
.cookie-toggle span {
  position: absolute;
  left: 3px; top: 3px;
  height: 18px; width: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
  box-shadow: 0 1px 7px #FFD17A33;
}
.cookie-toggle[aria-checked="true"] span {
  left: 23px;
  background: #fff;
}
/* Modal Close Button */
.cookie-modal .close-modal {
  position: absolute;
  right: 22px; top: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #184D72;
  cursor: pointer;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #EF476F;
}
.cookie-modal .cookie-save {
  background: #06D6A0;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 11px 28px;
  font-family: var(--fancy);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 9px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px #06d6a030;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-save:hover,
.cookie-modal .cookie-save:focus {
  background: #0cc083;
  color: #FFD17A;
}

/*-------------------------------------------------------
 RESPONSIVE: MOBILE-TABLET ADJUSTMENTS
-------------------------------------------------------*/
@media (max-width: 1100px) {
  .container { max-width: 920px; }
  .features .feature-grid > div { min-width: 210px; max-width: 260px; }
  .services .service-list .service-card { min-width: 180px; max-width: 260px; }
  .testimonial-card { min-width: 180px; max-width: 260px; }
  .blog-teasers > div, .blog-post-teaser { min-width: 180px; max-width: 260px; }
  .values .value-grid > div { min-width: 170px; max-width: 210px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; padding-left: 8px; padding-right: 8px; }
  .section { padding: 26px 7px; }
  footer .container { gap: 13px; }
}
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .services .service-list,
  .testimonial-grid,
  .testimonial-carousel,
  .values .value-grid,
  .blog-teasers,
  .blog-post-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: left;
  }
  .section { padding: 20px 5px; margin-bottom: 36px; }
  .hero .container { gap: 10px; }
  .footer-logo img { margin-bottom: 6px; }
  .newsletter-signup {
    margin-top: 20px;
    min-width: 180px;
    padding: 13px 10px;
    font-size: 0.97rem;
  }
  .mobile-menu {
    padding-top: 12px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .footer-logo img { height: 32px; }
  .section { padding: 14px 2px; margin-bottom: 22px; }
  .container { padding-left: 2px; padding-right: 2px; }
}
@media (max-width: 450px) {
  .newsletter-signup { min-width: 120px; }
  .cookie-modal .cookie-preferences { min-width: 90vw; padding: 18px 4vw 10px 4vw; }
}
/*-------------------------------------------------------
 MICRO-INTERACTIONS & PLAYFUL DETAILS
-------------------------------------------------------*/
.card::after, .service-card::after, .testimonial-card::after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 5px;
  width: 22px; height: 22px;
  background: url('../assets/favicon.svg') no-repeat center/contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 2;
  animation: floatIcon 2.7s infinite alternate cubic-bezier(.42,.14,.32,1.21);
}
@keyframes floatIcon {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-7px) scale(1.14) rotate(8deg); }
}
.card:active, .service-card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* Headings playful underline on hover */
h2:hover, .hero h1:hover {
  text-decoration: underline wavy var(--accent) 2.5px;
  cursor: pointer;
}

/*---------------
 FORMS (Newsletter/contact)
---------------*/
input[type=email], input[type=text], textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 11px 14px;
  border: 2px solid #E4EDEE;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #fff;
  color: #184D72;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #47B5FF;
  background: #EFFEFA;
}
button[type=submit], .newsletter-signup button {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--fancy);
  border: none;
  padding: 11px 35px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1.5px 11px #FFD17A10;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
button[type=submit]:hover,
.newsletter-signup button:hover,
button[type=submit]:focus,
.newsletter-signup button:focus {
  background: #47B5FF;
  color: #fff;
}

/*---------------
 MISC: THANK YOU PAGE
---------------*/
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
}
.thank-you h1 {
  color: #06D6A0;
  font-size: 2.3rem;
  font-family: var(--fancy);
}
.thank-you p {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.thank-you a.cta.primary {
  margin-top: 19px;
}

/*---------------
 CONTACT PAGE
---------------*/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1.03rem;
  margin-bottom: 14px;
}
.contact-details a {
  text-decoration: underline;
  color: #FFB043;
}
.contact-details a:hover { color: #184D72; }

/****************************************************
 * END OF STYLE.CSS - PräsentationsMeister
 ****************************************************/
