/* ================== CSS RESET & NORMALIZE ==================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FCFCFA;
  color: #242634;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
  scroll-behavior: smooth;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }

/* ================== VARIABLES ==================== */
:root {
  --primary: #1D3557;
  --secondary: #F7B32B;
  --accent: #FFFFFF;
  --dark: #232433;
  --gray: #eaeaea;
  --soft-accent: #f8edcb;
  --creative-blue: #477998;
  --creative-pink: #e85d75;
  --creative-mint: #6bcaba;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-md: 0 4px 18px rgba(29,53,87,0.10);
  --shadow-lg: 0 10px 32px rgba(29,53,87,0.15);
  --font-display: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
}

/* ================== TYPOGRAPHY ==================== */
h1, .headline {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--creative-blue);
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--creative-pink);
  margin-bottom: 8px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 8px;
}
.text-section a { color: var(--creative-blue); font-weight: 600; text-decoration: underline; }
.subheadline {
  font-size: 1.2rem;
  color: var(--creative-mint);
  margin-bottom: 24px;
}
strong { color: var(--secondary); font-weight: bold; }

/* Headings inside content-wrapper spacing */
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3 {
  margin-top: 0;
}

/* ================== LAYOUT: SECTION, CONTAINER, WRAPPER ==================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================== HEADER & NAVIGATION ==================== */
header {
  background: var(--primary);
  color: var(--accent);
  width: 100%;
  padding: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 0 18px;
}
.logo img {
  height: 46px;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(80,80,80,0.04);
  background: var(--accent);
  padding: 2px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--accent);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
main{
  padding-top: 70px;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 1px 7px rgba(255,213,77,0.12);
}
.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 11px 30px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-left: 14px;
  box-shadow: var(--shadow-md);
  transition: background 0.18s, color 0.18s, transform 0.06s;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--creative-pink);
  color: var(--accent);
  transform: translateY(-2px) scale(1.045);
  box-shadow: var(--shadow-lg);
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 4px 14px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--creative-pink);
  color: var(--accent);
}

