@font-face {
    font-family: 'Tinos-Regular';
    src: url('../../fonts/Tinos-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Tinos-Bold';
    src: url('../../fonts/Tinos-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

h1, h2, h3 {
    margin: 1em 0;
    font-family: 'Tinos-Bold';
    font-size: 26px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Tinos-Regular', serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: #000000;
    background: #FAF8F3;
}

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

p {
    color: #000000;
}

.wrapper {
    position: relative;
    max-width: 1025px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    padding: 55px 0 35px;
}

.blog-container {
    min-height: 100vh;
}

/* Header */
#header {
    width: 100%;
}

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 34px;
}

.header-logo-bild {
    display: block;
    width: 145px;
    height: auto;
}

/* Main */
.main-section {
    width: 100%;

}

.main-content {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Divider */
.section-divider {
    position: relative;
    width: 100%;
    margin: 12px auto 18px;
    text-align: center;
    line-height: 1;
}

/*.section-divider.short {
    width: 60%;
}*/

.section-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #C19A49;
    transform: translateY(-50%);
    z-index: 0;
}

.section-divider span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0 16px;
    background: #FAF8F3;
    color: #C19A49;
    font-family: 'Tinos-Regular', serif;
    font-size: 20px;
    line-height: 1;
}

/* Text */
.lead,
.bold,
.p-bold {
    font-family: 'Tinos-Bold', serif;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
}

.lead {
    margin-bottom: 10px;
}

.main-section p,
.copy {
    font-family: 'Tinos-Regular', serif;
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.info-copy {
    margin-top: 2px;
    margin-bottom: 18px;
}

.energy-copy,
.services-copy {
    margin-top: 6px;
    margin-bottom: 28px;
}

.small-font {
    font-family: 'Tinos-Regular', serif;
    font-size: 16px;
    line-height: 1.3;
}

/* Links */
.inline-link,
.hover-underline {
    color: #C19A49;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.inline-link:hover,
.hover-underline:hover {
    color: #ceb57d;
}

/* Footer */
#footer-front {
    max-width: 760px;
    margin: 10px auto;
}

.footer-divider {
    width: 100%;
    height: 1px;
    margin: 12px auto 18px;
    background: #C19A49;
}

.footer-nav {
    text-align: center;
    margin: 30px auto;
}


.sender {
    font-family: 'Tinos-Regular';
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.contact-block {
    font-family: 'Tinos-Regular';
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 8px;
}


/* Mail-Kachel mit Divider */
.mail-line {
    position: relative;
    width: 100%;
    margin: 22px auto 28px;
    text-align: center;
    line-height: 1;
}

.mail-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #C19A49;
    transform: translateY(-50%);
    z-index: 0;
}

.mail-tile {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: #FAF8F3;
    padding: 0 4px;
}


.mail-highlight {
    display: inline-block;
    background: #ceb57d;
    color: #fff;
    padding: 4px 14px;
    line-height: 1.8;
    font-family: 'Tinos-Regular';
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;

} 

.mail-highlight:hover {
    display: inline-block;
    background: #C19A49;
}

/* Footer Links */
.imprint-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.imprint-nav a,
.imprint-nav .divider {
    color: #000000;
    font-family: 'Tinos-Regular';
    font-size: 16px;
    line-height: 1.2;
}

.imprint-nav a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
}



/* Helper */
.align-center {
    text-align: center;
}

.main-img {
    width: 95vmin;
    height: auto;
}

.mobile-info-content,
.contact-text-mobile,
hr {
    display: none;
}

.contact-bold-text {
    font-family: 'Tinos-Bold', serif;
}

/* Responsive */
@media screen and (max-width: 1040px) {
    .grey-block {
        padding: 1em;
    }

    #header {
        height: auto;
    }

    .header-logo {
        margin-bottom: 20px;
    }

    .home-content {
        padding: 1em 2em;
    }

    hr {
        display: block;
        border: none;
        border-top: 1px solid #FFC000;
        height: 0;
        margin: 0 1.5em;
    }

    .footer-nav {
        flex-direction: column-reverse;
        gap: 5em;
    }

    .footer-logo-bild {
        width: 300px;
    }

    .contact-bold-text {
        display: none;
    }

    .contact-text-mobile {
        display: block;
    }

    /*.section-divider,
    .footer-divider {
        width: 70%;
    }*/
}

@media screen and (max-width: 780px) {
    .home-content {
        gap: 1em;
    }

    .home-content ul {
        list-style-type: none;
        margin: 2em 0 0 -10px;
        padding: 0 1em;
    }

    .home-content ul li {
        position: relative;
        padding: 0 0 18px 40px;
        font-family: 'Tinos-Regular';
        font-size: 18px;
        line-height: 1.45;
    }

    .header-icon {
        margin-top: 10px;
        width: 100%;
    }

    .main-img {
        width: 100vmin;
        margin-top: 2em;
    }

    .btn {
        padding: 1em 2em;
        font-size: 11pt;
    }

    .nav-item img {
        width: 16px;
    }

    .p-top-content p {
        font-family: 'Tinos-Regular';
        font-size: 18px;
        line-height: 1.45;
    }

    .mobile-info-content {
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin: 0 16px;
        padding: 2em 2em 3em 2em;
    }

    .mobile-info-content .nav-item {
        gap: 16px;
    }

    .p-color {
        padding: 0 10px;
        font-family: 'Tinos-Regular';
        font-size: 18px;
        line-height: 1.45;
    }

    h1, h2, h3 {
        font-size: 26px;
    }

    p {
        font-size: 18px;
    }

    .section-divider,
    .footer-divider,
    .mail-line {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .section-divider.short {
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .main-section p {
        font-family: 'Tinos-Regular';
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    .shorter .bold {
        font-size: 18px;
    }

    .bold {
        margin-bottom: 0;
    }

    .section-divider,
    .footer-divider {
        width: 100%;
    }
}