/* ===========================================================
   CSS RESET & LUXURY PREMIUM BASE STYLES
   =========================================================== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F7F8;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F8;
  color: #21242b;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1B232E;
  text-decoration: none;
  transition: color 0.18s, border 0.18s;
}
a:hover,
a:focus {
  color: #F1B800;
  outline: none;
  border-bottom: 1px solid #F1B800;
}
ul, ol {
  margin-left: 20px;
}

/* Luxury_Premium Typography
==========================================*/
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #1B232E;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: #222530;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #4c4c4c;
  margin-bottom: 8px;
}
p, li, address, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #32353f;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* Luxury_Premium Colors & Variables
==========================================*/
:root {
  --color-primary: #1B232E;
  --color-secondary: #F1B800;
  --color-accent: #ECECEC;
  --color-light-bg: #F7F7F8;
  --color-card-bg: #FFF;
  --color-heading: #1B232E;
  --color-body: #21242b;
  --color-gold: #daa520;
  --color-shadow: rgba(33, 32, 46, 0.06);
  --radius-lg: 16px;
  --radius: 10px;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* -- General Containers & Spacing -- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  padding: 24px 0;
  background: transparent;
  box-shadow: none;
}

/* Hero / CTA Section
==========================================*/
.hero {
  background: linear-gradient(90deg, #1b232e 70%, #F1B800 100%);
  color: #fff;
  padding: 62px 0 46px 0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  box-shadow: 0 8px 40px var(--color-shadow);
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 18px;
}
.hero p {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 36px;
}
.hero .cta-button {
  background: var(--color-secondary);
  color: #1B232E;
  font-size: 1.104rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cta-section {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 48px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px var(--color-shadow);
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #ececec;
  margin-bottom: 28px;
}
.cta-section .cta-button {
  background: var(--color-secondary);
  color: #1B232E;
}

/* =========================
   NAVIGATION & HEADER
   =========================*/
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 0;
  z-index: 10;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
}
.logo img {
  width: 132px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-family: var(--font-display);
}
.main-nav a {
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 10px 0 10px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.16s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  outline: none;
}

.cta-button {
  display: inline-block;
  background: var(--color-secondary);
  color: #1B232E;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius);
  padding: 14px 32px;
  box-shadow: 0 2px 10px var(--color-shadow);
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.15s;
  margin-left: 16px;
  text-shadow: 0 1px 0 #fff3, 0 0px 8px #ffd70022;
}
.cta-button:hover,
.cta-button:focus {
  background: #daa520;
  color: #fff;
  box-shadow: 0 8px 24px #1B232E26;
  outline: none;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 51;
  transition: color 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181c24eb;
  z-index: 1000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.35,1.12,.44,1);
  padding-top: 48px;
  box-shadow: -6px 0 32px #0003;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.4rem;
  line-height: 1;
  position: absolute;
  top: 17px;
  right: 24px;
  cursor: pointer;
  z-index: 1111;
  transition: color 0.14s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #ffe399;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 24px;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  outline: none;
}

/* =======================
   FLEXBOX LAYOUT HELPERS
   ======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .19s, border-color .15s;
  border: 1.5px solid #ececec;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 34px #ceb76032;
  border-color: #F1B800;
  z-index: 2;
}
.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;
  background: #fcfcfc;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 7px solid var(--color-gold);
  font-style: italic;
}
.testimonial-meta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #1B232E;
  margin-left: auto;
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: #fffbe4;
  border-radius: var(--radius);
  border-left: 5px solid var(--color-secondary);
  box-shadow: 0 1px 7px #ceb76028;
  padding: 16px 20px 10px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ===============================
   FEATURE & SERVICE LIST STYLES
   =============================== */
.feature-grid, .services-list, .category-list, .feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 12px 0;
  justify-content: flex-start;
}
.feature-grid li, .services-list li, .category-list li, .feature-highlights li {
  flex: 1 1 260px;
  min-width: 230px;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 1px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 20px 24px;
  position: relative;
  margin-bottom: 20px;
  border: 1.2px solid #ececec;
  transition: box-shadow .17s, border-color .14s;
}
.feature-grid li:hover, .services-list li:hover, .category-list li:hover, .feature-highlights li:hover {
  box-shadow: 0 6px 30px #ceb76044;
  border-color: #F1B800;
}
.feature-grid img, .services-list img, .category-list img {
  width: 38px; height: 38px;
  margin-bottom: 20px;
  filter: drop-shadow(0 1px 3px #baa72211);
}
.feature-grid h3, .services-list h3, .category-list h2, .feature-highlights h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.feature-grid p, .services-list p, .category-list p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0;
}

/* ====================
   PRICING TABLE
   ==================== */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 14px var(--color-shadow);
  margin-bottom: 28px;
  border-collapse: collapse;
  font-size: 1rem;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px;
  text-align: left;
}
.pricing-table th {
  background: #1B232E;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  border-bottom: 3px solid #F1B800;
}
.pricing-table tr:nth-child(even) td {
  background: #fcfaf6;
}
.pricing-table tr {
  border-bottom: 1px solid #ececec;
}

