/*
Theme Name: Stoetzel 2026
Author: Frank Hempel
Author URI: https://frank-hempel.de/
Description: A simple, classic theme that is easy to further develop and style.
Tags: blog, one-column, custom-background, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
Version: 1.0
Requires at least: 3.5
Tested up to: 7.1
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blank-2026
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html {
    /* Footer nach unten */
    height: 100%;
}

body {
    /* Footer nach unten */
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100%;
    /* Scrollbar immer da */
    border-bottom: 1px solid transparent;
    box-sizing: content-box;
    color: #333;
}

img {
    max-width: 100%;
    height:auto;
}

p {
    margin: 0.2em 0;
}

/* Breite innerer Breich */
.main-header,
.main-menu ul,
.inner {
    max-width: 900px;
    margin:auto;
 }
header {
    background-color: #fff;
}

/* Überschriften ohne Margin */
header h1,
header h2,
main h3 {
    margin:0;
    line-height: 1em;
}


header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}
header h2 {
    font-size: 1.2rem;
}

/* Naigation oben */
.main-menu ul {
    display: flex;
    flex-wrap: wrap;
}
ul.sub-menu {
    display: block;
    position:absolute;
    padding:0;
    visibility: hidden;
    opacity: 0;
    background-color: #fff;
}

li:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
}



main .inner {
    height: 100%;
    width: 80%;
    max-width:80%;
}

.page .article-headline {
    text-align: center;
}


/* Schiebt den next-previous-link nach unten */
.single main .inner {
    display: grid;
    grid-template-rows: auto 1fr auto;
}
footer ul {
    margin: 0;
}
a[target="_blank"]:after {
            content: "";
            background-image: url(assets/icons/external_link_icon.png);
            background-repeat: no-repeat;
            background-size: contain;
            width: 0.6em;
            height: 0.6em;
            margin-bottom: 0.2em;
            margin-left: 0.2em;
            display: inline-block;
        }
a[href^="tel"],
a[href^="tel"]:hover {
    text-decoration: none;
    border:none;
    cursor: text;
}

nav a[href=""], nav a[href=""]:hover {
    cursor: text;
}

/* Nach oben Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom:2rem;
    left:calc(50% + 450px);
    width: 45px;
    height: 45px;
    border-radius: 45px;
    background-image: url(assets/icons/top-icon-white.png);
    cursor: pointer;
    z-index: 9999;
    background-color: #999;
    opacity: 0.5;
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
}
#back-to-top:hover {
    -webkit-transform: rotate(360deg);
    opacity:1;
}


@media screen and (width < 1200px) {
    #back-to-top {
        left:calc(100% - 50px);
    }
}



/* Styling */

