/* ÖlKraft Deutschland Soft Pastel Style CSS - Mobile-First, Flexbox Layout Only */

/* ================= RESET & NORMALIZE ================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafbfc;
  color: #272d38;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #447ba0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153243;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
ul ul, ol ol {
  margin-top: 0;
  margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #153243;
  margin-bottom: 10px;
}
h1 { font-size: 2.6rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 6px; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 12px; }
img { max-width: 100%; height: auto; display: block; border-radius: 10px; }

::selection {
  background: #ffe0ef;
  color: #153243;
}

/* ================= BRAND COLORS (Pastel/Soft Variations) ================= */
:root {
  --primary: #153243;
  --primary-pastel: #3e5872;
  --secondary: #ffd700;
  --secondary-pastel: #fff9ce;
  --accent: #f4f4f4;
  --surface: #fffdfa;
  --pastel-blue: #d3e8f6;
  --pastel-yellow: #fff9ce;
  --pastel-pink: #ffe0ef;
  --pastel-green: #d6fae4;
  --pastel-violet: #eae8fa;
  --shadow: 0 2px 16px 0 rgba(74, 90, 107, 0.09);
  --card-radius: 18px;
  --btn-radius: 16px;
}

/* ================== LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.main-nav, .footer-nav, .mobile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(135deg, #eae8fa 0%, #fff9ce 100%);
  box-shadow: var(--shadow);
  position: relative;
  margin-bottom: 10px;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 18px 0;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  margin-left: 18px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  color: #385571;
  padding: 7px 13px;
  border-radius: 14px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cta-btn {
  background: linear-gradient(90deg, #fff9ce 50%, #eae8fa 100%);
  color: #153243;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--btn-radius);
  padding: 13px 26px;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(91, 112, 137, 0.17);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.25s, transform 0.14s, box-shadow 0.2s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #fff3af 50%, #ffe0ef 100%);
  color: #153243;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 22px 0 rgba(91, 112, 137, 0.23);
}

/* =============== MOBILE BURGER MENU =============== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pastel-yellow);
  color: #153243;
  border: none;
  border-radius: 15px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s;
  z-index: 51;
  box-shadow: 0 1px 9px rgba(220, 183, 223, 0.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-pink);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 251, 252, 0.98);
  box-shadow: 0 4px 36px 0 rgba(80, 95, 150, 0.16);
  z-index: 50;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.66,.05,.36,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #153243;
  font-size: 2rem;
  margin: 24px 24px 0 auto;
  cursor: pointer;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin: 40px 0 0 32px;
  flex: 1 1 auto;
}
.mobile-nav a {
  color: #153243;
  font-size: 1.2rem;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 14px 6px;
  border-radius: 9px;
  transition: background 0.16s, color 0.19s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: #375a6f;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav, .cta-btn {
    display: flex;
  }
}

/* ===================== SECTION, CARDS, FLEXBOX GRIDS ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section {
  max-width: 668px;
  margin: 0 auto;
  align-items: flex-start;
}
.feature-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.15s;
  min-width: 220px;
  flex: 1 1 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(120, 160, 201, 0.16);
  transform: translateY(-2px) scale(1.021);
}
.feature-grid > div, .card-container > div {
  background: var(--accent);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 23px 22px 19px 22px;
  min-width: 210px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.13s;
  margin-bottom: 0;
}
.feature-grid > div:hover, .card-container > div:hover {
  box-shadow: 0 8px 28px 0 rgba(150,185,223,0.16);
  transform: translateY(-3px) scale(1.025);
}

@media (max-width: 900px) {
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* Content grid, text-image-section, testimonial-card, feature-item layouts */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  border-radius: var(--card-radius);
  background: #fffdfa;
  box-shadow: 0 3px 16px 0 rgba(160, 180, 184, 0.11);
  margin-bottom: 20px;
  flex-direction: column;
  border-left: 7px solid #ffe0ef;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #222C39;
  font-size: 1.22rem;
  font-style: italic;
  quotes: '\201E''\201C';
  margin-bottom: 8px;
}
.testimonial-client {
  font-size: 1rem;
  font-weight: 500;
  color: #153243;
  font-family: 'Oswald', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================= FINE-TUNING + PASTEL BRAND HIGHLIGHTS ================= */
section:nth-child(odd) {
  background: var(--pastel-violet);
}
section:nth-child(even) {
  background: var(--pastel-yellow);
}
section .feature-grid > div {
  background: #f7f9fd;
}

h2 + .feature-grid {
  margin-top: 20px;
}
h3 {
  color: #385571;
  font-size: 1.18rem;
}
strong {
  color: #1a3660;
  font-weight: 700;
}

/* Links in text blocks */
.text-section a {
  color: #80498a;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.15s;
}
.text-section a:hover, .text-section a:focus {
  color: #153243;
  text-decoration: none;
}

/* ================= INPUTS, FORMS, BUTTONS ================= */
input, textarea, select {
  border-radius: 10px;
  border: 1px solid #dddae3;
  background: #fffdfa;
  padding: 11px 13px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border 0.18s;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #ffd700;
  background: #fffbee;
}
button, .cta-btn {
  cursor: pointer;
  outline: none;
}
button:active {
  transform: scale(0.97);
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(90deg, #eae8fa 40%, #fff9ce 100%);
  border-top: 2px solid #f4eac2;
  padding: 30px 0 15px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-nav {
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #385571;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 14px;
  transition: background 0.12s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-pink);
  color: #153243;
}
@media (min-width: 700px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ================= RESPONSIVE TYPOGRAPHY ================= */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 0 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.07rem; }
  .container { padding: 0 7px; }
}

/* ================= COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fff9ce 85%, #ffe0ef 100%);
  color: #153243;
  z-index: 9000;
  box-shadow: 0 -2px 22px 0 rgba(180, 180, 214, 0.11);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 16px;
  gap: 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerSlideIn 0.7s cubic-bezier(.65,.05,.36,1);
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #ffd700;
  color: #153243;
  padding: 10px 17px;
  border-radius: 13px;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 7px 0 rgba(220, 183, 223, 0.09);
  margin-right: 3px;
  font-weight: 600;
  transition: background 0.19s, box-shadow 0.15s, transform 0.12s;
}
.cookie-btn.settings {
  background: #eae8fa;
  color: #153243;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #353e62;
  color: #ffd700;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 12px 0 rgba(145, 113, 220, 0.16);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffe0ef;
  color: #153243;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(80, 84, 133, 0.20);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: 0 6px 42px 0 rgba(120, 150, 180, 0.2);
  padding: 32px 28px 22px 28px;
  width: 95vw;
  max-width: 425px;
  animation: cookieModalPop .45s cubic-bezier(.66, .16, .23, 1.11);
}
@keyframes cookieModalPop {
  from { transform: scale(0.82) translateY(22px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #153243;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #ffd700;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #385571;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category.essential label {
  color: #385571;
  opacity: 0.63;
}
.cookie-modal .modal-actions{
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #80498a;
  font-size: 1.6rem;
  position: absolute;
  right: 33px;
  top: 27px;
  cursor: pointer;
  border-radius: 10px;
  padding: 5px 11px;
  transition: background 0.12s;
  z-index: 99;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe0ef;
}

/* =================== UTILITIES, SPACING, WHITE SPACE =================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

section, .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-card, .feature-item {
  margin-bottom: 0;
}
section + section {
  margin-top: 0;
}

/* Spacing for lists */
ul, ol {
  margin-bottom: 16px;
  margin-top: 10px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 7px;
}

/* Prevent content overlap and provide breathing room */
@media (max-width: 700px) {
  section { padding: 28px 0; }
  .feature-grid > div, .card-container > div, .card { padding: 18px 10px; }
}

/* ================= ICONS INSIDE UL LISTS ================= */
li img {
  height: 21px;
  width: 21px;
  margin-right: 13px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 6px;
  background: var(--pastel-blue);
  padding: 2px;
}
li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================= SCROLLBARS ================= */
body, .mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: #ffe0ef #fffdfa;
}
body::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar {
  width: 7px;
  background: #fffdfa;
}
body::-webkit-scrollbar-thumb, .mobile-menu::-webkit-scrollbar-thumb {
  background: #fffbee;
  border-radius: 15px;
}

/* =================== MEDIA QUERIES FOR LAYOUTS =================== */
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  section, .section { padding: 18px 0 14px 0; }
  .content-wrapper { gap: 10px; }
}

/* =================== ANIMATIONS / MICRO-INTERACTIONS =================== */
.card, .feature-grid > div, .card-container > div, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.12s;
}
.card:hover, .feature-grid > div:hover, .card-container > div:hover {
  box-shadow: 0 7px 23px 0 rgba(145,188,216,0.19);
  transform: translateY(-1.5px) scale(1.015);
}

/* =================== Z-INDEX HANDLING =================== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 99; }
section, main, footer { z-index: 10; }

/* =================== ACCESSIBILITY =================== */
:focus {
  outline: 2.5px dashed #ffe0ef;
  outline-offset: 2.5px;
  transition: outline 0.12s;
}

/* =================== PRINT (OPTIONAL) =================== */
@media print {
  * { color: #222 !important; background: none !important; box-shadow: none !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
