/* --- 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; }
body { line-height: 1.5; }
ul, ol { list-style: none; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; height: auto; }

/* --- RETRO/VINTAGE BRAND COLORS & FONTS --- */
:root {
  --color-primary: #1B2432;
  --color-secondary: #B59F3B;
  --color-accent: #F6F5F3;
  --color-bg: #F9F7F2;
  --color-cream: #EFE2B7;
  --color-retro-red: #B04C27;
  --color-retro-blue: #395673;
  --color-retro-green: #71843B;
  --color-dark: #1B2432;
  --color-light: #F8F6F0;
  --color-border: #E2D7C4;
  --color-shadow: rgba(27,36,50,0.09);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: #463C33;
  font-size: 16px;
  min-height: 100vh;
  padding-bottom: 60px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 30px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }

p, ul, ol {
  margin-bottom: 18px;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
  color: var(--color-retro-blue);
}

/* --- SPACING & VINTAGE ELEMENTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section, .text-image-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-image-section {
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

ul, ol {
  margin-left: 20px;
}
ul > li, ol > li {
  position: relative;
  margin-bottom: 8px;
  font-size: 1rem;
  padding-left: 24px;
}
ul > li:before {
  content: '•';
  color: var(--color-secondary);
  font-weight: 900;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  top: 0;
}
ol > li:before {
  content: counter(li) '.';
  color: var(--color-retro-red);
  position: absolute;
  left: 0;
}
ol { counter-reset: li; }
ol > li { counter-increment: li; }

/* --- RETRO BUTTONS --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 900;
  padding: 14px 32px;
  font-size: 1.18rem;
  border-radius: 30px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 16px var(--color-shadow), 0 2px 0 #e5d299 inset;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  margin: 18px 0 0 0;
  transition: background-color 0.18s, color 0.18s, box-shadow 0.22s, transform 0.16s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-retro-red);
  color: var(--color-accent);
  box-shadow: 0 6px 18px var(--color-shadow), 0 1px 0 #b04c27 inset;
  transform: translateY(-2px) scale(1.025);
}

/* --- MAIN HEADER/NAVIGATION --- */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  background: var(--color-cream);
  border-bottom: 5px solid var(--color-secondary);
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
  z-index: 30;
}
.main-header a > img {
  max-height: 55px;
  margin-right: 16px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 18px;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  padding: 7px 0 3px 0;
  transition: color 0.15s, border 0.25s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-retro-blue);
  border-bottom: 2px solid var(--color-secondary);
  background: var(--color-accent);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
    font-size: 2rem;
    cursor: pointer;
    margin-left: auto;
    box-shadow: 0 2px 8px var(--color-shadow);
    transition: background 0.15s;
    z-index: 150;
  }
}

@media (max-width: 1000px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--color-cream);
    z-index: 200;
    padding: 32px 22px 24px 22px;
    transform: translateX(-100%);
    transition: transform 0.34s cubic-bezier(.7,0,.3,1);
    box-shadow: 6px 0 32px var(--color-shadow);
    overflow-y: auto;
  }
  .mobile-menu.active {
    transform: translateX(0);
  }
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-retro-red);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--color-primary);
  padding: 16px 0;
  /* big touch targets */
  border-bottom: 1px solid var(--color-border);
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-retro-blue);
  background: var(--color-cream);
}

/* --- HERO & SECTION STYLES --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(110deg, var(--color-accent) 85% ,var(--color-cream) 100%);
  border-radius: 36px;
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
}
section:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  section {
    margin-bottom: 32px;
    padding: 26px 8px;
    border-radius: 22px;
  }
}

.feature-grid, .process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature-grid > div, .process-steps > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--color-light);
  border-radius: 20px;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 22px 17px;
  text-align: left;
  border: 1.7px solid var(--color-border);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.14s;
}
.feature-grid > div:hover, .process-steps > div:hover {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img, .process-steps img {
  max-width: 48px;
  margin-bottom: 12px;
  filter: sepia(20%) contrast(120%);
}
.feature-grid h3, .process-steps h3 {
  margin-bottom: 8px;
  color: var(--color-retro-blue);
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}

/* --- CARDS & CARD CONTAINER --- */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: 1.4px solid var(--color-border);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 20px 20px;
  min-width: 210px;
  max-width: 350px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.13s, transform 0.11s;
}
.card:hover {
  box-shadow: 0 4px 26px var(--color-shadow);
  transform: scale(1.03);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- CONTACT METHODS --- */
.contact-methods, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 20px 0 10px;
  font-size: 1.07rem;
}
.contact-methods > div, .contact-details > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px 8px 0;
  color: var(--color-dark);
  border-radius: 14px;
  background: none;
}
.contact-methods img, .contact-details img {
  width: 24px;
  height: 24px;
  filter: grayscale(45%) brightness(110%);
}
.contact-methods a, .contact-details a {
  color: var(--color-retro-blue);
  text-decoration: underline;
  font-weight: 700;
  font-family: var(--font-display);
  transition: color 0.15s;
}
.contact-methods a:hover, .contact-details a:hover {
  color: var(--color-retro-red);
}

/* --- TESTIMONIAL STYLES --- */
.testimonial-slider, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.testimonial-card {
  background: var(--color-accent);
  color: #211c1a;
  border-radius: 14px;
  box-shadow: 0 3px 18px var(--color-shadow);
  padding: 20px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 240px;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border: 1.6px solid var(--color-border);
  font-size: 1.07rem;
  line-height: 1.7;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}
