/* ======================================================  
   Brightstream Works — "Vintage Retro" Flexbox CSS        
   Modern, nostalgic, brand-compliant, fully responsive    
   ====================================================== */
/* --- 1. RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  min-height: 100%;
  background: #f4eee6; /* soft vintage cream background */
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2c2420;
  line-height: 1.7;
  background-color: #f4eee6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #205072;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ce5a57;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #205072;
}
em {
  font-style: italic;
  color: #326273;
}
blockquote {
  margin: 28px 0;
  font-style: italic;
  padding-left: 24px;
  border-left: 4px solid #ffe0a3;
  color: #7E5D51;
}

/* --- 2. BRAND COLORS & FONTS (Retro Palette) --- */
:root {
  --primary: #205072;
  --secondary: #2596be;
  --accent: #f6f6f6;
  --vintage-gold: #ffe0a3;
  --vintage-brick: #ce5a57;
  --vintage-brown: #7E5D51;
  --vintage-green: #779974;
  --vintage-blue: #4f8a8b;
  --vintage-font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --vintage-font-body: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vintage-font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #2c2420;
  margin-bottom: 12px;
  line-height: 1.3;
}
h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  color: #ce5a57;
  margin-top: 32px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  color: #7E5D51;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 16px;
}

/* --- 3. CONTAINERS & LAYOUTS --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  background: #fff6e4;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(126,93,81,0.09), 0 1.5px 2.5px #ffe0a340;
  padding: 40px 28px 34px 28px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2.5px solid #fbe7c6;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    padding: 28px 10px 24px 10px;
  }
  .section {
    padding: 28px 10px;
  }
}

/* --- FLEXBOX Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(126,93,81,0.11);
  border: 1.5px solid #ffe0a3;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(126,93,81,0.13);
  transform: translateY(-3px) scale(1.05);
  z-index: 1;
}
.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: #ffe0a3;
  border-radius: 16px;
  box-shadow: 0 2px 10px #7e5d5120;
  margin-bottom: 20px;
  border: 2px solid #eed09b;
  color: #2c2420;
  font-size: 1.05rem;
  font-family: var(--vintage-font-body);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
}

/* --- HOMEPAGE, ABOUT, ETC. Spacing and hierarchy --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- 4. NAVIGATION BAR --- */
header {
  background: #205072;
  border-bottom: 6px solid #ffe0a3;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav > a img {
  height: 40px;
  margin-right: 10px;
  margin-top: 2px;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  list-style: none;
}
nav ul li {
  margin-bottom: 0;
  font-family: var(--vintage-font-display);
  font-size: 1.08rem;
}
nav ul li a {
  color: #fff;
  letter-spacing: 0.09em;
  font-weight: 600;
  padding: 5px 4px;
  border-radius: 6px;
  transition: background 0.23s, color 0.18s;
  position: relative;
}
nav ul li a:hover, nav ul li a:focus {
  background: #2596be;
  color: #ffe0a3;
}
nav .button.primary {
  margin-left: 18px;
}

