
/* ========================================
   HTML & BODY - Grundeinstellungen
======================================== */

html {
    box-sizing: border-box;
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    min-height: 100vh;

    background: #fff;
    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

/* Bilder und Videos responsiv */

img,
video {
    max-width: 100%;
    height: auto;
}

/* Formulare übernehmen die Grundschrift */

button,
input,
select,
textarea {
    font: inherit;
}

/* Tastaturbedienung */

:focus-visible {
    outline: 2px solid #456b46;
    outline-offset: 3px;
}

/* Bewegungsreduzierung berücksichtigen */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* ========================================
   CONTAO - Layoutstruktur
======================================== */

#wrapper {
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

#container {
    width: 100%;
    min-width: 0;
}

#main {
    width: 100%;
    min-width: 0;
    background: #fff;
}
/* ===================================
   HEADER GRUNDSTRUKTUR
=================================== */

#header {
    width: 100%;
    background-color: #334b38;
}
/* Header-Inhalt */
#header > .inside {
    position: relative;
    min-height: 96px;
}

/* ===================================
   LOGO - GANZ LINKS
=================================== */

#header .header-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 65px 0;
}

#header .header-logo a {
    display: block;
    line-height: 0;
}

#header .header-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Beide Navigationen innerhalb von 1200px */
#header .header-topnav,
#header .header-mainnav {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
    box-sizing: border-box;
}
/* Navigation rechts ausrichten */
#header .header-topnav ul.level_1,
#header .header-mainnav ul.level_1 {
    display: flex;
    justify-content: flex-end;
}

/* Obere Navigation */

#header .header-topnav {
    margin-bottom: 8px;
    padding-top: 10px;
}

#header .header-topnav ul.level_1,
#header .header-mainnav ul.level_1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* ===================================
   OBERE NAVIGATION
=================================== */

#header .header-topnav {
    margin-bottom: 8px;
}

#header .header-topnav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

#header .header-topnav a,
#header .header-topnav strong {
    color: #e5f0e9;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

#header .header-topnav a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===================================
   HAUPTNAVIGATION
=================================== */

#header .header-mainnav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin: 0;
    padding: 0;
    list-style: none;
}

#header .header-mainnav a,
#header .header-mainnav strong {
    display: block;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 19px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

#header .header-mainnav a:hover,
#header .header-mainnav strong {
    color: #e1f0e6;
}
/* ========================================
   FOOTER
======================================== */

#footer {
    background: #334b38;
    color: #fff;
    padding: 55px 0;
}

#footer .inside {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#footer a {
    color: inherit;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

/* Newsletter im Footer */

#footer .footer-newsletter {
    width: 100%;
}
#footer .footer-allgemein h3, #footer .footer-newsletter h3, #footer .footer-kontakt h3, #footer .footer-navigation h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 20px;
    color: #fff;
}

#footer .footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#footer .footer-newsletter form > label {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

#footer .footer-newsletter input[type="email"] {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 15px;
}

#footer .newsletter-privacy {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

#footer .newsletter-privacy input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 3px 0 0;
    accent-color: #70936a;
}

#footer .newsletter-privacy label {
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    cursor: pointer;
}

#footer .newsletter-privacy a {
    color: #fff;
    text-decoration: underline;
}

#footer .footer-newsletter button[type="submit"] {
    align-self: flex-start;
    padding: 11px 26px;
    border: 0;
    border-radius: 4px;
    background: #70936a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#footer .footer-newsletter button[type="submit"]:hover {
    background: #567850;
}

#footer .footer-newsletter input:focus-visible,
#footer .footer-newsletter button:focus-visible,
#footer .footer-newsletter a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Footer - Kontakt */
#footer .footer-kontakt p {
    font-size: 14px;
}

/* Footer - Allgemein */
#footer .footer-allgemein {
    width: 100%;
}

#footer .footer-allgemein ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .footer-allgemein li {
    margin: 0 0 9px;
    padding: 0;
}

#footer .footer-allgemein a {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

#footer .footer-allgemein a:hover {
    color: #b5d2aa;
    text-decoration: underline;
}

/* Footer – Meine Seite */
#footer .footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer .footer-navigation li {
    margin: 0 0 9px;
    padding: 0;
}

#footer .footer-navigation a,
#footer .footer-navigation strong {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
}

#footer .footer-navigation a:hover {
    color: #b5d2aa;
    text-decoration: underline;
}

/* ========================================
   MAIN - Hauptinhaltsbereich
======================================== */

#main {
    width: 100%;
    background: #fff;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* Inhaltsbreite wie im Footer */

#main > .inside {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}

/* ========================================
   Überschriften
======================================== */

#main h1,
#main h2,
#main h3 {
    font-family: "Open Sans Condensed", "Arial Narrow", sans-serif;
    font-weight: 300;
    line-height: 1.2;
    color: #334b38;
}

#main h1 {
    font-size: 36px;
    margin: 0 0 30px;
    padding-bottom: 0.2em;
  border-bottom: 1px solid #807c7c;
  margin-bottom: 1em;
}

#main h2 {
    font-size: 30px;
    margin: 35px 0 20px;
}

#main h3 {
    font-size: 24px;
    margin: 25px 0 15px;
}

/* ========================================
   Fließtext und Links
======================================== */

#main p {
    margin: 0 0 20px;
}

#main a {
    color: #456b46;
    text-decoration: underline;
}

#main a:hover {
    color: #70936a;
}

/* ===================================
   SITEMAP
=================================== */

.sitemap {
    width: 100%;
    max-width: 800px;
    margin: 20px 0 40px;
    font-family: Roboto, sans-serif;
}

/* Alle Listen zurücksetzen */

.sitemap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===================================
   ERSTE EBENE
=================================== */

.sitemap ul.level_1 > li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8e3;
}

.sitemap ul.level_1 > li > a,
.sitemap ul.level_1 > li > strong {
    display: inline-block;
    color: #345e47;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sitemap ul.level_1 > li > a:hover {
    color: #7DB594;
}

/* ===================================
   ZWEITE EBENE
=================================== */

.sitemap ul.level_2 {
    margin: 10px 0 3px 12px;
    padding-left: 18px;
    border-left: 2px solid #c5ddcd;
}

.sitemap ul.level_2 > li {
    padding: 5px 0;
    border: none;
}

.sitemap ul.level_2 > li > a,
.sitemap ul.level_2 > li > strong {
    display: inline-block;
    color: #52675a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
}

.sitemap ul.level_2 > li > a:hover {
    color: #7DB594;
    text-decoration: underline;
}

/* ===================================
   DRITTE EBENE (FALLS VORHANDEN)
=================================== */

.sitemap ul.level_3 {
    margin: 6px 0 6px 12px;
    padding-left: 16px;
    border-left: 1px solid #dce8df;
}

.sitemap ul.level_3 > li {
    padding: 4px 0;
}

.sitemap ul.level_3 a,
.sitemap ul.level_3 strong {
    color: #66786b;
    font-size: 15px;
    text-decoration: none;
}

.sitemap ul.level_3 a:hover {
    color: #345e47;
    text-decoration: underline;
}

/* ===================================
   STARTSEITE HINTERGRUNDBILD
=================================== */

body.startseite #main {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1672 / 831;

    background-image: url("/files/oechermoeppe/images/Startbild_opt.jpg");
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

body.startseite #main > .inside {
    background: transparent;
}