/* --- CSS RESET & NORMALIZE (mobile first) --- */
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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #2B3A55;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- CUSTOM PROPERTIES --- */
:root {
  --primary: #2B3A55;
  --secondary: #F5F5F5;
  --accent: #EFC050;
  --dark: #20213A;
  --light: #FAFAFA;
  --gray: #666;
  --shadow: 0 4px 20px rgba(43,58,85,0.08), 0 2px 8px rgba(239,192,80,0.12);
  --radius: 20px;
}

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, .logo, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.015em;
  color: var(--primary);
}
h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.1;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--accent);
}
p, ul li, address {
  font-size: 1rem;
  color: #2B3A55;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  font-style: italic;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* --- SPACING & CONTAINER --- */
.container {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 20px;
}
main { padding-top: 20px; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* --- HEADER / NAV --- */
header {
  width: 100%;
  background: white;
  box-shadow: 0 1px 10px rgba(43,58,85,0.04);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px 16px 20px;
}
.logo img { height: 40px; }
.main-nav {
  display: flex;
  gap: 22px;
  font-size: 1rem;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  position: relative;
  padding: 6px 8px;
  transition: color .16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.cta-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  padding: 11px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  margin-left: 10px;
  cursor: pointer;
  box-shadow:0 2px 8px rgba(43,58,85,0.10);
  transition: background .18s, box-shadow .18s, color .14s;
  outline: none;
  letter-spacing:.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fad878;
  color: var(--dark);
  box-shadow: 0 6px 24px rgba(239,192,80,0.16);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1001;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow:0 2px 8px rgba(0,0,0,0.16);
  transition: background .15s, color .15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--secondary);
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.88,.12,.13,.95);
  box-shadow: 4px 0 44px rgba(43,58,85,0.10);
  padding: 30px 28px 24px 24px;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow:0 2px 8px rgba(43,58,85,0.18);
  transition: background .15s, color .15s;
}
.mobile-menu-close:active,
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 17px;
}
.mobile-nav a {
  padding: 14px 10px 14px 0;
  color: var(--primary);
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1px solid #eaeaea;
  border-radius: 0 16px 16px 0;
  transition: background .16s, color .18s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--accent);
  background: #ece7dc;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(111deg, var(--secondary) 58%, #fff 100%);
  padding: 56px 0 44px 0;
  border-bottom: 6px solid var(--accent);
  min-height: 220px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}

/* --- FLEXBOX LAYOUTS: CARDS & GRIDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.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;
  margin-bottom: 32px;
}

/* --- FEATURES (VORTEILE) --- */
.features {
  background: var(--secondary);
  border-radius: var(--radius);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 23px 17px 19px 17px;
  flex: 1 1 220px;
  min-width: 185px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .19s, transform .19s;
}
.feature img {
  height: 48px;
  margin-bottom: 7px;
}
.feature:hover {
  box-shadow: 0 10px 30px rgba(46,69,126,0.12);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
}

/* --- CARDS --- */
.service-cards, .product-category-grid, .trend-list, .article-overview, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card, .product-category, .trend-item, .article-card, .team-member {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 225px;
  min-width: 160px;
  padding: 22px 17px 18px 17px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, transform .16s;
  border-left: 6px solid var(--accent);
}
.service-card:hover, .product-category:hover, .trend-item:hover, .article-card:hover {
  box-shadow: 0 16px 48px rgba(46,69,126,0.10);
  transform: scale(1.03) rotate(1.2deg);
}
.price {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.21rem;
}

/* --- USP & VALUES --- */
.usp-list,
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 9px;
}
.brand-values ul {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--secondary);
  border-radius: var(--radius);
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 17px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow:0 2px 8px rgba(50,50,50,0.08);
  flex: 1 1 270px;
  min-width: 180px;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid var(--primary);
  transition: box-shadow .17s, border-color .21s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 36px rgba(43,58,85,0.10);
}
.testimonial-card p {
  color: #23263A;
  font-style: italic;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: var(--accent);
  margin-left: auto;
  font-size: 1rem;
}

