/*
 * Site styles for the static gpstudio.de mirror.
 * Replaces the former merged.css + theme.css combination with a readable,
 * page-focused stylesheet that preserves the current rendering.
 *
 * Font: Courier Prime is loaded from Google Fonts (see <link> in HTML head)
 */

:root {
  --color-text: #111111;
  --color-text-inverse: #ffffff;
  --color-muted: #666666;
  --color-bg: #ffffff;
  --color-bg-light: #f2f2f2;
  --color-bg-dark: #353535;
  --color-bg-black: #000000;
  --color-contact: #414141;
  --color-footer: #0f0f0f;
  --color-divider: #dddddd;
  --font-body: sans-serif;
  --font-display: "Courier Prime", monospace;
  --content-max-width: 1240px;
  --subpage-max-width: 860px;
  --header-padding: 1em 0;
  --menu-offset: 44px;
}

html,
body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
p,
blockquote,
fieldset,
input,
textarea,
figure,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  font-size: 20px;
}

body {
  font-family: var(--font-body);
  font-size: 78%;
  line-height: 1.5em;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input,
select,
textarea,
button {
  font-family: var(--font-body);
}

ul {
  list-style: disc;
  margin-left: 1em;
}

ol,
p,
ul,
table,
form {
  margin-bottom: 1em;
}

fieldset,
img,
iframe {
  border: none;
}

caption,
th {
  text-align: left;
}

table {
  width: 100%;
  border-spacing: 0;
  font-size: 0.9em;
}

th {
  font-weight: 700;
}

th,
td {
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0.2em 0.6em;
}

th:last-child,
td:last-child {
  border-right: none;
  padding-right: 0;
}

tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

h1,
h2,
h3,
h4,
.ce-bodytext .headerFont,
.form-group > label,
.control-label,
#sectionmenu,
#footer-nav {
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4 {
  padding-bottom: 0.21em;
  font-weight: 500;
}

h1 {
  font-size: 3em;
  line-height: 1.2em;
  margin-bottom: 0.2em;
}

h2 {
  font-size: 1.8em;
  line-height: 1.26em;
  margin-top: 1em;
  margin-bottom: 0;
  padding-top: 0.3em;
  padding-bottom: 0;
}

h2 strong {
  font-size: 1.95em;
  letter-spacing: 0.1em;
}

h3 {
  font-size: 1.8em;
  margin-top: 0.2em;
  margin-bottom: 0.4em;
  padding-top: 0.3em;
}

h4 {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: normal;
  padding-top: 0.3em;
}

strong,
b {
  font-weight: 700;
}

a,
a:visited {
  color: var(--color-muted);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

hr {
  border: none;
  background-color: var(--color-divider);
  color: var(--color-divider);
  margin: 1em 0;
  line-height: 1em;
  padding: 0;
  height: 1px;
}

.pageWidth,
#header,
#content,
#footer {
  margin: auto;
}

.pageWidth {
  max-width: 100%;
  clear: both;
}

.contentWidth {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max-width);
  margin: auto;
  clear: both;
  padding: 0 3em;
}

.subpage {
  max-width: var(--subpage-max-width);
  margin: auto;
  padding: 5em 1.6em;
  color: var(--color-text);
  overflow-x: auto;
}

.subpage h1 {
  padding-bottom: 0.36em;
}

#header {
  position: fixed;
  top: 0;
  z-index: 12;
  width: 100%;
  padding: var(--header-padding);
  transition: all 0.4s;
  background-color: var(--color-bg);
}

#header.scrolled,
#header.force-bg {
  background-color: var(--color-bg);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14);
}

#header.scrolled {
  padding: var(--header-padding);
}

#logo {
  float: left;
  height: 4em;
  margin-top: 0.65em;
  margin-bottom: 0;
  transition: height 0.4s;
}

#header.scrolled #logo {
  height: 4em;
}

.hmbrgr {
  position: relative;
  float: right;
  display: none;
  box-sizing: border-box;
  margin-right: -0.6em;
  transition: all 0.4s;
}

