@import url('sihead.css');
@import url('fuss.css');

/* =======================================
   Design-Variablen
   ======================================= */
:root {
  --Muna-Color: #8a421a;
  --Tiponi-Color: #00467c;
  --Tiva-Color: #1c2a08;
  --Leotie-Color: #d90010;
  --Krabbel-Color: #bf000f;
  --Chumani-Color: #007b6e;
  --Mojak-Color: #7f3f00;
  --Shanuu-Color: #00682c;
  --Taunus-Color: #7f3f00;
  --Orenda-Color: #a03c0f;

  --menu-bg: #7b111f;
  --menu-text: #ffffff;
  --menu-hover-bg: #ffffff;
  --menu-hover-text: #7b111f;
  --hover-transition: 0.3s ease;

  --color-page-bg: #ffffff;
  --color-content-bg: #ffe4a4;
  --color-content-inner: #fff2cc;
  --color-text: #000000;
  --color-headline: #7b111f;
  --color-link: #7f3f00;
  --color-link-hover: #ff9900;

  --content-max: 60rem;
  --content-shell-max: 65em;
  --logos-max: 65em;
  --meta-max: 65em;

  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-soft: 3px 3px 5px #888;
  --shadow-strong: 5px 5px 7px #888;
}

@media (prefers-color-scheme: dark) {
  :root {
    --menu-bg: #222;
    --menu-text: #eee;
    --menu-hover-bg: #444;
    --menu-hover-text: #fff;
  }
}

/* =======================================
   Reset & Basis
   ======================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
p,
br,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
a,
img,
li,
form,
dl,
dt,
dd,
figure,
figcaption,
blockquote,
section,
article,
nav,
header,
footer,
main {
  margin: 0;
  padding: 0;
  border: 0;
}

html,
body {
  font-family: 'Mali', sans-serif;
  text-align: center;
  background-color: #fff;
  color: #7b111f;
  font-size: 16px;
  background-image: none;
}

body {
  line-height: 1.5;
}

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

/* =======================================
   Fonts
   ======================================= */
@font-face {
  font-display: swap;
  font-family: 'Mali';
  font-style: normal;
  font-weight: 400;
  src: url('../font/mali-v10-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Mali';
  font-style: normal;
  font-weight: 700;
  src: url('../font/mali-v10-latin-700.woff2') format('woff2');
}

/* =======================================
   Typografie
   ======================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  color: #7b111f;
  text-align: center;
  line-height: 1.2;
}

h1,
p {
  margin-bottom: 2em;
}

span.rot {
  color: #7b111f;
}

p.lastNurJetzt {
  margin-bottom: 184px;
}

p.zuletzt {
  margin: 10px;
  padding-bottom: 10px;
}

.hAbstand {
  margin-bottom: 20px;
}

h32 {
  color: #000;
}

/* =======================================
   Links
   ======================================= */
a:link,
a:visited {
  color: #7f3f00;
}

a:hover,
a:focus {
  color: #ff9900;
}

/* =======================================
   Accessibility
   ======================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5em;
  z-index: 2000;
  font-size: 1em;
  font-weight: bold;
  text-decoration: underline;
}

.skip-link:focus {
  left: 0;
  background: #7b111f;
  color: #fff;
  outline: 2px solid #fff;
  font-size: 1.1em;
}

/* =======================================
   Grundlayout
   ======================================= */
#container {
  width: 100%;
  margin: 0;
  text-align: left;
  background-color: transparent;
  color: inherit;
  padding: 0 0 1.5em;
}

#containerContent {
  width: 100%;
  max-width: 75em;
  margin: 0 auto;
  background-color: #ffe4a4;
  color: #000;
  font-size: 80%;
  padding: 10px 15px 20px;
}

#centerText {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 2rem;
  text-align: left;
  padding: 2em;
  background-color: #fff2cc;
  border-radius: var(--radius-md);
}

#CenterHeadImg {
  width: 556px;
  max-width: 100%;
  height: auto;
}

/* =======================================
   Inhalte / Textbereiche
   ======================================= */
.accessible-content h1,
.accessible-content h2 {
  text-align: left;
  margin: 2rem 0 1rem;
}

.accessible-content section {
  margin-bottom: 3rem;
}

#imtext {
  max-width: 72ch;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.65;
}

#imtext h2 {
  margin-bottom: 1.5em;
  font-size: 1.5em;
}

#centerText h1 {
  text-align: left;
  margin-bottom: 0.8em;
}

/* =======================================
   Logos im beigen Bereich
   ======================================= */
/* =======================================
   Logos im beigen Bereich
   ======================================= */
#fullWidthLogos {
  width: 100%;
  padding: 1rem 0 0;
  text-align: center;
  background: transparent;
}

.fullWidthLogosInner {
  max-width: var(--logos-max);
  margin: 0 auto;
  padding: 0 0 1rem;
}

#fullWidthLogos h2 {
  color: var(--color-headline);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

#fullWidthLogos p {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto 2rem;
  width: 100%;
  text-align: center;
}

#fullWidthLogos p a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition:
    transform var(--hover-transition),
    box-shadow var(--hover-transition),
    background-color var(--hover-transition);
}

#fullWidthLogos p a:hover,
#fullWidthLogos p a:focus {
  background-color: #fffaf0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

#fullWidthLogos p a img {
  display: block;
  margin: 0 auto;
  max-height: 45px;
  width: auto;
  height: auto;
}

/* =======================================
   Partnerlinks zwischen Block und Footer
   ======================================= */
#footerMetaLinks {
  width: 100%;
  background-color: #ffffff;
  padding: 0.25rem 1rem 1.25rem;
  text-align: center;
}

.footerMetaLinksInner {
  max-width: var(--meta-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.footerMetaLinksInner img {
  display: block;
  width: auto;
  height: auto;
  max-width: 165px;
}

/* =======================================
   Responsive
   ======================================= */
@media (max-width: 900px) {
  #containerContent {
    padding: 1rem;
    font-size: 90%;
  }

  #centerText {
    padding: 1.25rem;
  }

  p.lastNurJetzt {
    margin-bottom: 3rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  #containerContent {
    padding: 0.75rem;
  }

  #centerText {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }

  #imtext {
    max-width: 100%;
  }

  #fullWidthLogos p {
    gap: 0.75rem;
  }

  #fullWidthLogos p a img {
    max-height: 70px;
  }

  .footerMetaLinksInner {
    gap: 1rem;
  }

  .footerMetaLinksInner img {
    max-width: 140px;
  }
}