/*
 * Projekt: OGGS Mausbach
 * Version: coronaTime-v2
 */

 /*
 * 00 Root
 */
 :root {
  --color-background: #fff;
  --color-background-dark: #0f2630;
  --color-text-primary: #4a525a;
  --color-text-secondary: #fff;
  --color-text-dark: #e5e5e5;
  --color-brand-primary: #d32f2f;
  --color-brand-secondary: #f19400;
  --color-dark: #000;
  --rounded-m: 0.375em;
  --rounded-xl: 1em;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

::selection {
  background-color: var(--color-brand-secondary);
  color: var(--color-background-dark);
}

*:focus:not(:focus-visible) {
  outline: none
}

*:focus-visible {
  outline:.15rem dotted currentColor;
  outline-offset:.10rem;
}

.skip-nav-link {
  background: var(--color-dark);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
  position: absolute;
  left: 0.5rem;
  transform: translateY(-120%);
  transition: transform 400ms ease-in;
}

.skip-nav-link:focus {
  transform: translateY(0);
}

/*
 * 01 Reset
 */
html {
  font-size: 100%;
  /* all font sizes and rems scale from here */
  line-height: 1.6;
  scroll-behavior: smooth;
}

@media screen and (min-width: 40em) {
  html {
    font-size: 105%;
    /* all font sizes and rems scale from here */
  }
}

@media screen and (min-width: 60em) {
  html {
    font-size: 110%;
    /* all font sizes and rems scale from here */
    }
}

@media screen and (min-width: 90em) {
  html {
    font-size: 115%;
    /* all font sizes and rems scale from here */
  }
}

@media screen and (min-width: 120em) {
  html {
    font-size: 120%;
    /* all font sizes and rems scale from here */
  }
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
  }
}

* + * {
  margin: 0;
  margin-top: 1em;
}

/* dramatic margins for wider viewports */
@media screen and (min-width: 30em) {
  * + * {
      margin-top: 1.5em;
  }
}

/* firefox need some help */
br {
  margin: 0;
  padding: 0;
}

/*
 * 02 Global
 */
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat-v15-latin-700.woff2') format('woff2'),
       url('../fonts/caveat-v15-latin-700.woff') format('woff');
}

body {
  /* make background color same as header and footer */
  background-color: var(--color-brand-primary);
  color: var(--color-text-primary);
  font-family: var(--font-base);
  margin-top: 0;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

h1, h2, h3 {
  font-weight: bold;
  letter-spacing: -.025em;
  line-height: 1.3;
  margin-bottom: 0.4em;
}

h1 {
  font-size: 2.5em;
  line-height: 1.2;
  margin-top: 0.75em;
}

body.photos h1, body.notes h1 {
  font-size: 2.5em;
}

/* dramatic font sizes for wider viewports */
@media screen and (min-width: 30em) {
  h1 {
      font-size: 4.5em;
      line-height: 1.1;
  }

  h1.long-title {
      font-size: 3.5em;
      line-height: 1.25;
  }
}

h2 {
  font-size: 2em;
}

/* dramatic font sizes for wider viewports */
@media screen and (min-width: 30em) {
  h2 {
      font-size: 2.5em;
  }

  h2.long-title {
      font-size: 2em;
  }
}

/* dramatic font sizes for wider viewports */
@media screen and (min-width: 50em) {
  h2 {
      font-size: 2.75em;
  }

  h2.long-title {
      font-size: 2.5em;
  }
}

h3 {
  font-size: 1.5em;
}

/* dramatic font sizes for wider viewports */
@media screen and (min-width: 30em) {
  h3 {
      font-size: 2em;
  }

  h3.long-title {
      font-size: 1.75em;
  }
}

/* dramatic font sizes for wider viewports */
@media screen and (min-width: 50em) {
  h3 {
      font-size: 2.25em;
  }

  h3.long-title {
      font-size: 2em;
  }
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1.15em;
}

h6 {
  font-size: 1.1em;
}

a {
  color: inherit;
  text-underline-offset: .15em;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-brand-secondary);
}

a:hover {
  text-decoration-thickness: 1px;
}

p {
  margin: 0;
  margin-top: 1.5em;
}

h1 + p {
  margin-top: 0;
}

main h2 {
  color: var(--color-brand-primary);
}

main h2 + p {
  margin-block-start: 0;
}

.intro, footer {
  background-color: var(--color-brand-primary);
  color: var(--color-text-secondary);
  background-image: url("../assets/images/bg-school.png"); /* Fallback */
  background-image: image-set(
    url("../assets/images/bg-school.avif") type("image/avif"),
    url("../assets/images/bg-school.png") type("image/png")
  );
  background-position: center top;
}

/* dramatic margins for wider viewports */
@media screen and (min-width: 30em) {
  p + p {
      margin-top: 1.5em;
  }
}

ul {
  list-style-type: disc;
}

ul, ol {
  padding-left: 1.5rem;
}

p + ul, p + ol {
  margin: 0.5em 0;
}

li + li {
  margin-top: 0.5em;
}

/* Remove default padding and bullets/numbers on lists with classes */
ul[class], ol[class] {
  padding: 0;
  list-style: none;
}

ul[class] li, ol[class] li {
  margin: 0;
}

strong {
  color: var(--color-brand-primary);
}

blockquote {
  border-left: 0.5rem solid var(--color-brand-primary);
  font-style: italic;
  margin: 1.5em 0;
  padding-left: 1rem;
}

@media screen and (min-width: 30em) {
  blockquote {
      padding-right: 1rem;
  }
}

blockquote > p {
  margin-block-start: 0;
}

.eyecatcher {
	font-weight: 900;
  font-size: var(--font-1);
	/* color: var(--color-brand-primary);
	background-color: var(--color-text-secondary);
	padding: 0 0.2em;
	border-radius: var(--radius-sm); */
}

/*
 * 03 Layout
 */
header, main, footer, .intro {
  padding: 0 1rem;
}

main, .intro {
  padding-top: 1.5em;
  padding-bottom: 4em;
}

main > section:first-of-type {
  padding-top: 1.5em;
}

/* dramatic margins for wider viewports */
@media screen and (min-width: 30em) {
  main, .intro {
      padding-top: 3em;
      padding-bottom: 6em;
  }

  main > section:first-of-type {
      padding-top: 3em;
  }
}

main, .top {
  margin: 0;
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.2' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='25' specularConstant='0.6' specularExponent='20' lighting-color='%23f19400' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='90'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='%23ffffff'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f19400' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E");
}

/* offset intro inside main */
.intro {
  margin: -1.5em -1rem 0 -1rem;
}

@media screen and (min-width: 30em) {
  .intro {
      margin-top: -3em;
  }
}

/* set max-width for measure (line-length) */
.content {
  margin-left: auto;
  margin-right: auto;
  max-width: 41em;
}