.hmbrgr b {
  position: relative;
  display: block;
  width: 2em;
  height: 1.5em;
  margin: 0.94em;
  margin-top: 0.66em;
}

.hmbrgr i {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}

.hmbrgr i.f {
  top: 0;
}

.hmbrgr i.m {
  top: 50%;
  margin-top: -1px;
}

.hmbrgr i.l {
  bottom: 0;
}

.hmbrgr.open i.m {
  opacity: 0;
}

.hmbrgr.open i.f,
.hmbrgr.open i.l {
  top: 50%;
  margin-top: -1px;
}

.hmbrgr.open i.f {
  transform: rotate(135deg);
}

.hmbrgr.open i.l {
  transform: rotate(-135deg);
}

.hmbrgr b,
.hmbrgr i {
  transition: all 0.3s ease-in-out;
}

#sectionmenu {
  float: right;
  width: auto;
  margin: 15px 0 0;
  font-weight: 500;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

#sectionmenu ul {
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sectionmenu li {
  display: inline-block;
  list-style: none;
  margin-left: 3em;
}

#sectionmenu a,
#languagemenu li a {
  color: var(--color-text);
}

#sectionmenu a {
  display: inline-block;
  padding: 0.9em 0;
  line-height: 1em;
  transition: color 0.4s;
}

#sectionmenu a:hover,
#sectionmenu .active a {
  color: var(--color-muted);
  text-decoration: none;
}

#header.scrolled #sectionmenu {
  font-weight: 500;
  letter-spacing: normal;
}

.frame {
  float: left;
  clear: both;
  width: 100%;
}

.frame-space-before-extra-large {
  margin-top: 5em;
}

.ge-section {
  position: relative;
  float: left;
  width: 100%;
  padding-top: 7em;
  padding-bottom: 7em;
  background-color: var(--color-bg);
  background-position: center center !important;
  background-size: cover !important;
}

.ge-section.bg1 {
  background-position: left center !important;
}

.ge-section.bg2 {
  background-position: right center !important;
}

.ge-section.bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  -webkit-font-smoothing: antialiased;
}

.ge-section.bg-black {
  background-color: var(--color-bg-black);
  color: var(--color-text-inverse);
  -webkit-font-smoothing: antialiased;
}

.ge-section.text-light {
  color: var(--color-text-inverse);
}

.ge-section.text-dark {
  color: #000000;
}

.ge-section p,
.ge-section ol,
.ge-section ul {
  max-width: 41em;
}

.ge-section.fixed {
  background-attachment: fixed !important;
}

.ge-section.fullwidth .contentWidth {
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.ge-section.fullheight {
  min-height: 100vh;
}

.ge-section.nopadding {
  padding: 0;
}

.ge-section.align-center,
.ge-section.align-center p,
.ge-section.align-center ol,
.ge-section.align-center ul,
.align-center {
  text-align: center;
  margin: auto;
}

.ge-grid {
  width: 100%;
}

.ge-grid-col,
.ge-grid-space {
  float: left;
}

.ge-grid-col {
  min-height: 1px;
}

.ge-grid-space {
  width: 5%;
  min-height: 1px;
}

.ge-grid-1-1 .ge-grid-col {
  width: 47.5%;
}

.ge-grid-2-1 .ge-grid-col:first-child {
  width: 55%;
}

.ge-grid-2-1 .ge-grid-col:last-child {
  width: 30%;
}

.ce-bodytext a {
  font-weight: 600;
}

.ce-bodytext p a {
  color: #ffffff;
  font-weight: 400;
}

.subpage p a {
  color: #000000;
}

.ce-bodytext .headerFont {
  font-weight: 400;
}

#footer-nav {
  margin: 5px;
  font-family: var(--font-display);
  font-size: 0.9em;
  font-style: normal;
}

#footer-nav a,
#footer-nav a:visited {
  color: #ffffff;
}

#footer-nav p.align-center {
  max-width: 55em;
}