/* ================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--primary);
  color: var(--accent);
  z-index: 2000;
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  margin: 28px 18px 4px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.22s;
  z-index: 10;
}
.mobile-menu-close:hover { color: var(--creative-pink); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 18px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 700;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 65%, var(--secondary) 120%);
  color: var(--accent);
  padding: 68px 0 48px 0;
  margin-bottom: 60px;
  box-shadow: 0px 9px 32px rgba(29,53,87,0.13);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero .container {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 540px;
}
.hero .headline {
  color: var(--accent);
  text-shadow: 1px 3px 12px #37415199;
  font-size: 2.7rem;
}
.hero .subheadline {
  color: var(--soft-accent);
  font-size: 1.2rem;
}
.hero .btn-primary {
  background: var(--secondary);
  color: var(--primary);
}
.hero .btn-primary:hover {
  background: var(--creative-mint);
  color: var(--primary);
}

/* ================== FEATURES & CARDS ==================== */
.features, .values {
  background: #F6F9FA;
  border-radius: var(--radius-lg);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.feature, .service-feature {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px 18px 24px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  min-width: 230px;
  min-height: 170px;
  transition: transform 0.18s, box-shadow 0.20s;
  margin-bottom: 20px;
}
.feature:hover, .service-feature:hover {
  transform: translateY(-6px) scale(1.025) rotate(-0.6deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.feature img, .service-feature img {
  height: 44px; width: 44px;
  filter: drop-shadow(0 2px 5px rgba(81,84,169,0.16));
  margin-bottom: 4px;
}
.feature h3, .service-feature h3 {
  color: var(--creative-pink);
}
.feature p, .service-feature p {
  color: var(--primary);
  font-size: 1rem;
}

/* ===== OUR SERVICES CARDS ===== */
.our-services {
  margin-bottom: 60px;
  margin-top: 0;
}
.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 22px;
}
.service-box {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
  border-left: 7px solid var(--secondary);
}
.service-box:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.04) translateY(-3px);
}
.service-box img {
  height: 40px;
  width: 40px;
  margin-bottom: 2px;
}
.service-box h3 {
  color: var(--creative-blue);
}
.service-box p {
  color: var(--primary);
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: var(--soft-accent);
  border-radius: var(--radius-lg);
}
.testimonials .testimonial-slider {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 28px 22px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  min-width: 250px;
  max-width: 380px;
  flex: 1 1 280px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border-left: 7px solid var(--creative-mint);
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  background: var(--gray);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03) translateY(-4px);
}
.testimonial-card p {
  font-family: var(--font-display);
  color: #232433;
  font-size: 1.10rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ================== CTA BANNER ==================== */
.cta-banner {
  margin: 70px 0 0 0;
  background: var(--creative-pink);
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 30px rgba(233,66,88,0.055);
  padding: 50px 0;
}
.cta-banner .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-banner h2 {
  color: var(--accent);
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}
.cta-banner p {
  color: var(--soft-accent);
}
.cta-banner .btn-primary {
  background: var(--accent);
  color: var(--creative-blue);
  box-shadow: var(--shadow-md);
}
.cta-banner .btn-primary:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ================== ABOUT, VALUES, CREDENTIALS ==================== */
.text-section {
  margin-bottom: 24px;
}
.values .feature-grid {
  gap: 30px;
}
.credentials ul {
  margin-bottom: 18px;
}
.credentials ul li {
  padding-left: 22px;
  font-size: 1rem;
  position: relative;
  margin-bottom: 8px;
}
.credentials ul li:before {
  content: '\2714';
  color: var(--secondary);
  font-size: 1.2rem;
  margin-right: 8px;
  position: absolute;
  left: 0;
  top: 2px;
}
.certifications {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
}
.certifications img {
  height: 48px;
  width: auto;
}

/* ================== PRICING TABLES ==================== */
.pricing-table {
  margin-bottom: 36px;
  overflow-x: auto;
}
.pricing-table table {
  width: 100%;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: none;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  font-size: 1rem;
  font-family: var(--font-body);
}
.pricing-table th {
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.price-comparison ul {
  margin-top: 8px;
}
.price-comparison li {
  color: var(--primary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
}
.price-comparison li:before {
  content: '\2022';
  color: var(--creative-mint);
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* ================== FAQ ACCORDION ==================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 22px 20px 17px 22px;
  transition: box-shadow 0.14s, transform 0.13s;
  position: relative;
}
.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.01) translateY(-3px);
  border-left: 5px solid var(--creative-blue);
}
.faq-item h2 {
  color: var(--creative-blue);
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.faq-item p,
.faq-item a {
  color: var(--dark);
  font-size: 1rem;
}

/* ================== CONTACT SECTION ==================== */
.contact-info, .map-location {
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 20px 10px 24px;
  margin-bottom: 22px;
}
.contact-info h2, .map-location h2 {
  color: var(--creative-blue);
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.contact-info ul, .map-location ul {
  padding-left: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.contact-info img {
  margin-right: 6px;
  height: 22px;
  width: 22px;
}
.map-location p {
  margin-top: 6px;
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
}

/* =========== THANK YOU SECTION =========== */
.thankyou .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.thankyou h1 {
  color: var(--creative-blue);
  font-size: 2.2rem;
  margin-bottom: 17px;
}
.thankyou ul {
  margin-top: 5px;
  margin-bottom: 22px;
  padding-left: 20px;
}
.thankyou li {
  color: var(--dark);
  margin-bottom: 6px;
  position: relative;
  list-style-type: disc;
}

/* ========== LEGAL SECTIONS (DSGVO, GDPR, Nutzungsbedingungen) ========== */
.legal {
  background: var(--accent);
  border-radius: var(--radius-lg);
}
.legal-text {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 18px;
}
.legal-text ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-text li {
  list-style: disc;
  margin-bottom: 8px;
}
.legal-text a {
  color: var(--creative-mint);
  text-decoration: underline;
}

/* ============= FOOTER ============= */
footer {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -3px 24px rgba(29,53,87,0.09);
  padding: 0;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 18px 28px 18px;
}
.footer-logo-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.footer-logo-nav img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1.02rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--creative-mint); }
.footer-contact h3 {
  color: var(--creative-pink);
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 0.98rem;
  color: white;
}
.footer-contact p {
  color: white;
}
.footer-contact img { height: 16px; width: 16px; }
.footer-legal-social {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  margin-bottom: 14px;
}
.footer-legal a {
  color: var(--creative-mint);
  font-size: 0.96rem;
  transition: color 0.18s;
}
.footer-legal a:hover { color: var(--secondary); }
.social-media {
  display: flex;
  gap: 10px;
}
.social-media a img {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: var(--accent);
  padding: 5px;
  box-shadow: 0 1px 5px rgba(30,50,80,0.07);
  transition: transform 0.15s, background 0.14s;
}
.social-media a:hover img {
  transform: scale(1.12);
  background: var(--creative-pink);
}

/* ================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 22px 20px 22px;
  z-index: 3500;
  box-shadow: 0 -3px 22px rgba(29,53,87,0.13);
  font-size: 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 22px;
  border: none;
  outline: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-left: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: background 0.16s, color 0.14s, box-shadow 0.17s;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover {
  background: var(--creative-pink);
  color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.cookie-banner .cookie-reject {
  background: var(--creative-pink);
  color: var(--accent);
}
.cookie-banner .cookie-reject:hover {
  background: #dd2e54;
}
.cookie-banner .cookie-settings {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--soft-accent);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 60%);
  background: var(--accent);
  color: var(--primary);
  min-width: 295px; max-width: 99vw;
  width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  padding: 38px 30px 32px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--creative-blue);
  margin-bottom: 12px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 14px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 13px;
}
.cookie-modal label {
  flex: 1;
}
.cookie-modal .toggle {
  height: 25px; width: 48px;
  border-radius: 22px;
  background: var(--gray);
  display: flex; align-items: center;
  transition: background 0.15s;
  position: relative;
  cursor: pointer;
}
.cookie-modal .toggle[data-checked="true"] {
  background: var(--creative-mint);
}
.cookie-modal .toggle .knob {
  display: block;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  margin: 1.5px;
  transition: transform 0.22s, background 0.12s;
}
.cookie-modal .toggle[data-checked="true"] .knob {
  transform: translateX(23px);
  background: var(--secondary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 18px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: var(--creative-pink);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============== FLEXBOX PATTERNS FROM BRIEF ============= */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--accent);
  padding: 28px 22px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: scale(1.04); }
