/* Stilpunkt Herrenmode CSS – warm_friendly, modern, responsive, flexbox-only, cookie banner & mobile nav */
/*--------------------------------------------------*/
/* CSS RESET & BASELINE NORMALIZATION */
/*--------------------------------------------------*/
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, menu, 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, nav, output, ruby, section, summary,
time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fcf6f1;
  color: #232f34;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
table { border-collapse: collapse; border-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border-radius: 8px;
  outline: none;
}

/*--------------------------------------------------*/
/* FONT IMPORTS (Montserrat & Roboto via Google Fonts) */
/*--------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/*--------------------------------------------------*/
/* BRAND COLOR VARIABLES & SHADOWS */
/*--------------------------------------------------*/
:root {
  --primary: #232f34;
  --secondary: #4a6fa5;
  --accent: #f2f2f2;
  --background: #fcf6f1;
  --card: #fff7eb;
  --highlight: #ffe7c2;
  --brand-orange: #ffa45c;
  --brand-warmbrown: #b9846f;
  --brand-grey: #717171;
  --white: #fff;
  --shadow: 0 4px 24px 0 rgba(62, 36, 0, 0.07), 0 1.5px 4px rgba(147, 87, 41, 0.06);
  --radius: 18px;
  --transition: all 0.20s cubic-bezier(.46,.03,.52,.96);
}

/*--------------------------------------------------*/
/* LAYOUT HELPERS */
/*--------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Spacing & alignments (MANDATORY patterns) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
}
.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;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.18s ease;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--highlight);
  padding: 24px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.features-grid, .service-list, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--highlight);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
}

/*--------------------------------------------------*/
/* TYPOGRAPHY */
/*--------------------------------------------------*/
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; color: var(--primary); }
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
p, ul li, ol li {
  font-size: 1rem; 
  line-height: 1.8;
  font-family: 'Roboto', Arial, sans-serif;
  color: #3d3120;
}
.subheadline {
  font-size: 1.17rem;
  color: var(--secondary);
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
a, .testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
}
strong { font-weight: 700; }
em { font-style: italic; color: var(--secondary); }

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
}

