/* ============================
   VINTAGE RETRO THEME for STUTTGART KOMPASS
   ============================ */
/* --- CSS RESET & NORMALIZE --- */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, pre, button, input, textarea, select {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #263245;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
}
a {
  color: #183153;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #C76E31;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.15em;
}
img, svg {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: background 0.2s, color 0.2s;
}

/* --- VINTAGE RETRO PALETTE (Brand + Retro Accents) --- */
:root {
  --primary: #183153;
  --secondary: #F2B705;
  --accent: #F5F7FA;
  --retro-orange: #C76E31;
  --retro-aqua: #53C7BE;
  --retro-egg: #FAEEE0;
  --retro-brown: #89846C;
  --retro-red: #CB302C;
  --retro-green: #70A288;
  --retro-bg-pattern: repeating-linear-gradient(135deg, #FCF6EC 0 12px, #FAEEE0 12px 24px);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
  text-shadow: 1px 2px 0px #EAC26E44;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
  color: var(--retro-orange);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4em;
  color: var(--retro-brown);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--primary);
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.8em;
}
strong {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--retro-brown);
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-bg-pattern);
  border-radius: 16px;
  box-shadow: 0 4px 32px #18315308, 0 2px 7px #C76E3120;
  position: relative;
  z-index: 1;
}
section {
  margin-bottom: 60px;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* --- FLEXBOX LAYOUTS & PATTERNS --- */
.card-container, .feature-grid, .testimonial-grid, .footer-navigation, .footer-contact, .footer-social, .content-grid, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container {
  gap: 24px;
}

.card {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1px 9px #89846C22;
  padding: 28px 22px 20px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid #EAC26E44;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px #18315322;
  transform: translateY(-5px) scale(1.01);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFF9F1;
  border: 2.5px dashed var(--secondary);
  border-radius: 16px;
  box-shadow: 0 2px 16px #18315308;
  padding: 32px 28px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  min-width: 220px;
  position: relative;
  transition: background 0.18s;
}
.testimonial-card strong {
  color: var(--retro-red);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

/* --- FEATURES/LISTS --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--retro-egg);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 5px #C76E3122;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: var(--retro-egg);
  border-radius: 13px;
  padding: 26px 18px 20px 18px;
  flex: 1 1 180px;
  min-width: 160px;
  box-shadow: 0 1px 7px #18315308;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.15s, box-shadow 0.2s;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: sepia(0.3) hue-rotate(-14deg) contrast(1.2) brightness(1.1);
}
.feature-grid > div:hover {
  background: #FDF7E7;
  box-shadow: 0 4px 24px #C76E3130;
}

/* --- HERO / INTRO CTAs --- */
.cta.primary {
  background: var(--secondary);
  color: var(--primary);
  padding: 0.85em 2.1em;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.16rem;
  box-shadow: 0 3px 12px #F2B70544;
  letter-spacing: 0.05em;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.18s, box-shadow 0.18s;
  margin-top: 10px;
  margin-bottom: 8px;
  text-shadow: 1px 1px #f5f7fa33;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 32px #18315322, 0 1px 4px #F2B70535;
  outline: none;
}

.cta {
  text-decoration: none;
  display: inline-block;
}

/* --- HEADER & NAVIGATION (DESKTOP) --- */
header {
  background: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px #18315318;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0 12px 0;
  justify-content: flex-start;
}
header nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 1.09rem;
  transition: color 0.17s, background 0.17s;
  position: relative;
  z-index: 3;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  outline: none;
}
header nav img {
  max-height: 40px;
  margin-right: 18px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 100px;
  font-size: 2.2rem;
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 6px;
  transition: box-shadow 0.2s, background 0.14s, color 0.14s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-orange);
  color: #fff;
  box-shadow: 0 2px 12px #C76E3188;
  outline: none;
}

/* --- MOBILE NAV --- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0 0 0 0;
  background: #183153F2;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.75,.01,.18,1);
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: var(--retro-orange);
  color: #fff;
  border-radius: 100px;
  margin: 24px 26px 8px 0;
  padding: 4px 14px 2px 14px;
  align-self: flex-end;
  box-shadow: 0 1px 10px #C76E3133;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 90vw;
  max-width: 375px;
  background: #fff;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: -5px 0 16px #2225;
  padding: 36px 28px 48px 28px;
  font-size: 1.2rem;
  gap: 0;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 15px 0;
  margin: 0 0 2px 0;
  border-bottom: 1.5px dashed #F2B70533;
  border-radius: 0;
  transition: background 0.13s, color 0.13s;
  font-size: 1.11rem;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B70511;
  color: var(--retro-orange);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: var(--retro-egg);
  padding: 40px 0 24px 0;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -2px 15px #1831530a;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}
.footer-navigation a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  margin-bottom: 5px;
  position: relative;
}
.footer-navigation a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s;
}
.footer-navigation a:hover::after {
  width: 100%;
}
.footer-contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.96rem;
  color: var(--retro-brown);
  align-items: center;
  margin-bottom: 20px;
  justify-content: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  filter: sepia(0.36);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: sepia(0.3) hue-rotate(-12deg) brightness(1.12);
  transition: filter 0.18s;
}
.footer-social img:hover {
  filter: sepia(0.7) hue-rotate(-24deg) brightness(1.25) saturate(1.3);
}

/* --- LIST STYLES --- */
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.6em;
}
ul li {
  list-style-type: square;
  margin-bottom: 0.4em;
  font-size: 1rem;
}

