* {
  margin: 0;
  padding: 0;
}


/* atkinson-hyperlegible-next-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/atkinson-hyperlegible-next-v7-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* atkinson-hyperlegible-next-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/atkinson-hyperlegible-next-v7-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* atkinson-hyperlegible-next-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/atkinson-hyperlegible-next-v7-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* atkinson-hyperlegible-next-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/atkinson-hyperlegible-next-v7-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
  --padding: 1.5rem;
  --color-black: #050505;
  --color-white: #fff;
  /*--color-brand: #d18f00;*/
  --color-brand: #a26802;
  --color-brand-dark: #b37200;
  --color-lightgrey: #fefefe;
  --color-grey: #7A7C7E;
  --color-grey-dark: #545457;
  --color-background: #fdfdfc;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey-dark);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: "Atkinson Hyperlegible Next",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-sans2: "Atkinson Hyperlegible Next",-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.debug * {
  outline: 1px solid red;
}

/* Fade-Übergang zwischen Seiten */
@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes fade-out {
  to { opacity: 0; }
}

::view-transition-old(root) {
  animation: fade-out 0.3s ease forwards;
}

::view-transition-new(root) {
  animation: fade-in 0.3s ease forwards;
}
html {
  font-family: var(--font-family-sans2), sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  scroll-behavior: smooth;
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('../images/oeding-logo-white.svg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center bottom -50%;
  background-size: 100% auto;
  pointer-events: none;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}

.home-grid {
  display: grid;
  list-style: none;
  grid-gap: 1.5rem;
  line-height: 0;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
}
.home-grid li {
  position: relative;
  --cols: 1;
  overflow: hidden;
  background: #000;
  line-height: 0;
}


.home-grid a {
  display: block;
  height: 10rem;
  overflow: hidden;
}
.home-grid img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.home-grid a:hover img {
  transform: scale(1.1);
}

.home-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1.2;
  text-align: center;
  background: rgba(0,0,0,0);
  opacity: 0;
  transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transition-delay: 0.3s;
  pointer-events: none;
}

.home-grid a:hover figcaption {
  opacity: 1;
  background: rgba(0,0,0,0.5);
}

.home-grid figcaption span {
  padding: 1rem;
}


@media screen and (min-width: 45em) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-grid a {
    padding-bottom: 75%;
  }
}

@media screen and (min-width: 65em) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-grid a {
    padding-bottom: 52.65%;
  }
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}


.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
  font-family: var(--font-family-sans2), sans-serif;
}
.introtitle {
  h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .color-grey{
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 2rem 0;
  }
  margin-bottom: 2rem;
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 2rem;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: flex;
}
.menu a {
  font-size:20px;
  padding: 1rem;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.menu a:hover {
  color: var(--color-brand-dark);
  transform: scale(1.1);
  /*text-decoration: underline;*/

}

.menu a[aria-current] {
  text-decoration: none;
  color: var(--color-brand);
  transition: color 0.3s ease-in-out;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menu-toggle__bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-nav {
  display: none;
}
.mobile-nav[hidden] {
  display: none !important;
}
@media (max-width: 499px) {
  .menu-toggle {
    display: flex;
  }
  .menu {
    display: none;
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-background);
    z-index: 1001;
    padding: 6rem var(--padding) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .mobile-nav a {
    font-size: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-light);
    text-decoration: none;
    color: var(--color-text);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .mobile-nav a[aria-current] {
    color: var(--color-brand);
  }
  .mobile-nav a:hover {
    color: var(--color-brand-dark);
  }
}

.social {
  display: flex;
  padding: 0 0rem;
}
.social a {
  padding: 0rem .5rem 1rem .5rem;
}
.social a:hover {
  color: var(--color-black);
}
.social a:hover svg {
  fill: var(--color-black);
}
.social svg {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-family: var(--font-family-sans2), sans-serif;
}


p {
  font-size: 1.25rem;
  line-height: 1.5em;
  font-family: var(--font-family-sans2), sans-serif;
  font-weight: 300;
}

header p {
  font-family: var(--font-family-sans), sans-serif;
}
.normal {
  font-size:  1.25rem;
  line-height: 1.5em;
  font-weight: 300;
  font-family: var(--font-family-sans2), sans-serif;
  margin-top:2rem;

}
.introtext {
  font-family: var(--font-family-sans2), sans-serif!important;
  font-weight:600;
}
.introtext a {
  color: var(--color-brand);
  text-decoration: none;
}
.introtext a:hover {
  color: var(--color-brand-dark);
}

.text {
  line-height: 1.5em;
}
.text a {
  color: var(--color-brand);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.text a:hover {
  color: var(--color-brand-dark);
  transform: scale(1.1);
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5em;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 3rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 2.0rem;
  line-height: 1.25em;
  font-weight: 600;
  margin-bottom: 1.15rem;

}
.text h3,
.h3 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono), monospace;
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}
.introtext {
  font-weight: 300;
  font-size: 2rem;
  margin-top:3rem;
  margin-bottom: 3rem;
  line-height: 1.45em;
  padding
}
.contenttext{
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.45em;
}
.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  /*outline: 2px solid var(--color-black);*/
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 2rem 0 4rem 0;
  line-height: 1.5em;
}
/*.footer:before {*/
/*  content: "";*/
/*  display: block;*/
/*  width: 100%;*/
/*  height: 1px;*/
/*  background: var(--color-light);*/
/*  margin-bottom: 1.5rem;*/
/*}*/

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
  font-size: 20px;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
  font-size: 20px;
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}
.footer li {
  margin-bottom: .5rem;
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 2rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.post-excerpt {
  line-height: 1.5em;
}
.post-excerpt header {
  margin-bottom: 1.5rem;
}
.post-excerpt figure {
  margin-bottom: .5rem;
}
.post-excerpt-title {
  font-weight: 600;
}
.post-excerpt-date {
  color: var(--color-text-grey);
}
.post-excerpt-text {
  font-family: var(--font-family-sans2), sans-serif;
}
.contact {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-light);
  border-bottom: 1px solid var(--color-light);

}
.contact .h1 {
  margin-bottom: 1.5rem;
}


/* From Uiverse.io by adamgiebl */
.cssbuttons-io {
  position: relative;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.05em;
  border-radius: 1.5em;
  cursor: pointer;
  border: none;
  background: linear-gradient(to right, var(--color-brand), var(--color-brand));
  color: var(--color-white);
  overflow: hidden;
  margin-top: 2rem;

}

.cssbuttons-io svg {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5em;
}

.cssbuttons-io span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
  display: inline-flex;
  align-items: center;
  padding: 0.15em 1.2em 0em 1.05em;

}

.cssbuttons-io::before,
.cssbuttons-io::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

}

.cssbuttons-io::before {
  content: "";
  background: var(--color-black);
  width: 120%;
  left: -10%;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
}

.cssbuttons-io:hover::before {
  transform: translate3d(100%, 0, 0);
}

.cssbuttons-io:active {
  transform: scale(0.95);
}

/* Logoreferenzen */
.logoreferenzen-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}
.logoreferenzen-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logoreferenzen-grid img {
  filter: grayscale(100%);
  object-fit: contain;
}
.logoreferenzen-grid a {
  display: inline-flex;
}
.post-excerpt a {
  margin-bottom: 1.5rem;
  cursor: pointer;
}