/* =========================================================
gennrich.de
Responsive Umsetzung des bisherigen Designs
========================================================= */

/* ---------------------------------------------------------
Grundsätzliches
--------------------------------------------------------- */

*,
*::before,
*::after {
box-sizing: border-box;
}

html {
font-size: 16px;
}

body {
margin: 0;

background-color: rgb(111, 111, 111);

color: rgb(88, 88, 88);

font-family:
    Verdana,
    Arial,
    Helvetica,
    sans-serif;

font-size: 15px;

line-height: 1.6;


}

/* ---------------------------------------------------------
Hauptseite
--------------------------------------------------------- */

.page {
width: 1010px;
max-width: calc(100% - 30px);

min-height: 650px;

margin: 12px auto;

background-color: rgb(255, 255, 255);

border: 1px solid rgb(88, 88, 88);


}

/* ---------------------------------------------------------
Kopfbereich
--------------------------------------------------------- */

.header {
height: 100px;

display: flex;

align-items: center;

padding: 10px 15px;

background-color: rgb(255, 255, 255);


}

.logo-link {
display: inline-block;
}

.logo {
display: block;

width: 250px;
max-width: 100%;

height: auto;


}

/* ---------------------------------------------------------
Menü
--------------------------------------------------------- */

.menu {
background-color: rgb(11, 97, 11);

border-top: 1px solid rgb(11, 97, 11);
border-bottom: 1px solid rgb(11, 97, 11);


}

.menu-items {
display: flex;

flex-wrap: wrap;


}

.menu-items button {
min-height: 40px;

padding: 8px 14px;

border: 0;

background-color: rgb(11, 97, 11);

color: rgb(255, 255, 255);

font-family:
    Verdana,
    Arial,
    Helvetica,
    sans-serif;

font-size: 14px;

cursor: pointer;


}

.menu-items button:hover,
.menu-items button.active {
background-color: rgb(88, 88, 88);
}

/* Ruhige, gleichmäßige Navigation für größere Bildschirme */

@media (min-width: 601px) {

.menu {
    padding: 0 12px;
}

.menu-items {
    align-items: stretch;

    gap: 1px;
}

.menu-items button {
    min-height: 46px;

    padding: 10px 14px;

    font-size: 14.5px;

    letter-spacing: 0.01em;

    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.menu-items button:hover,
.menu-items button.active {
    background-color: rgb(35, 112, 35);

    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.7);
}

}

/* Hamburger auf Desktop nicht sichtbar */

.menu-toggle {
display: none;
}

/* ---------------------------------------------------------
Inhalt
--------------------------------------------------------- */

.content {
min-height: 470px;

padding: 25px 35px 40px;

background-color: rgb(255, 255, 255);


}

.page-section {
max-width: 720px;

font-size: 15px;

line-height: 1.6;

color: rgb(88, 88, 88);

text-align: left;


}

.page-section[hidden] {
display: none;
}

/* ---------------------------------------------------------
Überschriften
--------------------------------------------------------- */

h1 {
margin-top: 0;

margin-bottom: 24px;

color: rgb(11, 97, 11);

font-size: 21px;

line-height: 1.3;

font-weight: bold;


}

h2 {
margin-top: 32px;

margin-bottom: 12px;

color: rgb(11, 97, 11);

font-size: 17px;

line-height: 1.35;

font-weight: bold;


}

p {
margin-top: 0;

margin-bottom: 18px;


}

/* ---------------------------------------------------------
Links
--------------------------------------------------------- */

a {
color: rgb(11, 97, 11);

font-size: inherit;

font-style: normal;

font-weight: normal;

text-decoration: none;


}

a:hover {
text-decoration: underline;
}

/* ---------------------------------------------------------
Startseitenbild
--------------------------------------------------------- */

.content-image {
float: right;

width: 225px;

max-width: 40%;

height: auto;

margin: 0 0 15px 25px;

border: 0;


}

/* ---------------------------------------------------------
Listen
--------------------------------------------------------- */

ul {
margin-top: 10px;

padding-left: 25px;


}

li {
margin-bottom: 4px;
}

/* ---------------------------------------------------------
Dokumente
--------------------------------------------------------- */

.document {
margin-bottom: 25px;
}

.document a {
display: inline-block;

padding: 5px 8px;

color: rgb(11, 97, 11);

border-bottom: 1px solid rgb(11, 97, 11);


}

.document p {
margin-top: 10px;
}

.inline-link {
padding: 0;
padding: 4px;

border: 2px solid rgb(11, 97, 11);

border-radius: 8px;

box-shadow: 0 3px 10px rgba(11, 97, 11, 0.22);
background: transparent;
color: rgb(11, 97, 11);
font: inherit;
text-decoration: underline;
cursor: pointer;
}

/* ---------------------------------------------------------
Kontakt
--------------------------------------------------------- */

address {
margin-bottom: 18px;

font-style: normal;


}

.contact-details {
display: grid;
grid-template-columns: max-content 1fr;
gap: 7px 14px;
margin: 0;
}

.contact-details dt,
.contact-details dd {
margin: 0;
}

.contact-cards {
display: grid;

grid-template-columns: repeat(2, minmax(180px, 1fr));

gap: 12px;
}

.contact-note {
margin-bottom: 16px;

color: rgb(11, 97, 11);

font-weight: bold;
}