.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;
}

/* ============== RESPONSIVE DESIGN ============= */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .footer-grid { gap: 32px; }
  .feature-grid, .service-boxes { gap: 18px; }
}
@media (max-width: 900px) {
  .footer-grid { flex-wrap: wrap; gap: 22px; justify-content: flex-start; }
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .hero .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  .section { padding: 27px 7px; margin-bottom: 34px; }
  .footer-grid {
    flex-direction: column;
    gap: 15px;
    padding: 28px 7px 18px 7px;
  }
  .feature-grid, .service-boxes {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-slider { flex-direction: column; gap: 12px; }
  .testimonial-card { min-width: 90vw; max-width: 100vw; }
  .hero { padding: 40px 0 24px 0; }
  .hero .container { align-items: flex-start; }
  .cta-banner { margin: 22px 0; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
  .certifications { gap: 16px; }
  .pricing-table th, .pricing-table td { font-size: 0.97rem; padding: 8px 6px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 17px 8px; font-size: 0.98rem; }
  .cookie-modal { width: 98vw; min-width: 0; padding: 22px 6vw; }
}
@media (max-width: 520px) {
  .hero .headline { font-size: 1.6rem; }
  h1, .headline { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  .cta-banner h2 { font-size: 1.06rem; }
  .footer-logo-nav img { height: 28px; }
  .service-box, .feature, .service-feature { min-width: 0; padding: 18px 8px; }
  .footer-grid { gap: 6px; padding: 14px 3vw 8px 3vw; }
}
/* ================ FOCUS STYLES FOR ACCESSIBILITY ================ */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px dashed var(--creative-mint);
  outline-offset: 2px;
}

/* =========== KEYFRAME, MICRO-INTERACTIONS ============= */
@keyframes btnPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.btn-primary:active { animation: btnPop 0.2s cubic-bezier(.57,.29,.58,.94) 1; }
.social-media a:active img { animation: btnPop 0.2s cubic-bezier(.57,.29,.58,.94) 1; }

/* ============= Z-INDEX: Prevent Overlap ============= */
header { z-index: 1000; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3500; }
.cookie-modal { z-index: 5000; }

/* ========== BUTTONS (DYNAMIC STYLES) =========== */
button, .btn {
  font-family: var(--font-display);
  cursor: pointer;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  border: none;
  transition: background 0.16s, color 0.14s, box-shadow 0.18s;
  margin-bottom: 0;
}

/* ========== NO GRID/NO ABSOLUTE LAYOUTS ON CONTENT ========= */
/* All main content layout uses ONLY flex patterns as specified */

/* =========== ARTISTIC ELEMENTS & UNIQUE TOUCHES ============= */
/* Artistic border accents for section headers */
.section h2, .content-wrapper h2 {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-display);
}
.section h2:before, .content-wrapper h2:before {
  content: '';
  position: absolute;
  left: 0; top: 45%;
  width: 6px; height: 60%;
  background: linear-gradient(180deg,var(--secondary) 60%,var(--creative-mint) 100%);
  border-radius: 3px;
  margin-right: 10px;
  display: block;
}

/* Artistic shadow/glow on logo */
.logo img, .footer-logo-nav img {
  box-shadow: 0 4px 18px rgba(247,179,43,0.08), 0 1px 3px rgba(71,121,152,0.09);
}

/* ========== DESKTOP ONLY HOVERS (safer for mobile) ========== */
@media (hover: hover) and (pointer: fine) {
  .feature:hover, .service-box:hover, .testimonial-card:hover, .faq-item:hover {
    filter: brightness(1.02) saturate(1.025);
    box-shadow: var(--shadow-lg);
    z-index: 1;
  }
}
