@charset "utf-8";
/*
* Underware Webfont License 10185, Friday 4th of November 2016 09:03:33 AM
*
* The fonts listed in this notice are subject to the Underware Webfont
* License Agreement entered into by the website owner. All other parties
* are explicitly restricted from using the Licensed Webfonts(s).
*
* You may obtain a valid license at http://www.underware.nl/webfonts
*
* Webfont: DollyPro-Regular by Underware
* URL: http://www.underware.nl
* Copyright: Underware copyright (c) 2004. All rights reserved. www.underware.nl
*
*
* License: http://www.underware.nl/viewlicense?id=10185
*
* © Underware, Den Haag, the Netherlands
*/

@import url("https://use.typekit.net/who0ekt.css");
:root {
  --primary-red: #f45d44;
  --primary-red-rgb: 244, 93, 68;
  --primary-blue: #8bc2e5;
  --light-blue: #8bc2e5;
  --light-blue-rgb: 194, 224, 244;
  --white: #ffffff;
  --dark-text: #222222;
  --light-gray: #f5f5f5;
  --border-gray: #eeeeee;
  --shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  --border-radius: 20px;
  --transition-smooth: 0.3s ease;
  --font-primary: 'dolly-new', 'Times New Roman', Times, serif;
  --font-secondary: 'Helvetica Neue', sans-serif;
}

html {
  height: 100%;
  height: -webkit-fill-available;
  height: -moz-available;
  height: stretch;
  box-sizing: border-box;
  text-size-adjust: 100%;
  background: var(--white);
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}
*, ::before, ::after {
  box-sizing: inherit;
}

.font-sans{
  font-family: var(--font-secondary);

}
body {
  height: 100vh;
  height: -webkit-fill-available;
  margin: 0;
  padding: 0;
  color: var(--dark-text);
  font-size: 100%;
  line-height: 1.4;
  font-family: var(--font-primary);
  background: var(--white);
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
h1 {
  font-size: 1.75rem;
  font-family: var(--font-secondary);
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.125em;
  background-color: transparent;
  text-decoration-skip-ink: auto;
  transition: color var(--transition-smooth);
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  image-rendering: auto;
}
.app-container {
  height: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
}

@supports (height: 100dvh) {
  .app-container {
    min-height: 100dvh;
  }
}

html.rsz .app-container {
  height: 100vh;
  height: -webkit-fill-available;
  min-height: unset;
}
header {
  position: relative;
  z-index: 10;
  padding: 1rem;
  text-align: center;
  background: var(--white);
}

header h1 {
  margin: auto;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

header a {
  display: inline-block;
  margin: auto;
}

header img {
  display: block;
  width: 220px;
}

.legal-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-secondary);
}

.legal-links a {
  color: var(--primary-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color var(--transition-smooth);
    white-space: nowrap;

}

.legal-links a:hover,
.legal-links a:focus {
  color: var(--primary-blue);
}
#stripes {
  pointer-events: none;
  position: absolute;
  overflow: hidden;
  opacity: 0.99;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}

#stripes::before {
  content: '';
  display: block;
  height: 1rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  background: linear-gradient(90deg, transparent, transparent 6px, var(--white) 6px, var(--white) 8px);
  background-size: 8px;
  transform: skew(48deg, 0);
}

#stripes::after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 0.75rem);
  width: 1.5rem;
  height: 1.5rem;
  border: 0.75rem solid transparent;
  border-top-color: var(--white);
}
main {
  touch-action: pan-x pan-y pinch-zoom;
  position: relative;
  overflow: auto;
  flex-grow: 1;
  background: var(--light-gray);
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

html.rsz main {
  overflow: scroll;
}
main::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

main::-webkit-scrollbar-track {
  background: transparent;
}

main::-webkit-scrollbar-thumb {
  background-color: var(--primary-red);
  border-radius: var(--border-radius);
  border: 3px solid transparent;
  background-clip: padding-box;
}
#canvas {
  width: calc(var(--tile) * 6);
  height: calc(var(--tile) * 4);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

#canvas img {
  opacity: 0;
  cursor: pointer;
  width: var(--tile);
  height: var(--tile);
  aspect-ratio: 1;
  max-width: none;
  min-width: 0;
  transition: opacity 0.5s ease;
}

