html { font-size: 24px; }
@media screen and (min-width: 600px) and (max-width: 1100px) { 
  html { font-size: 18px; } 
}
  
:root {
  --darkblue: #01153B;
  --purple: #473DA4;
  --green: #D3FF33;
  --white: #ffffff;
}

/* Hilfsklasse für Screenreader, versteckt optisch, bleibt aber zugänglich */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

body {
  margin: 0;
  font-family: 'VisitBerlin', sans-serif;
  color: var(--purple);
  background-color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

.innerwidth {
  width: calc(100% - 40px);
  max-width: 1280px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

h2,
h3 {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 25px 0;
}

h3 {
  font-size: 30px;
}

.column-outerwrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  position: relative;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.theme--purple {
  background: var(--purple);
  color: white;
}

.theme--green {
  background: var(--green);
  color: var(--darkblue);
}

.theme--darkblue {
  background: var(--darkblue);
  color: white;
}

.theme--green .cta-button {
  background: var(--darkblue);
}

.theme--green .cta-button:hover {
  background: white;
}

.theme--green .cta-button a {
  color: white;
}

.theme--purple .cta-button,
.theme--darkblue .cta-button {
  background: var(--green);
}

.theme--purple .cta-button:hover,
.theme--darkblue .cta-button:hover {
  background: white;
}

.theme--purple .cta-button:hover a,
.theme--darkblue .cta-button:hover a {
  color: var(--darkblue);
}

article > .title-wrap {
  background: var(--purple);
  padding: 20px 40px;
}

article > .title-wrap > h1 {
  color: var(--green);
  font-size: 50px;
  text-align: center;
}

a {
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background:  var(--purple);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}


/* 1. Grundzustand: für alle Nutzer unsichtbar, aber weiter fokussierbar */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* 2. Bei Fokus: sichtbar machen */
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--purple);
  color: var(--white);
  font-size: 1rem;
  text-decoration: none;
  clip: auto;
  overflow: visible;
  z-index: 1000;
}

a { color: var(--purple); text-decoration: none; }
a:focus, button:focus { outline: 3px solid #000; outline-offset: 2px; }

/* a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--blue-medium);
} */

/* a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--purple);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
} */

a.backlink {
  font-size: 20px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

a.backlink:before {
  content: "";
  display: inline-block;
  background: url('../images/arrow-left-purple.svg') no-repeat center left;
  background-size: contain;
  width: 22px; height: 22px;
  margin-right: 10px;
  transform: translateY(3px);
}

button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}

.cta-button {
  background-color: var(--green);
  border-radius: 100px;
  color: var(--purple);
  border: none;
  padding: 0;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
}

.cta-button a {
  text-align: center;
  padding: 0.75rem 5rem;
  display: block;
}

.cta-button:hover {
  background-color: var(--purple);
  color: white;
}

.cta-button:hover a {
  color: white;
}

.cta-button.cta-button-outline {
  background-color: transparent;
  border:2px solid var(--purple);
  color: var(--purple);
}

.cta-button.cta-button-outline:hover {
  background-color: var(--purple);
}
.cta-button.cta-button-outline:hover a {
  color: white;
}

.cta-button a:after {
  content: initial;
}

/* Main Content */

main.main-intro:before {
  content: "";
  display: block;
  width: 70px;
  height: 18px;
  background: url('../images/arrow-down.svg') no-repeat center center;
  background-size: contain;
  margin: 0 auto;
}

main.main-intro {
  background: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

main.main-intro.main-intro-text {
  background: var(--white);
  padding: 2rem 1rem;
  text-align: left;
  font-size: 0.75rem;
}

main.main-intro.main-intro-text:before {
  display: none;
}

main.main-intro a {
  text-decoration: underline;
}

main.main-intro a:hover {
  color: var(--darkblue);
}

section.sponsors {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--white);
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1rem;
}

.sponsor-logos img {
  max-height: 60px;
  width: auto;
}

@media screen and (max-width: 1100px) {

  body {
    font-size: 20px;
    line-height: 1.5;
  }

  h1 {
    font-size: 1.1rem;
    line-height: 1.5;
  } 

  h2 {
    font-size: 30px;
  }

  article > .title-wrap {
    padding: 20px;
  }

  main.main-intro {
    padding: 1rem;
  }

  .sponsor-logos {
    gap: 1.5rem;
  }

  .sponsor-logos img {
    max-height: 75px;
  }

  .cta-button a {
    padding: 0.75rem 2rem;
  }

  .view-footer .cta-button {
    width: 100%;
  }

  article > .title-wrap > h1 {
    font-size: 40px;
  }

  article p {
    word-break: break-word;
  }
}