@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand.woff2') format('woff2');
}


@font-face {
  font-family: 'fontello';
  src: url('fonts/fontello.woff2') format('woff2');
}

@font-face {
  font-family: 'Mallows';
  src: url('fonts/Mallow.woff2') format('woff2');
}


/* css reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/**/

/* VARS */
:root,
::backdrop {
  --green: #75a394;
  --lgreen: #D0E0DA;
  --dgreen: #5C7B71;
  --text: #293531;
  --background: #FDFDFD;
  --grey: #F2F2F2;
  --lpurple: #CBBED4;
  --purple: #ad80bc;
  --dpurple: #835C93;
  --grad: linear-gradient(to right, var(--purple), var(--dpurple));
}



/* fontello */
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;

}


/* global */

::selection {
  background: var(--lgreen);
}

* {
  margin: unset;
  scrollbar-color: var(--green) var(--background);
  scroll-behavior: smooth;
}

html {
  width: 1366px;
  height: 1024px;
  margin: auto;
  box-sizing: border-box;
}


img {
  max-width: 100%
}

/* --- */

body {
  background: var(--background);
  color: var(--text);
  font-family: Quicksand, system-ui, sans-serif;
  hyphens: none;
  box-sizing: border-box;
  overflow-x: clip;
  grid-template-columns: 1.2fr repeat(8, 1fr);
  gap: 30px;
  display: grid;
  margin-right: 68px;
  font-size: 20px;
  line-height: 1.3;
}

.mallows {
  font-family: 'Mallows', sans-serif;
  font-size: 50px
}

/* semantik */
main {
  margin-left: 38px;
  grid-column: 2 / span 8;
  margin-bottom: 90px;
}


/* NAVIGATION */
header {
  background: var(--green);
  height: 1024px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  box-sizing: border-box;
  width: 150px;
  z-index: 2
}

body:has(#ausklappen:checked) header {
  width: 1366px;

}

body:has(#ausklappen:checked) main {
  display: none
}

menu {
  padding: 0;
  box-sizing: border-box;
  position: absolute;
}

nav img {
  width: 110px;
  margin: 30px auto;
  padding: 0 14px;
}

menu li {
  padding: 24px;
  box-sizing: border-box;
  height: 100px;
  background: var(--background);
  display: block;
  width: 150px;

}

menu li a,
menu label,
menu li span {
  height: 50px;
  display: inline-block;
  width: 100%
}

menu li {
  font-size: 24px;
  font-weight: bold;
  width: 1366px
}



menu li:has(a[href], INPUT) {
  background: none
}


nav [class^="icon-"]:before {
  font-size: 50px;
  padding-left: 20px;
  padding-right: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
}


nav [class^="icon-"] {
  display: flex;
  justify-content: left;
  align-items: center;
}