/* --- 5. BUTTONS --- */
.button, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: var(--vintage-font-display);
  font-size: 1.08rem;
  background: #ce5a57;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 30px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.08em;
  margin-top: 8px;
  box-shadow: 0 2px 8px #ce5a574a;
  transition: background 0.22s, transform 0.17s, box-shadow 0.22s;
  text-shadow: 1px 1px 2px #7e5d5122;
  outline: none;
  text-align: center;
}
.button.primary, .button.primary:visited {
  background: #ce5a57;
  color: #ffe0a3;
}
.button.primary:hover, .button.primary:focus {
  background: #205072;
  color: #fff6e4 !important;
  transform: translateY(-2px) scale(1.04);
}
.button.secondary {
  background: #205072;
  color: #ffe0a3;
}
.button.secondary:hover, .button.secondary:focus {
  background: #ce5a57;
  color: #fff;
}
.button {
  margin-bottom: 10px;
  min-width: 180px;
  display: inline-block;
}
@media (max-width: 600px){
  .button, button, .mobile-menu-toggle, .mobile-menu-close {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .button {
    min-width: 120px;
  }
}

/* --- 6. MOBILE MENU (Burger Navigation) --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 1150;
  background: #2596be;
  color: #ffe0a3;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 3px 12px #2596be31;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ce5a57;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #205072;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.49,.67,.32,1.25);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 2.3rem;
  background: none;
  color: #ffe0a3;
  box-shadow: none;
  min-width: 0;
  padding: 2px 8px;
  z-index: 1220;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ce5a57;
  color: #fff;
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 24px;
  gap: 25px;
}
.mobile-nav a {
  color: #ffe0a3;
  font-size: 1.18rem;
  font-family: var(--vintage-font-display);
  font-weight: 700;
  padding: 14px 4px;
  border-radius: 7px;
  text-align: left;
  transition: background 0.2s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2596be;
  color: #fff;
}
@media (max-width: 1024px) {
  nav ul, nav .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav ul, nav .button.primary { display: flex !important; }
}

/* --- 7. FOOTER --- */
footer {
  background: #205072;
  color: #fff6e4;
  padding: 34px 0 26px 0;
  margin-top: 48px;
  border-top: 6px solid #ffe0a3;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
}
footer nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
  margin: 0;
}
footer nav ul li {
  font-size: 1rem;
  margin-bottom: 0;
}
footer nav ul li a {
  color: #ffe0a3;
  transition: color 0.15s;
}
footer nav ul li a:hover, footer nav ul li a:focus {
  color: #ce5a57;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 6px;
  filter: drop-shadow(1px 2px 8px #00000018) grayscale(15%);
}
.footer-contact p, .footer-contact a {
  font-size: 1.05rem;
  color: #ffe0a3;
  line-height: 1.6;
}
.footer-contact a { text-decoration: underline; }
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
 }
  .footer-brand img { margin: 0 auto 8px auto; }
}

/* --- 8. TESTIMONIAL (BEWERTUNGEN) STYLES --- */
.testimonial-card {
  flex-direction: column;
  align-items: flex-start;
  background: #ffe0a3;
  border-radius: 16px;
  box-shadow: 0 2px 10px #7e5d5111;
  margin-bottom: 20px;
  border: 2px solid #eed09b;
  color: #35301e;
  font-size: 1.1rem;
  padding: 20px 32px 18px 28px;
  max-width: 540px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 10px;
  color: #7E5D51;
  font-size: 1.15rem;
}
.testimonial-card div {
  font-size: 1.03rem;
  color: #205072;
  font-family: var(--vintage-font-display);
  margin-top: 0px;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 16px 14px 14px 14px;
    max-width: 100%;
    font-size: 1em;
  }
}

/* --- 9. TYPOGRAPHY SCALE & CLASSIC PATTERNS --- */
h1, .typo-h1 { font-size: 2.2rem; }
h2, .typo-h2 { font-size: 1.6rem; }
h3, .typo-h3 { font-size: 1.25rem; }
.typo-display {
  font-size: 2.7rem;
  font-family: var(--vintage-font-display);
  color: var(--primary);
}
.typo-accent {
  color: var(--vintage-brick);
  font-weight: 700;
}

/* --- 10. FORMS --- */
input, textarea, select {
  font-family: var(--vintage-font-body);
  font-size: 1rem;
  border: 1.5px solid #ce5a57;
  border-radius: 7px;
  padding: 11px 16px;
  margin-bottom: 18px;
  width: 100%;
  background: #f6f6f6;
  color: #2c2420;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2596be;
  outline: none;
  background: #fff9ee;
}
label {
  font-family: var(--vintage-font-display);
  margin-bottom: 5px;
  color: #7E5D51;
  font-size: 1.03rem;
  font-weight: 600;
  display: block;
}

