/* =========================================================
   SchnellKurier Chemnitz - VINTAGE RETRO CSS
   Retro/vintage color palette, authentic fonts, subtle patterns
   Flexbox ONLY - No CSS Grid/Columns
   ========================================================= */

/* ================= 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #f5ede2; /* typical retro beige background */
  color: #342003;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  /* subtle retro pattern */
  background-image: repeating-linear-gradient(45deg, rgba(255,179,0,0.05) 0, rgba(255,179,0,0.05) 2px, transparent 2px, transparent 16px),
                    repeating-linear-gradient(135deg, rgba(1,52,99,0.03) 0, rgba(1,52,99,0.03) 1.2px, transparent 1.2px, transparent 18px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #776159;
  text-decoration: underline;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #b35b0d;
  outline: none;
  text-decoration: none;
}
ul, ol {
  padding-left: 26px;
}
strong { font-weight: 700; }

/* =============== TYPOGRAPHY (Retro Fonts) =============== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222;
  letter-spacing: 1px;
  line-height: 1.13;
  margin-bottom: 12px;
  font-weight: 900; /* bold, classic headers */
}
h1 {
  font-size: 2.25rem; /* 36px */
  color: #013463;
  margin-bottom: 18px;
  text-shadow: 1px 3px 0 #FFB30044;
  letter-spacing: .04em;
}
h2 {
  font-size: 1.5rem; /* 24px */
  color: #B35B0D;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #376676;
}
h4, h5, h6 { font-size: 1rem; color: #444; }

p, li, blockquote {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #6B4C1D;
}
blockquote {
  font-style: italic;
  color: #342003;
  background: #f2ecd5;
  border-left: 6px solid #FFB300;
  padding: 16px 26px;
  border-radius: 9px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px 0 #e6c48a42;
}

/* ================= VINTAGE COLORS PALETTE =============== */
:root {
  --primary: #013463;
  --primary-dark: #062741;
  --secondary: #ECEFF1;
  --accent: #FFB300;
  --accent-dark: #CC9400;
  --retro-orange: #D2691E;
  --retro-blue: #34526F;
  --retro-green: #99B166;
  --retro-brown: #7A5529;
  --retro-yellow: #FFE066;
  --retro-dark: #2F2A27;
}

/* ============ LAYOUT SYSTEM & CONTAINER ============== */
.container {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  width: 100%;
  padding: 0 0;
  margin: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  text-align: left;
  margin-bottom: 18px;
}

/* =================== FLEXBOX PATTERNS =================== */
.feature-grid, .service-grid, .service-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.feature-item, .service-card, .service-item {
  background: #fffefb;
  border-radius: 13px;
  border: 2px solid #ffe9c1;
  box-shadow: 0 2px 16px 1px #ffe6b370;
  padding: 32px 24px 24px 24px;
  min-width: 230px;
  flex: 1 1 calc(50% - 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.25s;
  position: relative;
}
.feature-item img, .service-card img, .service-item img {
  width: 46px;
  height: 46px;
}
.feature-item:hover, .service-card:hover, .service-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 2px #deb670b0;
  border-color: var(--accent-dark);
  z-index: 2;
}

.testimonial-list {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffed6;
  border: 2px solid #ffe066;
  border-radius: 13px;
  box-shadow: 0 2px 16px 1px #e9c77175;
  padding: 20px;
  flex: 1 1 320px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px 4px #edd465b8;
}
.testimonial-author {
  font-weight:700;
  font-size: 1rem;
  color: #7A5529;
  letter-spacing: 0.4px;
  margin-left: 12px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-grid {
  gap: 24px;
}

/* =============== BUTTONS, LINKS & MICRO-INTERACTIONS =============== */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 24px;
  margin: 6px 12px 6px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  border-radius: 28px;
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px 0 #e6c48a45;
  transition: background 0.17s, color 0.15s, box-shadow 0.2s, border 0.16s, transform 0.16s;
  text-decoration: none;
}
.button-primary {
  background: var(--accent);
  color: #013463;
  border: 2px solid var(--accent-dark);
}
.button-primary:hover, .button-primary:focus {
  background: #ffd363;
  color: #2F2A27;
  transform: scale(1.045);
  box-shadow: 0 6px 18px 0 #ffe06678;
  text-decoration: none;
}
.button-secondary {
  background: #FFF;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--accent);
  color: #2F2A27;
}
.quick-contact-buttons {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin: 16px 0 8px 0;
}
.button-primary img, .button-secondary img {
  height: 22px;
  width: 22px;
  margin-right: 9px;
}

/* Main navigation bar */
header {
  background: #fff6e7;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 10px 0 #ffbc0032;
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 83px;
}
.logo img {
  height: 63px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #376676;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 7px;
  transition: color 0.22s, background 0.23s;
  text-decoration: none;
  position: relative;
}
.main-nav a.button-primary {
  margin-left: 9px;
  font-size: 1rem;
  letter-spacing: 0.09em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: #013463;
}

/* Hamburger for mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #B35B0D;
  margin-right: 8px;
  cursor: pointer;
  z-index: 150;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--accent-dark);
  outline: none;
}

/* ============= MOBILE NAV MENU OVERLAY ============= */
.mobile-menu {
  display: block; /* Hidden by transform */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #efe3d0ef;
  box-shadow: 0 2px 14px 0 #e9c77193;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.56,.05,.19,1.02);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  position: absolute;
  top: 23px;
  right: 28px;
  font-size: 2.5rem;
  color: #7A5529;
  z-index: 201;
  cursor: pointer;
}
.mobile-nav {
  margin-top: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #013463;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #7A5529;
  padding-left: 14px;
}

/* =========== MAIN CONTENT/SECTIONS =========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.content-wrapper {
  margin-bottom: 0;
}

/* =============== TABLES =============== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
  background: #fffefb;
  border: 2px solid #f0dbad;
  border-radius: 10px;
  box-shadow: 0 2px 14px #ffdd6d2d;
  overflow: hidden;
}
thead tr {
  background: #ffedb5;
  color: #013463;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  background: #ffedb5;
  border-bottom: 2px solid #ffe066;
}
tbody tr:nth-child(even) { background: #f5ede2; }
tbody tr:nth-child(odd) { background: #fffefb; }
tr:hover td {
  background: #ffe06638;
}

/* =============== CONTACT/DETAILS =============== */
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.contact-row img {
  height: 23px;
  width: 23px;
}
.contact-detail-list {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 7px;
}

/* =============== FAQ & Accordions =============== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fffde2;
  border: 2px solid #ffdfa3;
  border-radius: 13px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 15px #ffde6d27;
}
.faq-item h2 {
  font-size: 1.12rem;
  color: #b35b0d;
  margin-bottom: 8px;
}
.faq-item p { margin-bottom: 2px; }

/* =============== FOOTER =============== */
footer {
  background: #2F2A27;
  color: #ffeecc;
  padding: 50px 0 0 0;
  font-size: 1rem;
}
footer p {
  color: white;
}
footer a {
  color: white;
}
.footer-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 20px;
  justify-content: space-between;
  border-bottom: 1px solid #b4934d5e;
  padding-bottom: 28px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: 210px;
}
.footer-brand img {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #FFE066;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.22s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB300;
}
.footer-meta {
  width: 100%;
  margin-top: 18px;
  text-align: center;
  font-size: 0.95rem;
  color: #EDD687;
}

