/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F7EB;
  color: #202a36;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
a {
  color: #26547C;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #FF6B35;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
  font-weight: bold;
}


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

h1, h2, h3, h4, h5, h6 {
  color: #26547C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, .text-section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #202a36;
  font-size: 1rem;
  margin-bottom: 16px;
}
.text-section {
  margin-bottom: 24px;
}
.legal h1, .legal h2, .legal h3 {
  color: #B54816;
}


/* BRAND BUTTONS -------------------------------------------------------- */
.btn-primary {
  display: inline-block;
  min-width: 180px;
  padding: 14px 32px;
  background: #FF6B35;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 38px;
  box-shadow: 0 4px 16px rgba(38,84,124,0.10);
  letter-spacing: 0.04em;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B54816;
  color: #fff;
  box-shadow: 0 6px 24px rgba(38,84,124,0.14);
  transform: translateY(-3px) scale(1.04);
}


/* LAYOUT CONTAINER ---------------------------------------------------- */
.container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SPACING SECTIONS, PATTERNS, FLEX ------------------------------------ */
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(38,84,124,0.10);
  border-left: 6px solid #FF6B35;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(181,72,22,0.10);
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #26547C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS ------------------------------------------------------- */
.hero {
  background: #26547C;
  color: #fff;
  padding: 64px 0 48px 0;
  margin-bottom: 48px;
}
.hero .container {
  padding-top: 0;
  padding-bottom: 0;
}
.hero h1, .hero h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
}
.hero p {
  color: #F6F7EB;
  font-size: 1.25rem;
}
.hero .btn-primary {
  background: #FF6B35;
}
.hero .btn-primary:hover {
  background: #B54816;
}

/* FEATURES & CARDS ---------------------------------------------------- */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 2px 10px rgba(38,84,124,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  border-left: 4px solid #26547C;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 900;
}
.feature p {
  color: #202a36; font-size: 1rem;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 24px rgba(255,107,53,0.09);
  border-left: 4px solid #FF6B35;
}

/* OFFER CARDS (reiseangebote) ---------------------------------------- */
.offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.offer-card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 2px 12px rgba(38,84,124,0.07);
  border-bottom: 6px solid #FF6B35;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.2s, border-bottom 0.2s;
}
.offer-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #26547C;
  font-weight: 800;
}
.offer-card .category {
  margin-top: auto;
  padding: 4px 14px;
  font-size: 0.92rem;
  background: #FF6B35;
  color: #fff;
  border-radius: 16px;
  font-weight: 700;
  display: inline-block;
}
.offer-card:hover {
  box-shadow: 0 8px 32px rgba(255,107,53,0.10);
  border-bottom: 6px solid #26547C;
}


