/* =========================================================
   SupplQuoce Glanzservice - style.css
   Playful Dynamic theme: bright accents, fun motion, energetic UI
   Brand colors & fonts applied. Mobile-first. Flexbox only.
   ========================================================= */

/* ========== CSS RESET & BASELINE ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0 0 16px; padding: 0 0 0 20px; }
p { margin: 0 0 16px; }
button { font: inherit; background: transparent; border: none; cursor: pointer; }

/* ========== THEME TOKENS ========== */
:root {
  --brand-primary: #0A3D62; /* deep ocean blue */
  --brand-secondary: #2E8B57; /* sea green */
  --brand-accent: #F5FAFF; /* airy light */
  /* Playful dynamic pop colors */
  --pop-pink: #FF4F81;
  --pop-yellow: #FFD93D;
  --pop-sky: #17C3FF;
  --pop-lime: #2BD9A8;
  --ink-900: #1C2430; /* headings */
  --ink-700: #344054; /* body */
  --ink-600: #475467;
  --ink-500: #667085;
  --bg-0: #FFFFFF;
  --bg-1: #FCFDFF; /* subtle page */
  --border-100: #E6EEF6;
  --shadow-1: 0 4px 14px rgba(10, 61, 98, 0.08);
  --shadow-2: 0 10px 24px rgba(10, 61, 98, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --space-8: 8px; --space-12: 12px; --space-16: 16px; --space-20: 20px; --space-24: 24px; --space-32: 32px; --space-40: 40px; --space-48: 48px; --space-60: 60px;
  --speed-1: 140ms; --speed-2: 220ms; --speed-3: 380ms;
}

/* ========== TYPOGRAPHY ========== */
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink-700);
  background: var(--bg-1);
}
h1, h2, h3, h4 { font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif; color: var(--ink-900); margin: 0 0 12px; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: 0.2px; }
h2 { font-size: 28px; line-height: 1.25; }
h3 { font-size: 20px; line-height: 1.3; }
@media (min-width: 768px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}
.lead, .hero p { font-size: 18px; color: var(--ink-600); }
.breadcrumb { color: var(--ink-500); font-size: 14px; margin-top: var(--space-12); }

/* Playful heading accent underline */
h2::after, h3::after {
  content: ""; display: block; width: 64px; height: 6px; border-radius: 6px; margin-top: 8px;
  background: var(--pop-yellow);
}
h2:nth-of-type(2)::after, h3:nth-of-type(2)::after { background: var(--pop-pink); }
h2:nth-of-type(3)::after, h3:nth-of-type(3)::after { background: var(--pop-sky); }

/* ========== LAYOUT WRAPPERS (FLEX ONLY) ========== */
.container {
  display: flex; justify-content: center; width: 100%; padding: 0 16px;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1120px; padding: 20px 0;
}
main > section { padding: 40px 0; }

/* Mandatory spacing classes */
.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; }

/* ========== HEADER ========== */
header { position: sticky; top: 0; z-index: 50; background: var(--bg-0); box-shadow: var(--shadow-1); }
header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo img { height: 40px; }
.main-nav { display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.main-nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink-700); transition: color var(--speed-2), background var(--speed-2), transform var(--speed-2); }
.main-nav a:hover { color: var(--brand-primary); background: var(--brand-accent); }
.header-cta { display: none; align-items: center; gap: 12px; }
.mobile-menu-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--pop-sky); color: #061e2f; font-size: 22px; box-shadow: var(--shadow-1); transition: transform var(--speed-2), background var(--speed-2); }
.mobile-menu-toggle:hover { transform: translateY(-2px); background: #08B3F0; }

@media (min-width: 992px) {
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 14px; font-weight: 700; letter-spacing: 0.2px; transition: transform var(--speed-2), box-shadow var(--speed-2), background var(--speed-2), color var(--speed-2); box-shadow: var(--shadow-1); }
.btn.primary { background: var(--brand-primary); color: #fff; }
.btn.primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.btn.secondary { background: var(--pop-pink); color: #fff; }
.btn.secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.btn:focus-visible { outline: 3px solid var(--pop-yellow); outline-offset: 2px; }

.text-link { color: var(--brand-secondary); border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: color var(--speed-2), transform var(--speed-2); }
.text-link:hover { color: var(--pop-pink); transform: translateY(-1px); }

/* CTA group */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== HERO ========== */
.hero { background: var(--brand-accent); position: relative; overflow: hidden; }
.hero .content-wrapper { padding: 28px 0; }
/* decorative playful blobs */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; width: 160px; height: 160px; border-radius: 34% 66% 55% 45% / 53% 39% 61% 47%; opacity: 0.18;
}
.hero::before { background: var(--pop-pink); left: -40px; top: -40px; animation: float 9s ease-in-out infinite; }
.hero::after { background: var(--pop-yellow); right: -30px; bottom: -30px; animation: float 11s ease-in-out infinite reverse; }
.hero .content-wrapper > * { position: relative; z-index: 1; }

/* ========== USP LIST & TRUST BADGES ========== */
.usp-list { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; padding: 0; }
.usp-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border-100); padding: 10px 12px; border-radius: 12px; box-shadow: var(--shadow-1); }
.usp-list img { width: 18px; height: 18px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.trust-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border-100); box-shadow: var(--shadow-1); font-size: 14px; }
.trust-badges span:nth-child(1) { background: rgba(255,79,129,0.09); }
.trust-badges span:nth-child(2) { background: rgba(255,217,61,0.12); }
.trust-badges span:nth-child(3) { background: rgba(23,195,255,0.10); }
.trust-badges img { width: 18px; height: 18px; }

