/* ----- 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F4F1EE;
  color: #21384C;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: #C68A31;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21384C;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ----- BRAND COLORS AS CSS VARIABLES ----- */
:root {
  --primary: #21384C;
  --secondary: #C68A31;
  --accent: #F4F1EE;
  --white: #fff;
  --info-bg: #ecf5fa;
  --danger: #dc3545;
  --success: #1bb96a;
  --shadow: 0 4px 24px rgba(95, 90, 114, 0.12);
}

/* ----- TYPOGRAPHY ----- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -.5px;
}
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}
p, li, .subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #21384C;
  margin-bottom: 12px;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 22px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
small {
  font-size: 0.95em;
  color: #4F6586;
}

/* Artistic/creative accent font for headings */
h1, h2, h3, h4, h5 {
  text-shadow: 1px 2px 0 rgba(198,138,49,0.05), 0 1px 0 rgba(33,56,76,.03);
  position: relative;
}

/* Artistic accent underline to h2 */
h2 {
  display: inline-block;
  position: relative;
}
h2:before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--secondary);
  position: absolute;
  left: 0;
  bottom: -9px;
  border-radius: 2px;
}

/* Spacing Scale */
:root {
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
}

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

/* Spacing for card grids, testmonials, etc. using flex */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility class for artistic elements */
.art-bg {
  background: var(--accent);
  border-radius: 22px 6px 32px 10px/18px 33px 15px 26px;
  box-shadow: 0 8px 38px 0 rgba(33,56,76,0.10);
}


/* ----- HEADER / NAVIGATION ----- */
header {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 20px rgba(33,56,76,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 72px;
}
.header img, .footer-brand img {
  width: 58px;
  height: auto;
}
nav.main-nav {
  display: flex;
  gap: 18px;
  flex-grow: 1;
  align-items: center;
  margin-left: 32px;
}
nav.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.2s;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.button.primary, .button.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  margin-left: 20px;
  display: inline-block;
  outline: none;
  box-shadow: 0 3px 16px rgba(198,138,49,0.09);
  transition: background 0.25s,color 0.25s,box-shadow 0.2s, transform 0.09s;
  cursor: pointer;
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
}
.button.primary:hover, .button.primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(33,56,76,0.14);
  transform: translateY(-2px) scale(1.03);
}
.button.secondary {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 99px;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 0.2s,color 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ----- MOBILE MENU ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: var(--accent);
  box-shadow: -8px 0 40px rgba(33,56,76,0.20);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.71,-0.1,.27,1.25);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 99px;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 18px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--primary);
  padding: 12px 8px;
  border-radius: 6px;
  transition: background 0.18s,color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* OVERLAY FOR MOBILE MENU (OPTIONAL for backdrop) */
.mobile-menu-backdrop {
  content: "";
  position: fixed;
  z-index: 199;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,56,76,0.22);
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
}
@media (max-width: 990px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 990px) {
  header .container {
    gap: 14px;
    justify-content: flex-start;
  }
}

/* ----- HERO SECTION ----- */
.hero {
  background: linear-gradient(130deg, var(--accent) 70%, rgba(198,138,49,0.08) 100%);
  border-radius: 0 0 72px 8px/0 0 65px 16px;
  padding: 54px 0 44px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 660px;
  gap: 18px;
}

/* ----- FEATURE LISTS & SERVICE LISTS ------- */
ul.feature-list, ul.service-list, ol.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 0;
}
ul.feature-list li, ul.service-list li, ol.service-list li {
  flex: 1 1 250px;
  background: var(--white);
  border-radius: 22px 8px 26px 6px;
  box-shadow: 0 4px 24px rgba(33,56,76,0.07);
  padding: 26px 24px 22px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .19s, background .19s, transform .13s;
  position: relative;
}
ul.feature-list li:hover, ul.service-list li:hover, ol.service-list li:hover {
  background: var(--accent);
  box-shadow: 0 8px 38px rgba(33,56,76,0.13);
  transform: translateY(-2px) scale(1.015);
}
ul.feature-list li img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

/* Artistic squiggle under feature h3 */
ul.feature-list li h3 {
  position: relative;
}
ul.feature-list li h3:after {
  content: "";
  display: block;
  height: 4px;
  width: 28px;
  background: var(--secondary);
  margin-top: 3px;
  border-radius: 99px;
}
ul.service-list li h4 {
  color: var(--primary);
}

/* ----- TEXT SECTIONS ----- */
.text-section {
  background: var(--white);
  border-radius: 22px 8px;
  box-shadow: var(--shadow);
  padding: 42px 28px;
  margin-bottom: 20px;
}

/* ----- CARDS (Generic) ----- */
.card {
  background: var(--white);
  border-radius: 18px 32px 14px 22px/12px 29px 16px 33px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: box-shadow .2s, background .18s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(33,56,76,0.17);
  background: var(--accent);
}

