/* Arvo Gruen - for headlines */
@font-face {
    font-family: 'Arvo Gruen';
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/Arvo_Gruen_2015_10.eot');
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/Arvo_Gruen_2015_10.eot?#iefix') format('embedded-opentype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/Arvo_Gruen_2015_10.woff') format('woff');
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

/* Arvo Roman - for sub headlines */
@font-face {
    font-family: 'Arvo';
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/arvo_regular.eot');
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/arvo_regular.eot?#iefix') format('embedded-opentype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/arvo_regular.woff') format('woff'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/arvo_regular.ttf') format('truetype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/arvo_regular.svg') format('svg');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* PT Sans - for normal text */
@font-face {
    font-family: 'PT Sans';
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_regular.eot');
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_regular.eot?#iefix') format('embedded-opentype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_regular.woff') format('woff'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_regular.ttf') format('truetype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_regular.svg') format('svg');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* PT Sans bold - for emphasis in normal text */
@font-face {
    font-family: 'PT Sans';
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_bold.eot');
    src: url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_bold.eot?#iefix') format('embedded-opentype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_bold.woff') format('woff'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_bold.ttf') format('truetype'),
         url('https://bus-bahn-retten.gruenedresden.de/fonts/ptsans_bold.svg') format('svg');
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

/* GrueneType - for big distinctive headlines */
@font-face {
    font-family: "GrueneType Neue";
    src: url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.eot");
    src: url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.eot?#iefix") format("embedded-opentype"),
      url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.woff2") format("woff2"),
      url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.woff") format("woff"),
      url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.ttf") format("truetype"),
      url("https://bus-bahn-retten.gruenedresden.de/fonts/GrueneTypeNeue.svg#GrueneTypeNeue-Regular")
        format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



:root {
  --black: #000000;
  --cream: #F5F1E9;
  --green: #008939;
  --pink: #E6007E;
  --yellow: #FFF17A;
  --blue: #0BA1DD;
  --lime: #8ABD24;
  --dark-green: #005538;
}

html { scroll-behavior: smooth; }

body {
  background-color: #56be75; /*  #58A35A */ 
  font-family: 'PT Sans', sans-serif;
  color: var(--black);
  min-height: 100vh;
  padding: 0rem 1rem 1rem;
}

a {
  all: unset;
  color: var(--blue);
  cursor: pointer;
}

ul, ol {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  padding-inline-start: 1.2rem;
  color: #1a1a1a;
  line-height: 1.7;
}

html {
  padding-bottom: 80vh;
}
    

/* ── Content box ── */
.container {
  max-width: 770px;
  margin: 0 auto;
  background: var(--cream);
  overflow: hidden;
  /* box-shadow: 8px 8px 0 #004931; */
}

/* ── Header ── */
.site-header {
  background: var(--dark-green);
  color: var(--cream);
  padding: 0rem 2.5rem 0rem; 
  position: relative;
  overflow: visible;
  text-align: center;
}

.heading h1 {
  font-family: 'GrueneType Neue', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  color: var(--cream);
}

.heading {
  background-color: var(--green);
  padding: 1rem;
  transform: skew(-12deg);
  position: relative;
  top: 1.3rem; 
}

.heading > * {
  transform: skew(12deg);
}

/* ── Nav buttons ── */
.nav-intro {
  padding-top: 0.5em;
  text-align: center;
  font-family:'GrueneType Neue', sans-serif;
  font-size: 1.3rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
  gap: 6px;
  border-bottom: 2px solid rgba(0,0,0,0.1); 
  padding: 0.5rem 2.5rem;

}

.nav-btn {
  flex: 1 1 auto;
  min-width: 80px;
  text-align: center;
  padding: 0.6rem 1rem;
  background-color: var(--pink);
  font-family: 'PT Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  border-radius: 2px;
  color: var(--cream);
  gap: 0.4rem;
  border: 2px solid var(--pink);
}

.nav-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}
.nav-btn:active { transform: translateY(0); }
.nav-btn:focus {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}
.nav-btn .icon {
  font-size: 1rem;
  line-height: 1;
}

.section-heading h2, .back {
  display: inline;
  vertical-align: top;
}

.back {
  font-size: 1.5rem;
  float: right;
  position: relative;
  bottom: 0.25rem;
}

/* ── Sections ── */
.section {
  padding: 1rem 2.5rem 1rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
}
.section:last-child { border-bottom: none; }

.section h2 {
  font-family: 'GrueneType Neue', sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--black);
}

.section p {
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a1a;
  margin-bottom: 0.85rem;
}
.section p:last-child { margin-bottom: 0; }

.highlight-bar {
  display: inline;
  background: var(--yellow);
  padding: 0 3px;
}


/* ── FAQ ── */
#faq .section-label { color: var(--pink); }
#faq h2 { color: var(--black); }

.faq-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  border: 2px solid var(--black);
  border-radius: 2px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  font-family: 'PT Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s;
}
.faq-question:hover { background: var(--yellow); }
.faq-question[aria-expanded="true"] {
  background: var(--black);
  color: var(--cream);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s linear, padding 0.3s linear ; 
  background: #fff;
  padding: 0 1.1rem;
}
.faq-answer.open {
  padding: 1rem 1.1rem;
  max-height: 1200px;
  transition: max-height 0.5s ease-in, padding 0.5s;
}
.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 1.2rem;
  background: var(--black);
  color: rgba(245,241,233,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.site-footer span { color: var(--yellow); }

/* ── Responsive ── */
@media (max-width: 480px) {
  body { padding: 1rem 0.75rem 3rem; }
  .site-header, .nav, .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-btn { flex-basis: 100%; }
}

/* ── Footnotes ── */
.faq-footnotes {
    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #444;
  }
  .faq-footnotes ol {
    padding-left: 1.25rem;
  }
  .faq-footnotes a { color: var(--green); }

  
  @media (min-width: 1100px) {
  .section p, .faq-answer p, .faq-question, .nav-btn, ul, ol  {
    font-size: 1.12rem;
  }

  .nav-intro {
    font-size: 1.3rem;
  }

  .faq-footnotes ol {
    font-size: 1rem;
  }
}