section + section {
  margin-top: 6em;
}

section.intro + section {
  margin-top: 4em;
}

.post + .post {
  margin-top: 4em;
}

aside {
  margin-top: 4em;
}

/*
 * 04 Header
 */
.site-title {
  font-style: italic;
  text-transform: uppercase;
}

header {
  margin: 0;
  padding: 0;
}

.site-title {
  line-height: 1;
  /* so background is equal above and below text */
  margin: 0;
  padding: 0.25em 1rem;
}

.site-title a {
  font-size: 0.8em;
  text-decoration: none;
}

/*
 * 05 Main
 */
.entry-notes {
  border-top: hsl(var(--tab-four)) dashed 0.15em;
}

article .entry-notes {
  margin-top: 3em;
}

.notes-list .entry-notes, .social-list .entry-notes {
  margin-top: 1em;
}

.notes-list .entry-notes, .posts-list .entry-notes {
  border-top: none;
  margin-top: 1em;
}

body.notes .entry-notes p:not(:first-of-type) {
  margin-top: 0;
}

/*
 * 06 Footer
 */
footer {
  padding-top: 0;
  padding-bottom: 4em;
}

footer h2 {
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.footer-link {
  margin: 0 2em 0 0;
}

/*
 * 07 GRIDDING
 */
:root {
    /* declare grid variables */
    /* full grid with side column, but collapse everything except full and content
[][ ][[       ][ ][ ][] full grid becomes
[][                 ][] minimal grid */
    --sidecol-grid:
    [full-start] minmax(1rem, 1fr)
    [firstmargin-start] 0
    [firstmargin-end content-start maincol-start] minmax(auto, 7fr)
    [maincol-end sidecol-start] minmax(2rem, 2fr)
    [sidecol-end content-end secondmargin-start] 0
    [secondmargin-end] minmax(1rem, 1fr)
    [full-end];
}

@media screen and (min-width: 60em) {
    :root {
        /* declare grid variables */
        /* full grid with side column
	[][ ][[       ][ ][ ][] full grid */
        --sidecol-grid:
        [full-start] minmax(1rem, 1fr)
        [firstmargin-start] minmax(2rem, 8.9em)
        [firstmargin-end content-start maincol-start] minmax(auto, 32em)
        [maincol-end sidecol-start] minmax(2rem, 9em)
        [sidecol-end content-end secondmargin-start] minmax(2rem, 8.9em)
        [secondmargin-end] minmax(1rem, 1fr)
        [full-end];
    }
}

@supports (display: grid) {
    /* remove padding and margins added for gridless layouts, and reset max-width */
    header, main, article, footer, .content, .intro, .site-title {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    header, main > article.news, .intro, article.single, .site-footer, main > .latest, main > .schulleben, footer {
        display: grid;
        grid-template-columns: var(--sidecol-grid);
    }

    main article > *, .intro > section, article.single > *, header .content, main > .latest > *, .site-footer > * article.schulleben > * {
        grid-column: content;
    }

    header > *, .intro > *, footer > * {
      grid-column-start: firstmargin-start;
      grid-column-end: secondmargin-end;
    }

    /* On single posts, pull titles into margins on wide views */
    @media screen and (min-width: 60em) {
        article.single-post h1 {
            grid-column: firstmargin-start / secondmargin-end;
        }
}

    /* Make posts list list items into grid so entry meta can be arranged into margin */
    article.news .posts-list {
        grid-column: full;
    }

    article.news .posts-list .post {
        display: grid;
        grid-template-columns: var(--sidecol-grid);
    }

    article.news .posts-list .post > * {
        grid-column: content;
    }

    @media screen and (min-width: 60em) {
        article.news .posts-list .post .entry-meta {
            grid-column: firstmargin-start / maincol-start;
            grid-row: 1 / 3;
        }

        article.single .entry-meta {
            grid-column: firstmargin-start / maincol-start;
            grid-row: 2 / 2;
        }
}

.intro {
  grid-column: full;
}

.intro > p {
max-width: 55ch;
}

.intro a {
  font-weight: 700;
}

header nav {
  grid-column: full;
}

@media screen and (min-width: 60em) {
.intro {
  text-align: center;
}

.intro > p {
  margin-inline: auto;
}
}

    @media screen and (min-width: 60em) {
        .navigation-menu {
            display: grid;
            grid-template-columns: var(--sidecol-grid);
        }

        .navigation-menu ul {
            grid-column: firstmargin-start / secondmargin-end;
        }
}

    .site-footer {
        overflow-x: hidden;
    }

    .site-footer > * {
        grid-column: content;
    }

    .site-footer > p:first-of-type {
        margin-right: 1rem;
    }

    .site-footer > img {
        grid-column: sidecol / full-width;
        grid-row: 2 / 3;
        width: 200%;
        /* make image overflow width of footer on narrow viewports */
    }

    .site-footer p:last-of-type {
        grid-column: content;
    }

    @media screen and (min-width: 40em) {
        .site-footer > p:first-of-type {
            margin-right: 2rem;
        }

        .site-footer > img {
            grid-column: sidecol;
            grid-row: 1 / 3;
            margin-top: 3em;
        }
}
}

/*
 * 08 Blog
 */
body.kind-taxonomy h1, body.kind-category h1 {
  margin-bottom: 0;
}

.posts-list ul li, .resources-list ul li, .notes-list ul li {
  list-style-type: square;
}

.posts-list ol li, .resources-list ol li, .notes-list ol li {
  list-style-type: decimal;
}

.posts-list h2 a, .resources-list h2 a, .notes-list h2 a, .posts-list h3 a, .resources-list h3 a, .notes-list h3 a {
  text-decoration: none;
}

.posts-list .entry-meta, .resources-list .entry-meta, .notes-list .entry-meta {
  font-weight: bold;
}

.posts-list p + p {
  margin-top: 1.5em;
}

.summary {
  margin-top: 0;
}

.entry-meta {
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

@media (max-width: 60em) {
  .entry-meta, .entry-meta > p {
    margin-top: 0;
  }
}

article.single .entry-meta, article.single .entry-meta p {
  margin-top: 0;
  margin-bottom: 0;
}

@supports (display: grid) {
  @media screen and (min-width: 60em) {
    article.single .entry-meta p {
        margin-top: 0.5em;
    }
  }
}

article.single .entry-content {
  margin-top: 0.5em;
}

main article .entry-meta {
  font-weight: bold;
}

body.lens .posts-list .entry-meta {
  margin-top: 0;
}

body.lens .posts-list .entry-meta p {
  margin: 0;
}

body.lens .posts-list .summary p:first-of-type {
  margin-top: 0;
}

/* date bubble and date */
.entry-meta time .number {
  background: var(--color-brand-primary);
  color: var(--color-text-secondary);
  display: block;
  border-radius: 50%;
  float: left;
  font-size: 0.8em;
  height: 1.8em;
  margin-right: 0.5rem;
  width: 1.8em;
  line-height: 1.8;
  text-align: center;
}

@supports (display: grid) {
    @media screen and (min-width: 60em) {
        .entry-meta > p {
            line-height: 1.5;
        }

        .entry-meta time {
            padding-right: 1em;
        }

        .entry-meta time .number {
            float: none;
            font-size: 1.8em;
            height: 2em;
            line-height: 2;
            margin-bottom: 0.25em;
            width: 2em;
        }

        body.lens .posts-list .entry-meta p {
            margin-top: 2em;
        }
  }
}

/*
 * 09 Misc
 */

/*
 * Der Selektor trifft auf alle a-Elemente mit einem href-Attribut zu,
 * dessen Wert mit http(s): beginnt.
 * Lautet der Domainname https://oggsmausbach.de, wird als erzeugter Inhalt
 * der Leerstring (content:"") definiert.
 */
/* a[href^="http:"]::after {
  content: "";
  padding: 0 .5rem;
  margin: 0 0 0 .3rem;
  background: url(../images/extern-link.svg) no-repeat;
  background-position-y: center;
}

a[href^="https:"]::after {
  content: "";
  padding: 0 .5rem;
  margin: 0 0 0 .3rem;
  background: url(../images/extern-link.svg) no-repeat;
  background-position-y: center;
}

a[href^="https://oggsmausbach.de"]::after {
  content: "";
  padding: 0;
  margin: 0;
  background: none;
} */

a[href^="http:"]::after {
  content: "";
  background: no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"><g style="stroke:rgb(241, 148, 0);stroke-width:1"><line x1="5" y1="10" x2="5" y2="19" /><line x1="14" y1="15" x2="14" y2="19" /><line x1="5" y1="19" x2="14" y2="19" /><line x1="5" y1="10" x2="9" y2="10" /><line x1="10" y1="7" x2="17" y2="7" /><line x1="17" y1="7" x2="17" y2="14" /><line x1="10" y1="14" x2="17" y2="7" style="stroke-width:1" /></g></svg>');
  padding-right: 1em;
}

a[href^="https:"]::after {
  content: "";
  background: no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 20 20"><g style="stroke:rgb(241, 148, 0);stroke-width:1"><line x1="5" y1="10" x2="5" y2="19" /><line x1="14" y1="15" x2="14" y2="19" /><line x1="5" y1="19" x2="14" y2="19" /><line x1="5" y1="10" x2="9" y2="10" /><line x1="10" y1="7" x2="17" y2="7" /><line x1="17" y1="7" x2="17" y2="14" /><line x1="10" y1="14" x2="17" y2="7" style="stroke-width:1" /></g></svg>');
  padding-right: 1em;
}

a[href^="https://oggsmausbach.de"]::after {
  content: "";
  padding: 0;
}

/* header shadow */
.shadow {
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0,0,0,.1),
    0 0 5px rgba(0,0,0,.1),
    0 1px 3px rgba(0,0,0,.3),
    0 3px 5px rgba(0,0,0,.2),
    0 5px 10px rgba(0,0,0,.25),
    0 10px 10px rgba(0,0,0,.2),
    0 20px 20px rgba(0,0,0,.15);
}

ul.daten {
  list-style-type: square;
  margin: 1em 0;
  padding-left: 1rem;
}

ol.daten {
  list-style-type: decimal;
  margin: 1em 0;
  padding-left: 1.5rem;
}

ul.daten li::marker {
  color: var(--color-brand-primary);
}

img {
  display: block;
  height: auto;
  width: 100%;
  margin-top: 1.5em;
  box-shadow:
    0 3px 6px rgba(0,0,0,.15),
    0 2px 4px rgba(0,0,0,.12);
}

figure {
  margin-left: 0;
  margin-right: 0;
}

figcaption {
  font-size: 0.85em;
  line-height: 1.25;
  margin-top: 0.75em;
  margin-bottom: 2.25em;
  text-align: center;
}

figure.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
}

figure.grid img {
  object-fit: cover;
  height: auto;
  margin-top: 0;
  max-width: 50%;
}

/* up to top */
.top {
  padding-bottom: 4em;
  margin-top: 0;
  text-align: center;
}

/* Table */
table.praesenzTable {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

table.praesenzTable td:nth-child(1) {
  text-align: left;
  padding-left: 0.5em;
}

table.praesenzTable td {
  padding: 3px 2px;
}

table.praesenzTable tr:nth-child(3), tr:nth-child(4), tr:nth-child(7) {
  background: var(--color-brand-primary);
  color: var(--color-text-secondary);
}

/* Pagination */
.pagination {
  margin-block-start: 4em;
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.pagination .button {
  margin: 0;
  font-size: var(--font--1);
  text-align: center;
}

/* .pagination {
  margin: 0 auto;
}
.pagination ul {
  background: var(--color-brand-primary);
  margin-top: 4em;
  padding: 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
}

.pagination li {
  display: block;
  font-size: 0.85em;
  list-style-type: none;
  line-height: 1;
  margin: 0.25em;
  text-align: center;
}

.pagination li a, .pagination li[aria-current="true"], .pagination .ellipsis {
  color: var(--color-text-secondary);
  display: block;
  min-width: 1.5em;
  padding: 0.3em 0.25em;
}

.pagination li .previous-page, .pagination li .next-page, .pagination li[aria-current="true"] {
  padding: 0.3em 0.4em;
}

.pagination li[aria-current="true"] {
  font-weight: bold;
} */

.newimage {
  border-radius: var(--rounded-m);
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.schulimage {
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

audio {
  width: 100%;
  height: 2.5em;
}

video {
  width: 100%;
}

/* Lernen auf Distanz */
.oldplan {
  padding: 0em 1em 2em;
  border: var(--color-text-primary) solid 1px;
  border-radius: var(--rounded-m);
}

.newplan {
  padding: 0em 1em 2em;
  border-radius: var(--rounded-m);
  background-color: var(--color-brand-primary);
  color: var(--color-text-secondary);
}

.newplan a {
  color: var(--color-text-secondary);
}

hr.newline {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,1), rgba(255,255,255,0.2));
  margin: 2.5em auto;
  max-width: 70%;
}

hr.oldline {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(74,82,90,0.2), rgba(74,82,90,1), rgba(74,82,90,0.2));
  margin: 2.5em auto;
  max-width: 70%;
}

.banner + .banner {
  margin-top: 1.5em;
}

.imglink a[href^="https:"]::before {
  content: "";
  padding-right: 0;
}

.more-room {
  margin-top: 4em;
}

.pdf-item::after {
  content: "(PDF-Datei)";
  padding-left: .5em;
  color: var(--color-brand-secondary);
}

blockquote.quote-yellow {
  border-left: 0.5rem var(--color-brand-secondary) solid;
}

/* Accordion */
.accordion {
  margin-top: 5em;
}
summary {
  font-size: 1.25em;
  font-weight: 600;
  background: rgb(249,164,48);
  color: var(--color-text-primary);
  padding: 1rem;
  margin-bottom: 1rem;
  outline: none;
  border-radius: var(--rounded-m);
  text-align: left;
  cursor: pointer;
  position:relative
}

details[open] summary ~ * {
  animation:sweep .5s ease-in-out
}

@keyframes sweep {
  0% {
      opacity: 0;
      margin-top:-10px
  }

  100% {
      opacity: 1;
      margin-top:0
  }
}

details > summary::after {
  position: absolute;
  content: "+";
  right: 1em;
}

details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 1em;
}

details > summary::-webkit-details-marker {
  display: none
}

/* Schulleben – Video */
.teaser {
  margin-top: 1.5em;
}

.flow-space {
  margin-top: 3em;
}

/* Flex-Container für Bilder */
.flex-container-picture {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}

@media all and (min-width: 30em) {
  .flex-container-picture {
    flex-direction: row;
    gap: 1.5em;
  }
}

.flex-item-picture + .flex-item-picture {
  margin-top: 0;
}

/* Homepage */
.layout-rainbow {
  height: 1em;
  margin-top: 0;
  background: linear-gradient(126deg, rgba(205,74,53,1) 14%, rgba(227,101,17,1) 28%, rgba(255,186,0,1) 40%, rgba(0,177,128,1) 60%, rgba(20,122,171,1) 72%, rgba(103,89,151,1) 86%);
}

.home {
  margin-top: 0;
  padding-block-start: 1em;
  padding-block-end: 4em;
}

.ukraine-blue {
  background: rgb(0,91,187);
  background: linear-gradient(135deg, rgba(0,91,187,1) 0%, rgba(0,95,195,1) 100%);
  color: var(--color-text-secondary);
}

.ukraine-yellow {
  background: rgb(255,223,63);
  background: linear-gradient(135deg, rgba(255,223,63,1) 0%, rgba(255,213,0,1) 100%);
  color: var(--color-text-primary);
}

.ukraine-yellow a {
  text-decoration-color: var(--color-text-primary);
}

.latest.news.aktuell {
  margin-bottom: 4em;
}

.zeitung {
  background: rgb(20,121,0);
  background: radial-gradient(circle, rgba(20,121,0,1) 0%, rgba(23,134,1,1) 100%);
  color: var(--color-text-secondary);
  padding-top: 1.5em;
  padding-bottom: 4.5em;
}

.zeitung a {
  text-decoration-color: #e5ff00;
}

.fuenffuenf {
  background: #FED1E3;
  background: linear-gradient(135deg,rgba(254, 209, 227, 1) 40%, rgba(254, 238, 190, 1) 80%);
}

.fuenffuenf .exampleFeatures-text {
  text-align: center;
}

.fuenffuenf .exampleFeatures-text h3 {
  color: #E61D2E;
  margin-block-end: 1.5rem;
  text-transform: uppercase;
}

.fuenffuenf img {
  border-radius: var(--rounded-m);
}

.fuenffuenf strong {
  color: var(--color-text);
}

.martin {
  background: rgb(0,0,0);
  background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(46,45,51,1) 100%);
  color: var(--color-text-secondary);
  text-align: center;
  padding-top: 1.5em;
  padding-bottom: 4.5em;
}

