html {
  scroll-behavior: smooth;
  background: #f1f1f1;
}

body {
  margin: 0;
  min-width: 320px;
  color: #000;
  background: #f1f1f1;
  font-family: "Exo 2", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: #ec9122;
  text-decoration: none;
}

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

.zentriert {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.narrow {
  width: min(100%, 980px);
}

#header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 32px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #d2d9de;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: #213b4c;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#navigation li {
  background: none;
  padding: 0;
}

#navigation a {
  display: inline-block;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  text-decoration-color: #ec9122;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

#navigation a:hover,
#navigation a:focus,
#navigation a.active {
  color: #ec9122;
  text-decoration: underline;
}

.logo img {
  width: 280px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onepageinhalt {
  background: #fff;
}

.bereiche {
  background: #fff;
}

.fullbleed-image {
  width: 100%;
  overflow: hidden;
}

.fullbleed-image img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

#willkommen .fullbleed-image img {
  height: 360px;
}

.inhalt {
  padding: 58px 32px 54px;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: #213b4c;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 400;
}

h1 .zwei {
  display: inline-block;
  margin-top: 6px;
  color: #7fb4d3;
  font-size: 22px;
}

h2 {
  color: #213b4c;
  font-size: 30px;
  font-weight: 600;
}

h3 {
  color: #223e4f;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
}

h4 {
  color: #fff;
  font-family: "Waiting for the Sunrise", "Comic Sans MS", cursive;
  font-size: 55px;
  font-weight: 400;
  text-align: center;
}

p {
  color: #000;
  font-size: 18px;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 40px 0 28px;
}

.intro-card {
  min-width: 0;
  min-height: 180px;
  padding: 28px 30px 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #163149, #1f3d57);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.intro-card h2 {
  margin-bottom: 14px;
  color: #ef9b1d;
  font-size: 25px;
}

.intro-card p {
  margin-bottom: 0;
  color: #fff;
  font-size: 18px;
}

.scriptline {
  margin-top: 4px;
}

.leistungen-layout {
  display: grid;
  justify-items: center;
  gap: 30px;
  margin-top: 34px;
}

.leistungen-bild {
  width: 920px;
  max-width: 100%;
}

.sectionbanner {
  padding: 84px 20px 74px;
  background: linear-gradient(180deg, #0d2a42, #143650);
  color: #fff;
  text-align: center;
}

.sectionbanner h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 400;
}

.sectionbanner p {
  margin-bottom: 0;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

#aktivitaeten {
  position: relative;
  overflow: hidden;
}

#aktivitaeten .inhalt {
  position: relative;
}

#aktivitaeten::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 360px;
  height: 360px;
  transform: translateY(-10%);
  background: url("bg_aktivitaeten.png") right center / contain no-repeat;
  pointer-events: none;
  z-index: 3;
}

.activities-list {
  display: grid;
  gap: 28px;
  position: relative;
}

#aktivitaeten .activities-list {
  position: relative;
  z-index: 4;
}

.activity {
  padding: 0 0 26px;
  border-bottom: 1px solid #dde4e8;
}

.activity:last-child {
  border-bottom: 0;
}

.activity h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.activity-date {
  margin-bottom: 12px;
  color: #ec9122;
  font-size: 13px;
  font-weight: 700;
}

.activity p {
  margin-bottom: 12px;
  font-size: 18px;
}

.activity-gallery {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.gallery-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.activity-gallery.vertical {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.activity-gallery img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 1px solid #d6dde1;
}


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

.partner-block {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.partner-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 760px);
  min-height: 220px;
  margin: 20px auto 8px;
  padding: 26px 32px;
  box-sizing: border-box;
}

.partner-logo img {
  width: min(100%, 460px);
}

.partner-block p {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 18px;
  background: rgba(20, 35, 50, 0.5);
  color: #fff;
  font-size: 18px;
}

.contact-banner h2,
.contact-banner p {
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}

.contact-copy p {
  font-size: 18px;
}

.contact-image {
  display: flex;
  justify-content: center;
}

.contact-image img {
  width: 420px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.downloads-block {
  margin-top: 30px;
  text-align: center;
}

.downloads-block h2 {
  margin-bottom: 14px;
  color: #ec9122;
}

.legal-content {
  max-width: 980px;
  margin: 0 auto;
}

.legal-content .section-title {
  margin-bottom: 42px;
}

.legal-content .activity {
  padding-bottom: 32px;
}

.legal-content h2,
.legal-content h3 {
  margin-bottom: 14px;
}

.legal-content p,
.legal-content li {
  font-size: 18px;
  line-height: 1.7;
}

.legal-list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(20, 35, 50, 0.06);
  border-left: 4px solid #ec9122;
}