/* ========== Cookie Consent Banner & Modal ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F6E6C8;
  box-shadow: 0 0 18px #eed09543;
  border-top: 3px solid #FFD06F;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  padding: 20px 10vw 18px 7vw;
  font-size: 1rem;
  animation: slideInBanner 0.6s ease;
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .button-primary,
.cookie-banner .button-secondary {
  margin: 0;
  font-size: 1rem;
  padding: 0 18px;
  height: 38px;
  min-width: 110px;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left:0; top:0;
  width:100vw; height:100vh;
  background: rgba(47,42,39,0.43);
  z-index: 2100;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fffce0;
  border-radius: 16px;
  box-shadow: 0 6px 30px #edd56486;
  border: 2px solid #ffe066;
  min-width: 320px;
  max-width: 94vw;
  padding: 32px 26px 24px 26px;
  position: relative;
  animation: fadeInCookieModal 0.32s;
}
@keyframes fadeInCookieModal {
  from { transform: scale(0.90); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal__close {
  position: absolute;
  top: 19px;
  right: 17px;
  font-size: 2rem;
  background:none;
  border:none;
  color:#B35B0D;
  cursor:pointer;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: #013463;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 26px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8db;
  border-radius: 7px;
  padding: 9px 14px;
  border: 1.2px solid #e2ccb5;
}
.cookie-category label {
  font-weight: 600;
  color: #7A5529;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFB300;
  width: 1.15em; height: 1.15em;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal__actions .button-primary,
.cookie-modal__actions .button-secondary {
  font-size: 1rem;
  height: 36px;
  min-width: 110px;
  padding: 0 16px;
}

/* ============== RESPONSIVE DESIGN (Mobile First) ============== */
@media (max-width: 1100px) {
  .container { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 900px) {
  .container, .footer-row { max-width: 98vw; }
  .footer-row { gap: 24px; }
}
@media (max-width: 768px) {
  header .container {
    height: 68px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-bottom: none;
    padding-bottom:6px;
  }
  .footer-contact, .footer-nav { margin-bottom: 9px; }
  .section, section {
    padding: 29px 8px;
    margin-bottom: 36px;
  }
  .testimonial-list,
  .service-list,
  .feature-grid,
  .service-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .service-item, .testimonial-card {
    min-width: 98vw;
    max-width: 99vw;
  }
  .quick-contact-buttons {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner {
    padding: 19px 5vw 19px 3vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper, .text-section {
    padding: 0 0;
  }
  .testimonial-card, .faq-item, .card {
    padding: 13px 9px 13px 17px;
  }
  .footer-brand img {
    width: 46px;
  }
  .cookie-modal {
    padding: 18px 7px 18px 12px;
    min-width: 90vw;
  }
}

/* ============ PRINTING =========== */
@media print {
  header, .main-nav, .mobile-menu, .button-primary, .button-secondary, .cookie-banner, .cookie-modal-overlay, .quick-contact-buttons {
    display: none !important;
  }
  section, .section, footer {
    margin: 0;
    padding: 0;
  }
}

/* =================== MICRO-ANIMATIONS =================== */
.button-primary, .button-secondary {
  transition: background 0.16s, color 0.14s, box-shadow 0.19s, border 0.19s, transform 0.15s;
}
nav a, .footer-nav a, .main-nav a {
  position: relative;
  transition: color 0.18s;
}
nav a:after, .footer-nav a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.18s;
}
nav a:hover:after, .footer-nav a:hover:after, .main-nav a:hover:after {
  width: 75%;
}

/* =============== SCROLLBAR (retro slim) ============== */
::-webkit-scrollbar {
  width: 10px;
  background: #FFFCF7;
}
::-webkit-scrollbar-thumb {
  background: #ead285;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffb300;
}

/* =================== RETRO VISUAL ELEMENTS ============ */
section, .faq-item, .testimonial-card, .feature-item, .service-card, .service-item {
  background-blend-mode: lighten;
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 10px, #fff3c7 11px, #fffde0 25px);
}

/* == Ensure all container layouts use flexbox: flexbox only!! NO grid/columns anywhere! == */

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