.martinszug {
  background-color: #fff;
  background-image: linear-gradient(90deg, rgba(195,195,195,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(195,195,195,1) 100%);
  background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  font-family: Caveat, Arial, sans-serif;
  font-size: clamp(50px, 8vw, 100px);
  font-weight: bold;
  letter-spacing: normal;
}

.martin strong {
  color: var(--color-text-secondary);
  font-size: clamp(1.2rem,calc(1.02rem + 0.73vw),1.56rem);
}

.martin h3 {
  font-size: clamp(1rem,calc(0.88rem + 0.5vw),1.25rem);
  margin-top: 2em;
}

.martin p {
  color: #9b9b9b;
}

.martin h3 + p {
  margin-top: 0;
}

.vorlesen {
  background-image: url(../images/book-background.png);
  background-repeat: repeat;
  text-align: center;
  padding-top: 1.5em;
  padding-bottom: 4.5em;
}

.vorlesetag {
  color: #fefad7;
  font-family: Caveat, Arial, sans-serif;
  font-size: clamp(50px, 8vw, 100px);
  font-weight: bold;
  letter-spacing: normal;
}

.vorlesen strong {
  color: #fefad7;
  font-size: clamp(1.2rem,calc(1.02rem + 0.73vw),1.56rem);
}

.vorlesen p {
  color: var(--color-text-secondary);
  font-weight: bold;
}

.vorlesen h2 + p {
  margin-top: 0;
}

.shirts {
  background: rgb(123, 81, 44);
  background: radial-gradient(circle, rgb(172, 135, 24) 0%, rgb(123, 81, 44) 50%);
  color: var(--color-text-secondary);
}

.wdr {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.2' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='25' specularConstant='0.6' specularExponent='20' lighting-color='%23f19400' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='90'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='%23e1e1e1'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f19400' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E");
}

.exampleFeatures-text.short {
  text-align: center;
}

.exampleFeatures-text.short p:last-child {
  margin-bottom: 0;
}

.exampleFeatures-item {
  margin: 2em 0;
}

.exampleFeatures-text {
  margin-block-start: 4em;
}

.exampleFeatures-text h3 {
  color: hsl(66, 100%, 50%);
}

.exampleFeatures-text p {
  margin-bottom: 1em;
  margin-top: 0;
}

@media (min-width: 40em) {
  .exampleFeatures-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 40em) {
  .exampleFeatures-text h3 {
    margin-top: 0;
  }
  .exampleFeatures-figure {
    margin-bottom: 0;
    width: calc(50% - 2em);
    /* transform: rotate(-2deg); */
  }
  .exampleFeatures-text {
    width: calc(50% - 2em);
    margin-block-start: 1.5em;
  }
}

.blog h3 {
  font-family: Caveat, Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(40px, 8vw, 60px);
  font-weight: bold;
  line-height: 1.1;
  color: var(--color-brand-primary);
  margin-block-start: 0.4em;
}

/* Übergang */
.subheader {
  font-size: 1.25em;
  font-weight: bold;
}

/* Förderverein */
.flow-space-medium {
  margin-top: 2em;
}

cite {
  letter-spacing: .05ch;
}

.button {
  display: inline-block;
  padding: 1rem;
  border-radius: var(--rounded-m);
  background: var(--color-brand-primary);
  color: var(--color-text-secondary);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05ch;
  text-decoration: none;
  box-shadow: 0 0 10px 2px rgba(0,0,0,.15);
  margin: 1em 0;
  transition: 200ms ease-in-out;
}

.button.button-alt {
  background: var(--color-brand-secondary);
  color: var(--color-dark);
  text-decoration-color: var(--color-dark);
  margin-left: 1.5em;
}

.button:hover {
  box-shadow: 0 0 0 0 rgba(0,0,0,.15);
  opacity: 0.7;
}

.fyi {
  background: var(--color-brand-primary);
  border-radius: var(--rounded-m);
  box-shadow: 0 0 1rem rgba(0,0,0,.08);
  padding: 1rem;
  color: var(--color-text-secondary);
}

@media (min-width: 30em) {
  .fyi {
    padding: 1.5rem;
  }
}

.fyi p:first-of-type {
  margin-top: 0;
}

.simpleimage {
  box-shadow: none;
  margin-bottom: 2em;
}

/* Frag doch mal die Maus */
div.question {
  max-width: 20em;
  margin: 1em auto;
}

.question p {
  border-top: 2px dashed;
  border-color: var(--color-brand-primary) !important;
  margin:0;
  padding: 30px;
  counter-increment: section;
  position: relative;
}

.question p:nth-child(even):before {
  content: counter(section);
  left: 100%;
  margin-left: -1em;
  position: absolute;
  border-radius: 50%;
  padding: 0.2em;
  height: 2em;
  width: 2em;
  background-color: var(--color-brand-primary);
  text-align:center;
  color: var(--color-text-secondary);
}

.question p:nth-child(odd):before {
  content: counter(section);
  right: 100%;
  margin-right: -1em;
  position: absolute;
  border-radius: 50%;
  padding: 0.2em;
  height: 2em;
  width: 2em;
  background-color: var(--color-brand-primary);
  text-align:center;
  color: var(--color-text-secondary);
}

.question p:nth-child(even) {
  border-right: 2px dashed;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  margin-left: 30px;
  margin-top: 0;
  padding-left: 0;
}

.question p:nth-child(odd) {
  border-left: 2px dashed;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  margin-right: 30px;
  margin-top: 0;
  padding-right: 0;
}

.question p:first-child {
  border-top: 0;
  border-top-right-radius:0;
  border-top-left-radius:0;
}

.question p:last-child {
  border-bottom-right-radius:0;
  border-bottom-left-radius:0;
}

/* Kurse */
.c-details {
  margin-top: 0;
  border-bottom: 1px solid hsl(0deg 0% 50% / 0.2);
}
.c-details:first-of-type {
  margin-top: 2em;
}
.c-details:last-of-type {
  border-bottom: none;
}
.c-details__summary {
  padding: 1em 0;
  font-size: 1em;
  font-weight: 600;
  border-radius: 0;
  background-color: transparent;
  margin-bottom: 0;
  color: inherit;
  cursor: pointer;
}
.c-details__summary:hover {
  color: var(--color-brand-primary);
}
.c-details__child {
  padding: 0 0 1em;
  margin-top: 0;
}
.c-details__child p {
  color: inherit;
  padding: 0 2em 0 0;
}
.c-details__child p:first-of-type {
  margin-top: 0;
}

.summary__title {
  padding: 0 2em 0 0;
}
details[open] summary ~ * {
  animation:sweep .5s ease-in-out
}
@keyframes sweep {
  0% {
      opacity: 0;
      margin-top:0;
  }

  100% {
      opacity: 1;
      margin-top:0
  }
}
details > summary::after {
  position: absolute;
  content: "+";
  right: 1em;
}
details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 1em;
}
details > summary::-webkit-details-marker {
  display: none;
}
summary {
  list-style: none;
}

