/* ================================================
   SteadyBrick Reisen – Professional Corporate Style
   Modern, structured, blue/gray corporate palette
   Flexbox ONLY – NO CSS Grid anywhere!
   Author: AI Professional CSS/UX Lead
   ================================================ */

/* ========== RESET & BASELINE ========== */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #174149;
  background: #F6F9F8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #174149;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D8A341;
  outline: none;
}
:focus {
  outline: 2px solid #D8A341;
  outline-offset: 2px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #174149;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
.subheadline { font-size: 1.25rem; color: #44626A; margin-bottom: 20px; font-weight: 500; }
strong { font-weight: 600; }
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: #2e4d57;
}
blockquote {
  font-style: italic;
  color: #44626A;
  border-left: 4px solid #D8A341;
  padding-left: 18px;
  margin: 24px 0;
}
.price {
  color: #D8A341;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 4px;
  display: inline-block;
}

/* Typography scale for other screens */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .subheadline { font-size: 1.08rem; }
}

/* ========== LAYOUT CONTAINERS & STRUCTURE ========== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
footer .footer-nav {
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== SPACING & FLEX LAYOUTS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(23,65,73,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F6F9F8;
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 rgba(23,65,73,0.07);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 360px;
}
.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: #EDF3F4;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(23,65,73,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  border-left: 5px solid #D8A341;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F9F8;
  border-radius: 8px;
  padding: 18px 16px;
  margin: 0 0 20px 0;
  box-shadow: 0 1px 5px 0 rgba(23,65,73,0.06);
}

.feature-list{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
  flex-direction: row;
}
.feature-list li {
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0;
}
.feature-list img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  flex-shrink: 0;
}
.services-list,
.tours-list,
.brand-values,
.usp-list,
.faq-list,
.contact-details { /* Multi purpose lists */
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0 0 0;
}
.team-member {
  background: #F6F9F8;
  border-radius: 8px;
  box-shadow: 0 1px 6px 0 rgba(23,65,73,0.05);
  padding: 20px 18px;
  min-width: 250px;
  max-width: 350px;
  flex: 1 1 250px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  padding: 12px 0 0 0;
}
.green-partners {
  display: flex;
  gap: 25px;
  margin: 16px 0 0 0;
}
/* Step, FAQ, Award, Contact, Legal lists can appear in content-grid or section but always flex */
.step-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1060px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  .main-nav,
  .footer-nav {
    gap: 14px;
    font-size: .99rem;
  }
  .feature-list,
  .team-list,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(23,65,73,0.07);
  margin-bottom: 0;
  z-index: 1001;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 24px;
}
header img[alt="SteadyBrick Reisen"] {
  height: 48px;
  margin-right: 8px;
}
.main-nav {
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.main-nav .primary-cta {
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #174149;
  padding: 6px 0;
  border-radius: 3px;
  position: relative;
  transition: color 0.15s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D8A341;
  background: #F6F9F8;
}
.main-nav .primary-cta, .cta-button {
  background: #174149;
  color: #fff;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 1.07rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px 0 rgba(23,65,73,0.09);
  border: none;
  outline: none;
  transition: background 0.22s, color 0.15s, box-shadow 0.17s;
  cursor: pointer;
  display: inline-block;
}
.main-nav .primary-cta:hover, .main-nav .primary-cta:focus, .cta-button:hover, .cta-button:focus {
  background: #D8A341;
  color: #174149;
  box-shadow: 0 8px 28px 0 rgba(216,163,65,0.08);
}
.cta-secondary {
  display: inline-block;
  background: none;
  color: #174149;
  border: 2px solid #174149;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 1.05rem;
  font-weight: 500;
  margin-left: 16px;
  letter-spacing: 0.02em;
  transition: background .2s, color .15s, border .16s, box-shadow 0.16s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #174149;
  color: #fff;
}

/* Hide mobile burger on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: #D8A341;
  color: #174149;
  border: none;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 1.7rem;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s;
  box-shadow: 0 1px 4px 0 rgba(23,65,73,0.12);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #174149;
  color: #fff;
}

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

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,65,73,0.97);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.22, .78, .39, 1.14);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.42s cubic-bezier(.22, .78, .39, 1.14), opacity 0.15s;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 18px 22px 6px 12px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D8A341;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 34px 0 0 32px;
  width: 80%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0.01em;
  padding: 10px 0 10px 4px;
  border-radius: 5px;
  transition: background 0.19s, color 0.17s;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D8A341;
  color: #174149;
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(120deg, #F6F9F8 73%, #EDF3F4 100%);
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}
.hero .content-wrapper {
  max-width: 660px;
  align-items: flex-start;
}
.hero h1 {
  color: #174149;
  margin-bottom: 14px;
}
.hero .cta-button {
  margin-top: 26px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 24px 0;
    margin-bottom: 35px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    align-items: stretch;
  }
}

/* ========== FEATURES/USPS ========== */
.features .feature-list,
.usp-section .usp-list {
  gap: 20px;
  flex-direction: row;
}
@media (max-width: 900px) {
  .features .feature-list, .usp-section .usp-list {
    flex-direction: column;
    gap: 16px;
  }
}
.features, .usp-section {
  background: #F6F9F8;
  border-radius: 16px;
  padding: 40px 0;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px 0 rgba(23,65,73,0.07);
}

/* ========== SERVICES / OFFERINGS ========== */
.services-list {
  gap: 22px;
}
.services-list li, .tours-list li {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 6px 0 rgba(23,65,73,0.06);
  padding: 19px 21px 16px 21px;
  color: #174149;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.services-list li h3 {
  font-size: 1.18rem;
}
.services-list .price {
  align-self: flex-end;
  margin-top: 7px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #fff;
  border-radius: 16px;
  padding: 46px 0;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  background: #EDF3F4;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(23,65,73,0.07);
  margin-bottom: 20px;
  padding: 20px 24px 16px 18px;
  border-left: 5px solid #D8A341;
  color: #174149;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  max-width: 520px;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card .client {
  color: #174149;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card .stars {
  color: #D8A341;
  font-size: 1.12rem;
  font-weight: 700;
}

/* High contrast for testimonial text -- always dark on light for readability */
.testimonial-card p, .testimonial-card .client, .testimonial-card .stars {
  color: #174149;
}

/* ========== BUTTONS & INTERACTIVES ========== */
button, .cta-button, .cta-secondary {
  transition: background 0.22s, box-shadow 0.18s, color 0.16s, border 0.17s;
}
button {
  font-family: inherit;
}

/* ========== ABOUT/TEAM ========== */
.about-details .brand-values {
  gap: 9px;
  margin-bottom: 14px;
}
.team-section {
  background: #F6F9F8;
  border-radius: 11px;
  padding: 36px 0 28px 0;
  margin-bottom: 44px;
}

/* ========== FAQ ========== */
.faq-list li {
  background: #EDF3F4;
  border-radius: 7px;
  padding: 13px 14px;
  margin-bottom: 7px;
}

/* ========== LEGAL, PRIVACY & POLICY PAGES ========== */
.legal {
  background: #fff;
  padding: 38px 0 34px 0;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(23,65,73,0.06);
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 15px;
}
.legal ul { margin-bottom: 12px; }

/* ========== FOOTER ========== */
footer {
  background: #174149;
  color: #fff;
  padding: 38px 0 16px 0;
  margin: 100px 0 0 0;
}
footer .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer .footer-nav a {
  color: #D8A341;
  font-size: 1.04rem;
  transition: color 0.15s, text-decoration 0.15s;
  margin-right: 3px;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .social-links img {
  width: 32px;
  height: 32px;
  filter: grayscale(80%) brightness(112%);
  opacity: 0.84;
  cursor: pointer;
  transition: filter 0.18s, opacity 0.18s;
}
footer .social-links img:hover {
  opacity: 1;
  filter: none;
}
footer p {
  font-size: 0.97rem;
  margin-top: 12px;
  opacity: 0.8;
  color: #F6F9F8;
}
@media (max-width: 768px) {
  footer {
    padding: 28px 0 14px 0;
  }
}

/* ========== CTA & PREVIEW SECTIONS ========== */
.about-preview, .contact-preview, .cta-advice, .cta-return {
  background: #EDF3F4;
  border-radius: 10px;
  padding: 36px 0;
  margin-bottom: 60px;
}
.about-preview blockquote {
  color: #174149;
  font-style: italic;
  font-weight: 600;
  background: transparent;
  border-left: 5px solid #D8A341;
}
.contact-preview ul {
  margin-top: 10px;
  margin-bottom: 18px;
  gap: 6px;
}
.cta-return .cta-button,
.cta-return .cta-secondary {
  margin-right: 9px;
  margin-bottom: 6px;
}

/* ========== TABLES (for possible use) ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #F6F9F8;
  border-radius: 8px;
  margin-bottom: 20px;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #E5E5E5;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #EDF3F4;
  color: #174149;
  font-weight: 600;
}

/* ========== BUSINESS HOURS/CONTACT/REQUEST PROCESS ========== */
.business-hours, .support-info {
  font-size: 0.98rem;
  color: #44626A;
  margin-top: 14px;
  background: #F6F9F8;
  border-radius: 5px;
  padding: 7px 13px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #174149;
  border-top: 3px solid #D8A341;
  box-shadow: 0 -2px 22px 0 rgba(23,65,73,.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 23px 6vw 14px 6vw;
  z-index: 3002;
  gap: 20px;
  font-size: 1rem;
  animation: cookieIn 0.7s cubic-bezier(.22,.78,.39,1.14);
}
@keyframes cookieIn {
  0% { transform: translateY(100%); opacity: 0; }
  80% { opacity: .95; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-left: 20px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  padding: 10px 17px;
  margin: 0;
  transition: background 0.16s, color 0.17s, box-shadow .16s;
}
.cookie-btn.accept {
  background: #174149;
  color: #fff;
  font-weight: 600;
}
.cookie-btn.reject {
  background: transparent;
  color: #174149;
  border: 2px solid #174149;
  font-weight: 500;
}
.cookie-settings-btn {
  background: #D8A341;
  color: #174149;
  font-weight: 600;
}
.cookie-btn.accept:hover, .cookie-settings-btn:hover {
  background: #154340;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #F6F9F8;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 17px 2vw 11px 2vw;
    font-size: .98rem;
  }
  .cookie-actions {
    margin-left: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,65,73,.66);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #174149;
  padding: 34px 30px 32px 30px;
  border-radius: 18px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 8px 44px 0 rgba(23,65,73,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalIn 0.48s cubic-bezier(.22,.78,.39,1.14);
}
@keyframes modalIn {
  0% { transform: scale(.96) translateY(80px); opacity: 0; }
  80% { opacity: .95; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.38rem;
  margin-bottom: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 22px;
  background: none;
  border: none;
  color: #D8A341;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 11;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #174149;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.05rem;
  background: #F6F9F8;
  border-radius: 8px;
  padding: 11px 13px 11px 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #D8A341;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-category.essential input {
  accent-color: #D8A341;
}
.cookie-category.essential label {
  opacity: 0.7;
}
.cookie-modal .cookie-actions {
  align-self: flex-end;
  margin-top: 14px;
}

/* For visual affordance */
.cookie-category.essential label:after {
  content: ' (immer aktiviert)';
  color: #174149;
  font-size: 0.97em;
  font-weight: 500;
  opacity: 0.6;
}

@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 18px 7vw 17px 7vw;
    min-width: 0;
  }
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.card, .team-member, .testimonial-card, .feature-item, .section, .about-preview, .contact-preview, .cta-advice, .cta-return, .faq-list li, .services-list li {
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover, .team-member:hover, .testimonial-card:hover, .services-list li:hover, .faq-list li:hover {
  box-shadow: 0 6px 18px 0 rgba(23,65,73,0.11);
  transform: translateY(-4px) scale(1.013);
}

/* ========== MISC & OVERRIDES ========== */
::-webkit-input-placeholder { color: #9ba0a3; opacity: 1; }
::-moz-placeholder { color: #9ba0a3; opacity: 1; }
:-ms-input-placeholder { color: #9ba0a3; opacity: 1; }
::placeholder { color: #9ba0a3; opacity: 1; }

hr { border: none; border-top: 1px solid #E1E5E7; margin: 28px 0; }

/* Hide outline on mouse but keep for keyboard navigation */
:focus:not(.focus-visible) {
  outline: none;
}

/* ========== FORMS (for future usage) ========== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 13px;
  border: 1.5px solid #dbe2e4;
  border-radius: 6px;
  background: #fff;
  resize: vertical;
  color: #174149;
  margin-bottom: 12px;
  transition: border-color 0.17s, box-shadow 0.1s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D8A341;
  box-shadow: 0 2px 11px 0 rgba(216,163,65,0.09);
  outline: none;
}

/* ========== PRINT OVERRIDE ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