.btn,
.btn:visited,
.btn-primary {
  display: inline-block;
  margin-top: 1em;
  margin-right: 0.4em;
  margin-bottom: 1em;
  padding: 0.6em 1.7em;
  border: 2px solid var(--color-muted);
  background-color: transparent;
  color: #ffffff;
  font-size: 0.86em;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  transition: all 0.4s ease;
}

.btn:hover,
.btn:visited:hover {
  color: var(--color-muted);
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

.cc-window {
  position: fixed;
  right: 2em;
  bottom: 2em;
  z-index: 999;
  width: 100%;
  max-width: 25em;
  padding: 1.5em;
  padding-right: 2.5em;
  box-sizing: border-box;
  background: #1d1d1d;
  color: #fff;
  font-size: 0.8em;
  line-height: 1.3em;
}

.cc-message {
  padding-bottom: 1.5em;
}

.cc-link,
.cc-link:visited {
  display: block;
  margin-top: 1em;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.cc-link:hover,
.cc-dismiss:hover {
  text-decoration: none;
  cursor: pointer;
}

.cc-dismiss {
  position: absolute;
  top: 0.3em;
  right: 0.5em;
  padding: 0.5em;
  background-color: transparent;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  transition: color 0.3s;
}

.cc-compliance .button {
  margin-top: 0.3em;
  margin-right: 0;
  margin-bottom: 0.3em;
}

.cc-allow:hover {
  cursor: pointer;
  background-color: transparent;
}

.cc-invisible {
  display: none;
}

#start {
  background: url("../images/start.jpg") center center / cover no-repeat;
}

#studio {
  background: url("../images/studio.jpg") center center / cover no-repeat;
}

#profil {
  background: url("../images/profil.jpg") left center / cover no-repeat;
}

#unterricht {
  background: url("../images/unterricht.jpg") right center / cover no-repeat;
}

#menschen {
  background: url("../images/treppe.jpg") center center / cover no-repeat;
}

#referenzen {
  background: url("../images/referenzen.jpg") left center / cover no-repeat;
}

#kontakt {
  background-color: #414141;
}

#footer {
  background-color: #0f0f0f;
}

.visually-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
}

@media screen and (max-width: 1100px) {
  .hmbrgr {
    display: block;
  }

  #header.scrolled .hmbrgr b {
    width: 1.7em;
    height: 1.12em;
    margin: 0.94em;
  }

  #header.scrolled .hmbrgr {
    margin-top: -0.26em;
    margin-right: -1em;
  }

  #sectionmenu {
    display: none;
    width: 100%;
    padding-top: 1.5em;
    padding-bottom: 2em;
    text-align: center;
  }

  #header.scrolled #sectionmenu {
    padding-top: 0.5em;
  }

  #sectionmenu ul {
    width: 100%;
    max-width: 100%;
  }

  #sectionmenu ul.two-columns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }

  #sectionmenu ul li,
  #sectionmenu ul.two-columns li {
    display: block;
    margin: 0;
    padding: 0;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
  }

  #sectionmenu ul li a {
    display: block;
    width: 100%;
    padding: 1.2em;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 1024px) {
  .ge-section.fixed {
    background-attachment: scroll !important;
  }
}

@media screen and (max-width: 960px) {
  html {
    font-size: 16px;
  }

  .hmbrgr {
    margin-right: -1em;
  }

  .ge-section {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}

@media screen and (max-width: 740px) {
  .ge-grid-col {
    width: 100% !important;
  }

  .ge-grid-space {
    display: none;
  }
}

@media screen and (max-width: 680px) {
  h1 {
    font-size: 2.3em;
    line-height: 1.2em;
  }

  h2 {
    font-size: 1.5em;
  }

  input,
  select,
  textarea {
    max-width: 100%;
  }
}

@media screen and (max-width: 520px) {
  .contentWidth {
    padding: 0 1.667em;
  }
}

@media screen and (max-height: 590px) {
  .ge-section.fullheight {
    min-height: 25em;
    height: 100vh;
  }
}
