/* CSS 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,
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; }
body { line-height: 1.5; background: #f6f7f9; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
  box-shadow: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

:root {
  --color-bg: #f6f7f9;
  --color-bg-dark: #181a1b;
  --color-primary: #1A5276;
  --color-secondary: #F1C40F;
  --color-accent: #fff;
  --gray-900: #181a1b;
  --gray-800: #232325;
  --gray-700: #333;
  --gray-600: #444;
  --gray-500: #6c6c70;
  --gray-400: #b0b3b7;
  --gray-200: #e8eaec;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 16px;
  --transition: 0.22s cubic-bezier(.43,.13,.23,1);
  --container-max: 1290px;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: var(--gray-900);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; letter-spacing: -0.5px; }
h2 { font-size: 1.75rem; letter-spacing: -0.2px; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, li {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 1.2em;
  letter-spacing: 0.05px;
}
strong {
  color: var(--gray-900);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.content-wrapper {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER BRAND NAV */
header {
  background: var(--color-bg-dark);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  min-height: 70px;
}
.logo img { height: 42px; width: auto; transition: filter var(--transition); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: #f8f8f8;
  padding: 5px 8px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:focus {
  background: var(--gray-800);
  color: var(--color-secondary);
}

.cta-primary {
  background: var(--color-secondary);
  color: var(--color-bg-dark)!important;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(28,28,32,0.05);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: 0;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--gray-900);
  color: var(--color-secondary)!important;
  box-shadow: var(--shadow-md);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 2rem;
  margin-left: 20px;
  cursor: pointer;
  display: none;
  transition: color var(--transition);
  z-index: 22;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,27,32, 0.97);
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  position: absolute;
  top: 28px; right: 32px;
  z-index: 100;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  background: var(--gray-900);
  min-width: 280px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 60px 20px 30px 38px;
  box-shadow: var(--shadow-md);
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 17px 0 17px 0;
  border-bottom: 1px solid var(--gray-700);
  transition: color var(--transition), background var(--transition);
  border-radius: 0 8px 8px 0;
  margin-bottom: 0px;
  margin-right: 0px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--gray-800);
}

@media (max-width: 998px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO SECTION */
.hero {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 52px 0 52px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: var(--gray-900);
  font-size: 2.3rem;
}
.hero p {
  color: var(--gray-600);
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

/* FEATURES FLEX GRID */
.features {
  background: var(--color-accent);
  border-radius: var(--radius-md);
}
.features .content-wrapper {
  gap: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  margin-top: 20px;
}
.feature-grid > div {
  background: #f9fafb;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1 1 220px;
  padding: 28px 20px 20px 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 8px 40px rgba(30,30,40,.08);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  font-weight: 600;
  margin-bottom: 0.5em;
}
.feature-grid p { margin: 0; color: var(--gray-600); font-size: 1rem; }
.feature-grid img { width: 36px; height: 36px; margin-bottom: 6px; filter: grayscale(100%) contrast(1.15); }

/* GENERIC FLEX CARD CONTAINER */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary);  }

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

/* TEXT-IMAGE SECTION FLEX */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* TESTIMONIALS */
.testimonials {
  background: #f6f6f7;
  border-radius: var(--radius-md);
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  box-shadow: 0 3px 22px rgba(24,24,28,0.06), 0 1.5px 7px rgba(0,0,0,0.04);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  font-size: 1.15rem;
  color: var(--gray-900);
  transition: box-shadow var(--transition), border var(--transition);
}
.testimonial-card p:first-child {
  font-style: italic;
  color: var(--gray-900);
  margin-bottom: 0.4em;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }

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

/* SERVICES / LISTS */
.services ul,
.features ul,
.about ul,
.contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services ul li,
.features ul li,
.about ul li,
.contact ul li {
  padding-left: 0;
  color: var(--gray-800);
  font-size: 1rem;
}
.services ul li strong,
.about ul li strong { color: var(--gray-900); }

