/* ===================================================================
   KraftWelle Köln – Monochrome Sophisticated Style (Flexbox Only)
   =================================================================== */
/*
  - Only Flex layouts: NO grid, NO columns
  - Brand: Black/white/gray, high contrast, minimal color (accents only)
  - Fonts: Oswald (display), Roboto (body)
  - Modern, elegant, distinctive
*/

/* ---------------------------------------------------------
   CSS Reset & Normalize (Safe + Compatible)
---------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}
strong { font-weight: bold; }

/* ---------------------------------------------------
   Typography: Hierarchy for monochrome sophistication
------------------------------------------------------ */
:root {
  --color-bg: #fff;
  --color-bg-alt: #F6F8FF;
  --color-primary: #15161a;
  --color-secondary: #22242a;
  --color-accent: #727272;
  --color-contrast: #fff;
  --color-neutral: #ededed;
  --color-gray: #b3b3b3;
  --color-border: #e0e0e0;
  --shadow-soft: 0 4px 28px 0 rgba(32,32,32,0.12);
  --shadow-elevated: 0 4px 32px 0 rgba(40,40,40,0.18);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 16px;
  text-rendering: geometricPrecision;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
blockquote {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #373737;
  border-left: 4px solid #15161a;
  padding-left: 18px;
  margin-bottom: 10px;
  letter-spacing:0;
}
cite {
  font-size: 0.96em;
  color: var(--color-accent);
  font-style: normal;
  letter-spacing:0.04em;
}

/* ------------------------------------
   Layout Containers & Spacing Standard
-------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 310px;
  background: #f8f8fa;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px 0 rgba(30,30,30,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-neutral);
  transition: box-shadow 0.18s, transform 0.18s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(20,20,20,0.13);
  transform: translateY(-6px) scale(1.025);
  z-index: 2;
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fafbfd;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
}

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

/* Testimonial Card: Monochrome & Dramatic Contrast */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 14px 0 rgba(24,24,24,0.18);
  border-left: 4px solid #222;
  border-top: 1.5px solid #ececec;
  color: #15161a;
  min-width: 0;
  flex: 1;
}
.testimonial-card cite {
  font-size: 1em;
  color: #5b5b5e;
  font-style: normal;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.intro-offer {
  background: #ebecf1;
  color: #23262b;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 1.09em;
  margin-top: 14px;
}

/* Main nav and Responsive Burger ---------*/
header {
  background: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 2px 18px 0 rgba(24,24,24,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #181b1c;
  padding: 6px 4px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
header nav a:not(.btn-primary):hover {
  background: #eaeaea;
  color: #1A4072;
}
header nav a.btn-primary {
  padding: 8px 22px;
  background: #15161a;
  color: #fff;
  border-radius: var(--radius-md);
  margin-left: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px 0 rgba(30,30,35,0.14);
  transition: background 0.22s, color 0.16s, transform 0.2s;
}
header nav a.btn-primary:hover {
  background: #1A4072;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #15161a;
  cursor: pointer;
  margin-left: 24px;
  z-index: 9900;
  transition: color 0.18s, background 0.18s;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-md);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ececec;
  color: #1A4072;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,27,32, 0.97);
  box-shadow: 0 0 52px 0 rgba(0,0,0,0.24);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.1,.18,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 24px 28px 12px 0;
  z-index: 10001;
  transition: color 0.2s, background 0.22s;
  padding: 7px 12px;
  border-radius: var(--radius-lg);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #2a2a2c;
  color: #ddd;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100vw;
  max-width: 360px;
  margin-left: 34px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.21rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 0 14px 0;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover {
  background: #444751;
  color: #F6F8FF;
}

/* -----------------------------------------------
   Buttons: Primary, Secondary, Action Styles
------------------------------------------------ */
.btn-primary, .btn-secondary, .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, color 0.16s, transform 0.17s;
  box-shadow: 0 1px 4px 0 rgba(20,20,20,0.10);
  min-height: 46px;
  padding: 0 32px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: #15161a;
  color: #fff;
  border-radius: var(--radius-md);
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A4072;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #fff;
  color: #15161a;
  border: 2px solid #15161a;
  padding: 0 28px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #15161a;
  color: #fff;
}
.btn-action {
  background: #ededed;
  color: #202124;
  font-size: 1em;
}
.btn-action:hover, .btn-action:focus {
  background: #ccc;
}

/* ----------------------------------------------
   Footer: Sophisticated, Clear Contrast
-------------------------------------------------*/
footer {
  background: #202124;
  color: #ededed;
  padding: 38px 0 26px 0;
  border-top: 1.5px solid #ededed;
  font-size: 0.99rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Oswald', Arial, sans-serif;
  justify-content: center;
  font-size: 1em;
  color: #ededed;
}
footer nav a {
  color: #ededed;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.18s;
}
footer nav a:hover {
  color: #fff;
  background: #272833;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #aaaaab;
  font-size: 0.98em;
  margin: 8px 0 6px 0;
}
footer .contact-details img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  transform: translateY(2px);
  display: inline-block;
}
footer .social-media-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 6px;
  align-items: center;
}
footer .social-media-links a {
  display: block;
  background: #ededed;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.14s;
}
footer .social-media-links a:hover {
  background: #fff;
}
footer .social-media-links img {
  width: 23px;
  height: 23px;
  margin: 0 auto;
}