/* Roundbox */
.roundbox {
  padding: 0em 1em 2em;
  border: var(--color-text-primary) solid 1px;
  border-radius: var(--rounded-m);
  color: var(--color-dark);
}

* + .roundbox,
.roundbox + .roundbox {
  margin-block-start: clamp(2rem, calc(1.82rem + 0.91vw), 2.5rem);
}

.roundbox--peergynt-01 {
  background-color: #f28482;
}

.roundbox--peergynt-02 {
  background-color: #84a59d;
}

.roundbox--peergynt-03 {
  background-color: #f5cac3;
}

.roundbox--peergynt-04 {
  background-color: #f7ede2;
}

.roundbox--peergynt-05 {
  background-color: #f6bd60;
}

/* Ferien */
.ferien {
  padding: 2.5em 0 4em 0;
}

.textcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.textgif {
  outline: none;
  background: url(https://oggsmausbach.de/assets/images/giphy.gif);
  background-size: contain;
  background-position: top left;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(3rem, calc(0.53rem + 5.35vw), 4.55rem);
  font-weight: bold;
  font-family: monospace;
}

.textbox {
  max-width: 40ch;
  text-align: center;
  margin: 0 auto;
  padding-block-start: 2em;
}

/* Zirkus */
:root {
  --color-zirkus-text: #52558a;
}

.zirkus {
  background-color: #95def0;
  background: radial-gradient(circle, rgb(149, 222, 240) 0%, rgb(185, 234, 246) 100%);
  color: var(--color-zirkus-text);
  text-align: center;
}

.zirkus h3 {
  color: var(--color-zirkus-text);
}

.zirkusShows {
  padding: 1em 0.5em;
  border-radius: var(--rounded-m);
  background-color: #cde37c;
  text-align: center;
}

.zirkusShows p:nth-of-type(1) {
  font-size: 2em;
  font-weight: bold;
  margin-block-end: 0;
}

.zirkusShows p:last-child {
  margin: 0;
}

.notiz {
  position: relative;
}

del {
  text-decoration-color: var(--color-brand-primary);
  text-decoration-thickness: 4px;
}

ins {
  text-decoration: none;
  color: var(--color-brand-primary);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  transform: rotate(-10deg);
  font-family: Caveat, Georgia, serif;
}

/* Schülerzeitung */
.bg-rounded {
    background-color: #e1e1e1;
    border-radius: var(--rounded-xl);
    padding: 2rem;
}

.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(3rem, calc(2.85rem + 0.73vw), 3.38rem);
}

