/* ==========================================================  
   Raumwunder Essen – Industrial Modern CSS Theme
   Brand colors, fonts, dark/metallic/urban industrial style 
   All layouts use ONLY flexbox – strictly no grid/columns!   
   ========================================================== */

/*====== 1. 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #232622;
  color: #ECE9E2;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
a {
  text-decoration: none;
  color: #7FCFA3;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D7C3A3;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/*====== 2. Brand Typography ======*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #232622;
  color: #ECE9E2;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ECE9E2;
  text-shadow: 0 2px 12px rgba(34,38,34,0.14);
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, ol, li { font-size: 1rem; }
strong { color: #D7C3A3; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

/*====== 3. Industrial Modern Color Scheme ======*/
:root {
  --primary: #2E3C2F;
  --primary-dark: #232622;
  --secondary: #D7C3A3;
  --accent: #7FCFA3;
  --muted-text: #A8A8A8;
  --surface: #313232;
  --surface-alt: #292B28;
  --border: #484848;
  --shadow: 0 4px 16px 0 rgba(24,27,23,0.19);
  --white: #ECE9E2;
}

/*====== 4. Layout Containers and Sections ======*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  gap: 16px;
}
.section {
  background: var(--surface);
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 22px 6px;
    margin-bottom: 32px;
    border-radius: 13px;
  }
  .container { padding: 0 10px; }
}

/*====== 5. Header & Navigation ======*/
header {
  background: var(--primary-dark);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 20px 0 rgba(24,27,23,0.14);
  position: sticky;
  top: 0; left: 0; z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px 0 20px;
  height: 82px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
header nav a {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 0 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.25s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  border-color: var(--accent);
}
header .cta.primary {
  margin-left: 16px;
}

/*====== 6. Mobile Burger Menu ======*/
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.15rem;
  margin-left: 12px;
  cursor: pointer;
  z-index: 130;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.22s, color 0.25s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--surface);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,38,34, 0.96);
  backdrop-filter: blur(2px);
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.6,.2,.21,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2.3rem;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 201;
  cursor: pointer;
  border: none;
  padding: 7px 11px 7px 10px;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--surface-alt);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100vw;
  align-items: flex-start;
  margin: 78px 0 0 0;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  transition: color 0.22s;
  padding: 6px 6px 6px 0;
  border-radius: 4px;
  min-width: 180px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  background: var(--surface-alt);
}
@media (max-width: 992px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta.primary {
    display: none;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/*====== 7. Hero Section ======*/
.hero {
  background: linear-gradient(96deg, #232622 64%, #39493a 100%);
  border-bottom: 2.5px solid var(--border);
  padding: 0;
}
.hero .container {
  min-height: 290px;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero .content-wrapper {
  max-width: 640px;
}
.hero h1, .hero p {
  color: var(--white);
  text-shadow: 0 3px 18px rgba(20,22,17,0.3);
}
.hero h1 {
  font-size: 2.7rem;
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.12rem;
  color: var(--secondary);
}
@media (max-width: 768px) {
  .hero .container {
    min-height: 160px;
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .hero h1 { font-size: 1.45rem; }
}

/*====== 8. Cards & Feature Grids ======*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 0 0;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface-alt);
  border-radius: 15px;
  box-shadow: 0 3px 18px 0 rgba(36,38,36,0.12), 0 0 0 1px var(--border);
  margin-bottom: 20px;
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 7px 30px 0 rgba(36,38,36,0.20);
  transform: translateY(-2px) scale(1.018);
}
.feature-grid > div,
.card-container > div {
  min-width: 265px;
  max-width: 350px;
  flex: 1 1 265px;
  background: var(--surface-alt);
  border-radius: 13px;
  box-shadow: 0 1.5px 10px 0 rgba(36,38,36,0.10), 0 0 0 1px var(--border);
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(36,38,36,0.15);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  filter: grayscale(0.18) brightness(0.99) contrast(1.22);
  opacity: 0.98;
}

/*====== 9. Testimonial Card ======*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ECE9E2;
  color: #262825;
  border-radius: 10px;
  box-shadow: 0 2.5px 10px 0 rgba(31,33,31, 0.06), 0 0 0 1px var(--border);
  margin-bottom: 20px;
  font-size: 1.04rem;
  flex: 1 1 100%;
  min-width: 180px;
  max-width: 700px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.testimonial-card p {
  color: #232622;
  margin: 0 10px 0 0;
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  min-width: 120px;
  margin-left: auto;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(94,84,48,0.08); 
  transform: translateX(2px) scale(1.01);
}

/*====== 10. Spacing & Utility Patterns ======*/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Default flex spacing must always be at least 20px between components */

/* Responsive Alignment – Mobile Stack */
@media (max-width: 768px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/*====== 11. Buttons & CTAs ======*/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 11px 30px;
  margin-top: 18px;
  box-shadow: 0 1.5px 7px 0 rgba(36,38,36,0.10), 0 0 0 1.5px var(--border);
  text-shadow: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, transform 0.17s;
}
.cta.primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 15px 0 rgba(127,207,163,0.18), 0 0 0 2.5px var(--accent);
  transform: translateY(-1px) scale(1.022);
}
.cta.secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 13px 0 rgba(215,195,163,0.19), 0 0 0 2.5px var(--secondary);
  transform: translateY(-1.5px) scale(1.015);
}

button:active, .cta:active {
  transform: translateY(1px) scale(0.98);
}

/* Links visually separated in footers/navs */
footer nav a, .footer-info a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline dotted;
}
footer nav a:hover {
  color: var(--secondary);
  text-decoration-color: var(--secondary);
}

/*====== 12. Footer Styling ======*/
footer {
  background: #232622;
  border-top: 2px solid var(--border);
  padding: 46px 0 0 0;
  color: var(--muted-text);
  font-size: 1rem;
  position: relative;
  z-index: 30;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  padding-bottom: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  margin: 12px 0 0 0;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
  color: var(--muted-text);
  font-size: 0.97rem;
}
footer img {
  min-width: 46px;
  height: 46px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav { margin-top: 16px; }
}

/*====== 13. Cookie Consent Banner ======*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 9000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner-inner {
  background: #232622 linear-gradient(89deg, var(--border) 0%, #232622 100%);
  color: var(--secondary);
  border-radius: 13px 13px 0 0;
  margin: 22px auto 0 auto;
  box-shadow: 0 -4px 18px 0 rgba(34,38,34,0.19);
  padding: 28px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
  min-width: 260px;
  gap: 18px;
  pointer-events: all;
  animation: bannerSlideUp .61s cubic-bezier(.6,.2,.18,1);
}
@keyframes bannerSlideUp {
  from { transform: translateY(140px); opacity: 0; }
  to {   transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner p {
  color: var(--secondary);
  font-size: 1.04rem;
  margin-bottom: 10px;
}
.cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-btns .cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  margin: 0 8px 0 0;
  box-shadow: 0 1.5px 7px 0 rgba(36,38,36,0.10);
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .cta.secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}
.cookie-banner button:hover, .cookie-btns .cta:hover, .cookie-banner button:focus, .cookie-btns .cta:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.65);
  z-index: 9900;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeIn .15s linear;
  pointer-events: all;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--surface);
  color: var(--secondary);
  border-radius: 15px;
  min-width: 280px;
  max-width: 94vw;
  padding: 34px 32px 28px 32px;
  box-shadow: 0 4px 22px 3px rgba(31,33,31,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  animation: modalSlideDown .36s cubic-bezier(.64,.04,.35,1.02);
}
@keyframes modalSlideDown {
  from { transform: translateY(-55px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  font-size: 1.06rem;
  color: var(--secondary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 38px; height: 23px;
  margin-right: 7px;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #bbb;
  border-radius: 20px;
  transition: background 0.2s;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 19px;
  height: 19px;
  background: var(--surface-alt);
  border-radius: 50%;
  transition: transform 0.15s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(14px);
  background: var(--secondary);
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal .modal-buttons button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-modal .modal-buttons button:hover,
.cookie-modal .modal-buttons button:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* Responsive styles for cookie banner/modal */
@media (max-width: 600px) {
  .cookie-banner-inner { padding: 18px 7px 13px 7px; max-width: 99vw; }
  .cookie-modal { padding: 18px 8vw 12px 8vw; font-size: 0.98rem; }
}

/*====== 14. Forms (Kontakt, Newsletter, etc.) ======*/
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 0;
  max-width: 440px;
}
input, textarea, select {
  background: var(--surface-alt);
  color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 1rem;
  padding: 12px 15px;
  box-shadow: 0 1px 4px 0 rgba(36,38,36,0.07);
  margin-bottom: 10px;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
}
label {
  color: var(--secondary);
  margin-bottom: 4px;
}

/*====== 15. Misc. ======*/
::-webkit-scrollbar-thumb {
  background: #313232;
  border-radius: 12px;
  border: 2.5px solid #232622;
}
::-webkit-scrollbar {
  width: 10px;
  background: #232622;
}

hr {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: 18px 0;
}
/* Used for metallic/industrial accents */
.metallic-accent {
  color: #babcc3;
  background: linear-gradient(90deg, #e6ded0 12%, #babcc3 70%, #9c9b9b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*====== 16. Accessibility & Effects ======*/
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 90;
}
::-moz-focus-inner {
  border: 0;
}

/* Subtle Section Separators for Industrial Feel */
.section:not(.hero):before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 100%;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #babcc3 3%, #484848 100%);
  opacity: 0.15;
}

/* Industrial Metal Divider (between main blocks)*/
.divider {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #babcc3, #9c9b9b 14px, #484848 18px);
  border-radius: 3px;
  margin: 21px 0 23px 0;
}

/* Animations: fade/slide for micro-interactions */
.fade-in {
  animation: fadeIn 0.35s ease;
}
.slide-up {
  animation: bannerSlideUp 0.45s cubic-bezier(.6,.2,.21,1);
}

/* Misc utility*/
.mt-2    { margin-top: 12px !important; }
.mb-2    { margin-bottom: 12px !important; }
.gap-2   { gap: 12px !important; }

/*=========================*/
/* END OF THEME CSS         */
/*=========================*/
