/* -------------------------
   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,
main, 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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #F5F7FA;
  background: #191C20;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #191C20;
  color: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #D9B882;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f3dfa6;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
:focus {
  outline: 2px solid #D9B882;
  outline-offset: 2px;
}

/*------------------------------
  BRAND & INDUSTRIAL MODERN BASE
-------------------------------*/
:root {
  --primary: #24436B;
  --secondary: #D9B882;
  --accent: #F5F7FA;
  --bg-dark: #191C20;
  --bg-mid: #232631;
  --bg-light: #23283a;
  --metal-dark: #3E4551;
  --metal-mid: #7b7e87;
  --metal-light: #a7acba;
  --shadow: 0 4px 16px rgba(36,67,107,0.10);
  --font-display: 'Montserrat', 'Impact', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-med: 10px;
  --radius-full: 999px;
  --transition: 0.2s cubic-bezier(.57,.21,.69,1.25);
}

/*-------------------------------
  LAYOUT CONTAINERS
--------------------------------*/
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/*-----------------------------
  TYPOGRAPHY
-----------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #EAEAEA;
  text-shadow: 0 2px 8px rgba(0,0,0,0.06);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 500;
}
p, .subheadline {
  font-size: 1.125rem;
  color: #E2E3E8;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 400;
}
.mission, .brand-story {
  color: #c8cdd6;
  font-size: 1.125rem;
}
.privacy-hint {
  font-size: 0.95rem;
  font-style: italic;
  color: #bebebe;
}
strong {
  color: var(--secondary);
  font-weight: 600;
}

/* Industrial font accents */
.brand-values, .timeline, .milestone, .team-bio, .value-list, .value, .services-list, .service, .benefits-grid, .community-stories, .user-projects, .collectors-stories, .event-schedule-preview, .legal-text {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/*-------------------------------
   BASIC SECTIONS & SPACING
-------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.hero {
  background: linear-gradient(120deg, rgba(36,67,107,0.97), var(--bg-dark)), url('../assets/texture-metal.jpg') top left/cover no-repeat;
  border-bottom: 2px solid var(--secondary);
  box-shadow: 0 8px 24px rgba(36, 67, 107, 0.18);
}
.cta {
  background: var(--primary);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 60px;
}

/*-----------------------------
  FLEXBOX LAYOUT PATTERNS
-----------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--bg-mid);
  box-shadow: var(--shadow);
  border-radius: var(--radius-med);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: #F5F7FA;
  color: #222933;
  box-shadow: 0 4px 24px rgba(36,67,107,0.04);
  border-radius: var(--radius-med);
  min-width: 300px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom layout classes from HTML */
.feature-grid, .services-list, .value-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature, .service, .value, .team-bio {
  background: var(--bg-mid);
  box-shadow: var(--shadow);
  border-radius: var(--radius-med);
  padding: 24px 18px;
  flex: 1 1 250px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
  border-left: 4px solid var(--secondary);
}
.feature:hover, .service:hover, .value:hover {
  box-shadow: 0 6px 36px rgba(55, 60, 68, 0.18);
  transform: translateY(-2px) scale(1.02);
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.milestone {
  background: var(--bg-mid);
  padding: 20px 16px;
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0;
  list-style: disc inside;
  background: var(--bg-light);
  border-radius: var(--radius-med);
  padding: 20px;
  color: var(--accent);
}
.benefits-grid li {
  flex: 1 1 180px;
  font-size: 1.05rem;
}

.team-list {
  margin-top: 24px;
}
.team-bio {
  flex: 1 1 240px;
  max-width: 320px;
}
.value-list, .value {
  margin-top: 12px;
}
.value img {
  margin-bottom: 12px;
  height: 44px;
  width: 44px;
}

/* List/quote blocks */
.community-stories, .user-projects, .collectors-stories,
.community-quotes, .event-schedule-preview, .investment-benefits {
  background: var(--bg-light);
  border-radius: var(--radius-med);
  padding: 20px 18px;
  margin-top: 20px;
  color: #D1D4D9;
  font-style: italic;
}
blockquote {
  color: #35393e;
  background: #F5F7FA;
  border-left: 4px solid var(--secondary);
  padding: 16px 18px;
  margin: 15px 0 12px 0;
  border-radius: 12px;
  font-size: 1.12rem;
}
.event-schedule-preview ul {
  margin-left: 1.2em;
  margin-bottom: 0;
}

/*-------------------------------
  BUTTONS & CALL TO ACTIONS
-------------------------------*/
.btn-primary,
.btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(90deg, var(--secondary) 0%, #b99b6b 100%);
  color: #222933;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(36,67,107,0.08);
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #D9B882 40%, #e8cb94 100%);
  box-shadow: 0 6px 24px 0 rgba(36,67,107, 0.16);
  transform: translateY(-1px) scale(1.03);
}

button, .btn-primary {
  outline: none;
}

/*---------------------------
  HEADER & NAVIGATION
----------------------------*/
header {
  background: var(--bg-mid);
  width: 100%;
  border-bottom: 2px solid var(--metal-dark);
  box-shadow: 0 2px 12px rgba(24, 28, 32, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}
header img[alt='KreativBucht'] {
  height: 46px;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
header nav a {
  color: #F5F7FA;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #1c232c;
}
header .btn-primary {
  margin-left: 18px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #232631;
  border: none;
  border-radius: 50%;
  font-size: 2.4rem;
  padding: 4px 16px 4px 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 202;
  box-shadow: 0 2px 8px 0 rgba(36,67,107,0.13);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e4c78e;
  color: #191C20;
}

/*---------------------------
   MOBILE BURGER MENU STYLES
----------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,67,107,0.96);
  box-shadow: 0 8px 32px 0 rgba(36,67,107,0.30);
  z-index: 1002;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.13,.36,1.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 44px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 1003;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff2cd;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 54px 0 0 0;
  padding: 0 36px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 184, 130, 0.08);
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: none;
}
.mobile-menu .mobile-nav a:last-child {
  border-bottom: none;
}

/*-------------------------------
   FOOTER
--------------------------------*/
footer {
  background: var(--metal-dark);
  color: #c8cdd6;
  padding: 36px 0 22px 0;
  border-top: 2px solid var(--secondary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
footer nav a {
  color: #D9B882;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: #323539;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  margin-top: 8px;
}
footer .contact-info img {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/*---------------------------
   TESTIMONIALS & RATINGS
---------------------------*/
.testimonials {
  background: var(--bg-mid);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0px 22px 0px;
  justify-content: flex-start;
}
.testimonial-card {
  min-width: 275px;
  max-width: 420px;
  background: #F5F7FA;
  color: #191C20;
  border-left: 5px solid var(--secondary);
  box-shadow: 0 7px 28px rgba(36,67,107,0.07);
  font-size: 1.07rem;
}
.customer-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  margin-top: 8px;
  color: var(--primary);
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  color: var(--secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 1.13rem;
  margin-top: 8px;
  box-shadow: 0 2px 12px rgba(36,67,107,0.05);
}
.rating-summary img {
  height: 24px;
  vertical-align: middle;
}

/*---------------------------
  SUPPORTING CONTENT BLOCKS
---------------------------*/
.success-message {
  background: var(--bg-mid);
  border-radius: var(--radius-med);
  box-shadow: 0 6px 26px rgba(36,67,107,.12);
  text-align: center;
  color: var(--accent);
}

.legal-text {
  background: var(--bg-mid);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
  color: #e4e6ea;
  padding: 16px 0 10px 0;
  font-size: 1.06rem;
}
.legal-text a {
  color: var(--secondary);
  font-weight: 600;
}
.legal-text h1, .legal-text h2 {
  color: var(--secondary);
  margin-bottom: 10px;
  text-shadow: none;
}
.legal-text h1 {
  margin-top: 5px;
  font-size: 2.1rem;
}
.legal-text h2 {
  font-size: 1.28rem;
  font-weight: 600;
}
.legal-text p, .legal-text ul, .legal-text li {
  color: #e2e4ea;
}

/* Other content helpers */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-schedule-preview ul, .investment-benefits ul {
  margin-left: 1em;
}

/*-------------------------------
  COOKIE CONSENT BANNER & MODAL
--------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232631;
  color: #F5F7FA;
  padding: 26px 22px 24px 22px;
  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  box-shadow: 0 -8px 40px rgba(36,67,107,0.15);
  border-radius: 14px 14px 0 0;
  animation: slideUpCookie 0.55s 1;
}
@keyframes slideUpCookie {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  flex: 1 1 240px;
  margin-bottom: 0;
}
.cookie-btn {
  padding: 10px 30px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: 100px;
  margin-right: 8px;
  background: var(--secondary);
  color: #222933;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36,67,107,0.09);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn:hover, .cookie-btn:focus {
  background: #b99b6b;
  color: #fff;
  transform: scale(1.05);
}
.cookie-settings-btn {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
  margin-left: 8px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #232631;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,67,107,0.92);
  z-index: 1103;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s 1;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--bg-mid);
  color: var(--accent);
  padding: 36px 36px 32px 32px;
  border-radius: 18px;
  max-width: 440px;
  box-shadow: 0 4px 60px rgba(36,67,107,0.30);
  font-family: var(--font-body);
  position: relative;
  min-width: 300px;
  animation: slideUpCookie 0.4s 1;
}
.cookie-modal h2 {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  background: var(--metal-light);
  border-radius: 24px;
  position: relative;
  margin-left: 10px;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-switch span {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.18s;
}
.cookie-switch input:checked + span {
  transform: translateX(18px);
  background: var(--primary);
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.45rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
}

/*-----------------------------
  RESPONSIVE DESIGN
-------------------------------*/
@media (max-width: 1100px) {
  .container {max-width: 98vw;}
  .feature, .service, .value, .team-bio {
    min-width: 220px;
    max-width: 96%;
    flex: 1 1 220px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .services-list, .value-list, .team-list, .testimonial-slider {
    gap: 14px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 768px) {
  h1       { font-size: 2.1rem; }
  h2       { font-size: 1.38rem; }
  .content-wrapper { gap: 14px; }
  section, .section { padding: 34px 6px; }
  .container { padding: 0 2vw; }
  .testimonial-card { min-width: 99vw; }

  .feature-grid,
  .services-list,
  .value-list,
  .team-list,
  .benefits-grid,
  .timeline,
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .service, .value, .team-bio, .milestone {
    max-width: 98vw;
    min-width: 120px;
  }
  .hero, .cta {
    padding: 30px 4px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 11px 8px;
  }
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .mobile-menu {
    display: flex;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-modal {
    box-shadow: 0 2px 28px rgba(36,67,107,0.22);
    min-width: 80vw;
    padding: 18px 8px 22px 8px;
  }
}

@media (max-width: 515px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.08rem; }
  .cookie-consent-banner {flex-direction: column;gap:14px;}
  .cookie-consent-banner p { font-size: 0.96rem; }
}

/*----------------------
   UTILITY CLASSES
-----------------------*/
.bg-metal {
  background: linear-gradient(103deg, #363d45 0%, #232631 90%);
}
.rounded {
  border-radius: var(--radius-med);
}
.shadow {
  box-shadow: var(--shadow);
}
.flex {
  display: flex;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-between {
  justify-content: space-between;
}
.gap-20 {
  gap: 20px;
}

/*---------------------
   ACCESSIBILITY
----------------------*/
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*---------------------*/
/*  ANIMATIONS/MICRO INTERACTIONS */
/*---------------------*/
.feature,
.service,
.value,
.card,
.cta,
.btn-primary,
.testimonial-card,
.cookie-consent-banner,
.cookie-btn {
  transition: box-shadow 0.22s cubic-bezier(.47,1.64,.41,.8), transform 0.17s cubic-bezier(.15,1.6,.75,.79), background 0.22s, color 0.17s;
}

.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/*------------------------
  PREVENT OVERLAPPING
-------------------------*/
.card-container > *,
.feature-grid > *,
.services-list > *,
.value-list > *,
.team-list > *,
.benefits-grid > *,
.timeline > *,
.testimonial-slider > *,
.content-grid > * {
  margin-bottom: 0 !important;
}

/*-------------------------
  OVERRIDE DEFAULT INPUTS (for cookie modal)
-------------------------*/
input[type="checkbox"]:not(:checked), input[type="checkbox"]:checked {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/*------------------------
 FONTS (import Google fonts if not present)
--------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/*-----------------------*/
/*  END OF INDUSTRIAL MODERN THEME  */
/*-----------------------*/
