/* 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;
}

/* Colours and type follow the layout of the former site:
   content text #eee on a translucent brown panel over the landscape photo,
   h1 white and right-aligned, h2 light grey, h3 orange capitals, orange rules,
   menu in bold capitals with a blue highlight. */
:root {
  --text: #eee;
  --panel: rgba(71, 58, 45, 0.6);
  --bar: rgba(255, 255, 255, 0.92);
  --bar-text: #555;
  --orange: #e65900;
  --orange-hell: #ff7a26;
  --blau: #6da7de;
  --link: #fce5cb;
  --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;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  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 */
.kopf {
  background: var(--bar);
}

.kopf-innen {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.logo {
  display: block;
  line-height: 0;
}

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

.menue ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.menue a {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bar-text);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

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

/* Content panel */
.inhalt {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1000px;
  margin: 120px auto 80px;
  padding: 2rem 25px;
  background: var(--panel);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  overflow-wrap: break-word;
  hyphens: auto;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: #fff;
  text-align: right;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  color: #ccc;
}

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

p {
  margin: 0;
}

ul {
  margin: 0.5em 0;
  padding-left: 1.4em;
}

hr {
  border: 0;
  border-bottom: 3px solid var(--orange-hell);
  margin: 0.75rem 0 1.25rem;
}

a {
  color: var(--link);
}

a:hover,
a:focus {
  color: var(--orange-hell);
}

.abstand {
  margin-top: 2.5rem;
}

.abstand-gross {
  margin-top: 5rem;
}

/* Columns (stack on narrow screens) */
.spalten-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.spalten-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem 4rem;
}

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

/* Header block with several h1 lines (Technik / Recht / ...) */
.titelblock h1 {
  margin-bottom: 0.15em;
}

/* Right-hand list of service links */
.leistungen p {
  text-align: right;
  margin-bottom: 0.4em;
}

.leistungen a {
  font-size: clamp(1.5rem, 4.5vw, 2.125rem);
  line-height: 1.25;
}

/* "Zurück zu ..." button */
.zurueck {
  text-align: center;
  margin-top: 2.5rem;
}

.knopf,
button {
  display: inline-block;
  font: inherit;
  color: #fff;
  background: transparent;
  border: 2px solid var(--orange-hell);
  border-radius: 2px;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  cursor: pointer;
  text-shadow: inherit;
}

.knopf:hover,
.knopf:focus,
button:hover,
button:focus {
  background: var(--orange-hell);
  color: #fff;
}

/* Portrait on Kontakt */
.portrait {
  margin: 1.5rem 0;
}

.portrait img {
  display: block;
  width: 135px;
}

.portrait figcaption {
  width: 135px;
  font-size: 16px;
  margin-top: 0.3rem;
}

/* Contact form */
.formular .feld {
  margin-bottom: 1rem;
}

.formular label {
  display: block;
  margin-bottom: 0.25rem;
}

.formular input,
.formular textarea {
  display: block;
  width: 50%;
  font: inherit;
  color: #333;
  background: #fff;
  border: 1px solid #999;
  border-radius: 2px;
  padding: 0.5rem;
  text-shadow: none;
}

.formular textarea {
  width: 100%;
  resize: vertical;
}

.formular input:focus,
.formular textarea:focus {
  outline: 2px solid var(--orange-hell);
  outline-offset: 1px;
}

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

.formular .datenschutz-hinweis {
  margin: 1.25rem 0 0.75rem;
}

.formular .hinweis {
  margin-top: 1rem;
  font-size: 16px;
}

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

.mail-alternativ {
  margin-top: 1.5rem;
}

/* Draft markers on the privacy page */
.pruefen {
  background: #ffe08a;
  color: #3a2a00;
  text-shadow: none;
  padding: 0 0.25em;
}

/* Footer */
.fuss {
  background: var(--bar);
}

.fuss nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  gap: 1.5rem;
  font-size: 16px;
}

.fuss a {
  color: var(--bar-text);
  text-decoration: none;
}

.fuss a:hover,
.fuss a:focus {
  color: var(--blau);
  text-decoration: underline;
}

/* Phones and small tablets */
@media (max-width: 767px) {
  body {
    font-size: 17px;
    background-image: url("/assets/img/hintergrund-1000.jpg");
    background-attachment: scroll;
  }

  .logo img {
    height: 72px;
  }

  .inhalt {
    margin: 40px auto 40px;
    padding: 1.5rem 16px;
  }

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

  .formular input {
    width: 100%;
  }

  .abstand-gross {
    margin-top: 2.5rem;
  }
}