#footer {
  background: #17324a;
  color: #d9e3ea;
  border-top: 5px solid #ef9b1d;
}

#footerinhalt {
  padding: 30px 32px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.footer-grid p,
.footer-grid td,
.footer-grid a {
  color: #d9e3ea;
  font-size: 14px;
  font-weight: 400;
}

.footer-grid table td {
  padding: 3px 14px 3px 0;
  vertical-align: top;
}

.footer-nav {
  display: grid;
  gap: 10px;
}

#footerunten {
  padding: 0 32px 14px;
}

.smartstyle {
  display: flex;
  justify-content: flex-end;
}

.smartstyle img {
  width: 40px;
  height: 40px;
}

@media (max-width: 1100px) {
  .intro-cards,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .leistungen-bild {
    width: min(100%, 820px);
  }

  .activity-gallery.vertical,
  .gallery-4,
  .gallery-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1160px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 18px;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-block;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .logo img {
    width: 220px;
  }

  #hauptnavi {
    order: 3;
    width: 100%;
    display: none;
    padding-top: 6px;
  }

  #hauptnavi.is-open {
    display: block;
  }

  #navigation {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #dde4e8;
  }

  #navigation li {
    border-bottom: 1px solid #dde4e8;
  }

  #navigation a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .intro-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-3 {
    grid-template-columns: 1fr;
  }

  .inhalt,
  #footerinhalt,
  #footerunten {
    padding-left: 20px;
    padding-right: 20px;
  }

  .fullbleed-image img,
  #willkommen .fullbleed-image img {
    height: 240px;
  }

  h1 {
    font-size: 44px;
  }

  h4 {
    font-size: 42px;
  }

  .leistungen-bild {
    width: 100%;
  }

  #aktivitaeten::after {
    width: 240px;
    height: 240px;
    right: 0;
  }

  .contact-image img {
    width: min(100%, 420px);
  }

  .legal-content {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  p,
  .activity p,
  .intro-card p,
  .contact-copy p {
    font-size: 16px;
  }

  .header-inner,
  .inhalt,
  #footerinhalt,
  #footerunten {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo img {
    width: 180px;
  }

  .fullbleed-image img,
  #willkommen .fullbleed-image img {
    height: 200px;
  }

  h1 {
    font-size: 36px;
  }

  h1 .zwei {
    font-size: 20px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 34px;
  }

  .intro-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .sectionbanner {
    padding: 56px 16px 48px;
  }

  .sectionbanner h2 {
    font-size: 36px;
  }

  .sectionbanner p {
    font-size: 20px;
  }

  .activities-list {
    gap: 24px;
  }

  .activity-gallery,
  .activity-gallery.vertical,
  .gallery-4,
  .gallery-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    gap: 28px;
  }

  #aktivitaeten::after {
    width: 180px;
    height: 180px;
    top: 34px;
    transform: none;
    opacity: 0.7;
  }
}

@media (max-width: 420px) {
  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .logo img {
    width: 150px;
  }

  .fullbleed-image img,
  #willkommen .fullbleed-image img {
    height: 170px;
  }

  h1 {
    font-size: 30px;
  }

  h1 .zwei {
    font-size: 18px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4 {
    font-size: 28px;
  }

  .activity-gallery,
  .activity-gallery.vertical,
  .gallery-3,
  .gallery-4,
  .gallery-5 {
    grid-template-columns: 1fr;
  }

  .partner-block p {
    width: 100%;
    box-sizing: border-box;
  }

  .partner-logo {
    min-height: 0;
    padding: 16px 0;
  }

  .partner-logo img {
    width: min(100%, 320px);
  }

  .sectionbanner h2 {
    font-size: 30px;
  }

  .sectionbanner p {
    font-size: 18px;
  }

  .legal-list {
    padding-left: 18px;
  }

  .footer-grid table td {
    display: block;
    padding: 2px 0;
  }
}

@media (max-width: 320px) {
  .header-inner,
  .inhalt,
  #footerinhalt,
  #footerunten {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo img {
    width: 136px;
  }

  #navigation a {
    font-size: 15px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .sectionbanner h2 {
    font-size: 28px;
  }

  .sectionbanner p {
    font-size: 16px;
  }

  p,
  .activity p,
  .intro-card p,
  .contact-copy p {
    font-size: 15px;
  }

}