/* --- CONTACT INFO --- */
.contact-info, .contact-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 21px;
  font-size: 1.05rem;
  box-shadow:0 1px 8px rgba(43,58,85,0.05);
}
.contact-info > div, .contact-info-box > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.contact-info img, .contact-info-box img {
  height: 28px;
  filter: grayscale(.15) drop-shadow(0 0 2px #fff3);
}
.map-address {
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 17px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}

/* --- SERVICE/PRODUCT TABLES --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 20px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 15px;
  text-align: left;
  font-size: 1.03rem;
}
.pricing-table th {
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
}
.pricing-table tr:nth-child(even){
  background: var(--secondary);
}

/* --- LEGAL PAGES --- */
.legal {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal h1, .legal h2 {
  color: var(--primary);
}
.legal h3 {
  color: var(--accent);
}
.legal ul {
  margin-top: 10px;
  margin-bottom: 14px;
  padding-left: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  padding-top: 28px;
  color: var(--secondary);
  font-size: 1rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow:0 -1px 12px rgba(43,58,85,0.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .14s, text-decoration .16s;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.97rem;
  color: #fffcec;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  height: 18px;
  margin-right: 5px;
}
.footer-bottom {
  background: #20213A;
  color: var(--accent);
  text-align: center;
  padding: 11px 0 14px 0;
  font-size: 0.92rem;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  letter-spacing: .01em;
}

/* --- ARTICLE & GUIDES & FAQS --- */
.how-to-guides ul, .faqs ul, .about-brand ul, .why-choose ul, .brand-values ul, .service-advantages ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
}
.faqs strong {
  color: var(--accent);
}

/* --- BUTTONS, INTERACTIONS, ANIMATION --- */
button,
input[type='button'],
input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
}
button:disabled, input:disabled { opacity:.7; pointer-events: none; }
button:focus { outline: 2px solid var(--accent); }

/* --- MICRO-INTERACTIONS --- */
.card, .service-card, .product-category, .trend-item, .testimonial-card, .cta-btn {
  transition: box-shadow .17s, transform .16s, background .16s, color .14s;
}
.card:hover, .service-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 24px rgba(43,58,85,0.09);
  background: #fffbea;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 23px 16px;
  background: var(--primary);
  color: #fff;
  z-index: 1800;
  border-top: 4px solid var(--accent);
  box-shadow: 0 -2px 18px rgba(43,58,85,0.12);
  font-family: 'Roboto', Arial, sans-serif;
  gap: 24px;
  animation: banner-appear .37s cubic-bezier(.88,.21,.17,.99) 1;
}
@keyframes banner-appear {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-content {
  flex: 1;
  font-size: 1rem;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--primary);
  border-radius: 9px;
  font-weight: 700;
  padding: 9px 20px;
  box-shadow:0 1px 4px rgba(239,192,80,0.11);
  margin-left: 0;
  outline: none;
  transition: background .15s, color .14s;
  border: none;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #2B3A55;
  color: var(--accent);
  box-shadow: 0 3px 14px rgba(43,58,85,0.18);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 1.8px solid var(--accent);
  color: var(--accent);
  margin-left: 0;
  transition: background .10s, color .13s;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(43,58,85,0.33);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-popup .18s linear 1;
}
@keyframes fade-popup {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 21px;
  padding: 38px 30px 30px 30px;
  box-shadow: 0 8px 32px rgba(43,58,85,0.14);
  max-width: 390px;
  width: 96vw;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3A55;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popup-appear .29s cubic-bezier(.65,.16,.19,1.13) 1;
}
@keyframes popup-appear {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 19px;
  background: none;
  color: var(--primary);
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--accent);
}

/* --- MISC & ARTISTIC ACCENTS --- */
section {
  position: relative;
  overflow: visible;
}
/* Artistic paint spot for some cards */
.card, .service-card, .feature {
  position: relative;
}
.card:before, .service-card:before, .feature:before {
  content: '';
  display: block;
  position: absolute;
  top: -21px;
  left: -17px;
  width: 52px;
  height: 38px;
  background: rgba(239,192,80,0.15);
  border-radius: 50% 44% 33% 54%;
  z-index: 0;
}
.card > *, .service-card > *, .feature > * { position: relative; z-index: 1; }

/* --- CREATIVE ARTISTIC ELEMENTS --- */
h1, h2 {
  text-shadow: 2px 2px 0 #fff, 0 1.5px 24px #EFC05044;
  letter-spacing: 0.02em;
}
.cta-btn {
  box-shadow: 0 6px 16px rgba(239,192,80,0.17);
  border: 2.5px solid var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
}
.cta-btn:active {
  transform: scale(0.96);
}

/* --- SCROLLBAR STYLING (Optional) --- */
::-webkit-scrollbar {
  width: 11px;
  background-color: #EFC05022;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
    padding: 0 12px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 12px;
    padding: 14px 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 33px;
    padding: 25px 6px;
  }
  .main-nav, .footer-nav, .service-cards, .product-category-grid, .trend-list, .article-overview, .testimonial-cards, .team-profiles, .feature-grid {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .container {
    max-width: 97vw;
    padding: 0 4.5vw;
  }
  .card, .service-card, .product-category, .trend-item, .team-member {
    min-width: 90px;
    width: 100%;
    border-radius:18px;
    padding: 19px 11px 13px 11px;
  }
  .testimonial-cards {
    gap: 14px !important;
  }
  .testimonial-card {
    min-width: 100px;
    padding: 13px 8px 13px 13px;
  }
  .contact-info, .contact-info-box {
    gap: 9px;
    flex-direction: column;
    align-items: flex-start;
    padding: 11px 8px;
  }
  .footer-bottom {
    font-size: 0.88rem;
    padding: 8px 0 10px 0;
  }
  .hero {
    min-height: 140px;
    padding: 32px 0 20px 0;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .cta-btn { font-size: 1rem; padding: 8px 13px; }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    padding:12px 4px;
    text-align: left;
  }
  .cookie-btn-group { gap: 8px; }
  .cookie-banner button { font-size: .97rem; padding: 7px 10px; }
  .cookie-modal-content { padding: 30px 8px 20px 8px; max-width: 99vw; }
}

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body, main, section, .container { background: #fff !important; color: #111 !important; }
  a, a:visited { color: #234 !important; }
}
