@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

p,
h1,
h2,
h3,
li,
blockquote,
sub {
  font-family: 'Nunito Sans', sans-serif;
  //font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.45;
  color: var(--body-text-color);
  font-weight: 400;
  font-size: var(--p-m);
  text-transform: none;
}

.highlighted {
  --body-text-color: var(--black);
  color: var(--black);
}

.left h1 b {
  font-weight: 700;
}

h1.purple {
  color: var(--purple);
}

blockquote {
  font-size: var(--p-m);
  font-style: italic;
  font-weight: 600;
}

sub {
  color: var(--grayblue);
  font-size: var(--p-xs);
  line-height: 1;
}

sub.tools {
  font-style: italic;
}

.methods sub {
  line-height: 0;
  margin: 0;
}

li {
  line-height: 2;
  color: 0;
  font-weight: 400;
  font-size: var(--p-s);
}

h1 {
  //font-family: "IBM Plex Sans Condensed", sans-serif;
  //font-family: 'Cardo', serif; /* Cardo: nur in 400 und 700, Import oben bleibt */
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 300;
  font-size: var(--h1-s);
  line-height: 1.2;
  margin: 0;
  color: var(--black);
  //text-transform: uppercase;
}

a h1 {
  color: var(--blue);
  text-align: left;
}

a h1 .material-icons {
  font-size: 1em;
  vertical-align: middle;
}

h2 {
  font-size: var(--h2-m);
  font-weight: 300;
  color: var(--black);
}

h3 {
  font-size: var(--h3-m);
  font-weight: 600;
  margin-top: var(--gap-m);
  color: var(--black);
}

p,
li {
  font-size: var(--p-m);
  font-weight: 400;
}

.cont {
  font-size: var(--p-m);
}

.vitahl {
  line-height: 1rem;
}

ul,
li {
  list-style: none;
  padding-left: 0;
  line-height: 2.75rem;
}

.work-list ul,
li {
  list-style: disc;
  width: 100%;

}

.work-list ul {
  padding-left: 40px;
}

.patent p {
  font-style: italic;
}

.patent p a {
  font-style: normal;
}

/* Patente als Liste: Beschreibung kursiv, Titel und Link nicht */
.patent li {
  font-style: italic;
}

.patent li h3,
.patent li b,
.patent li a {
  font-style: normal;
}

/* replace previous .basic-list rule with higher-specificity rules */
ul.basic-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 40px;
  /* restore visible indentation for bullets */
  margin: 0 0 1rem 0;
}

.cv li {
  margin-bottom: 12px;
  /* oder top/bottom nach Bedarf */
}

ul.basic-list li {
  /* ensure li inside .basic-list shows bullets and reasonable spacing */
  list-style-type: disc;
  line-height: 1.5;
  padding-left: 0;
  width: auto;
}

ins {
  font-size: var(--h2-s);
  font-weight: 600;
  text-decoration: none;
}

b {
  font-weight: 800;
}

/*
a, a:hover, a:active, a:visited {
  text-underline-position: under;
  text-decoration-color: var(--blue);
  -webkit-text-underline-position: under;
  -webkit-text-decoration-color: var(--blue);
  color: white;
  font-weight: 600;
  transition: text-decoration-color, 0.5s;
}
a:hover {
  text-decoration-color: white;
  -webkit-text-decoration-color: white;
  color: red;
}
*/

a,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  transition: color, 0.25s;
}

a:hover {
  color: var(--lightblue);
}

a.light {
  color: var(--white);
}

.topbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 90px;
  gap: 0;
}

.bottombar .nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--gap-m);
  width: auto;
}

.topbar p,
.topbar a {
  //font-size: 1.4rem;
  font-weight: 500;
  border: none;
  //text-transform: uppercase;
}

.topbar a {
  color: var(--black);
  text-decoration: none;
  transition: color, 0.25s;
}

.topbar-bottom a {
  color: var(--blue);
  text-decoration: none;
  transition: color, 0.25s;
}

.topbar-bottom a:hover {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color, 0.25s;
}

.topbar a .dark {
  color: var(--white);
  text-decoration: none;
  transition: color, 0.25s;
}

.bottombar a {
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  transition: color, 0.25s;
}

.txt-l {
  font-size: var(--p-m);
  font-size: var(--p-m);
  font-weight: 300;
  line-height: 1.5;
}

.btn-link,
.btn-link:hover {
  font-weight: 700;
  border: none;
}

.topbar a:hover,
.bottombar a:hover {
  color: var(--blue);
}

.topbar a:active,
.bottombar a:active {
  color: var(--darkblue);
}

p.caption {
  margin-bottom: 0;
  color: var(--gray);
}

.projects-link,
.projects-link:hover {
  border: none;
}

p.projects-link {
  writing-mode: vertical-rl;
  line-height: 0;
}

p.projects-link:hover+p.caption {
  color: red;
}

.app-link p,
.app-link sub {
  line-height: 1.5;
  margin: 0;
}