/* ========== FEATURE GRID, SERVICES, PRICING ========== */
.feature-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.feature-grid .feature { flex: 1 1 260px; background: #fff; border: 1px solid var(--border-100); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-1); transition: transform var(--speed-2), box-shadow var(--speed-2); }
.feature-grid .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.service-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.service-cards article { flex: 1 1 260px; background: #fff; border: 2px solid var(--border-100); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-1); position: relative; }
.service-cards article::before { content: ""; position: absolute; top: 16px; right: 16px; width: 10px; height: 10px; border-radius: 2px; background: var(--pop-sky); }
.service-cards article:nth-child(2)::before { background: var(--pop-pink); }
.service-cards article:nth-child(3)::before { background: var(--pop-yellow); }
.service-cards article:hover { box-shadow: var(--shadow-2); }

.pricing-block { display: flex; flex-direction: column; gap: 10px; flex: 1 1 280px; background: #fff; border: 2px solid var(--border-100); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-1); }
.disclaimer { font-size: 14px; color: var(--ink-500); }

/* ========== PROCESS & NOTES & METRICS ========== */
.process-steps { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; }
.notes { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border-100); border-radius: var(--radius-md); padding: 16px; }
.metrics { display: flex; align-items: center; background: #fff; border: 1px dashed var(--border-100); border-radius: var(--radius-md); padding: 14px 16px; color: var(--ink-600); }

/* ========== TESTIMONIALS (high contrast on light bg) ========== */
.rating-summary { display: flex; align-items: center; background: #fff; border: 1px solid var(--border-100); border-radius: 999px; padding: 8px 14px; color: var(--ink-700); width: fit-content; box-shadow: var(--shadow-1); }
.testimonial-list { display: flex; flex-wrap: wrap; gap: 20px; }
.testimonial-card { flex: 1 1 280px; background: #FFFFFF; border: 2px solid var(--border-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); color: #1b1b1b; }
.testimonial-card p { margin: 0; }
.testimonial-card strong { color: var(--ink-900); }

/* ========== CONTACT BLOCKS ========== */
.contact-block { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border-100); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-1); }
.contact-block p { display: flex; align-items: center; gap: 10px; margin: 0; }
.contact-block img { width: 18px; height: 18px; }

/* ========== FAQ ========== */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq h3 { margin: 4px 0; }
.faq p { margin: 0 0 8px; color: var(--ink-600); }

/* ========== CASE LIST / SUMMARIES ========== */
.case-list, .case-summaries { display: flex; flex-wrap: wrap; gap: 20px; }
.case-list article { flex: 1 1 280px; background: #fff; border: 1px solid var(--border-100); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-1); }
.case-summaries p { background: #fff; border: 1px solid var(--border-100); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-1); }

/* ========== FOOTER ========== */
footer { background: #0b2437; color: #DAE7F5; margin-top: 20px; }
footer .content-wrapper { flex-direction: column; gap: 20px; padding: 28px 0; }
.footer-brand, .footer-nav, .legal-nav, .footer-contact, .address { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .legal-nav a { color: #DAE7F5; opacity: 0.9; padding: 6px 0; }
.footer-nav a:hover, .legal-nav a:hover { color: #fff; }
footer img { height: 34px; }

@media (min-width: 992px) {
  footer .content-wrapper { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
  .footer-brand { flex: 2 1 320px; }
  .footer-nav, .legal-nav, .footer-contact, .address { flex: 1 1 200px; }
}

/* ========== MOBILE MENU (MANDATORY) ========== */
.mobile-menu { position: fixed; inset: 0; background: #ffffff; z-index: 100; transform: translateX(100%); transition: transform var(--speed-3) ease; display: flex; flex-direction: column; padding: 16px; }
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close { align-self: flex-end; width: 42px; height: 42px; border-radius: 12px; background: var(--pop-pink); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.mobile-nav a { padding: 14px 12px; border-radius: 12px; background: var(--brand-accent); color: var(--ink-900); box-shadow: var(--shadow-1); }
.mobile-nav a:hover { background: #E9F4FF; }

/* ========== RESPONSIVE BEHAVIOR ========== */
.text-image-section { align-items: center; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}
@media (min-width: 768px) {
  .feature-grid .feature, .service-cards article, .pricing-block, .testimonial-card, .case-list article { padding: 22px; }
  .contact-block { flex-direction: row; flex-wrap: wrap; }
}

/* ========== ACCESSIBILITY & INTERACTIONS ========== */
a, .btn, .mobile-menu-toggle, .mobile-menu-close, .main-nav a, .text-link { transition: transform var(--speed-2), color var(--speed-2), background var(--speed-2), box-shadow var(--speed-2); }
:focus-visible { outline: 3px solid var(--pop-sky); outline-offset: 2px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ========== PLAYFUL MICRO-ANIMATIONS ========== */
@keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } 100% { transform: translateY(0) rotate(0deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-3deg); } }
.btn.secondary:hover { animation: wiggle 360ms ease-in-out; }

/* ========== TABLES (fallback if ever used) ========== */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border: 1px solid var(--border-100); text-align: left; }
th { background: #F2F7FF; }

/* ========== COOKIE CONSENT (MANDATORY) ========== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #ffffff; border-top: 3px solid var(--pop-yellow); box-shadow: 0 -8px 18px rgba(10,61,98,0.12); display: flex; }
.cookie-banner .inner { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 1120px; margin: 0 auto; padding: 14px 16px; }
.cookie-banner p { margin: 0; color: var(--ink-700); }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-buttons .btn { padding: 10px 14px; border-radius: 12px; }
.cookie-accept { background: var(--brand-secondary); color: #fff; }
.cookie-reject { background: #ECEFF4; color: #0B2031; }
.cookie-settings { background: var(--pop-sky); color: #052438; }

/* Cookie modal */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 130; display: none; align-items: center; justify-content: center; padding: 16px; }
.cookie-modal-overlay.open { display: flex; }
.cookie-modal { background: #fff; border-radius: var(--radius-xl); width: 100%; max-width: 680px; padding: 20px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 16px; }
.cookie-modal h3 { margin: 0; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-100); }
.cookie-row:last-child { border-bottom: none; }
.toggle { width: 52px; height: 30px; border-radius: 999px; background: #E3E8EF; position: relative; transition: background var(--speed-2); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--speed-2); }
.toggle.on { background: var(--brand-secondary); }
.toggle.on::after { transform: translateX(22px); }
.cookie-modal .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ========== UTILITIES ========== */
.hidden { display: none !important; }
.center { display: flex; justify-content: center; align-items: center; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--pop-lime); color: #08382E; font-size: 12px; font-weight: 700; }

/* ========== PAGE-SPECIFIC TOUCHES ========== */
/* Preise page emphasis */
.pricing-block h3 { color: var(--brand-primary); }
/* Branchen page colorful cards */
.service-cards article h3 { color: var(--brand-secondary); }
/* Referenzen page metric pill */
.rating-summary p { font-weight: 700; }

/* ========== HEADER ROW RESPONSIVE LAYOUT ========== */
@media (max-width: 991px) {
  header .content-wrapper { flex-wrap: wrap; }
  .logo { order: 1; }
  .mobile-menu-toggle { order: 2; }
  .header-cta { order: 3; width: 100%; display: flex; }
}

/* Ensure adequate spacing between sections and cards */
section + section { margin-top: 8px; }

/* ========== LINKS VISIBILITY ========== */
a:hover { color: var(--brand-primary); }

/* ========== COMPLIANCE: FLEX ONLY CHECK ========== */
/* No display:grid, grid-* or columns used. All layout wrappers rely on Flexbox. */