/* BLOG STYLES -------------------------------------------------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 18px 14px 18px;
  box-shadow: 0 2px 10px rgba(38,84,124,0.08);
  display: flex;
  flex-direction: column;
  min-width: 200px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  border-right: 6px solid #B54816;
  transition: box-shadow 0.2s, border-right 0.2s;
}
.category-tag {
  display: inline-block;
  background: #B54816;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 3px 15px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  margin-right: 8px;
}
.blog-post h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 900;
  color: #26547C;
}
.readmore {
  align-self: flex-end;
  font-weight: 700;
  color: #FF6B35;
  border-bottom: 1.5px solid #FF6B35;
  margin-top: 8px;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-bottom 0.2s;
}
.readmore:hover {
  color: #B54816;
  border-bottom: 1.5px solid #B54816;
}

.featured-article {
  background: #F6F7EB;
  border-left: 5px solid #B54816;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 18px;
  font-size: 1rem;
}

/* CATEGORY FILTERS --------------------------------------------------- */
.category-filter, .category-tags {
  margin-top: 16px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #26547C;
}
.category-filter span,
.category-tags span {
  margin: 0 7px;
  display: inline-block;
  padding: 2px 9px;
  background: #FF6B35;
  color: #fff;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.category-filter strong,
.category-tags strong {
  color: #B54816;
  font-weight: 700;
}

/* TIMELINE & LISTS --------------------------------------------------- */
.text-section ul,
.stat-highlights ul,
.stat-boost ul,
.client-benefits ul {
  margin-left: 0;
  padding-left: 1.15em;
}
.stat-highlights ul,
.stat-boost ul {
  margin-bottom: 0;
  color: #26547C;
  font-size: 1.07rem;
  font-weight: bold;
}
.stat-highlights li,
.stat-boost li {
  margin-bottom: 6px;
  padding-left: 0.6em;
  position: relative;
}
.stat-highlights li:before, .stat-boost li:before {
  content: '\2022';
  color: #B54816;
  font-size: 1.2em;
  position: absolute;
  left: -0.9em;
  top: 0.1em;
}


/* STEPS, NUMBERED ----------------------------------------------------- */
.beratung-steps, .how-it-works ol {
  margin-left: 0;
  padding-left: 24px;
  font-size: 1.08em;
  color: #26547C;
}
.beratung-steps li, .how-it-works ol li {
  margin-bottom: 12px;
  font-weight: 500;
}

/* FLEXBOX UTILS (PATTERNS ENFORCED) ----------------------------------- */
.use-cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 18px;
}
.use-cases-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 2px 10px rgba(38,84,124,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 320px;
}

/* CONTENT FORMS & MAP EMBEDS ------------------------------------------ */
.map-embed {
  background: #F6F7EB;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(38,84,124,0.04);
  max-width: 370px;
  margin-top: 10px;
}

.team-svg-placeholder {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 2px 12px rgba(38,84,124,0.08);
  padding: 34px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 16px 0;
}

/* HEADER & NAVIGATION ------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(38,84,124,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  width: 180px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #26547C;
  font-size: 1.03rem;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F7EB;
  color: #FF6B35;
}

/* MOBILE MENU --------------------------------------------------------- */
.mobile-menu-toggle {
  background: #FF6B35;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 1001;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B54816;
  color: #fff;
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #26547C;
  box-shadow: -2px 0 24px rgba(38,84,124,0.10);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.76,0,.24,1);
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  cursor: pointer;
  transition: color 0.22s, transform 0.19s;
  z-index: 1005;
}
.mobile-menu-close:hover {
  color: #FF6B35;
  transform: scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  padding: 11px 20px;
  width: 100%;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FF6B35;
  color: #fff;
}