.sidebar {
  display: flex;
  justify-content: center;
  flex-basis: 15rem;
  flex-grow: 1;
}

.sidebar img {
  margin-top: 0;
}

.not-sidebar {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 20ch;
  align-self: center;
  text-align: center;
  margin-top: 0;
}

.not-sidebar h3 {
  margin: 0;
  color: var(--color-brand-primary);
}

.rev {
  flex-direction: row-reverse;
}

/* Streitschlichter*innen */
h3.streitHeader {
  margin: 0;
  color: var(--color-brand-primary);
  text-align: center;
}

.bg-rounded.streitBox {
  padding: 1.5rem 0 0;
  overflow: hidden;
}

/* Wir suchen */
.bg-rounded.bg-rounded__one {
  background: #BCF4F5;
}

.bg-rounded.bg-rounded__two {
  background: #B4EBCA;
}

.bg-rounded.bg-rounded__three {
  background: #D9F2B4;
}

.bg-rounded.bg-rounded__one h3,
.bg-rounded.bg-rounded__two h3,
.bg-rounded.bg-rounded__three h3 {
  text-align: center;
  margin: 0;
}

.bg-rounded.bg-rounded__one strong,
.bg-rounded.bg-rounded__two strong,
.bg-rounded.bg-rounded__three strong {
  color: var(--color-text-primary)
}