nav:not(:has(#ausklappen:checked)) menu li {
  width: 150px
}

nav:not(:has(#ausklappen:checked)) menu li,
nav:not(:has(#ausklappen:checked)) label {
  font-size: 0;
}

#ausklappen {
  visibility: collapse;
  height: 0
}

body:has(#ausklappen:checked) .icon-pfeil::before {

  transform: rotate(180deg);
  margin-left: -25px
}



h1 {
  font-size: 68px;
  line-height: 70px;
  font-weight: bold;
}

h1:not(.breadcrumb ~ h1) {
  margin-top: 138px
}

h2 {
  font-size: 50px;
  line-height: 56px;
  margin-top: 66px
}

h1+h2 {
  margin-top: 10px
}

h3 {
  font-size: 38px;
  line-height: 50px;
  font-weight: bold;
}

p {
  margin: 29px 0;
}

header a {
  color: var(--text);
  text-decoration: none
}

main a:not(.button),
main a:visited:not(.button) {
  font-weight: bold;
  color: var(--dgreen);
  text-decoration: none;
}

table {
  border-collapse: separate;
  border-spacing: 15px;
  margin-left: -15px;
}

th {
  text-align: left;
  font-size: 0;

}

td,
th::before {
  height: 40px;
}


th::before {
  content: "";
  width: 40px;
  display: block;
  font-size: inherit;
  background-size: contain;
  background-repeat: no-repeat;
}


/* klassen */


.teasertext,
.thin,
.start {
  font-size: 32px;
  line-height: 37px;
}

.start {
  height:200px
}

.start span {
  padding-right:46%;
  display:inline-block;
  font-weight:500;
  color:var(--text);
  position: relative;
  width:52%
}

.start span::after {
  content:"";
  height:100px;
  display:block;
  background-position: right;
  width:100%;
  right:0;
  top:10%;
  background-size:contain;
  background-repeat: no-repeat;
  position: absolute;
background-image: url(img/icons/2farben/angebote.svg);
}

.thin {
  font-weight: 500;
    width:50%
}

.thin:not(.teaser .thin) {
  margin:90px 0 30px 0
}
.breadcrumb {
  font-weight: bold;
  color: var(--dgreen);
  margin-top: 90px;
}

.teaser {
  padding: 52px 46px;
  background: var(--grey);
  border-radius: 40px;
  display: block;
  min-width: 50%;
  box-sizing: border-box;
  position: relative;
}

.teaser:not(.flex .teaser, .start) {
  margin: 30px 0 0 0;
}

.teaser:first-of-type:is(.event, .blog) {
  margin:90px 0 0 0 
}

.flex:has(.start) {
    margin:52px 0 0 0 
}


/* auf mobilgeräten wird oft hover beim anklicken gezeigt*/
.button:hover {
  background: var(--purple);
  color: var(--text)
}

.flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0;

}


.float {
  float: right;
  margin-right: -120px;
  margin-left: 30px;
}

.sommergarten {
    margin-right: -190px;
}

/* icons */

.lovestory span::after {
background-image: url(img/icons/2farben/lovestory.svg);
}

.gutschein span::after {
background-image: url(img/icons/2farben/gutschein.svg);
}

.grueneevents span::after {
background-image: url(img/icons/2farben/events.svg);
}

.news span::after {
background-image: url(img/icons/2farben/news.svg);
}
.entdecken span::after {
background-image: url(img/icons/2farben/entdecken.svg);
}

.termine::before {
  background-image: url('img/icons/termine.svg')
}

.uhrzeit::before {
  background-image: url('img/icons/uhr.svg')
}

.dauer::before {
  background-image: url('img/icons/dauer.svg')
}

.kosten::before {
  background-image: url('img/icons/preis.svg')
}

.teilnehmer::before {
  background-image: url('img/icons/teilnehmer.svg')
}


.breadcrumb .icon-home {
  font-size: 0;
}

.breadcrumb .icon-home::before {
  font-size: 24px;
}


.icon-angebote:before {
  content: '\e800';
}

/* '' */
.icon-checked:before {
  content: '\e801';
}

/* '' */
.icon-events:before {
  content: '\e803';
}

/* '' */
.icon-lovestory:before {
  content: '\e804';
}

/* '' */
.icon-news:before {
  content: '\e805';
}

/* '' */
.icon-pfeil:before {
  content: '\e806';
}

/* '' */
.icon-schenken:before {
  content: '\e807';
}

/* '' */
.icon-unchecked:before {
  content: '\e808';
}

/* '' */
.icon-home:before {
  content: '\e809';
}

/* '' */
.icon-entdecken:before {
  content: '\e80a';
}

/* '' */

/**/



/* Grüne Events */


.event {
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  padding-right: 500px;
}



.trocken {
  background-image: url('img/trockenblumen.webp');
}

.herbst {
  background-image: url('img/herbstgesteck.webp');
}

.advent {
  background-image: url('img/adventskranz.webp');
}



/* Blühende Angebote */
.fat {
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  padding-top: 383px;

}

.astern {
  background-image: url('img/herbstastern.webp');
}

.chrys {
  background-image: url('img/chrysantheme.webp');
}

.anemone {
  background-image: url('img/herbstanemone.webp');
}

.heide {
  background-image: url('img/heidekraut.webp');
}

.ringelblume {
  background-image: url('img/ringelblume.webp');
}

.alpen {
  background-image: url('img/alpenveilchen.webp');
}

.tag {
  background: var(--background);
}

.tags {
  position: absolute;
  top: 46px;
}

.button,
.tag, 
input[type="submit"] {
  padding: 15px 20px;
  border-radius: 40px;
}

.preis {
  position: absolute;
  top: 210px;
  right: -25px;
  font-size: 38px;
  font-weight: bold;
  height: 150px;
  width: 150px;
  background: url(img/blume.svg);
  background-size: contain;
  background-repeat: no-repeat;
  padding-top: 55px;
  text-align: center
}



/* News */

.blog:has(.tag) {
  padding-top: 120px;
}

.blog:has(.blogimage) {
  padding-right: 388px
}

.blog {
  display: flex;
  gap: 30px;
  position: relative;
}


.blogimage {
  position: absolute;
  right: -52px;
  top: 30px;
  width: 400px
}


/* Gutschein */
.blocked label {
  display: block;
}

fieldset:not(.motive) {
  max-width: 50%
}

input[type="number"] {
  width: 50px
}

#ename {
  width: 500px
}

.motive {
  font-weight: 500;
  margin-bottom: -1rem;
  margin-top:90px
}

.motive input:checked+label {
  background-color: var(--grey);
}

.motive label {
  background-color: var(--purple);
  padding: 15px 30px;
  border-radius: 40px 40px 0 0;
}

.flattop {
  border-radius: 0px 40px 40px
}

.columns {
  column-count: 2;
  width: 50%
}

.columns input {
  width: 250px
}

input:not([type="submit"]) {
  background: var(--grey);
  border: none;
  border-bottom: var(--green) solid 3px;
  border-radius: 4px;
  height: 2rem;
  font-size: 20px;
  font-family: "Quicksand", sans-serif;
}

input[type="text"] {
  margin-bottom: 30px;

}

input[type="radio"], input[type="checkbox"]{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  cursor: pointer;
}

/* Bild statt radio Button Quelle: https://stackoverflow.com/questions/17541614/use-images-instead-of-radio-buttons */

.button, input[type="submit"] {
  background: var(--grad);
  color: var(--background);
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 30px;
  border:none;
  font-size:20px
}

input[type="checkbox"] + label::before {
content:"";
   height:24PX;
  width:24PX;
  display:INLINE-BLOCK;
  border:3px solid var(--green);
  border-radius:4px;
  margin-right: 1rem;
  flex-shrink: 0;
}
input[type="checkbox"]:checked + label::before {
  background:url('img/icons/tick.svg');
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}


input[type="checkbox"] + label {
  display:flex;
}

.teaser input[type="radio"] + label {
  line-height: 35px;
  display:flex;
  gap:1rem
}

input[type="radio"] + label span::before {
  content:"";
  height:35px;
  width:35px;
  display:inline-block;
background:url('img/icons/unchecked.svg');
background-size: contain;
}

input:checked + label span::before {
background: url('img/icons/checked.svg');
background-size: contain;
}

.pflichtfeld {
  text-align: right;
  width: 49%;
  margin-top: -20px
}

legend {
  margin-top:30px
}

input[name="preis"] ~ label {
  margin:  12px 0
}
input[name="preis"]:first-child ~ label {
    margin:  24px 0
}

.mockup {
  background-size: contain;
  height: 480px;
  width: 700px;
  position: relative;
  margin-right: -90px
}

#text {
  position: absolute;
  left: 265px;
  top: 196px;
  font-size: 14pt;
  width: 160px;
  font-family: 'Quicksand', sans-serif
}

