/* legal.taxi.eu – statischer Nachbau des OceanWP-Layouts */
:root {
  --yellow: #ffba00;
  --yellow-dark: #d69d00;
  --header-bg: #3d464d;
  --text: #333;
  --muted: #a8a8a8;
  --link: #13aff0;
  --sidebar-width: 300px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  padding-left: var(--sidebar-width);
}

a { color: var(--text); }
a:hover { color: var(--yellow); }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: calc(var(--sidebar-width) + 8px);
  top: 8px;
  z-index: 100;
  background: #ddd;
  padding: 12px 20px;
}

/* Vertikaler Header links */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--header-bg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  z-index: 50;
}

.site-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 167px;
}

.logo img { display: block; max-width: 100%; height: auto; }

.menu-toggle { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav > ul > li { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.site-nav a,
.lang-label {
  display: block;
  padding: 12px 30px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--yellow); }

.lang-label { cursor: default; font-weight: bold; }

.lang ul a { padding: 6px 30px 6px 46px; font-size: 13px; }
.lang ul li:last-child a { padding-bottom: 14px; }

/* Inhalt */
.page-header {
  background: var(--yellow);
  padding: 34px 0;
}

.page-header h1,
.entry,
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.page-header h1 {
  margin: 0 auto;
  color: #fcfcfc;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.entry { padding-top: 50px; padding-bottom: 50px; }

.entry p { margin: 0 0 20px; }
.entry ul { margin: 0 0 20px; padding-left: 20px; }

.entry h2 {
  font-size: 23px;
  font-weight: bold;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.4;
}

.entry a { color: var(--link); text-decoration: none; }
.entry a:hover { color: var(--yellow); }

.columns {
  display: flex;
  gap: 2em;
  margin-bottom: 1.75em;
}
.columns > div { flex: 1 1 0; min-width: 0; }

.site-footer {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  font-size: 12px;
  background: #1b1b1b;
  max-width: none;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  line-height: 66px;
  text-align: center;
  font-size: 39px;
  color: #fff;
  background: var(--yellow);
  border-radius: 2px;
  text-decoration: none;
  opacity: 0.85;
}
.scroll-top:hover { color: #fff; background: var(--yellow-dark); opacity: 1; }

/* Mobil / Tablet: Header oben, Menü aufklappbar (wie Original ab 1280px) */
@media (max-width: 1280px) {
  body { padding-left: 0; }

  .skip-link:focus { left: 8px; }

  .site-header {
    position: relative;
    width: 100%;
    bottom: auto;
    overflow: visible;
  }

  .site-header-bar {
    height: auto;
    justify-content: space-between;
    padding: 15px 5%;
  }

  .logo img { max-width: 180px; }

  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
    padding: 8px 0;
  }
  .menu-toggle::before { content: "\2630\00a0\00a0"; }
  .menu-toggle:hover { color: var(--yellow); }

  .site-nav { display: none; padding-bottom: 10px; }
  .nav-open .site-nav { display: block; }

  .site-nav a,
  .lang-label { padding-left: 5%; padding-right: 5%; }
  .lang ul a { padding-left: calc(5% + 16px); }
}

@media (max-width: 781px) {
  .columns { flex-direction: column; gap: 0; }
  .page-header h1 { font-size: 24px; }
  .page-header h1,
  .entry,
  .site-footer { padding-left: 16px; padding-right: 16px; }
}