/* ---------------------------------------
   Cookie Consent Banner & Preferences Modal
------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11120;
  background: #15161a;
  color: #fff;
  padding: 28px 18px 20px 18px;
  box-shadow: 0 -2px 30px 0 rgba(0,0,0,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 2.5px solid #222;
  font-size: 1.09rem;
  animation: banner-in 0.7s cubic-bezier(.65,.05,.36,1.28);
}
@keyframes banner-in {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.14s;
}
.cookie-banner .cookie-accept {
  background: #fff;
  color: #15161a;
  border: 2px solid #15161a;
}
.cookie-banner .cookie-accept:hover {
  background: #15161a;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #ededed;
  color: #15161a;
  border: 2px solid #ededed;
}
.cookie-banner .cookie-reject:hover {
  background: #b3b3b3;
  color: #222;
}
.cookie-banner .cookie-settings {
  background: #1A4072;
  color: #fff;
  border: none;
}
.cookie-banner .cookie-settings:hover {
  background: #222c43;
  color: #fff;
}

/* Cookie Preferences Modal --------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11200;
  left: 0; right:0; top: 0; bottom: 0;
  background: rgba(28,29,34,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-overlay-in 0.24s cubic-bezier(.24,.89,.52,1);
}
@keyframes modal-overlay-in {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: #111;
  padding: 36px 20px 28px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 40px 0 rgba(20,20,20,0.21);
  min-width: 300px;
  max-width: 94vw;
  width: 420px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-in 0.34s cubic-bezier(.68,.07,.37,1.06);
}
@keyframes modal-in {
  from {transform: scale(0.92) translateY(20px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: #15161a;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 1em;
}
.cookie-category .switch {
  position: relative;
  width: 45px;
  height: 26px;
  display: inline-block;
}
.switch input {display:none;}
.switch .slider {
  position: absolute;
  cursor: pointer;
  background: #c9c9ca;
  border-radius: 14px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.16s;
}
.switch input:checked + .slider {
  background: #1A4072;
}
.switch .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
  box-shadow: 0 1px 4px 0 rgba(35,35,35,0.13);
}
.switch input:checked + .slider:before {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  background: transparent;
  color: #616162;
  font-size: 1.46rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-top: -22px;
  margin-right: -16px;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover {
  color: #15161a;
}

/* -------------------------
   Miscellaneous Elements
--------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

main {
  flex: 1 0 auto;
}

a:focus {
  outline: 2px solid #1A4072;
  outline-offset: 2px;
}
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #1A4072;
  outline-offset: 2px;
}

hr {
  border: none;
  border-top: 1.5px solid #ededed;
  margin: 32px 0 24px 0;
}

ul li, ol li {
  padding-left: 0;
  margin-bottom: 7px;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #222;
  border-radius: 50%;
  margin-right: 12px;
  transform: translateY(-2px);
}
ul li a {
  color: #222;
  text-decoration: underline;
  transition: color 0.14s;
}
ul li a:hover {
  color: #1A4072;
}

/* Inner Icon alignment */
.text-section li img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(2px);
}

/* -- Custom class helpers -- */
.hide {
  display: none !important;
}

/* ============ Responsive Design ============= */
@media (max-width: 1100px) {
  .container {
    max-width: 920px;
    padding: 0 10px;
  }
  .features-grid > div {
    min-width: 205px;
    padding: 24px 12px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 690px;
  }
}
@media (max-width: 768px) {
  html { font-size: 98%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container {
    max-width: 94vw;
  }
  .section, section {
    margin-bottom: 48px;
    padding: 26px 5vw;
  }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  body, html { font-size: 96%; }
  .container {
    padding: 0 3vw;
    max-width: 98vw;
  }
  .section, section {
    padding: 15vw 2vw 12vw 2vw;
    margin-bottom: 36px;
  }
  header .container {
    padding: 0 8px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
    gap: 9px;
  }
  footer .container {
    padding: 0 2vw;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle, .mobile-nav { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding-left: 0;
    min-width: 0;
  }
  .mobile-nav {
    margin-left: 18px;
    max-width: 98vw;
  }
  .cookie-modal {
    padding: 23px 9px 18px 11px;
    min-width: 0;
    width: 92vw;
    font-size: 0.98em;
  }
}

/* -- Subtle Input and Form elements (if used) -- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  padding: 9px 12px;
  border: 1.5px solid #d5dadf;
  border-radius: var(--radius-md);
  background: #fafbfc;
  color: #232323;
  margin-bottom: 16px;
  transition: border-color 0.18s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #1A4072;
  background: #fff;
}

/* -- Subtle Section elevation for monochrome style -- */
.section, section {
  box-shadow: 0 2px 22px 0 rgba(30,30,32,0.05);
  border-radius: var(--radius-lg);
  border: none;
}

/* -- Hide visually when hidden (for JS) -- */
[hidden] { display: none !important; }

/*--- Utility for visually separating cards ---*/
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* -----------------------------------------
   End: Monochrome Sophisticated CSS
------------------------------------------- */