h3.date {
  color: var(--gray);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: var(--gap-xs);
  margin-bottom: var(--gap-xs);
  margin-top: var(--gap-m);
}

footer p {
  margin-top: 0;
}

.hero-m {
  font-size: var(--h2-m);
  font-weight: 400;
}

.hero-s {
  font-size: var(--h2-s);
  font-weight: 400;
}

.hero-l,
.hero-xl {
  font-size: var(--p-xl);
  font-weight: 600;
}

.hero-xl-l-80 {
  font-size: var(--p-xl);
  color: var(--black-80);
}
.hero-xl-l-80 b {
  font-weight: 600;
  color: var(--black)
}

li {
  width: 100%;
}

li.methods {
  width: 100%;
  margin-top: var(--gap-m);
  list-style: none;
}

ul.methods {
  //border-radius: 8px;
  padding: 24px;
  //padding: 10px 0 10px 40px;
  background-color: var(--panel-blue);
}

.methods p {
  margin: 0;
  line-height: 1;
}

.methods sub {
  margin: 0;
  line-height: 1;
}

/* Nummerierte Schritt-Liste (z.B. Idea-Section) + ul-Variante ohne Nummern */
.content ol,
.content ul {
  list-style: none;
  counter-reset: step;
  margin: var(--gap-m) 0 0;
  padding: 0;
}

.content ol li,
.content ul li {
  list-style: none;
  width: auto;
  font-size: var(--p-m);
  font-weight: 400;
  line-height: 1.5;
  color: var(--grayblue);
  counter-increment: step;
  border-bottom: 1px solid var(--grayblue-light);
  padding-bottom: var(--gap-xs);
}

.content ol li+li,
.content ul li+li {
  margin-top: var(--gap-m);
}

.content ol li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: var(--p-xs);
  font-weight: 600;
  line-height: 1.2;
  color: var(--grayblue);
  margin-bottom: 18px;
}

.content ol li b,
.content ul li b {
  display: block;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 6px;
}

.content ul li sub {
  display: block;
  margin-top: var(--gap-xs);
  font-size: var(--p-xs);
  font-weight: 600;
  line-height: 1.2;
}

.outlined-text {
  color: transparent;
  /* keine Füllfarbe */
  -webkit-text-stroke: 1px black;
  /* nur Umriss */
  text-stroke: 1px black;
  /* nicht standardisiert, aber als Fallback */
}

.ux-border {
  color: transparent;
  font-family: Arial;
  -webkit-text-stroke: 2px black;
  /* Umrissfarbe und -stärke */
}

.masked-text {
  display: inline-block;
  /* wichtig, damit background wirkt */
  background-image: url(../images/slanted.png);
  background-size: 200% 100%;
  /* wichtig für den Bewegungseffekt */
  background-position: 0 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: animate-background 12s linear infinite;
}

.interaction {
  background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
  background-size: cover;
  background-position: center 60%;
  color: transparent;
  -moz-background-clip: text;
  -webkit-background-clip: text;
}
.interaction-2 {
  color: #8A37A6;
}
.subtile {
  color: var(--grayblue-light);
}

.subtile a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.subtile a:hover {
  color: var(--lightblue);
}

.hund p {
  line-height: 1.5;
}

.hund h4 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: var(--p-m);
  font-weight: 600;
  line-height: 1.5;
  color: var(--paper);
  margin: var(--gap-s) 0 0;
}

.hund h4 + p {
  margin-top: 0.25em;
}


@keyframes animate-background {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {
  h2 {
    font-size: var(--h2-m);
  }

  p,
  li,
  blockquote {
    font-size: var(--p-m);
  }

  sub {
    color: var(--grayblue);
    font-size: var(--p-s);
    line-height: 1.3;
  }

  .hero-m {
    font-size: var(--h2-m);
    font-weight: 400;
  }

  .cont {
    font-size: var(--p-m);
  }

  .topbar p,
  .topbar a {
    font-size: var(--p-m);
    font-weight: 600;
  }

  .teaser-content h1,
  .about-content h1 {
    //margin: 0 0 0 -150px;
  }

  .txt-xl {
    font-size: var(--p-l);
  }

  li {
    width: 50%;
  }

  ins {
    font-size: var(--h2-m);
    font-weight: 600;
    text-decoration: none;
  }

  .hero-h {
    font-size: var(--h1-l);
  }

  .work-list ul,
  li {
    width: 100%;
  }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
  h1 {
    font-size: var(--h1-l);
  }

  .hero-xl {
    font-size: var(--p-xl);
  }

  .hero-xl-l {
    font-size: var(--p-xl);
  }
  .hero-xl-l-80 {
    font-size: var(--p-xl);
  }

  .work-list ul,
  li {
    width: 100%;
  }
}

/*---------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1280px) {
  h1 {
    font-size: var(--h1-xl);
  }

  .work-list ul,
  li {
    width: 100%;
  }
}