/* ----- TESTIMONIALS (Kundenstimmen) ----- */
.testimonial-card {
  background: var(--accent);
  box-shadow: 0 3px 18px rgba(33,56,76,0.13);
  border-left: 8px solid var(--secondary);
  padding: 24px 34px 22px 28px;
  margin-bottom: 20px;
  border-radius: 22px 7px 32px 4px/16px 33px 15px 24px;
  color: #242424;
  min-width: 0;
  max-width: 100%;
  transition: background .17s, box-shadow .18s, border 0.15s;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #21384C;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #6d6d6d;
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card:hover {
  background: var(--white);
  border-left-color: var(--primary);
  box-shadow: 0 7px 24px rgba(33,56,76,0.17);
}

/* ----- CONTACT INFO (Bottom area) ----- */
ul.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: 12px;
}
ul.contact-info li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: var(--primary);
  gap: 13px;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

/* ----- FOOTER STYLES ----- */
footer {
  background: var(--primary);
  color: var(--accent);
  border-radius: 40px 0 0 0/60px 0 0 0;
  margin-top: 56px;
  padding: 32px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  opacity: 0.9;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 300;
  padding: 22px 12px;
  box-shadow: 0 -4px 32px rgba(33,56,76,0.13);
  animation: cookieSlideIn 0.50s cubic-bezier(.81,-0.03,.31,1.15);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(80px); opacity:0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--accent);
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  border: none;
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  outline: none;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background .16s, color .17s;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ddb456;
}
.cookie-banner .reject, .cookie-banner .settings {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-banner .reject:hover, .cookie-banner .settings:hover,
.cookie-banner .reject:focus, .cookie-banner .settings:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Settings Modal */
.cookie-modal__backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.30);
  z-index: 401;
  display: none;
}
.cookie-modal__backdrop.open { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: var(--accent);
  color: var(--primary);
  border-radius: 24px 66px 18px 44px/32px 18px 42px 39px;
  box-shadow: 0 10px 44px #41383811;
  z-index: 410;
  max-width: 98vw;
  width: 360px;
  padding: 32px 28px 24px 28px;
  display: none;
  animation: fadeInModal .32s cubic-bezier(.77,.05,.25,1.14);
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: translate(-50%,-30%) scale(.97); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal.open {
  display: block;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal__header h3 {
  font-size: 1.3rem;
  color: var(--primary);
}
.cookie-modal__close {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 99px;
  width: 38px;
  height: 38px;
  border: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-modal__content {
  margin-top: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e2df;
}
.cookie-modal__category:last-child {
  border-bottom: none;
}
.cookie-modal__category label {
  font-size: 1.07rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal__toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #ddd;
  border-radius: 11px;
  outline: none;
  transition: background 0.2s;
  position: relative;
  margin-left: 10px;
}
.cookie-modal__toggle:checked {
  background: var(--secondary);
}
.cookie-modal__toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(33,56,76,.08);
  transition: left 0.18s;
}
.cookie-modal__toggle:checked::before {
  left: 23px;
}
.cookie-modal__actions {
  display: flex;
  margin-top: 18px;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  padding: 10px 28px;
  border-radius: 99px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  transition: background .16s, color .15s;
}
.cookie-modal__actions button:last-child {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-modal__actions button:hover, .cookie-modal__actions button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ----- RESPONSIVE LAYOUTS (Mobile) ----- */
@media (max-width: 990px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .section {
    padding: 32px 10px;
  }
  .footer-brand {
    font-size: 0.96rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .section {
    margin-bottom: 40px;
    padding: 26px 6px;
  }
  .footer-brand img {
    width: 28px; height: 28px;
  }
  .footer-brand span { font-size: 0.93rem; }

  .hero, .text-section {
    padding: 28px 2px;
    border-radius: 0 0 42px 6px/0 0 32px 8px;
  }
  h1, .hero h1 {
    font-size: 1.50rem;
  }
  h2 {
    font-size: 1.10rem;
  }
  h3 {
    font-size: 1rem;
  }
  .hero .subheadline { font-size: .95rem; }
  .card, .testimonial-card, .text-section {
    padding: 18px 12px;
  }
  ul.feature-list, ul.service-list, ol.service-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-item, .testmonial-card {
    flex-direction: column !important;
    gap: 13px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header .container {
    flex-wrap: wrap;
  }
}

/* ----- INTERACTIVE & MICRO-ANIMATIONS ----- */
.button.primary, .button.secondary {
  transition: background .22s, color .22s, transform .11s, box-shadow .13s;
}
ul.feature-list li, ul.service-list li, ol.service-list li, .testimonial-card, .card {
  will-change: transform, box-shadow;
}
ul.feature-list li:active, ul.service-list li:active, .testimonial-card:active {
  transform: scale(.98);
  box-shadow: 0 1px 4px rgba(33,56,76,0.13);
}

/* ----- FORMS (if any required for future) ----- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #dddddf;
  font-size: 1rem;
  color: #222;
  margin-bottom: 14px;
  background: #fff;
  transition: border .14s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: 1.5px solid var(--secondary);
}

/* ----- UTILITY CLASSES ----- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* Hide scroll on mobile-menu open */
body.menu-open {
  overflow: hidden;
}

/* Accessibility: Focus visible only on keyboard nav */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* END STYLES */