.contact-card {
margin: 0;

padding: 16px;

border: 1px solid rgb(11, 97, 11);

border-radius: 8px;

background-color: rgb(247, 250, 247);
}

.contact-card h2 {
margin: 0 0 10px;

font-size: 16px;
}

.contact-card p:last-child {
margin-bottom: 0;
}

/* ---------------------------------------------------------
Footer
--------------------------------------------------------- */

.footer {
display: flex;

justify-content: space-between;

gap: 20px;

padding: 8px 15px;

background-color: rgb(88, 88, 88);

color: rgb(255, 255, 255);

font-size: 12px;


}

.footer-links {
display: flex;

gap: 7px;


}

.footer button {
padding: 0;

border: 0;

background: transparent;

color: rgb(255, 255, 255);

font-family: inherit;

font-size: inherit;

text-decoration: underline;

cursor: pointer;


}

/* ---------------------------------------------------------
Tastaturbedienung
--------------------------------------------------------- */

button:focus-visible,
a:focus-visible {
outline: 2px solid rgb(11, 97, 11);

outline-offset: 2px;


}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 900px) {

.page {
    width: calc(100% - 20px);

    margin: 10px auto;
}


.header {
    height: auto;

    min-height: 100px;
}


.content {
    padding-left: 25px;

    padding-right: 25px;
}


.page-section {
    max-width: 100%;
}


.menu-items button {
    padding-left: 12px;

    padding-right: 12px;
}


}

/* =========================================================
SMARTPHONE
========================================================= */

@media (max-width: 600px) {

body {
    font-size: 16px;

    background-color: rgb(255, 255, 255);

    overflow-x: hidden;
}


.page {
    width: 100%;

    max-width: none;

    margin: 0;

    border: 0;
}


/* -----------------------------------------------------
   Kopf
   ----------------------------------------------------- */

.header {
    min-height: 90px;

    justify-content: center;

    padding: 12px 15px;
}


.logo {
    width: 220px;
}


/* -----------------------------------------------------
   Mobiles Menü
   ----------------------------------------------------- */

.menu-toggle {
    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 50px;

    padding: 10px 15px;

    border: 0;

    background-color: rgb(11, 97, 11);

    color: rgb(255, 255, 255);

    font-family:
        Verdana,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    cursor: pointer;

    text-align: left;
}


.menu-icon {
    font-size: 20px;

    line-height: 1;
}


.menu-items {
    display: none;

    flex-direction: column;
}


.menu-items.open {
    display: flex;
}


.menu-items button {
    width: 100%;

    min-height: 48px;

    padding: 12px 15px;

    border-top: 1px solid rgb(65, 130, 65);

    background-color: rgb(11, 97, 11);

    color: rgb(255, 255, 255);

    font-size: 15px;

    text-align: left;
}


.menu-items button:hover,
.menu-items button.active {
    background-color: rgb(88, 88, 88);
}


/* -----------------------------------------------------
   Inhalt
   ----------------------------------------------------- */

.content {
    min-height: 400px;

    padding: 20px 18px 30px;
}


.page-section {
    font-size: 16px;

    line-height: 1.55;

    text-align: left;

    color: rgb(88, 88, 88);
}


h1 {
    font-size: 20px;

    line-height: 1.3;
}


h2 {
    font-size: 17px;

    line-height: 1.35;
}


a {
    font-size: 16px;
}


/* -----------------------------------------------------
   Bild
   ----------------------------------------------------- */

.content-image {
    float: none;

    display: block;

    width: 100%;

    max-width: 300px;

    margin: 0 auto 20px;
}


/* -----------------------------------------------------
   Dokumente
   ----------------------------------------------------- */

.document a {
    display: block;

    padding: 12px;

    border: 1px solid rgb(11, 97, 11);

    font-size: 16px;
}

.contact-details {
    grid-template-columns: 1fr;

    gap: 2px;
}

.contact-details dt:not(:first-child) {
    margin-top: 10px;
}

.contact-cards {
    grid-template-columns: 1fr;
}


/* -----------------------------------------------------
   Footer
   ----------------------------------------------------- */

.footer {
    display: block;

    padding: 12px 15px;

    line-height: 1.8;
}


.footer-links {
    margin-top: 5px;

    flex-wrap: wrap;
}


}

/* =========================================================
SEHR KLEINE TELEFONE
========================================================= */

@media (max-width: 360px) {

.logo {
    width: 190px;
}


.content {
    padding-left: 14px;

    padding-right: 14px;
}


.page-section {
    font-size: 15px;
}


h1 {
    font-size: 19px;
}


}

/* =========================================================
Formulare
========================================================= */
.download-intro {
  margin-bottom: 2rem;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
}

.document {
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid #d8d8d8;
  border-left: 5px solid #176500;
  background: #fafafa;
}

.document h2 {
  margin: 0 0 0.6rem;
  color: #176500;
  font-size: 1.25rem;
}

.document p {
  margin: 0 0 1rem;
  line-height: 1.5;
}


.download-button {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: #d4f5ca;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.download-button:hover,
.download-button:focus-visible {
  background: #82cc72;
}

.download-button::before {
  content: "↓ ";
}

/* Deutlich sichtbarer Fokus bei Tastaturbedienung */
.menu-items button:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

.download-button:focus-visible {
  outline: 3px solid #176500;
  outline-offset: 3px;
}

.footer button:focus-visible {
  outline-color: #ffffff;
}

