/*
Theme Name: onTour Minimal
Theme URI: https://buchung.ontourshuttle.de/
Author: onTour Fahr- und Airportservice / OpenAI
Description: Schlankes lokales Theme fuer die onTour Buchungsseite. Huelle fuer Logo, Navigation, Inhalt und Footer ohne fremde Theme-Abhaengigkeiten.
Version: 1.0.1
Text Domain: ontour-minimal
*/

:root {
  --otm-brand: #0f4c81;
  --otm-brand-dark: #0a365d;
  --otm-accent: #16a9d4;
  --otm-text: #152238;
  --otm-muted: #5d6f88;
  --otm-border: #d4e2f0;
  --otm-bg: #edf4fa;
  --otm-surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: linear-gradient(120deg, #eef6fb 0%, #ffffff 52%, #edf4fa 100%);
  color: var(--otm-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--otm-brand);
}

a:hover,
a:focus {
  color: var(--otm-brand-dark);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-topbar {
  width: 100%;
  background: var(--otm-accent);
  color: #ffffff;
}

.site-topbar-inner,
.site-header-inner,
.site-main,
.site-footer-inner {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.site-topbar-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.site-topbar a {
  color: #ffffff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(15, 76, 129, .08);
  box-shadow: 0 10px 28px rgba(15, 35, 60, .08);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  min-height: 132px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 56px;
  padding: 18px 0 14px;
}

.site-branding {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  width: min(170px, 34vw);
  height: auto;
}

.site-title-fallback {
  color: var(--otm-brand);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.main-navigation {
  flex: 0 1 auto;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--otm-brand);
}

.booking-header-bookingbar {
  flex: 1 0 100%;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  grid-template-areas: "steps auth";
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

body.has-booking-header-steps .booking-header-bookingbar,
body.has-booking-header-auth .booking-header-bookingbar {
  display: grid;
}

.booking-header-auth,
.booking-header-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--otm-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
}

.booking-header-steps {
  grid-area: steps;
}

body.has-booking-header-steps .booking-header-steps {
  display: flex;
}

.booking-header-auth {
  grid-area: auth;
  display: none;
  justify-content: flex-start;
  padding: 10px 14px;
}

body.has-booking-header-auth .booking-header-auth {
  display: flex;
}

.booking-header-auth .booking-wizard-contact {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  gap: 6px;
}

.booking-header-auth .booking-wizard-contact > strong {
  font-size: 13px;
  line-height: 1.2;
  color: var(--otm-text);
}

.booking-header-auth .booking-wizard-contact > p {
  margin: 0;
  color: var(--otm-muted);
  font-size: 12px;
  line-height: 1.35;
}

.booking-header-auth .booking-wizard-account-action {
  order: -1;
  width: 100%;
}

.booking-header-auth .booking-wizard-account-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.booking-header-auth .booking-wizard-register-button,
.booking-header-auth .booking-wizard-guest-button,
.booking-header-auth .booking-wizard-login-button,
.booking-header-auth .booking-wizard-account-button,
.booking-header-auth .booking-wizard-logout-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--otm-border);
  border-radius: 12px;
  background: #eef7ff;
  color: var(--otm-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.booking-header-auth .booking-wizard-login-button,
.booking-header-auth .booking-wizard-account-button {
  background: var(--otm-brand);
  border-color: var(--otm-brand);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 76, 129, .18);
}

.booking-header-auth .booking-wizard-account-status {
  display: none;
}

.booking-header-step {
  appearance: none;
  border: 1px solid var(--otm-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--otm-text);
  min-height: 42px;
  min-width: 170px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.booking-header-step:hover,
.booking-header-step:focus {
  border-color: var(--otm-brand);
  color: var(--otm-brand);
}

.booking-header-step.is-active {
  border-color: var(--otm-brand);
  box-shadow: inset 0 0 0 1px var(--otm-brand);
}

.booking-header-step.is-complete {
  background: #edf7ff;
}

.booking-header-step-index {
  color: var(--otm-text);
  font-weight: 900;
}

.site-main {
  padding: 24px 0 64px;
}

.site-main > article,
.site-main > .page-content {
  margin: 0;
}

.site-main .entry-title {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--otm-border);
  background: rgba(255, 255, 255, .78);
}

.site-footer-inner {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--otm-muted);
  font-size: 14px;
}

.site-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-nav a {
  color: var(--otm-muted);
  text-decoration: none;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus {
  color: var(--otm-brand);
}

@media (max-width: 900px) {
  .site-topbar-inner,
  .site-header-inner,
  .site-main,
  .site-footer-inner {
    width: min(100% - 28px, 1420px);
  }

  .site-header-inner {
    min-height: auto;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 22px;
  }

  .main-navigation ul {
    gap: 8px 18px;
  }

  .site-main {
    padding-top: 16px;
  }

  .booking-header-bookingbar,
  .booking-header-auth,
  .booking-header-steps {
    display: none !important;
  }
}
