/* Quattrocento Sans, SIL Open Font License 1.1 (see /assets/fonts/OFL.txt). Self-hosted. */
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-700-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/quattrocento-sans-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout, colours and sizes are taken from the computed styles of the former
   Jimdo site (www.sks-europe.com, measured September 2026):
   white header bar, content box 1000px wide on a light translucent brown,
   Quattrocento Sans 18px/27px in #eee, h1 white and right-aligned, h2 #ccc,
   h3 orange capitals, orange rules, menu in grey bold capitals with the
   current page in blue. Below 768px the menu folds into a menu button,
   as on the former site (pure CSS, no script). */
:root {
  --text: #eee;
  --panel: rgba(71, 58, 45, 0.29);
  --bar: rgba(255, 255, 255, 0.9);
  --menue: #bdbdbd;
  --menue-mobil: #666;
  --blau: #6da7de;
  --orange: #e65900;
  --orange-hell: #ff7a26;
  --orange-dunkel: #b34500;
  --link: #fce5cb;
  --pflicht: #eb433e;
  --schrift: "Quattrocento Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: #56663f url("/assets/img/hintergrund.jpg") center / cover no-repeat fixed;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header: logo left, menu right; stays at the top while scrolling */
.kopf {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 0;
  background: var(--bar);
}

.kopf-innen {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  flex: none;
  padding: 5px 25px;
  line-height: 0;
}

.logo img {
  width: 200px;
}

.menue {
  max-width: 700px;
  margin: 6px 30px 0 0;
}

.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menue a {
  display: block;
  margin: 0 5px 4px;
  padding: 5px 15px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--menue);
  text-decoration: none;
  transition: color 0.3s ease-in;
}

.menue li:last-child a {
  margin-right: 0;
}

.menue a:hover,
.menue a:focus,
.menue a[aria-current] {
  color: var(--blau);
}

/* Menu button for phones: a checkbox and its label (no script) */
.menue-schalter,
.menue-knopf {
  display: none;
}

/* Content box */
.inhalt {
  position: relative;
  display: block;
  max-width: 1000px;
  margin: 200px auto 80px;
  padding: 20px 25px;
  background: var(--panel);
  overflow-wrap: break-word;
}

/* Every block inside the box keeps 5px around it, as on the former site */
.inhalt > *,
.spalte > * {
  padding: 5px;
}

.inhalt > .spalten {
  padding: 0;
}

/* Vertical gaps (the former site's spacer blocks) */
.luecke-130 { height: 140px; }
.luecke-120 { height: 130px; }
.luecke-110 { height: 120px; }
.luecke-60 { height: 70px; }
.luecke-50 { height: 60px; }
.luecke-30 { height: 40px; }
.luecke-20 { height: 30px; }
.luecke-15 { height: 25px; }
.luecke-10 { height: 20px; }
.luecke-8 { height: 18px; }

/* FTC and NDA pages: gap between heading and text (50px spacer) */
.abstand {
  margin-top: 60px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: 48px;
  line-height: 1.05;
  color: #fff;
  text-align: right;
}

h2 {
  font-size: 36px;
  line-height: 1.25;
  color: #ccc;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--orange);
}

p,
figure {
  margin: 0;
}

/* Section headings inside a text block (privacy page) */
.text h2 {
  margin-top: 27px;
}

ul {
  margin: 1em 0;
  padding-left: 40px;
}

.inhalt > hr,
.spalte > hr {
  height: 0;
  margin: 13px 5px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid var(--orange-hell);
}

/* Links: no underline; underlined on hover and keyboard focus */
a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.3s ease-in;
}

.inhalt a:hover,
.inhalt a:focus-visible {
  color: var(--orange);
  text-decoration: underline;
}

/* Columns */
.spalten {
  display: grid;
  justify-content: space-between;
}

.spalten-3 {
  grid-template-columns: repeat(3, 31.99%);
}

.spalten-2 {
  grid-template-columns: 48.78% 32.02%;
}

.spalten-kontakt {
  grid-template-columns: 18.41% 67.57%;
}

/* Right-hand list of service links */
.leistung {
  font-size: 34px;
  text-align: right;
}

/* "Zurück zu ..." button */
.zurueck {
  text-align: right;
}

.inhalt .knopf {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 20px;
  border: 2px solid var(--orange);
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
  color: var(--orange);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.3s ease-in, color 0.3s ease-in;
}

.inhalt .knopf:hover,
.inhalt .knopf:focus-visible {
  color: #fff;
  background: var(--orange-hell);
  border-color: var(--orange-hell);
  text-decoration: none;
}

/* Portrait on Kontakt */
.portrait img {
  display: block;
  width: 135px;
}

.portrait figcaption {
  width: 135px;
  font-size: 0.8em;
}

/* Contact form */
.formular .feld {
  padding: 5px 0;
}

.formular label {
  display: block;
}