/* ========================
   FAQ & PROJECT SECTIONS
   ======================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq {
  background: #fffbe9;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px #e1c97627;
  padding: 20px 24px;
  margin-bottom: 8px;
  border-left: 4px solid var(--color-secondary);
}
.faq h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-highlights {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 22px 20px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  border-left: 7px solid #F1B800;
}
.project-highlights h3 {
  margin-bottom: 13px;
  color: var(--color-primary);
  font-size: 1.11rem;
  font-weight: 700;
}

/* ===============================
   CONTACT & FOOTER STYLES
   =============================== */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-methods ul {
  list-style: none;
  padding: 0 0 0 5px;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-methods li,
.opening-hours,
.location-map {
  color: #26344b;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.opening-hours img,
.location-map img {
  width: 22px;
  height: 22px;
}
.footer {
  width: 100%;
}
footer {
  background: var(--color-primary);
  color: #ececec;
  box-shadow: 0 -2px 16px var(--color-shadow);
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 48px 20px 24px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #ececec;
  font-size: 1.04rem;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.12s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-contact img {
  width: 54px;
  height: auto;
  margin-right: 14px;
}
.footer-contact address {
  font-style: normal;
  color: #ececec;
  font-size: .99rem;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-copy {
  text-align: left;
  color: #b7b7b7;
  font-size: .93rem;
  margin-top: 22px;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #1B232E;
  color: #fff;
  border-top: 4px solid var(--color-secondary);
  box-shadow: 0 -2px 24px #0002;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: banner-fadein 0.38s cubic-bezier(.45,1.3,.7,1);
}
@keyframes banner-fadein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.03rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  background: var(--color-secondary);
  border: none;
  color: #1B232E;
  font-size: .98rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 28px;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.12s, color 0.14s;
  box-shadow: 0 1px 5px #1B232E12;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #daa520;
  color: #fff;
  outline: none;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.7px solid var(--color-secondary);
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  z-index: 1600;
  background: #fff;
  color: var(--color-primary);
  border-radius: 16px;
  box-shadow: 0 8px 64px #1b232e3b;
  width: 94%;
  max-width: 410px;
  padding: 34px 30px 22px 30px;
  animation: modal-pop .37s cubic-bezier(.42,1.35,.69,1);
}
.cookie-modal.active {
  display: block;
  animation: modal-pop .24s cubic-bezier(.42,1.35,.69,1);
}
@keyframes modal-pop {
  from { opacity:0; transform: translate(-50%,-58%) scale(0.86); }
  to   { opacity:1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  font-family: var(--font-display);
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  margin-bottom: 11px;
  font-weight: 500;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #e8e4cc;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .toggle-switch:checked {
  background: var(--color-secondary);
}
.cookie-modal .toggle-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s;
}
.cookie-modal .toggle-switch:checked::before {
  left: 20px;
}
/* Modal close overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1599;
  background: #191b1e7c;
}
.cookie-modal.active ~ .cookie-modal-overlay {
  display: block;
}

/* ===============
   MISC COMPONENTS
   =============== */
.location-map {
  background: #f9fafc;
  border-radius: 8px;
  box-shadow: 0 1px 10px #e1c9760e;
  padding: 13px 18px;
  font-size: .97rem;
  color: #475871;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.opening-hours {
  padding: 13px 18px;
  background: #f9fafb;
  border-radius: 8px;
  color: #475871;
  box-shadow: 0 1px 10px #ceb76009;
}

/* ===============
   BUTTONS & FORMS
   =============== */
button {
  font-family: 'Oswald', Arial, sans-serif;
  cursor: pointer;
  border-radius: 8px;
}
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid #ececec;
  background: #fff;
  box-shadow: 0 1px 8px 0 #bacae033;
  margin-bottom: 16px;
  width: 100%;
}

/* == Utility for gold accents == */
.gold {
  color: #F1B800;
}
.gold-accent {
  border-bottom: 2.6px solid #F1B800;
  display: inline-block;
  padding-bottom: 3px;
}

/* =============================================
   RESPONSIVE DESIGN: MOBILE FIRST + BREAKPOINTS
   ============================================= */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  .card, .project-highlights, .testimonial-card {
    min-width: 0;
    flex: 1 1 280px;
  }
}
@media (max-width: 900px) {
  .feature-grid li, .services-list li, .category-list li, .feature-highlights li {
    min-width: 180px;
    flex: 1 1 170px;
  }
  .project-list {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
  }
  .footer-contact {
    gap: 13px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 16px;
  }
  .content-grid, .feature-grid, .services-list, .category-list {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section, .cta-section {
    padding: 32px 8px;
  }
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .logo img { width: 108px; }
  .footer-contact img { width: 38px; }
  .section, .cta-section { padding: 18px 2px; }
}

/* =============================================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================================= */
.card, .feature-grid li, .services-list li, .category-list li {
  transition: box-shadow 0.18s, border-color 0.15s;
}
.cta-button, .cookie-btn {
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
}
.main-nav a, .footer-nav a {
  transition: color 0.12s, border 0.12s;
}
.testimonial-card, .faq, .project-highlights {
  transition: box-shadow 0.16s, border-color 0.13s;
}

/* =============================================
   PRINT STYLES (PREMIUM TOUCH FOR DOCS)
   ============================================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .cta-section { box-shadow: none!important; background: #fff!important; }
}

/* End Luxury Premium BauMaschinen Direkt Styles */
