/* === 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,
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;
  background: transparent;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  background: #fff;
  color: #18181a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.66;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.25em;
}
li + li {
  margin-top: 0.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}
a {
  color: #25415c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #111;
  text-decoration: underline;
}

::-webkit-scrollbar {
  width: 10px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #b1b1b1;
  border-radius: 6px;
}


/* === BRAND CSS VARIABLES: monochrome_sophisticated === */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f4f5f7;
  --color-fg: #18181a;
  --color-fg-light: #30313a;
  --color-card-bg: #fcfcfc;
  --color-card-border: #dedede;
  --color-border-strong: #b1b1b1;
  --color-primary: #25415c;
  --color-secondary: #b1b1b1;
  --color-accent: #ffda91;
  --color-shadow: rgba(32,36,39,0.08);
  --color-btn-bg: #18181a;
  --color-btn-fg: #fff;
  --color-btn-hover: #fff;
  --color-btn-hover-bg: #25415c;
  --radius-small: 6px;
  --radius: 14px;
  --radius-round: 100px;
  --shadow-card: 0 4px 14px 0 var(--color-shadow);
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
  --transition: 0.23s cubic-bezier(.4, 0, .2, 1);
}


/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #18181a;
  margin-bottom: 0.5em;
  letter-spacing: -0.03em;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.12;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
.subheadline {
  font-size: 1.125rem;
  color: var(--color-fg-light);
  line-height: 1.36;
  margin-bottom: 30px;
  letter-spacing: 0.01em;
  max-width: 550px;
}
p {
  color: #252525;
  font-size: 1.03rem;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}

.text-section h2 {
  margin-bottom: 0.5rem;
}

.text-section p, .text-section ul {
  color: var(--color-fg-light);
}

.privacy-note {
  color: #79797d;
  font-size: 0.98rem;
  margin-top: 16px;
  font-style: italic;
}

blockquote {
  border-left: 4px solid #111;
  padding-left: 20px;
  margin: 0 0 12px 0;
  color: #111;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  background: none;
}

/* === SHARED SPACING & CONTAINER PATTERNS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: none;
  /* Layout handled in child containers */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-card-border);
  padding: 28px 26px 22px 26px;
  flex: 1 1 290px;
  min-width: 270px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(24,24,26,0.16);
  border-color: var(--color-border-strong);
}

.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;
  background: #fafafc;
  border: 1px solid #e4e4e6;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(20,21,23,0.07);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 500px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTIONS === */
.hero {
  background: #fff;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 340px;
  margin-bottom: 0px;
  padding: 0 0 28px 0;
  box-shadow: none;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 650px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .hero { min-height: 180px; }
}
@media (max-width: 768px) {
  .hero .content-wrapper {
    margin-top: 18px;
    align-items: flex-start;
  }
}

/* === NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dedede;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  padding-bottom: 17px;
  gap: 0;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: #252727;
  font-size: 1.05rem;
  position: relative;
  padding: 6px 4px;
  transition: color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
}
.cta.primary {
  background: var(--color-btn-bg);
  color: var(--color-btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 26px;
  border-radius: var(--radius-round);
  border: none;
  text-align: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 14px 0 rgba(24,24,26,0.10);
  margin-left: 16px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-btn-hover-bg);
  color: var(--color-btn-hover);
  box-shadow: 0 6px 30px rgba(24,24,26,0.18);
}
.cta {
  background: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 24px;
  border-radius: var(--radius-round);
  border: 2px solid var(--color-primary);
  box-shadow: none;
  text-align: center;
  font-size: 1.02rem;
  margin-right: 10px;
  transition: background var(--transition), color var(--transition), border var(--transition);
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #18181a;
  padding: 8px 13px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ededed;
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffffee;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.47,0,.29,1.44);
  z-index: 1200;
  box-shadow: 0 2px 32px 0 rgba(16,16,18,0.23);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #111;
  padding: 16px 20px 8px 20px;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 1201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  margin-top: 24px;
  padding: 0 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 600;
  color: #111;
  padding: 13px 0;
  border-bottom: 1px solid #eeeeee;
  width: 100%;
  display: block;
  transition: color var(--transition);
  text-align: left;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-primary);
  background: #f4f5f7;
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
  }
  .cta.primary {
    margin-left: 6px;
    padding: 9px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 10px 16px 10px 16px;
  }
  .main-nav {
    gap: 10px;
  }
  .cta.primary {
    padding: 9px 15px;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    gap: unset;
  }
}

/* === FLEX GRIDS FOR CONTENT CARDS === */