.formular input,
.formular textarea {
  display: block;
  width: 50%;
  margin: 0 0 0 2px;
  padding: 10px;
  font: inherit;
  color: #333;
  background: #fff;
  border: 1px solid #666;
  border-radius: 0;
  transition: border-color 0.3s ease-in;
}

.formular textarea {
  width: calc(100% - 2px);
  resize: vertical;
}

.formular input:hover,
.formular input:focus,
.formular textarea:hover,
.formular textarea:focus {
  border-color: var(--orange-hell);
}

.pflicht {
  color: var(--pflicht);
}

.formular .datenschutz-hinweis {
  margin: 14px 0 0 2px;
}

.formular .datenschutz-hinweis a {
  color: var(--orange-hell);
}

.formular .datenschutz-hinweis a:hover,
.formular .datenschutz-hinweis a:focus-visible {
  color: #666;
}

.formular button {
  margin: 16px 0 22px 2px;
  padding: 10px 20px;
  font: inherit;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease-in, border-color 0.3s ease-in;
}

.formular button:hover,
.formular button:focus {
  background: var(--orange-dunkel);
  border-color: var(--orange-dunkel);
}

/* Spam trap: visually hidden, humans leave it empty */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Phones and small tablets (below 768px, as on the former site) */
@media (max-width: 767px) {
  body {
    background-image: url("/assets/img/hintergrund-1000.jpg");
    background-attachment: scroll;
  }

  .kopf {
    position: relative;
    height: 67px;
    padding: 3px 0;
  }

  .logo {
    padding: 10px 20px;
  }

  .logo img {
    width: auto;
    height: 41px;
  }

  /* The checkbox stays reachable by keyboard; the label is what people see */
  .menue-schalter {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 48px;
    height: 37px;
    margin: 0;
    opacity: 0;
    z-index: 1001;
    cursor: pointer;
  }

  .menue-knopf {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    width: 48px;
    padding: 10px;
    border: 1px solid var(--menue-mobil);
    border-radius: 3px;
    cursor: pointer;
  }

  .menue-schalter:focus-visible + .kopf .menue-knopf {
    outline: 2px solid var(--blau);
    outline-offset: 2px;
  }

  .menue-knopf span,
  .menue-knopf span::before,
  .menue-knopf span::after {
    display: block;
    border-top: 3px solid var(--menue-mobil);
    border-radius: 1000px;
  }

  .menue-knopf span {
    position: relative;
    width: 25px;
    margin: 6px 0;
  }

  .menue-knopf span::before,
  .menue-knopf span::after {
    content: "";
    position: absolute;
    width: 100%;
    transition: all 0.3s;
  }

  .menue-knopf span::before {
    top: -9px;
  }

  .menue-knopf span::after {
    top: 3px;
  }

  .menue-schalter:checked + .kopf .menue-knopf span::before {
    top: -2px;
    right: -1.5px;
    transform: rotate(45deg) scaleX(0.7);
    transform-origin: right;
  }

  .menue-schalter:checked + .kopf .menue-knopf span::after {
    top: -4px;
    right: -1.5px;
    transform: rotate(-45deg) scaleX(0.7);
    transform-origin: right;
  }

  .kopf-innen {
    position: static;
  }

  /* The menu slides in from the right inside its own frame, so the
     folded-away menu never makes the page wider than the screen */
  .menue {
    position: absolute;
    top: 67px;
    right: 0;
    z-index: 100;
    width: 80%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.7s, opacity 0.7s;
  }

  .menue ul {
    display: block;
    background: var(--bar);
    transform: translateX(80%);
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  .menue-schalter:checked + .kopf .menue {
    visibility: visible;
    opacity: 1;
  }

  .menue-schalter:checked + .kopf .menue ul {
    transform: translateX(0);
  }

  .menue a,
  .menue li:last-child a {
    margin: 0;
    padding: 12px 60px 12px 20px;
    border-radius: 0;
    line-height: 1.5;
    color: var(--menue-mobil);
    transition: background-color 0.3s ease-in, color 0.3s ease-in;
  }

  .menue a:hover,
  .menue a:focus,
  .menue a[aria-current] {
    color: #f7f8f8;
    background: var(--orange-hell);
  }

  .menue-schalter:checked ~ .inhalt::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.2);
  }

  .inhalt {
    margin: 0;
    padding: 20px 15px;
  }

  [class*="luecke-"] {
    height: 40px;
  }

  .abstand {
    margin-top: 40px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 19px;
  }

  .spalten-3,
  .spalten-2,
  .spalten-kontakt {
    grid-template-columns: minmax(0, 1fr);
  }

  .zurueck .knopf {
    display: block;
  }

  .portrait {
    text-align: center;
  }

  .portrait img {
    display: inline-block;
    vertical-align: top;
  }

  .portrait figcaption {
    width: auto;
  }

  .formular input {
    width: calc(100% - 2px);
  }

  .formular .datenschutz-hinweis {
    text-align: center;
  }

  .formular button {
    width: calc(100% - 2px);
  }
}