/*--------------------------------------------------*/
/* HEADER & NAVIGATION (Desktop & Mobile) */
/*--------------------------------------------------*/
header {
  background: var(--background);
  box-shadow: 0 1.5px 6px rgba(80, 44, 13, 0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
  gap: 30px;
}
.logo img {
  height: 44px;
  border-radius: 10px;
  background: transparent;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
nav a {
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.16s;
  font-weight: 500;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--highlight);
  color: var(--secondary);
}
nav a.active {
  background: var(--secondary);
  color: var(--accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--brand-orange);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 32px;
  border: none;
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(201, 122, 2, 0.07);
  cursor: pointer;
  margin-left: 12px;
  margin-top: 0;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/*-----------------------------------*/
/* MOBILE NAVIGATION (MUST-HAVE) */
/*-----------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--brand-orange);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1301;
  box-shadow: 0 4px 16px rgba(255,132,80,0.13);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247, 240, 230, 0.95);
  box-shadow: 0 2px 32px 0 rgba(65, 37, 0, 0.18);
  z-index: 1300;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,.4,.3,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2.3rem;
  padding: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1302;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-orange);
  color: #fff;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 80px 46px 46px 46px;
  width: 100%;
  font-size: 1.12rem;
}
.mobile-nav a {
  color: var(--primary);
  padding: 13px 10px 13px 0;
  background: none;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .cta-btn {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 12px 8px;
  }
  .logo img {
    height: 32px;
  }
}


/*------------------------------------------*/
/* HERO & PAGE SECTIONS */
/*------------------------------------------*/
.hero {
  background: linear-gradient(100deg, var(--highlight) 60%, #fff7eb 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 32px 0 rgba(225, 151, 65, 0.10);
  margin-bottom: 38px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero h1, .hero .subheadline {
  text-align: center;
}
.hero .cta-btn {
  margin-top: 14px;
}

.text-section {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 24px; 
  margin-bottom: 32px;
}

/* Features (cards with icons) */
.features-grid,
.service-list,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.features-grid .feature-item,
.service-list .feature-item {
  background: var(--highlight);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  flex: 1 1 240px;
}
.feature-item img {
  height: 48px;
  width: 48px;
}
.feature-item h3 {
  margin-top: 10px;
  color: var(--brand-warmbrown);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 36px 0 rgba(230, 120, 44, 0.15);
}

/* Service List */
.service-list ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-list li {
  font-size: 1rem;
  color: var(--primary);
}

/* Testimonial Section Styles */
.testimonials {
  background: #fff;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -2px 24px 0 rgba(142, 82, 33, 0.09);
  padding: 50px 0 40px 0;
}
.testimonial-grid {
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  flex: 1 1 280px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #362814;
  margin-right: 0;
  margin-bottom: 20px;
  padding: 22px 18px 18px 22px;
  font-size: 1.05rem;
  transition: box-shadow 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 36px 0 rgba(80,44,13,0.13);
}
.testimonial-name {
  font-size: .96rem;
  color: var(--secondary);
  margin-left: 3px;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}

/*------------------------------------------*/
/* BUTTON STYLES, INTERACTIONS */
/*------------------------------------------*/
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 32px;
  padding: 11px 30px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: bold;
  transition: background 0.17s, color 0.14s, transform 0.14s;
}
button:hover, .cta-btn:hover, .cookie-btn:hover,
button:focus, .cta-btn:focus, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

/* Link underline for text links */
.text-section a:not(.cta-btn) {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.text-section a:not(.cta-btn):hover {
  color: var(--brand-orange);
  text-decoration: underline wavy var(--brand-orange);
}

/*------------------------------------------*/
/* FOOTER */
/*------------------------------------------*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 22px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 50px;
  box-shadow: 0 -8px 48px 0 rgba(80,44,13,0.06);
}
.footer-links {
  gap: 30px;
  margin-bottom: 4px;
}
.footer-links a {
  color: #fff;
  opacity: 1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  padding: 3px 10px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.14s, color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--brand-orange);
  color: #fff;
}
.footer-contact {
  color: #fff;
  font-size: 14px;
  gap: 20px;
  opacity: 0.94;
}
.footer-contact a {
  color: var(--brand-orange);
  text-decoration: underline;
}

/*------------------------------------------*/
/* COOKIE CONSENT BANNER + MODAL (MANDATORY) */
/*------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff7eb;
  color: var(--primary);
  box-shadow: 0 -2px 36px 0 rgba(120,74,30,0.12);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1700;
  animation: slideUp 0.38s cubic-bezier(.4,1.19,.57,1);
  gap: 22px;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0;
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 0;
  justify-content: center;
}
.cookie-btn {
  min-width: 110px;
  background: var(--brand-orange);
  color: #fff;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  box-shadow: 0 3px 8px rgba(221,123,33,0.08);
  transition: background 0.18s, color 0.15s;
}
.cookie-btn.cookie-reject {
  background: var(--brand-warmbrown);
}
.cookie-btn.cookie-settings {
  background: var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 70vh) scale(0.95);
  min-width: 90vw;
  max-width: 420px;
  background: #fff7eb;
  box-shadow: 0 8px 48px 0 rgba(120,74,30,0.18);
  border-radius: 16px;
  z-index: 1750;
  padding: 32px 24px 24px 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(.33,1.19,.59,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -60px) scale(1.00);
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-modal-header h4 {
  margin-bottom: 0;
}
.cookie-modal-close {
  margin-left: auto;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary);
  border-radius: 50%;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-orange);
  color: #fff;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
  font-size: 0.98rem;
  color: var(--primary);
}
.cookie-category-label {
  flex: 1 1 100px;
}
.cookie-toggle {
  min-width: 40px;
  min-height: 24px;
}
.cookie-category-row[data-essential='true'] .cookie-toggle {
  opacity: .44;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-direction: row;
  justify-content: flex-end;
}
@media (max-width: 560px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 8px;
  }
}

/*------------------------------------------*/
/* LISTS, TABLES, ETC */
/*------------------------------------------*/
ul, ol {
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
  padding-left: 0;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 2px;
  vertical-align: middle;
}
/* Remove bullet for service lists in some contexts */
.service-list ul li:before {
  background: var(--secondary);
}
ol li:before { content: none; }

/*------------------------------------------*/
/* MISCELLANEOUS */
/*------------------------------------------*/
::-webkit-input-placeholder { color: #b6a99c; }
::-moz-placeholder { color: #b6a99c; }
:-ms-input-placeholder { color: #b6a99c; }
::placeholder { color: #b6a99c; }

hr {
  margin: 30px 0 20px 0;
  border: 0;
  border-top: 1.5px solid #edd9c6;
}

/*------------------------------------------*/
/* RESPONSIVE FLEXBOX LAYOUTS */
/*------------------------------------------*/
@media (max-width: 1024px) {
  .features-grid, .service-list, .testimonial-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
  .feature-item {
    flex: 1 1 180px;
    min-width: 190px;
    padding: 20px 16px;
    font-size: .97rem;
  }
}
@media (max-width: 768px) {
  .features-grid,
  .service-list,
  .testimonial-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item,
  .testimonial-card {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .cta-banner {
    padding: 28px 10px;
  }
  footer {
    border-radius: 22px 22px 0 0;
    padding: 18px 0 16px 0;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 4vw;
  }
  .section {
    padding: 26px 2vw;
    margin-bottom: 32px;
  }
}

/*--------------------------------------------------*/
/* MICRO-INTERACTIONS & TRANSITIONS */
/*--------------------------------------------------*/
a, button, .cta-btn, .cookie-btn, .feature-item, .testimonial-card { transition: var(--transition); }
a:active, button:active, .cta-btn:active, .cookie-btn:active { transform: scale(0.97); }
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--secondary);
}

/*--------------------------------------------------*/
/* VISUAL DESIGN SUPPORT (AUTHENTIC "WARM_FRIENDLY") */
/*--------------------------------------------------*/
.card, .text-section, .cta-banner, .feature-item, .testimonial-card {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* Accessibility: Ensure testimonial text always dark-on-light for contrast */
.testimonial-card p, .testimonial-card .testimonial-name {
  color: #2e2222;
}

/* Hide mobile menu by default on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* Focus Outline for Better Accessibility */
:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Utility Class: .hidden (used for hiding elements JS-side) */
.hidden { display: none !important; }

/*--------------------------------------------------*/
/* END CSS */