/* Hide nav on mobile; show hamburger */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hide hamburger and mobile menu on desktop */
@media (min-width: 1081px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* Animate mobile menu overlay behind other content */
.mobile-menu {
  will-change: transform;
  box-shadow: -2px 0 40px rgba(38,84,124,0.11);
}

/* FOOTER -------------------------------------------------------------- */
footer {
  background: #26547C;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover {
  color: #FF6B35;
  opacity: 1;
}
.contact-footer {
  color: #F6F7EB;
  font-size: 0.97rem;
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* COOKIE BANNER ------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #202a36;
  box-shadow: 0 -2px 24px rgba(38,84,124,0.10);
  z-index: 2222;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 32px 20px 24px;
  min-height: 64px;
  transition: transform 0.33s cubic-bezier(.58,0,.27,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 220px;
  font-size: 1rem;
  color: #2a3550;
  margin-bottom: 0;
  padding-right: 12px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 24px;
  margin-left: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cookie-banner .accept {
  background: #FF6B35;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #B54816;
}
.cookie-banner .reject {
  background: #26547C;
  color: #fff;
}
.cookie-banner .reject:hover {
  background: #FF6B35;
}
.cookie-banner .settings {
  background: #fff;
  color: #26547C;
  border: 2px solid #FF6B35;
}
.cookie-banner .settings:hover {
  background: #FF6B35;
  color: #fff;
}

/* COOKIE MODAL -------------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0; top:0;
  z-index: 2224;
  background: rgba(38,84,124,0.23);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.21s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 46px rgba(38,84,124,0.17);
  padding: 38px 40px 30px 38px;
  max-width: 380px;
  width: 94%;
  color: #202a36;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.27rem;
  color: #26547C;
  margin-bottom: 6px;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.cookie-toggle {
  width: 36px; height: 20px;
  background: #F6F7EB;
  border-radius: 12px;
  border: 1.5px solid #26547C;
  position: relative;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #FF6B35;
  border-radius: 50%;
  display: block;
  transition: left 0.16s;
}
.cookie-toggle input:checked + span {
  left: 16px;
  background: #26547C;
}
.cookie-modal-btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #B54816;
  font-size: 1.7rem;
  position: absolute;
  right: 12px; top: 11px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover {
  color: #FF6B35;
}


/* RESPONSIVE DESIGN (MOBILE FIRST) ------------------------------------ */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 40px 0 28px 0;
  }
  .feature-grid, .feature-list, .offer-cards, .blog-list {
    gap: 18px;
  }
  .footer-nav{
    gap: 16px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero h1, .hero h2 {
    font-size: 1.5rem;
  }
  h1 { font-size: 1.40rem; }
  h2 { font-size: 1.16rem; }
  .section,
  .legal .container {
    padding: 24px 8px 32px 8px;
    margin-bottom: 34px;
  }
  .feature-grid, .feature-list, .offer-cards, .blog-list, .use-cases-grid {
    flex-direction: column;
    gap: 11px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .team-svg-placeholder, .map-embed {
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .offer-card, .feature, .blog-post, .use-cases-grid > div {
    max-width: 98vw;
    min-width: 0;
  }
  .footer-nav{
    gap: 13px;
    flex-wrap: wrap;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 11px 18px 13px;
  }
  .cookie-banner .cookie-btn {
    margin-left: 0;
    min-width: 70px;  
    margin-bottom: 4px;
    padding: 8px 7px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 4px;
  }
  .footer-nav, .contact-footer {
    align-items: flex-start;
  }
}

/* FORCED FLEXBOX ONLY ON ALL LAYOUTS ---------------------------------- */
#features .feature-grid, #beratung-vorteile .feature-grid,
.feature-list, .offer-cards, .blog-list, .testimonial-slider,
.content-grid, .card-container, .use-cases-grid, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.content-wrapper, .main > .container > .content-wrapper, .section > .container > .content-wrapper, .legal .container > .content-wrapper {
  display: flex;
  flex-direction: column;
}

/* ENSURE TESTIMONIAL CONTRAST ----------------------------------------- */
.testimonial-card, .testimonial-card p, .testimonial-info {
  background: #fff;
  color: #202a36 !important;
}

/* MICRO-INTERACTIONS/TRANSITIONS -------------------------------------- */
.btn-primary, .cookie-btn, .feature, .offer-card, .blog-post {
  transition: box-shadow 0.18s, background 0.25s, color 0.23s, border-left 0.15s, border-right 0.15s, border-bottom 0.15s, transform 0.15s;
}
.feature:hover, .offer-card:hover, .blog-post:hover {
  box-shadow: 0 8px 32px rgba(38,84,124,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* Z-INDEX LAYERING, NO OVERLAPS -------------------------------------- */
header { z-index: 100; }
.mobile-menu { z-index: 1002; }
footer { z-index: 10; }
.cookie-banner, .cookie-modal-overlay { z-index: 2222; }

/* ENSURE ALL CARDS/SECTIONS SPACED ----------------------------------- */
.card, .feature, .offer-card, .blog-post, .testimonial-card {
  margin-bottom: 20px;
}
.section, .hero, .cta {
  margin-bottom: 60px;
  padding-bottom: 40px;
}
/* END --------------------------------------------------------------- */
