:root {
  --WarmSunlight: #fde5b4;
  --DeepCocoaBrown: #5a3e36;
  --DeepCocoaBrown: #5a3e36;
  --fontsaufhg: var(--DeepCocoaBrown);
  --box: #fff6;
  --textvariant: "fertigo-pro";
  --iconfont: "scrivano";
}
html {
  box-sizing: border-box;
  font-family: pelago, sans-serif;
  font-weight: 400;
  color: var(--DeepCocoaBrown);
  color: var(--DeepEspresso);
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAJ0lEQVQIW2NkwA4kGbGISwLFnqNLgAVBipEl4ILIEiiCMAkMQZAEADf0BSAVgBNTAAAAAElFTkSuQmCC),
    linear-gradient(110deg, var(--WarmSunlight), var(--WarmSunlight));
  /* min-height: calc(100vh - 100px); */
  /* margin: 50px; */
  background-attachment: fixed;
  max-width: 1280px;
  margin: 20px auto 0;
}

main {
  gap: 1em;
  margin: 0 auto;
  display: grid;
  /* grid-template-columns: 1fr; */
  grid-template-areas:
    "hero"
    "cta1"
    "cta2"
    "cta3"
    "cta4"
    "cta5"
    "cta6";
}
header,
figcaption {
  /* margin: 0 0 5px 0; */
  font-family: fertigo-pro, serif;
  font-weight: 700;
  font-style: normal;
  color: var(--fontsaufhg);
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 2.3rem;
  margin: 0;
}
h2 {
  font-size: 2rem;
  margin: 0;
}
.main h2 {
  padding: 0.7em 0 0.5em 0;
}
h3,
figcaption {
  font-size: 1.4rem;
}

p {
  line-height: 1.3;
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 50rem;
}
a:any-link {
  color: var(--DeepCocoaBrown);
}

.text-center {
  text-align: center;
}
.hero {
  grid-area: hero;
  color: var(--fontsaufhg);
}
.features {
  p {
    color: rgba(0, 0, 0, 0.5);
  }
  h2 {
    font-family: var(--iconfont);
    font-size: 2.3rem;
    line-height: 0.1;
    padding-top: 0.8em;
  }
}

.features .frame,
.about .frame,
/* .main figure, */
.main .ce-column {
  background: var(--box);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1em;
  width: 100%;
}
/* .features .frame {
  padding: 10px;
} */
.frame,
.ce-column {
  padding: 0.5rem 1.2rem;
  border-bottom-right-radius: 1rem;
  border-top-left-radius: 1rem;
}
main .frame {
  padding: 0;
}
/* .ce-gallery .ce-row, */
.ce-outer,
.ce-inner {
  display: contents;
}

.ce-gallery figure {
  display: grid;
  margin: revert;
}
.ce-gallery figcaption {
  text-align: center;
}
img {
  max-width: 100%;
  /* border-radius: 1rem; */
  object-fit: contain;
}
.features img {
}
#c12 img {
  border-radius: 0;
}
footer {
  /* background-color: white; */
  height: 40px;
  text-align: center;
  padding: 10px;
  font-size: 12px;
}
footer a:link {
  color: black;
}
figcaption {
  grid-row-end: -1;
}

.features,
.main .ce-row {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 900px) {
  main {
    /* outline: 20px red solid; */
    grid-template-areas:
      "hero cta1"
      "cta2 cta3"
      "cta4 cta5"
      "cta6";
  }
}
@media (min-width: 1024px) {
  main {
    /* outline: 2px blueviolet solid; */
  }
  html {
    font-weight: 400;
  }
  main {
    grid-template-areas:
      "hero cta1"
      "cta2 cta3"
      "cta4 cta5"
      "cta6 .";
  }
}
@media (min-width: 1024px) {
  main {
    grid-template-areas:
      "hero cta1"
      "hero cta2"
      "hero cta3"
      "hero cta4"
      "hero cta5"
      "hero cta6";
  }
  .hero {
    padding: 10rem 2em 2em 2em;
  }
  .about .frame {
    padding: 50px;
  }
  .features,
  .main .ce-row {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .features .frame,
  .about .frame,
  .main .ce-column {
    margin-bottom: 0;
  }
  img {
    max-width: fit-content;
  }
  .ce-gallery[data-ce-columns="3"] img {
    width: 225px;
    height: 225px;
    border-radius: 1rem;
    /* justify-content: center; */
  }
  .main .ce-column {
    display: grid;
    margin-right: 0;
    justify-content: center;
  }
  .main figure {
    padding: 1em;
    gap: 1em;
  }
  footer {
    text-align: right;
    background-color: transparent;
  }
  .hero {
    padding-top: 150px;
  }
}
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 20px;
  background: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li {
  padding: 5px 0;
  text-align: center;
}

#navigation {
  /* display: none;  aber wegen screenreader*/
  position: absolute;
  left: -9999px;
}
navigationabgeschalten {
  .burgericon {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 10;
  }

  .burgericon div {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--DeepCocoaBrown);
    border-radius: 2px;
    transition: 0.4s ease;
  }

  .burgericon div:nth-child(1) {
    top: 0;
  }

  .burgericon div:nth-child(2) {
    top: 9px;
  }

  .burgericon div:nth-child(3) {
    top: 18px;
  }
}
label {
  display: none;
}

@media (max-width: 600px) {
  main .frame {
    padding: 0 0.5em;
  }
  nav {
    flex-direction: column;
    align-items: flex-end;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    background-color: #fff;
  }

  nav ul li {
    width: 100%;
    /* padding: 15px 20px; */
    padding: 1em;
    /* border-top: 1px solid #eee; */
  }
  nav ul li a {
    font-size: 1.2rem;
    text-decoration: none;
  }
  nav ul li a:hover {
    text-decoration: underline;
  }

  label {
    display: block;
  }

  .burgericon {
    display: block;
  }

  #navigation:checked ~ ul {
    display: flex;
  }

  #navigation:checked ~ label .burgericon div:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  #navigation:checked ~ label .burgericon div:nth-child(2) {
    opacity: 0;
  }

  #navigation:checked ~ label .burgericon div:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }
}
/* theaterillnau Logo etwas kleiner */
#c12 .ce-row .ce-column:last-child figure img {
  max-width: 180px;
}