/* Wir suchen | Startseite */
.suche {
	background: rgb(188,244,245);
  background: radial-gradient(circle, rgba(188,244,245,1) 0%, rgba(135,228,230,1) 100%);
  padding-top: 1.5em;
  padding-bottom: 4em;
}

.suche h3 {
  color: var(--color-text-primary);
}

.button.button-suche {
	background-color: var(--color-text-primary);
	color: #bcf4f5;
}

.exampleFeatures-text.exampleFeatures-text-suche {
	order: -1;
}

.exampleFeatures-figure.exampleFeatures-figure-suche {
	box-shadow: none;
}

/* Karneval 2024 */
.alaaf {
  background: rgb(109,191,255);
  background-image: url("https://oggsmausbach.de/images/bg-alaaf.png"), radial-gradient(circle, rgba(235,181,255,1) 42%, rgba(109,191,255,1) 100%);
  color: var(--color-dark);
}

.top-alaaf {
	background: rgb(109,191,255);
	color: var(--color-dark);
}

.alaaf h3,
.alaaf strong {
  color: #3c2382;
}

/* Schuelerzeitungswettbewerb */
h3.not-blog {
  font-family: var(--font-base);
  font-size: 1.5em;
  line-height: 1.3;
}

@media screen and (min-width: 30em) {
  h3.not-blog {
      font-size: 2em;
  }
}

@media screen and (min-width: 50em) {
  h3.not-blog {
      font-size: 2.25em;
  }
}

/* Alert Startseite */
.alertStartseite {
  color: var(--color-text-secondary);
  background-color: #467F56;
  background-image: url(../images/bg-overlay.png);
  background-position: top left;
  background-attachment: fixed;
  background-size: auto;
}

.alert {
  margin-inline: auto;
  max-width: 50rem;
  padding: 1rem 2rem;
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.alert_text {
  margin-top: 0;
  flex-basis: 30ch;
  flex-grow: 999;
}

.alert_link {
  margin-top: 0;
  flex-basis: 12ch;
  flex-grow: 1;
  border: 1px solid var(--color-text-secondary);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 40px 3px rgba(255,255,255,0.3);
}

.alert a:hover {
  box-shadow: 0 0 50px 4px rgba(255,255,95,0.3);
}

/* Suche FSJ */
.bg-rounded.fsj {
  background-image: url(../images/bg-overlay.png);
  background-position: top left;
  background-attachment: fixed;
  background-size: auto;
  background-color: #467F56;
  color: white;
}

.klassenfahrt > .bg-rounded:nth-of-type(odd) {
  background-color: #D7D3D1;
  transform: rotate(2deg);
  padding: 1.5rem;
  }

  .klassenfahrt > .bg-rounded:nth-of-type(even) {
    background-color: #ECE2D0;
    transform: rotate(-2deg);
    padding: 1.5rem;
}

/* .klassenfahrt > * + .bg-rounded {
  margin-block-start: 4rem;
} */

.klassenfahrt > * + * {
  margin-block-start: 4rem;
}

.klassenfahrt strong {
  color: currentColor;
}


/* New Navigation */
:root {
  --font--2: clamp(0.69rem, calc(0.64rem + 0.21vw), 0.8rem);
  --font--1: clamp(0.83rem, calc(0.75rem + 0.33vw), 1rem);
  --font-0: clamp(1rem, calc(0.88rem + 0.5vw), 1.25rem);
  --font-1: clamp(1.2rem, calc(1.02rem + 0.73vw), 1.56rem);
  --font-2: clamp(1.44rem, calc(1.18rem + 1.03vw), 1.95rem);
  --font-3: clamp(1.73rem, calc(1.37rem + 1.43vw), 2.44rem);
  --font-4: clamp(2.07rem, calc(1.58rem + 1.96vw), 3.05rem);
  --font-5: clamp(2.49rem, calc(1.82rem + 2.65vw), 3.82rem);
  --font-weight-lite: 100;
  --font-weight-md: 300;
  --font-weight-bold: 700;
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: Georgia, 'Times New Roman', Times, serif;
  --font-monospace: monospace;
  --radius-xs: 0.25rem;
  --radius-sm: 0.4rem;
  --radius-md: 0.8rem;
  --radius-pill: 360px;
  --radius-round: 50%;
  --space-3xs: clamp(0.25rem, calc(0.23rem + 0.12vw), 0.31rem);
  --space-2xs: clamp(0.5rem, calc(0.48rem + 0.12vw), 0.56rem);
  --space-xs: clamp(0.75rem, calc(0.7rem + 0.24vw), 0.88rem);
  --space-sm: clamp(1rem, calc(0.95rem + 0.24vw), 1.13rem);
  --space-md: clamp(1.5rem, calc(1.43rem + 0.37vw), 1.69rem);
  --space-lg: clamp(2rem, calc(1.9rem + 0.49vw), 2.25rem);
  --space-xl: clamp(3rem, calc(2.85rem + 0.73vw), 3.38rem);
  --space-2xl: clamp(4rem, calc(3.8rem + 0.98vw), 4.5rem);
  --space-3xl: clamp(6rem, calc(5.71rem + 1.46vw), 6.75rem);
  --space-l-2xl: clamp(2rem,1.07rem + 4.66vw,5rem);
  --duration: 200ms;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --page-padding: clamp(var(--space-sm), 6vw, var(--space-md));
  --page-max-width: 85rem;
  --content-max-width: 42rem;
  --column-gap: var(--space-md);
  --column-width: 250px;
  --outline: 2px solid var(--color-secondary);
  --outline-offset:2px;
  --color-text: rgb(83, 77, 76);
  --color-text-accent: hsl(0, 0%, 93%);
  --color-bg: rgb(254 251 245);
  --color-bg-accent: hsl(0, 0%, 93%);
  --color-bg-shadow: hsl(0, 0%, 95%);
  --color-primary: hsl(0, 65%, 51%);
  /* --color-primary: rgb(221 54 42); */
  }

.siteHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  padding-block-start: var(--space-md);
  column-gap: 4rem;
  row-gap: 0.75rem;
}