.testimonial-card strong {
  color: var(--color-retro-green);
  font-weight: 900;
  margin-top: 3px;
  font-size: 1em;
}
.star-rating-overview {
  margin: 10px 0 0 0;
  font-family: var(--font-display);
  font-size: 1.13rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-retro-blue);
}
.star-rating-overview img {
  width: 22px;
  height: 22px;
  margin-right: 2px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 36px 0 24px 0;
  border-top: 6px double var(--color-secondary);
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-links {
  font-family: var(--font-display);
  font-size: 1.09rem;
  margin-bottom: 5px;
}
.footer-links a {
  color: var(--color-secondary);
  font-weight: 800;
  margin: 0 7px 0 0;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-retro-red);
}
.social-links {
  display: flex;
  gap: 14px;
  margin: 8px 0;
}
.social-links a img {
  width: 24px;
  height: 24px;
  filter: sepia(35%) contrast(110%);
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: sepia(70%) brightness(120%) hue-rotate(-25deg);
}
.footer-address, .footer-hours {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

@media (max-width: 700px) {
  footer .container {
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- SPECIAL FLEX LAYOUTS --- */
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- VALUE PROPOSITION/INFO BLOCKS --- */
.value-proposition, .benefit-overview, .quality-explanation, .material-benefits {
  background: var(--color-cream);
  border-left: 7px solid var(--color-retro-green);
  border-radius: 13px;
  padding: 18px 20px;
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #352f18;
}

/* --- PATTERN / NOSTALGIC --- */
section:before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  left: -30px;
  width: 64px; height: 64px;
  background: repeating-linear-gradient(45deg, var(--color-cream) 0px, var(--color-cream) 9px, var(--color-accent) 10px, var(--color-accent) 19px);
  opacity: 0.13;
  z-index: 1;
  border-radius: 18px;
  pointer-events: none;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 64px; height: 64px;
  background: repeating-linear-gradient(135deg, var(--color-cream) 0px, var(--color-cream) 9px, var(--color-accent) 10px, var(--color-accent) 19px);
  opacity: 0.11;
  z-index: 1;
  border-radius: 18px;
  pointer-events: none;
}

/* --- ADDRESS DETAILS --- */
.address-details {
  background: var(--color-accent);
  border-radius: 13px;
  padding: 16px 16px 12px 16px;
  color: var(--color-dark);
  font-size: 1.04rem;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* --- MATERIAL ICON GROUPING (materialien.html) --- */
.material-icons {
  display: flex;
  gap: 28px;
  margin: 22px 0 12px 0;
  justify-content: flex-start;
  align-items: center;
}
.material-icons img {
  width: 54px;
  height: 54px;
  filter: sepia(24%) contrast(110%);
  border-radius: 8px;
}

/* --- TYPOGRAPHY RESPONSIVENESS --- */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
  body, p, ul, ol, li, .footer-address, .footer-hours {
    font-size: 15px;
  }
}

/* --- ANIMATION & MICROINTERACTIONS --- */
a, button, .cta-button, .card, .feature-grid > div, .main-nav a, .mobile-nav a, .testimonial-card {
  transition: background 0.2s, color 0.17s, box-shadow 0.18s, border 0.19s, transform 0.14s;
}

/* --- MOBILE FRIENDLY ADJUSTMENTS --- */
@media (max-width: 900px) {
  .feature-grid, .process-steps, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid > div, .process-steps > div, .card {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-slider {
    flex-direction: column;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  color: var(--color-dark);
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -2px 16px var(--color-shadow);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  animation: cookie-popup-in 0.4s cubic-bezier(.2,1,.2,1);
}
@keyframes cookie-popup-in {
  from { transform: translateY(100%); opacity:0 }
  to { transform: translateY(0); opacity:1 }
}

.cookie-consent-banner p {
  flex: 1 1 220px;
  margin: 0;
  padding: 0 12px 0 0;
  font-family: var(--font-body);
}
.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1.8px solid var(--color-primary);
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.13s;
  box-shadow: 0 2px 6px var(--color-shadow);
}
.cookie-button:hover, .cookie-button:focus {
  background: var(--color-retro-red);
  color: var(--color-accent);
  transform: scale(1.05);
}
.cookie-settings-button {
  background: var(--color-retro-blue);
  color: var(--color-accent);
}
.cookie-settings-button:hover, .cookie-settings-button:focus {
  background: var(--color-retro-green);
  color: var(--color-dark);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,37,30,0.46);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.4s cubic-bezier(.2,1,.2,1);
}
.cookie-modal.active {
  display: flex;
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-cream);
  color: var(--color-primary);
  min-width: 330px;
  max-width: 99vw;
  border-radius: 21px;
  padding: 34px 36px 26px;
  box-shadow: 0 8px 38px var(--color-shadow);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.cookie-category.essential {
  opacity: 0.65;
  font-style: italic;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-retro-red);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width:600px) {
  .cookie-modal-content {
    min-width: 90vw;
    padding: 22px 9px 16px 9px;
  }
}

/* --- RETRO VINTAGE DECORATIVE BANNER BAR (header/footer) --- */
.main-header:after, footer:before {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--color-secondary), var(--color-secondary) 18px, var(--color-bg) 18px, var(--color-bg) 36px);
  opacity: 0.74;
}
footer:before {
  height: 5px;
  margin-bottom: 13px;
}

/* --- FORMS (future-proof for contact forms) --- */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1rem;
  padding: 9px 13px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.16s, background 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-retro-blue);
  background: #fffbe9;
  outline: none;
}
button {
  font-family: var(--font-display);
}

/* --- THANK YOU PAGE (special CTAs) --- */
.thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

/* --- ACCESSIBILITY (FOCUS OUTLINE) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.cta-button:focus-visible {
  outline: 2.5px dashed var(--color-retro-blue);
  outline-offset: 2px;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 5px;
}

/* Hide visually only: For accessibility utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