#canvas img.ready {
  opacity: 1;
}

#canvas.drag img {
  pointer-events: none;
}
.modal {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: z-index 0s 0.5s, opacity 0.5s;
}

.modal.open {
  z-index: 11;
  opacity: 1;
  transition: z-index 0s, opacity 0.5s;
}
.modal-content {
  overflow: auto;
  position: relative;
  max-width: 38rem;
  width: min(38rem, calc(100% - 3rem));
  margin: auto;
  padding: 1.5rem;
  color: var(--primary-red);
  background: var(--white);
  border-top: 1rem solid var(--light-blue);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
}

.modal-content::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--light-gray);
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: var(--primary-red);
  border-radius: var(--border-radius);
  border: 3px solid var(--light-gray);
}
.modal-content p {
  font-size: clamp(1.125rem, 0.955rem + 0.85vw, 1.5rem);
}

.modal-content figure {
  width: 62%;
  margin: 0 auto;
  border: 1px solid var(--border-gray);
}

@media screen and (min-width: 36em) {
  .modal-content figure {
    width: 50%;
  }
}

.modal-content figure img {
  vertical-align: top;
}

.modal-content figure + p {
  margin-top: 0;
  padding-top: 1.75rem;
}

.modal-content::after {
  content: '';
  display: block;
  clear: both;
  height: 2rem;
  margin-top: 0.5rem;
  background: no-repeat center bottom url(../assets/textgaertnerei.svg);
  background-size: contain;
}

.modal > p {
  max-width: 38rem;
  width: min(38rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1rem;
  color: var(--primary-blue);
  font-size: 0.8125rem;
  font-family: var(--font-secondary);
  font-weight: bold;
  text-align: center;
}

.contact-info {
  color: var(--white);
}

.modal-backdrop {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--primary-red-rgb), 0.85);
  transition: z-index 0s 0.25s, opacity 0.25s;
}

.modal.open + .modal-backdrop {
  z-index: 8;
  opacity: 1;
  transition: z-index 0s, opacity 0.25s;
}
.start .modal-content {
  cursor: pointer;
  overflow: visible;
  max-width: 32rem;
  width: min(32rem, calc(100% - 3rem));
}

.start .modal-content > p {
  margin-top: 0;
}

.modal.start + .modal-backdrop {
  background: rgba(0, 0, 0, 0.1);
}

.modal.correct .modal-content {
  border-top-color: var(--primary-red);
}

.modal.correct + .modal-backdrop {
  background: rgba(var(--light-blue-rgb), 0.85);
}

small {
  color: var(--light-blue);
  font-family: var(--font-secondary);
  font-weight: bold;
  font-size: 0.62rem;
}
@keyframes wink {
  50% {
    transform: translate(-50%, 50%) rotate(10deg);
  }
}

#hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%) rotate(-10deg);
  animation: wink 2s infinite linear;
}
@media screen and (min-width: 64em) {
  .app-container {
    display: flex;
    flex-direction: row-reverse;
  }

  header {
    width: 12vw;
    width: min(12vw, 8rem);
    display: flex;
    flex-direction: row;
  }

  header a {
    width: 1px;
    height: 1px;
  }

  header img {
    max-width: none;
    width: 280px;
    height: 56px;
    transform: translateX(-50%) rotate(90deg);
    transform-origin: 50%;
  }

  .legal-links {
    position: absolute;
    bottom: 1rem;
    margin-bottom:1rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.625rem;
  }

  #stripes {
    top: 0;
    left: -1rem;
    right: auto;
    bottom: 0;
    height: 100%;
    width: 1rem;
  }

  #stripes::before {
    height: calc(100% + 3rem);
    width: 1rem;
    margin-left: 0;
    margin-top: -1.5rem;
    margin-right: 0;
    background: linear-gradient(to bottom, transparent, transparent 6px, var(--white) 6px, var(--white) 8px);
    background-size: 100% 8px;
    transform: skew(0, -48deg);
  }

  #stripes::after {
    top: calc(50% - 0.75rem);
    left: auto;
    right: 0;
    border-top-color: transparent;
    border-right-color: var(--white);
  }
}
@media (min-width: 80em) {
  body {
    font-size: 1.125rem;
  }
}