/* inter-tight-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/inter-tight-v9-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-tight-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/inter-tight-v9-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-tight-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/inter-tight-v9-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-tight-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter Tight';
    font-style: italic;
    font-weight: 700;
    src: url('assets/fonts/inter-tight-v9-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


a {
color: #333;
text-decoration: none;
border-bottom: 2px dotted #333;
}
a:hover {
    border-bottom: 2px solid #777;
}
h1, h2, h3, h4 {
    font-weight: normal;
}
h2.article-headline {
    font-size: 1.3em;

}

body {
    line-height: 1.2em;
    font-family: 'Inter Tight', Arial, Helvetica, sans-serif;
}
.main-header,
.main-menu ul,
.inner {
    padding: 0 1rem;
 }
header {
    z-index:300;
    position: sticky;
    top:0;
    box-shadow: 0 0 1em rgba(0,0,0,0.5);
    }
header a,
header a:hover {
    text-decoration: none;
    border:none;
}

header h1,
header h2,
header a {
    color: #7e7e7e;
    transition: 0.4s;
}
.header-headings:hover a,
.header-headings:hover h1,
.header-headings:hover h2
 {
    color: hsla(8, 100%, 39%, 1.0);
}

header.size-header h1 {
    font-size: 1.5em
}
header.size-header h2 {
    font-size: 0.8em
}
.main-header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    padding: 1rem;
}
.header-headings {
    text-align: center;
}

.main-header a:hover {
    color: hsla(8, 100%, 39%, 1.0);
}

.main-header ul.sub-menu {
    padding: 0.7em 0 0.3em 0;
    border: 1px solid #666;
    border-top: none;
    box-shadow: 0.6em 0.6em 0.6em rgba(0,0,0,0.3);
    font-size: 0.9em;
}
.main-header ul.sub-menu a {
    display:block;
    padding: 0 1em;
    line-height: 2em;
    transition: all 0.3s;
    }
.main-header ul.sub-menu a:hover {
    background-color: #e6e6e6;
    }



.wp-post-image {
    float: left;
    margin: 0 1em 1em 0;
}
article {
    clear:both;
    padding: 0 0 2rem 0;
}

.wp-block-image a,
.wp-block-image a:hover
 {
    border: none;
}

.blog article,
.archive article {
    border-bottom: 1px solid #000;
}
.article-headline a,
.article-headline a:hover {
    border-bottom: none;
}
.article-title {
    margin-top: 1em;
}
.read-more {
    text-align: right;
    font-size: 0.75em;
}
.article-date {
    font-size: 0.75em;
    text-align: right;
}
.cat-slug {
    clear:both;
    line-height: 1.3em;
    font-size: 0.8em;
    max-width: 33%;
}
.single .cat-slug {
    margin: 1rem 0 3rem 0;
}
.cat-slug a {
    white-space: nowrap;
}
/* Pagination Nummerierung Blogseite */
/*
.pagination .nav-links {
    display: flex;
    border: 1px solid #aaa;
}
.nav-links a:first-child,
.nav-links a:last-child {
min-width:0;
width:0;
}
.pagination a,
.pagination span
 {
    border: none;
    min-width: 2rem;
    font-size: 0.9em;
    display: block;
    text-align: center;
    background-color: #eee;
}
.pagination .current {
    border: 1px solid #00507b;
}
*/

.nav-links {
    display: flex;
    justify-content: center;
}
.nav-links .prev,
.nav-links .next {
    border: none;
}
.page-numbers {
    padding: 0.5em;
    margin: 0.2em;
    border: 1px solid #ccc;
}
.page-numbers:hover {
    border-bottom: 1px solid #ccc;
    background-color: #DAECF6;

}

.page-numbers.current {
    background-color: #3399CC;
    color: #fff;
}

/* Archivseite */
.beitraege {
    border-bottom: 1px solid #aaa;
    line-height: 1em;
}

.beitraege .cat-title,
.beitraege span {
    font-style: italic;
}


.mitarbeiter article {
    display: flex;
    flex-wrap: wrap;
}
.mitarbeiter article:nth-child(2) .wp-block-image {
    margin: 0 0.4% 0.5em;
}

.mitarbeiter .wp-block-image {
    width: 32.5%;
    border: 1px solid #ccc;
}
.mitarbeiter .wp-block-image figcaption {
    margin: 0;
    text-align: center;
    font-size: 0.85em;
    line-height: 1.1em;
    padding: 0.3em 0;

}


.next-previous-post {
    margin-bottom: 2rem;
}
.next-previous-posts {
    margin: 2rem 0;
}

footer {
    background-color: #fff;
    padding: 1rem 0;
    border-top: 1px solid #999;
    box-shadow: 0 0 1em rgba(0,0,0,0.5);
    z-index: 10;
    font-size: 0.8em;
}
footer h2 {
    line-height: 1em;
    margin:0;
}
footer .inner {
    display: flex;
}
footer div,
footer nav {
    margin-right: 1rem;
}
footer .copyright,
footer .made-by {
    line-height: 1em;
}
footer h3 {
    margin:0;
    font-weight: normal;
    line-height: 1em;
}
footer .textwidget p {
    margin: 0 0 0.5em 0;
    line-height: 1.1em;
}
footer nav li,
footer nav a,
footer nav ul,
footer .widget ul,
footer .widget li {
    margin:0;
    padding: 0;
    line-height: 1.3em;
    list-style:none;
}