/* --- TEXT SECTIONS / ABOUT & INFO --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.06rem;
}
.text-section h3 {
  margin-top: 8px;
  margin-bottom: 2px;
  color: var(--retro-brown);
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.02em;
}
.text-section ul {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
.text-section li {
  list-style: disc;
}

/* --- ICONS INLINE --- */
.text-section img, .footer-contact img, .feature-grid img, ul li img {
  display: inline;
  vertical-align: middle;
  margin-right: 8px;
  width: 23px;
  height: 23px;
  filter: sepia(0.18) hue-rotate(-12deg);
}

/* --- CARD --- */
.card {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1px 9px #89846C22;
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
section, .card, .cta, .footer-navigation a, .feature-grid > div, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.15s, background 0.16s, color 0.14s, transform 0.18s;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-grid {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .feature-grid > div, .testimonial-card {
    flex: 1 1 100%;
    min-width: 220px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .content-wrapper, .feature-grid, .testimonial-grid, .footer-navigation, .footer-contact, .footer-social, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .testimonial-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 5vw;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 500px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .section {
    padding: 16px 2vw;
  }
  .cta.primary {
    font-size: 1.05rem;
    padding: 0.7em 1.2em;
  }
  .feature-grid > div, .testimonial-card, .card {
    padding: 15px 8px;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw !important;
  background: #183153;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  z-index: 401;
  box-shadow: 0 -2px 20px #18315355;
  font-size: 1.04rem;
}
.cookie-banner span, .cookie-banner p {
  flex: 1 1 200px;
  min-width: 140px;
}
.cookie-banner button {
  margin: 0 8px 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.98rem;
  border: 0;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.15s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 6px #F2B70585;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: var(--retro-orange);
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-settings-btn {
  background: #F5F7FA;
  color: var(--primary);
  border: 1.5px dashed var(--secondary);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
}

@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: 0.99rem;
    padding: 20px 5vw 16px 5vw;
  }
  .cookie-banner button {
    margin-bottom: 8px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #000c;
  z-index: 402;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn 0.33s cubic-bezier(.6,0,.4,1);
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-inner {
  min-width: 300px;
  background: #fffbe7;
  border-radius: 18px;
  padding: 38px 34px 28px 34px;
  box-shadow: 0 5px 60px #18315344, 0 1px 4px #C76E3124;
  color: var(--primary);
  max-width: 95vw;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
}
.cookie-modal-inner h2 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-categories {
  margin-bottom: 24px;
}
.cookie-categories label {
  display: flex;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  margin-bottom: 12px;
  gap: 13px;
  cursor: pointer;
}
.cookie-categories input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 17px; height: 17px;
}
.cookie-modal-inner .close-modal {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 100px;
  padding: 0 18px;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial;
  font-weight: bold;
  border: none;
  box-shadow: 0 2px 10px #F2B70533;
}
.cookie-modal-inner .close-modal:hover, .cookie-modal-inner .close-modal:focus {
  background: var(--retro-orange);
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 9px 20px;
  font-size: 1.06rem;
  border: 0;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
  box-shadow: 0 1px 10px #F2B70555;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--retro-orange);
  color: #fff;
  outline: none;
}

@media (max-width: 500px) {
  .cookie-modal-inner {
    padding: 18px 7vw 14px 7vw;
    min-width: unset;
  }
}

/* ---------------------------
   UTILITIES & MISC HELPERS
---------------------------- */
.hide {
  display: none!important;
}
.d-flex {
  display: flex!important;
}
.flex-column {
  flex-direction: column!important;
}
.flex-row {
  flex-direction: row!important;
}
.align-center {
  align-items: center!important;
}
.justify-center {
  justify-content: center!important;
}

/* --- FORMS (Kontakt) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 7px 10px;
  border: 1.5px solid #89846C;
  border-radius: 7px;
  background: #FAEEE0;
  margin-bottom: 15px;
  font-size: 1rem;
  transition: border 0.14s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--secondary);
  outline: none;
  box-shadow: 0 2px 8px #F2B70533;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  letter-spacing: 0.01em;
}

/* --- THANK-YOU / INFO TEXT --- */
@media (max-width: 600px) {
  .thank-you-section, .text-section {
    padding: 0 4vw;
  }
}

/* --- ACCESSIBILITY HIGHLIGHTS --- */
:focus-visible {
  outline: 2px dashed var(--retro-orange) !important;
  outline-offset: 2px;
}

/* --- VINTAGE PATTERNS & DECORATIONS --- */
.section::before {
  content: '';
  display: block;
  position: absolute;
  width: 90px;
  height: 18px;
  left: 20px; top: 18px;
  background: repeating-linear-gradient(90deg, #F2B705 0 9px, #FAEEE0 9px 18px);
  opacity: 0.22;
  border-radius: 8px;
  z-index: 0;
}
.section:nth-child(even)::before {
  left: auto; right: 20px;
  transform: scaleX(-1);
}

/* --- PRINT UTILITY --- */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  main, section, .container, .content-wrapper {
    padding: 0!important;
    margin: 0!important;
    box-shadow: none!important;
    background: #fff!important;
  }
}