.siteHeader__nav {
  margin: 0;
}

.siteHeader__ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 0.5rem;
  align-items: baseline;
  margin: 0;
}

.siteHeader a {
  color: inherit;
  text-decoration: none;
  font-size: var(--font-primary);
  transition: opacity 2s;
  font-weight: 700;
}

a.siteHeader__logo {
  font-size: 2rem;
  line-height: 1;
}

.siteHeader__ul:hover .siteHeader__li:not(:hover) {
  opacity: 0.6;
}
header {
  background-color: var(--spot-color);
  color: var(--color-text-secondary);
  }
  .page-navigation {
  margin-inline: auto;
  width: min(var(--page-max-width), 100% - var(--page-padding) * 2);
  padding-block: var(--space-md);
  }
  ul.main-navigation {
    list-style-type: none;
    align-items: baseline;
    padding: 0;
    margin: 0;
  }
  ul a {
    color: inherit;
    /* text-decoration: none; */
  }
  .logo a {
    font-size: 2.125rem;
    font-weight: 500;
  }
  ul.main-navigation {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--column-gap);
  }
  li.logo {
    margin-right: auto;
  }
  .links {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--space-md);
    row-gap: var(--space-xs);
  }
  .kontakt {
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: var(--space-3xs) var(--space-2xs);
    background-color: var(--color-background);
    color: var(--color-brand-primary)
  }
  .spot-color-primary {
  --spot-color: var(--color-primary);
  }
  .spot-color-secondary {
  --spot-color: var(--color-secondary);
  }

  .section__inner {
    background-color: var(--spot-color);
    color: var(--color-bg);
    }

/* Team */
.grid {
  display: grid;
  gap: var(--gutter,var(--space-lg));
  grid-template-columns: repeat(var(--grid-placement,auto-fill),minmax(var(--grid-min-item-size,16rem),1fr));
}

.grid[data-layout="team"] {
  --grid-placement: unset;
  --grid-min-item-size: min(12rem, 100%);
}

[data-layout="team"] {
  margin-block-start: var(--space-lg);
}

[data-layout="team"] img {
  margin-block-start: 0;
}

[data-layout="team"] h3 {
  margin-block-start: 0;
  font-size: var(--font-0);
  line-height: 1;
}

[data-layout="team"] p {
  font-size: var(--font--2);
  margin-block-start: 0;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgb(211, 47, 47) 25%);;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  overflow: hidden;
  /* padding: var(--space-md); */
}

.textBox {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  margin-block-start: 0;
}

/* Lernportale */
.grid[data-layout="portal"] {
  --grid-placement: unset;
  --grid-min-item-size: min(10rem, 100%);
}

[data-layout="portal"] {
  margin-block-start: var(--space-lg);
}

[data-layout="portal"] img {
  margin-block-start: 0;
}

[data-layout="portal"] h3 {
  margin-block-start: 0;
  font-size: var(--font-0);
}

/* Site: Schulleben */
.archive h2 {
  border-bottom: 4px dotted;
}

.archive h2 {
  position: sticky;
  top: 0px;
  z-index: 10;
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.2' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='25' specularConstant='0.6' specularExponent='20' lighting-color='%23f19400' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='90'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='%23ffffff'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f19400' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E");
}

.archive ul {
  list-style: none;
  padding: 0;
}

.archive li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.5em 0;
  margin: 0;
}

@media (min-width:40em) {
  .archive li {
      flex-direction: row;
      gap: 2em;
  }
}

.archive li time {
  text-align: right;
  flex-shrink: 0;
  color: var(--color-brand-primary);
  margin: 0;
}

.archive + .archive {
	margin-block-start: var(--space-lg);
}

/* Artikel */
h1.postTitle {
	text-align: center;
  /* font-size: var(--font-5); */
  line-height: 1;
  font-family: Caveat, Georgia, 'Times New Roman', Times, serif;
  margin-block-end: 0;
}

.meta {
	--space: 1rem;
	display: flex;
	flex-wrap: wrap;
	font-size: .8em;
	gap: .3rem 2rem;
	justify-content: center;
	align-items: center;
}

.meta > * {
  margin-block-start: 0;
}

.meta__date {
	display: flex;
	gap: .3rem;
	align-items: center;
}

.meta__date > * {
	margin-block-start: 0;
}

.meta__date svg {
  height: 2em;
  width: 2em;
  transform: rotate(-10deg);
}

.offenFlex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-content: flex-start;
  column-gap: 3rem;
}

.offenFlex > div + div {
  margin-block-start: 0;
}

.offen h3,
.offen h4 {
  color: #28968A;
}

.nmbsu > p:first-of-type {
  margin-block-start: 0;
}

.noflow {
  margin-block-start: 0;
}

/* New Footer */
footer {
  margin-block-start: 0;
  padding-block: var(--space-2xl);
}

footer h2 {
  margin-block-start: 0;
}

footer blockquote {
  border-left: 0.5rem solid var(--color-background);
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--space-2xl);
}

.info-schule,
.info-sekretariat {
  flex: 1;
  flex-basis: 30ch;
}

.page-info {
  padding-block-start: var(--space-2xl);
  display: flex;
  gap: 3em;
}

.page-info > * {
  margin-block-start: 0;
}

.contrastPicture {
  box-shadow: none;
}

/* Schulsozialarbeit */
.cardSozial {
  gap: 3rem 4rem;
}

.cardSozial > .sidebar > img {
  border-radius: 9999px;
  border: 0.5rem solid var(--color-brand-secondary);
  flex-grow: unset;
  flex-basis: 300px
}

.cardSozial > .not-sidebar {
  text-align: left;
  margin-block: 1em;
}

.cardSozial > .not-sidebar * {
  margin-top: 0;
}

.cardArbeit {
  display: flex;
  gap: 0 4rem;
  flex-wrap: wrap;
}

.cardArbeit > * {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 24ch;
}

.cardArbeit__kinder {
  margin-block-start: 0;
}

.ugly-space {
  margin-block-start: 1.5em;
}

/* Adventskalender */
.adventskalender,
.adventTeaser {
  background: rgb(70, 127, 86);
  background-image: url("https://oggsmausbach.de/images/bg-adventskalender.png"), url("https://oggsmausbach.de/images/bg-overlay.png"), linear-gradient(180deg, rgb(49, 74, 56) 0%, rgb(70, 127, 86) 100%);
  background-position: center;
  color: var(--color-text-secondary);
}

.adventskalender h1,
.adventskalender h2,
.adventskalender p {
  text-wrap: balance;
}

.adventskalender h2,
.adventskalender p {
  text-align: center;
  text-shadow: 0px 0px 50px rgba(255,255,95,1);
}