/* CTA SECTION */
.cta {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  margin-bottom: 60px;
  padding: 45px 0 40px 0;
  box-shadow: 0 2px 24px rgba(26,82,118,.09);
  text-align: center;
}
.cta h2 { color: var(--color-accent); margin-bottom: 10px; font-size: 2rem; }
.cta p { color: #e8eaec; font-size: 1.13rem; margin-bottom: 24px; }
.cta .cta-primary {
  background: var(--color-secondary);
  color: var(--color-primary)!important;
  font-size: 1.12rem;
  padding: 13px 28px;
  font-weight: 700;
}
.cta .cta-primary:hover, .cta .cta-primary:focus { background: #fff; color: var(--color-primary)!important; }


/* ABOUT / CONTACT / OTHER STATIC SECTIONS */
.about {
  background: #fff;
  border-radius: var(--radius-md);
}
.contact {
  background: #f9fafb;
  border-radius: var(--radius-md);
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact ul img {
  width: 22px;
  height: 22px;
  filter: grayscale(100%) opacity(0.85);
}

/* FOOTER */
footer {
  background: var(--color-bg-dark);
  color: var(--color-accent);
  padding: 40px 0 26px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 18px;
  filter: grayscale(0.08) brightness(120%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 0.97rem;
  opacity: 0.86;
  padding: 2px 0;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: var(--gray-900);
}
.footer-contact p {
  color: #e8eaec;
  margin-bottom: 6px;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px; height: 18px;
  margin-right: 2px;
  filter: grayscale(100%) brightness(120%);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232325;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 20px 22px 20px;
  box-shadow: 0 -4px 38px rgba(20,21,22,0.15);
  z-index: 1200;
  font-size: 1rem;
  transition: transform .4s cubic-bezier(.83,-0.08,.67,1), opacity .28s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 7px 22px;
  margin: 0;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-right: 2px;
  box-shadow: 0 1.5px 6px rgba(0,0,0,0.06);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn-reject {
  background: var(--gray-700);
  color: var(--color-accent);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #181a1b;
  color: var(--color-secondary);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--gray-400);
  padding: 7px 20px;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--gray-700);
  border-color: var(--color-secondary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18,20,25,0.76);
  z-index: 1310;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  animation: fadeIn .25s;
}
.cookie-modal-overlay.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 50px rgba(24,28,42,.13);
  padding: 36px 30px 28px 30px;
  max-width: 410px; min-width: 260px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transform: translateY(0);
  animation: modalIn .29s cubic-bezier(.6,.32,.49,1.16);
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes modalIn { from{transform: translateY(60px);} to{transform: translateY(0);} }
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.9rem;
  color: var(--gray-900);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}
.cookie-modal .modal-close:hover { color: var(--color-secondary); }
.cookie-modal h3 {
  font-size: 1.27rem;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 11px 0;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 1.04rem;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 38px; height: 22px;
  border-radius: 13px;
  background: var(--gray-400);
  outline: none;
  transition: background var(--transition);
  position: relative;
}
.cookie-modal .cookie-switch:checked {
  background: var(--color-primary);
}
.cookie-modal .cookie-switch::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px; top: 3px;
  transition: transform var(--transition);
}
.cookie-modal .cookie-switch:checked::before {
  transform: translateX(16px);
}
.cookie-modal .category-essential { color: var(--gray-600); font-size: .99rem; }
.cookie-modal .cookie-modal-buttons {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-buttons button {
  padding: 7px 21px;
}
.cookie-modal .cookie-btn-save {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
}
.cookie-modal .cookie-btn-save:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .cookie-btn-cancel {
  background: var(--gray-800);
  color: #fff;
}
.cookie-modal .cookie-btn-cancel:hover {
  background: var(--gray-600);
  color: var(--color-secondary);
}

/* UTILITY CLASSES, SPACING, FLEX, ETC */
.mb-8 {margin-bottom: 8px !important;}
.mb-16 {margin-bottom: 16px !important;}
.mb-24 {margin-bottom: 24px !important;}
.mb-32 {margin-bottom: 32px !important;}
.mb-40 {margin-bottom: 40px !important;}
.mb-60 {margin-bottom: 60px !important;}
.mt-24 {margin-top: 24px !important;}
.mt-32 {margin-top: 32px !important;}
.pt-20 {padding-top: 20px !important;}
.pb-20 {padding-bottom: 20px !important;}
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }

/* ------ RESPONSIVE ADAPTIVE STYLES ------ */
@media (max-width: 1150px) {
  .footer-contact { min-width: 100%; }
  .section, .about, .features, .contact, .cta {
    margin-bottom: 38px;
    padding: 30px 7px;
  }
  .content-wrapper { max-width: 97vw; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
  .card-container { gap: 14px; }
}
@media (max-width: 768px) {
  .container, .content-wrapper { padding-left: 7px; padding-right: 7px; }
  .section, .about, .features, .contact, .cta {
    margin-bottom: 32px;
    padding: 22px 4px;
    border-radius: 10px;
  }
  .footer-brand img { height: 28px; }
  .footer-contact p { font-size: .96rem; }
  .footer-nav a { font-size: 0.96rem; }
  .features .content-wrapper > h2, .cta h2 { font-size: 1.4rem; }
  .hero { padding: 32px 0; }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
    padding: 18px 12px;
  }
  .content-grid, .card-container { flex-direction: column; gap: 10px; }
  .testimonial-card { flex-direction: column; gap: 8px; padding: 16px 12px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .header .container { padding: 11px 9px; }
  .cookie-banner { flex-direction: column; gap: 15px; padding: 15px 6px 14px 6px; font-size: 0.95rem; }
  .cookie-modal { padding: 22px 6px 16px 6px; max-width: 94vw; }
  .cta .cta-primary { width: 100%; font-size: 1.0rem; padding: 11px 0; }
}
@media (max-width: 500px) {
  .footer-contact p { font-size: .89rem; }
}

/* FLEX DIRECTION FOR TEXT-IMAGE SECTIONS ON MOBILE */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ACCESSIBILITY FOCUS STYLE */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* SCROLLBAR (webkit) */
body::-webkit-scrollbar { width: 10px; background: var(--gray-200); }
body::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }

/* SUBTLE BUTTON & CARD ANIMATIONS */
button, .cta-primary{
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border var(--transition), transform var(--transition);
}
.card, .testimonial-card {
  transition: box-shadow var(--transition), border var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* PRINT STYLES */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body, main, section, .container {
    background: #fff !important;
    color: #181a1b !important;
  }
}

/* MONOCHROME AESTHETIC EXTRAS */
.section, .about, .features, .card, .testimonial-card, .contact {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero, .cta, footer, .about, .contact, .features {
  /* no gradients, just strong contrasts */
  background: #fff;
}

/* Dramatic contrast for section titles */
h1, h2, h3 {
  color: var(--gray-900);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(24,24,28,.035);
}

/* End of ReiseWege Sophisticated Monochrome CSS */