.feature-grid,
.route-grid,
.tip-grid,
.city-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: flex-start;
}
.feature, .tip, .route, .city-list-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 256px;
  min-width: 220px;
  margin-bottom: 20px;
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.feature:hover,
.tip:hover,
.route:hover,
.city-list-item:hover {
  box-shadow: 0 6px 30px 0 rgba(24,24,26,0.16);
  border-color: #adadad;
}
.feature img,
.tip img,
.route img,
.city-list-item img {
  margin-bottom: 20px;
  width: 38px;
  height: 38px;
}
.city-list-item .category-tag {
  display: inline-block;
  font-size: 0.89rem;
  font-weight: 600;
  color: #fff;
  background: #18181a;
  border-radius: var(--radius-small);
  padding: 4px 13px;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #fafafc;
  border: 1px solid #ededf0;
  box-shadow: 0 3px 18px 0 rgba(24,24,26,0.07);
  color: #18181a;
  font-size: 1.05rem;
  margin-bottom: 20px;
  gap: 12px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card blockquote {
  color: #18181a;
  border-left: 4px solid #18181a;
  margin: 0;
  padding-left: 14px;
  font-size: 1.13rem;
  background: none;
}
.testimonial-card span {
  font-size: 1rem;
  color: #666;
  align-self: flex-end;
  font-style: italic;
  margin-left: 18px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(18,20,24,0.13);
  border-color: #bbb;
}

/* === FOOTER === */
footer {
  background: #18181a;
  color: #fff;
  padding: 34px 0 0 0;
}
footer .container {
  flex-direction: column;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 15px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.73;
  position: relative;
  transition: opacity var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1.02rem;
  color: #ececec;
  align-items: center;
}
.contact-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-footer img {
  width: 19px;
  height: 19px;
  opacity: 0.7;
}

.copyright {
  text-align: left;
  font-size: 0.97rem;
  color: #bbbbbb;
  opacity: 0.9;
  padding-bottom: 28px;
}


@media (max-width: 900px) {
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 500px) {
  .footer-nav, .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .copyright {
    text-align: left;
    padding-bottom: 18px;
    font-size: 0.89rem;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #18181a;
  color: #fff;
  font-size: 1.03rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  z-index: 1900;
  padding: 22px 20px 19px 20px;
  animation: cookiebanner-slidein 0.45s 1 cubic-bezier(.41,1.3,.49,1);
  box-shadow: 0 0 24px 0 rgb(40 41 54 / 24%);
  gap: 32px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
@keyframes cookiebanner-slidein {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 320px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-round);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  margin-right: 0px;
  box-shadow: none;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #18181a;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #18181a;
  border: 1.5px solid #252727;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5e5e5;
  color: #111;
}
.cookie-btn.settings {
  background: none;
  color: var(--color-accent);
  text-decoration: underline;
  border: none;
  padding-left: 7px;
  padding-right: 7px;
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: var(--color-accent);
  background: #25272712;
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    font-size: 1rem;
  }
  .cookie-banner__actions {
    gap: 9px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24, 24, 26, 0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .37s cubic-bezier(.47,0,.29,1.44);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  color: #18181a;
  border-radius: var(--radius);
  width: 98%;
  max-width: 380px;
  box-shadow: 0 2px 38px 0 rgba(17,18,21,0.21);
  padding: 36px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 11px; right: 17px;
  color: #111;
  background: none;
  border: none;
  font-size: 1.65rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.cookie-modal__group {
  margin-bottom: 9px;
}
.cookie-modal__group label {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal__group input[type="checkbox"]:not(:disabled) {
  accent-color: var(--color-primary);
}
.cookie-modal__group input[type="checkbox"]:disabled {
  accent-color: #adadad;
}
.cookie-modal__description {
  color: #666;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal__content {
    padding: 17px 5vw 15px 5vw;
    font-size: 0.96rem;
  }
}

/* ====== RESPONSIVENESS & FLEX ADAPTATION ====== */
@media (max-width: 900px) {
  h1 {
    font-size: 2.02rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .feature-grid, .tip-grid, .route-grid, .city-list-grid {
    gap: 16px;
  }
  .feature, .tip, .route, .city-list-item {
    min-width: 160px;
    padding: 18px 8px 14px 10px;
  }
  .text-image-section {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .footer-nav, .contact-footer {
    gap: 8px;
  }
  .feature-grid, .tip-grid, .route-grid, .city-list-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .tip, .route, .city-list-item {
    min-width: 0;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }
  .section {
    margin-bottom: 32px;
    padding: 25px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.47rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 6px;
  }
  .footer-nav, .contact-footer {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }
  .card, .feature, .tip, .route, .city-list-item {
    padding: 11px 3vw 10px 6vw;
  }
  .cookie-banner {
    font-size: 0.97rem;
    gap: 8px;
    padding: 10px 4vw 10px 5vw;
    border-radius: 0;
  }
}

/* ====== MICRO-INTERACTIONS ====== */
.card, .feature, .tip, .route, .city-list-item, .testimonial-card {
  transition: box-shadow 0.20s cubic-bezier(.53,.01,.3,1.38), border-color 0.17s cubic-bezier(.75,0,.28,1.17);
}

.cta.primary, .cta, .cookie-btn {
  transition: background 0.17s cubic-bezier(.68,0,.43,1.38), color 0.13s linear, border 0.12s linear, box-shadow 0.18s cubic-bezier(.45,.03,.57,1.2);
}

.cta.primary:active, .cta:active, .cookie-btn:active {
  transform: translateY(1px) scaleX(0.98);
}

/* === FORMS (Optional, for Kontakt page) === */
input, textarea, select {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #f7f7f7;
  color: #161618;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-small);
  margin-bottom: 24px;
  transition: border-color var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
}

/* OPTIONAL: Hide Cookie Modal/Banner by default (toggle via JS) */
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }

/* ====== UTILITY CLASSES ====== */
.d-none { display: none !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.text-center { text-align: center; }

/* Make sure NO content cards overlap ever, all with min 20px spacing (gap or margin-bottom) */
.card + .card, .feature + .feature, .tip + .tip, .route + .route, .city-list-item + .city-list-item, .testimonial-card + .testimonial-card {
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 20px;
}

/* List & Bullet Styling (for brand, minimal lines) */
ul {
  list-style-type: disc;
  margin-bottom: 1.3em;
  color: var(--color-fg-light);
  font-size: 1.01em;
  padding-left: 1.2em;
}
ul li strong {
  color: #18181a;
}

/* === Accessibility: Focus === */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 4;
}

/* Decorative SVGs in content (optional) */
img[alt^="icon-"] {
  filter: grayscale(70%) contrast(1.3);
  opacity: 0.96;
  transition: filter .2s, opacity .2s;
}
img[alt^="icon-"]:hover {
  filter: grayscale(0%);
  opacity: 1;
}