.adventskalender h2 {
  font-size: var(--font-3);
  color: var(--color-text-secondary);
  margin-block-end: 0;
  max-width: 30ch;
  margin-inline: auto;
  margin-block-start: var(--space-2xl);
}

.adventskalender p {
  font-size: var(--font-0);
  margin-block-start: var(--space-lg);
}

.advent-heading h2 {
  margin-block: var(--space-xl);
}

.top-adventskalender {
  background: rgb(70, 127, 86);
  background-image: url("https://oggsmausbach.de/images/bg-adventskalender.png"), url("https://oggsmausbach.de/images/bg-overlay.png"), linear-gradient(180deg, rgb(70, 127, 86) 0%, rgb(61, 103, 73) 100%);
  color: var(--color-text-secondary);
}

.advent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  grid-gap: 2rem;
  margin-block-start: var(--space-2xl);
}

.advent-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-block-start: 0;
  background-color: var(--color-brand-primary);
}

.advent-image {
  margin-block-start: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
  opacity: 0.2;
}

.advent-image:hover,
.advent > li[data-day]:focus-within img {
  transform: scale(1.15);
}

.advent-item[data-day="live"] img,
.advent-item[data-day="gameday"] img {
  opacity: 1;
}

.advent-item[data-day="gameday"] {
  background-color: var(--color-brand-secondary);
}

.adventTeaser h3 {
  color: var(--color-text-secondary);
  font-size: clamp(1.875rem, 1.25rem + 3.3333vw, 3.75rem);
  text-wrap: balance;
}

.button-advent {
  margin-block: var(--space-lg) 0;
  background-color: var(--color-text-secondary);
  color: rgb(70, 127, 86);
  box-shadow: 0 0 40px 3px rgba(255,255,255,0.5);
}

.button.button-advent:hover {
  box-shadow: 0 0 50px 4px rgba(255,255,95,0.3);
}

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

.advent-item a:focus-visible {
  outline: none;
}

.advent-item:focus-within {
  outline: .15rem dotted currentColor;
  outline-offset: .10rem;
}

.advent>li:nth-child(15) {
  order: 1;
}
.advent>li:nth-child(6) {
  order: 2;
}
.advent>li:nth-child(21) {
  order: 3;
}
.advent>li:nth-child(24) {
  order: 4;
}
.advent>li:nth-child(16) {
  order: 5;
}
.advent>li:nth-child(23) {
  order: 6;
}
.advent>li:nth-child(4) {
  order: 7;
}
.advent>li:nth-child(12) {
  order: 8;
}
.advent>li:nth-child(19) {
  order: 9;
}
.advent>li:nth-child(7) {
  order: 10;
}
.advent>li:nth-child(1) {
  order: 11;
}
.advent>li:nth-child(18) {
  order: 12;
}
.advent>li:nth-child(13) {
  order: 13;
  grid-column: 1 / -1;
}
.advent>li:nth-child(9) {
  order: 14;
}
.advent>li:nth-child(25) {
  order: 15;
}
.advent>li:nth-child(14) {
  order: 16;
}
.advent>li:nth-child(22) {
  order: 17;
}
.advent>li:nth-child(10) {
  order: 18;
}
.advent>li:nth-child(5) {
  order: 19;
}
.advent>li:nth-child(20) {
  order: 20;
}
.advent>li:nth-child(17) {
  order: 21;
}
.advent>li:nth-child(3) {
  order: 22;
}
.advent>li:nth-child(11) {
  order: 23;
}
.advent>li:nth-child(8) {
  order: 24;
}
.advent>li:nth-child(2) {
  order: 25;
}

.christmasHeading {
  color: var(--color-brand-primary);
  font-size: clamp(1.875rem, 1.25rem + 3.3333vw, 3.75rem);
  letter-spacing: 0.2rem;
}

/* Kooperation */
.kooperation {
  display: flex;
  gap: 3rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-block-start: var(--space-xl);
}

.kooperation div {
  margin-block-start: 0;
}

.kooperation img {
  width: auto;
  margin-block-start: 0;
  box-shadow: none;
}

.rise {
  opacity: 0;
  animation: rise 1.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes rise {
  0% {
    transform: translateY(2rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    color: var(--color-text-dark)
  }

  main, .top {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.2' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='50' specularConstant='0.6' specularExponent='20' lighting-color='%23f19400' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='90'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='%230f2630'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f19400' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E");
  }

  main h2 {
    color: var(--color-brand-secondary);
  }

  strong {
    color: var(--color-brand-secondary);
  }

  blockquote {
    border-left: 0.5rem solid var(--color-brand-secondary);
  }

  .contrastPicture {
    /* filter: brightness(50%);
    transition: filter 0.25s; */
    border-radius: var(--rounded-m);
  }

  /* .contrastPicture:hover {
    filter: brightness(100%);
  } */

  .wdr {
    color: var(--color-text-primary);
  }

  .roundbox {
    border: var(--color-text-dark) solid 1px;
  }

  .blog h3 {
    color: var(--color-text-dark);
  }

  .bg-rounded {
    background-color: var(--color-brand-primary);
    color: var(--color-text-secondary);
  }

  .not-sidebar h3 {
    color: var(--color-text-secondary);
  }

  h3.streitHeader {
    color: var(--color-text-secondary);
  }

  .bg-rounded.bg-rounded__one,
  .bg-rounded.bg-rounded__two,
  .bg-rounded.bg-rounded__three {
  color: var(--color-text-primary)
  }

  .exampleFeatures-text.exampleFeatures-text-suche {
    color: var(--color-text-primary);
  }

  .top-alaaf {
    background: rgb(109,191,255);
  }

  .alaaf h3{
    color: #3c2382;
  }

  .bg-rounded.bg-rounded__one.fsj {
    color: var(--color-text-secondary);
  }

  .klassenfahrt .bg-rounded {
    color: var(--color-text-primary);
  }

  .archive h2 {
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700' opacity='1'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.2' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='50' specularConstant='0.6' specularExponent='20' lighting-color='%23f19400' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='90'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='%230f2630'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f19400' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E");
  }

  .archive li time {
    color: var(--color-brand-secondary);
  }

  ul.daten li::marker {
    color: currentColor;
  }

  .top-adventskalender {
    background: rgb(70, 127, 86);
    background-image: url("https://oggsmausbach.de/images/bg-adventskalender.png"), url("https://oggsmausbach.de/images/bg-overlay.png"), linear-gradient(180deg, rgb(70, 127, 86) 0%, rgb(61, 103, 73) 100%);
  }

  .christmasHeading {
    color: var(--color-brand-secondary);
  }

  .kooperation div {
    background-color: var(--color-text-secondary);
    padding-block: 0.5rem;
    border-radius: var(--radius-sm);
  }

  .kooperation div:nth-child(3) {
    background-color: #E31812;
  }
}