/*  ====================================================
    Stylesheet Internetseite
    
    Datei: style.css
    Datum: 20.03.2021
    Autor: Tim Frank
    ==================================================== */
/*  ==================== KOPFBEREICH =================== */
/*  Langsam scrollen */
html {
    background-color: whitesmoke;
    scroll-behavior: smooth;
}
header {
    background-color: lightgrey;
    color: white;
    padding: 1rem;
}
.site-header {
    padding-top: 1rem;
    padding-right: 1rem;
    padding-bottom: 0;
    padding-left: 1rem;
}
.site-header h1 {
    margin-top: 0.5rem;
    margin-bottom: 0;
}
/* ==================== HAUPTBEREICH ================== */
body {
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    color: black;
    max-width: 960px;
    margin: 1rem auto; /* margin: 1rem für oberen und unteren Abstand zum Browser; auto für links und rechts */
}
h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote { margin-top: 0; } /* Vermeidung Collapsing Margins */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 {
    font-size: 1rem;
    font-variant: small-caps;
}
img {
    max-width: 100%;
}
.site-content {
    line-height: 1.5;
    padding: 0 1rem;
}
/*  ========== Links ========== */
.site-content a[target="_blank"]::after { content: " \21D7"; } /* nach externen Links Hinweissymbol */
.site-content a:link { color: #0b74b8; }
.site-content a:visited { color: #36abde; }
.site-content a:hover, .site-content a:focus { color: #f5662e; }
.site-content a:active { color: #d90000; }
/*  ========== unnötige Elemente ausblenden ========== */
.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    padding: 0;
    border 0;
    margin: -1px;
    overflow: hidden;
}
*,
*::before,
*::after {
    box-sizing: border-box; /* Border-Box-Modell für alle HTML-Elemente aktivieren */
}
.infoboxen {
    background-color: whitesmoke;
    padding: 1rem;
    margin-bottom: 1rem;
}
.infobox {
    text-align: center;
    background-color: white;
    padding: 1rem;
    margin: 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 4px 4px 10px rgba(0,0,0.5);
}
.kundenstimme {
    background-color: #eee;
    background-image: linear-gradient(to right, #eee, whitesmoke);
    box-shadow: 0 1px 3px rgb(51,51,51,0.3);
    padding: 1rem;
    border-left: 5px solid #0b74b8;
    margin: 0;
    margin-bottom: 1rem;
}
.kundenstimme p:first-child {
    font-size: 1.25rem;
    font-weight: bold;
}
/* ==================== NAVIGATION Haupt ============== */
/* Farben und Abstände */
.site-nav, .site-footer {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}
/* Navigation Inline und Abstand Menüpunkte */
.site-nav li {
    display: inline;
    margin-right: 0.5rem;
}
/* Abstände aus Browser-Stylesheet entfernen */
.site-nav ul {
    padding: 0;
    margin: 0;
}
/* Linkfarbe und Unterstreichung entfernen */
.site-nav a {
    color: white;
    text-decoration: none;
}
.site-nav li:last-child {
    border: 1px solid whitesmoke;
}
/* Aktuelle Seit ein der Navigation markieren */
.current a {
    text-decoration: underline;
}
/* ==================== NAVIGATION Footer ========= */
/* Navigation Inline und Abstand Menüpunkte */
.footer-nav li {
    display: inline;
    margin-right: 0.5rem;
}
.footer-nav {
    background-color: black;
    color: white;
    padding: 0.5rem;
    margin: 1rem 0;
}
/* Abstände aus Browser-Stylesheet entfernen */
.footer-nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
/* Linkfarbe und Unterstreichung entfernen */
.footer-nav a {
    color: white;
    text-decoration: none;
}
.meta-nav {
    text-align: center;
    background-color: #333;
    padding: 0.5rem;
}
.meta-nav ul {
    margin: 0;
}
.meta-nav li {
    display: inline;
    margin-right: 0.5rem;
}
/* ==================== BLOG =========================== */
.beitragsliste h3 {
    padding-top: 0.5rem;
    border-top: 1px solid whitesmoke;
    margin-bottom: 0.25rem;
}
.beitragsliste article {
    margin-bottom: 3rem;
}
.beitragsinfo {
    color: grey;
}
.teaser {
    font-style: italic;
}
/* ==================== FOOTER ========================= */
.site-footer {
    background-color: #333;
    font-size: smaller;
    color: white;
    text-align: right;
    padding: 0.5rem;
    margin-top: 1rem;
}
.site-footer a {
    display: inline;
    color: white;
    text-decoration: none;
}
/* ==================== SONSTIGES ========================= */
/* Adresse*/
address {
    font-style: normal;
    padding: 0.5rem;
}
/* delete und insert */
ins {
    text-decoration: none;
    padding: 0.25em;
    background-color: lightyellow;
}
/* Akkordeon */
details {
    background-color: whitesmoke;
    padding: 1rem;
    border: 1px solid lightgray;
    margin-bottom: 1rem;
}
summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.25rem;
}
/* Button */
button {
    background-color: steelblue;
    letter-spacing: 1px;
    color: white;
    padding: 1rem;
    border: none;
    font-size: inherit;
    cursor: pointer;
}
/* Kontaktformular */
.kontaktformular form {
    max-width: 400px;
    background-color: whitesmoke;
    padding: 1rem;
}
.kontaktformular div {
    margin-bottom: 1rem;
}
.kontaktformular label {
    cursor: pointer;
    display: block;
}
.kontaktformular label[for] {
    display: block;
}