#preis {
  position: absolute;
  right: 180px;
  top: 250px;
  font-size: 25pt;
}

.mockup {
  background-image: url('img/mockups/roses.webp');
}


html:has(#flowerpower:checked) .mockup {
  background-image: url('img/mockups/flowerpower.webp');
}

html:has(#bees:checked) .mockup {
  background-image: url('img/mockups/bees.webp');
}

html:has(#halloween:checked) .mockup {
  background-image: url('img/mockups/halloween.webp');
}

#preis::after {
  content: " Euro"
}


/* popuop */
#modal {
  visibility: hidden;
  height: 0;
  position: absolute;
  top: 936px;
  margin-left: -300px;
  z-index:2
}

#modal:target {
  visibility: visible;
  height: 522px;
  margin: auto;
  width: 1080px;
  top: 180px;
}

html:has(#modal:target) .protect {
height:210vh;
width:100vw;
background:#0000005a;
position: absolute;
top:0;
left:0;
}

.bar {
  position: absolute;
  top: -52px;
  left: 0;
  background: var(--green);
  display: block;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
  height: 52px;
  border-radius: 40px 40px 0 0;
}

.close {
  font-size: 0;
  height:40px;
  display:inline-block;
  
}

.close::before {
  font-size: 40px;
  color: var(--text);
  content: "\00a0\00a0\00a0\00a0\00a0\00a0x\00a0\00a0\00a0\00a0\00a0\00a0\00a0";
/* ^mehr platz die schaltfläche zu erreichen */
}

.mockup {
  visibility: visible;
  top:-52px;
}