
/* rubik-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/rubik-v31-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/rubik-v31-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/rubik-v31-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/rubik-v31-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/rubik-v31-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/rubik-v31-latin-300.svg#Rubik') format('svg'); /* Legacy iOS */
}

/* rubik-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/rubik-v31-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/rubik-v31-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/rubik-v31-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/rubik-v31-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/rubik-v31-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/rubik-v31-latin-regular.svg#Rubik') format('svg'); /* Legacy iOS */
}


    /* ---------- Grundlayout ---------- */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { height: 100%; margin: 0; padding: 0; }
    body {
      font-family: 'Rubik';
      font-weight:300;
      color: #707070;
      overflow-x: hidden;
      font-size:20px;
    }

    /* ---------- Hintergrund ---------- */
    .bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      background: url("assets/bg.jpg") center center / cover no-repeat fixed;
      filter: grayscale(5%) brightness(1.05);
    }

    /* ---------- Halbtransparenter Weiß-Overlay ---------- */

    /* ---------- Vertikale Linien ---------- */
    .accent-lines::before,
    .accent-lines::after {
      content: "";
      position: fixed;
      top: 0;
      bottom: 0;
      width: 10px;
      background: #000;
      z-index: 9;
    }

    /* 5 % vom rechten Bildschirmrand – Abstand zwischen Linien 10px */
    .accent-lines::before { right: 10%; }
    .accent-lines::after  { right: calc(10% + 20px); }

    /* ---------- Inhalt ---------- */
    .page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 5vw;
      position: relative;
      z-index: 3;
    }

    .content {
      max-width: 800px;
      padding: 40px;
      border-radius: 12px;
      margin-left: 10%;
      margin-top:-200px;
    }

    .logo {
      width: 200px;
      height: 200px;
      background: url("assets/logo.svg") center/contain no-repeat;
      margin-bottom: 50px;
    }

    .meta {
      margin-top: 18px;
      line-height: 1.4;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:hover {
      text-decoration: none;
    }

    .back-link{display:inline-block;margin-top:12px;font-size:14px;opacity:.85}
    .back-link:hover{opacity:1;text-decoration:underline}

    /* ---------- Footer ---------- */
    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 55px;
      display: flex;
      justify-content: right;
      align-items: center;
      gap: 40px;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(4px);
      border-top: 1px solid rgba(0,0,0,0.08);
      z-index: 5;
      padding-right:15%;
    }

    footer a {
      color: #707070;
      text-decoration: none;
    }


    /* ---------- Responsive Anpassungen ---------- */
    @media (max-width: 768px) {
          .accent-lines::before { right: 5%; }
    .accent-lines::after  { right: calc(5% + 20px); }
      .content {
        max-width: 90%;
        padding: 25px;
        margin-left:5%;
      }
footer {gap: 20px;}
    }


    /* =========================================================
   SIMPLE LEGAL PAGES (Impressum / Datenschutz)
   Nutze auf Unterseiten: <body class="legal">
   ========================================================= */

body.legal {
  background: #fff;
      font-family: 'Rubik';
      font-weight:300;
      color: #707070;
}

/* Hintergrund & Deko-Linien auf Legal-Seiten abschalten */
body.legal .bg,
body.legal .accent-lines {
  display: none !important;
}

/* Layout vereinfachen: keine Center-Vertikal-Logik der Startseite */
body.legal .page {
  min-height: auto;
  display: block;
  padding: 0;
}

/* Container für schönen horizontalen Center (max-width) */
body.legal header,
body.legal main,
body.legal footer {
  width: 100%;
}

body.legal .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  line-height:1.4;
}

/* Top-Zeile mit "Zurück" links */
body.legal header .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 28px;
}

/* Button-/Linkstil für den Zurück-Link.
   Verwende auf der Seite: <a href="/" class="back">← Zurück</a> */
body.legal .back {
  text-decoration: none;
  color: #6b6b6b;
  border: 1px solid #e5e5e5;
  padding: 8px 20px;
  border-radius: 8px;
  display: inline-block;
  font-size:14px;
  font-weight:400;
}
body.legal .back:hover {
  text-decoration:none;
}

/* Inhaltsbereich angenehm lesen */
body.legal main .wrap {
  padding-top: 24px;
  padding-bottom: 24px;
}

body.legal h1 {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #333;
}
body.legal h2 {
  margin: 24px 0 8px;
  font-weight: 600;
  font-size: 1.05em;
  color: #222;
}

body.legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
/* Deine globale Regel entfernt Hover-Unterstreichung – hier überschreiben */
body.legal a:hover {
  text-decoration: underline;
}

/* Footer NICHT fixed, schlicht unten im Fluss */
body.legal footer {
  position: static !important;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  border-top: 1px solid #eee;
  padding-right: 0;
}
body.legal footer .wrap {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  color: #6b6b6b;
  margin-top: 24px;
  padding-top: 16px;
  padding-bottom: 32px;
  justify-content: flex-start;
}
body.legal footer a {
  color: #6b6b6b;
  text-decoration: none;
}
body.legal footer a:hover {
  text-decoration: underline;
  color: #222;
}

/* Responsive Tweaks nur für Legal-Seiten */
@media (max-width: 640px) {
  body.legal { font-size: 16px; }
  body.legal .wrap { padding: 16px; }
}