/* --- 11. CARDS, GRID ELEMENTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
}

/* --- 12. VINTAGE DECORATIVE EFFECTS --- */
.section {
  position: relative;
  border-radius: 22px;
  background: #fffaf7;
  box-shadow: 0 2px 20px #ffe0a340;
  border: 2px dashed #ffda9b66;
}
.section:before {
  content: '';
  position: absolute;
  top: -20px;
  right: 40px;
  width: 60px;
  height: 8px;
  border-radius: 8px;
  background: #ffd89b;
  opacity: 0.35;
  display: block;
}
.section:after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 38px;
  width: 46px;
  height: 8px;
  border-radius: 7px;
  background: #ce5a5733;
  opacity: 0.29;
  display: block;
}
@media (max-width: 900px) {
  .section:before, .section:after {
    display: none;
  }
}

/* --- Classic dotted border for nostalgia (sublte) --- */
.card, .content-wrapper, blockquote {
  border-style: solid;
  border-width: 2px;
  border-color: #ffe0a3;
  box-shadow: 0 1px 7px #ce5a5720;
}

/* --- LISTS, ICONS, OLD-SCHOOL BULLETS --- */
ul li::before {
  content: '\2022';
  color: #ce5a57;
  font-weight: bold;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
  font-size: 1.3em;
  opacity: 0.65;
  font-family: var(--vintage-font-display);
}

ol li::marker {
  color: #205072;
}

/* --- 13. COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2000;
  background: #7E5D51;
  color: #ffe0a3;
  border-radius: 18px;
  box-shadow: 0 4px 32px #7e5d514a;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 420px;
  margin: 0 auto;
  animation: fadeBannerIn 0.48s cubic-bezier(.52,.16,.44,1) 0s 1;
}
@keyframes fadeBannerIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 5px;
}
.cookie-banner button {
  background: #ce5a57;
  color: #ffe0a3;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 11px 18px;
  font-family: var(--vintage-font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #205072;
  color: #fff6e4;
}
.cookie-banner .cookie-settings {
  background: #205072;
  color: #ffe0a3;
}
.cookie-banner .cookie-settings:hover {
  background: #2596be;
  color: #fff;
}

/* --- 13b. Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(32, 80, 114, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeBannerIn 0.18s forwards;
}
.cookie-modal-content {
  background: #fff6e4;
  color: #205072;
  border-radius: 18px;
  box-shadow: 0 4px 32px #ce5a573a;
  padding: 32px 26px 28px 26px;
  min-width: 320px;
  max-width: 98vw;
  animation: fadeBannerIn 0.36s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2.5px solid #ffe0a3;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  color: #ce5a57;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  z-index: 2110;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #ffe0a3; }
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #ce5a57;
  width: 18px; height: 18px;
}
.cookie-essential {
  font-weight: 700;
  color: #ce5a57;
  letter-spacing: 0.03em;
}

@media (max-width: 590px) {
  .cookie-banner {
    max-width: 98vw;
    left: 2vw; right: 2vw; padding: 18px 7vw; font-size: 0.97rem;
  }
  .cookie-modal-content { min-width: unset; padding: 19px 7vw; }
}

/* --- 14. RESPONSIVE SPACING --- */
@media (max-width: 600px) {
  .section { margin-bottom: 40px; padding: 24px 5px; }
  .content-wrapper { margin-bottom: 16px; }
}

/* --- 15. MICRO ANIMATIONS --- */
.button, .card, .mobile-menu, .testimonial-card {
  transition: box-shadow 0.24s, background 0.2s, transform 0.16s;
}
.card:active {
  box-shadow: 0 2px 14px #ce5a5755;
  transform: scale(0.98);
}
.button:focus, .card:focus {
  outline: 2px solid #2596be;
  outline-offset: 1px;
}

/* --- 16. UTILITY CLASSES (Padding/Margin) --- */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.p-24 { padding: 24px; }
.text-center { text-align: center; }
.flex-center { display: flex !important; justify-content: center !important; align-items: center !important; }

/* --- 17. ACCESSIBILITY --- */
:focus-visible {
  outline: 2.5px solid #2596be;
  outline-offset: 1.5px;
}

/* --- 18. PRINT OPTIMIZATION --- */
@media print {
  *, *:before, *:after {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}

/* --- END OF STYLE --- */
