/* ==========================================================================
   sr-theme – Ergänzungen zum "Mentor"-Template (template.css)
   Markenfarbe:  #2f8a76  (dunkel: #236b5b, hover: #297a68)
   Neutral:      #edeae1
   ========================================================================== */

/* Lato, lokal eingebunden (keine Verbindung zu Google – DSGVO) */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/lato/lato-300.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lato/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lato/lato-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/lato/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/lato/lato-900.woff2') format('woff2'); }

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    color: #1d2724;
    line-height: 1.65;
}

/* Section backgrounds (.bg with z-index:-1) need a stacking context per block */
.block, .hero, .cta-box { position: relative; z-index: 0; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #2f8a76; color: #fff; padding: 10px 15px; z-index: 1000;
}
.skip-link:focus { left: 10px; color: #fff; }

/* Typography tweaks ------------------------------------------------------- */
h2 { margin-bottom: 30px; line-height: 1.25; }
h3 { line-height: 1.35; }
.kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 700;
    color: #2f8a76;
    margin: 0 0 15px;
}
.text-color-white .kicker, .cta-box .kicker { color: rgba(255, 255, 255, .8); }
p.lead { font-size: 20px; font-weight: 300; opacity: .85; margin-bottom: 25px; }
.prose p { opacity: .8; }
.prose ul { padding-left: 20px; margin-bottom: 20px; }
.prose li { margin-bottom: 6px; opacity: .85; }
.prose h3 { margin-top: 30px; margin-bottom: 15px; }
.prose strong { opacity: 1; }
.text-color-white .prose p, .text-color-white p { opacity: .9; }
.text-color-white h2, .text-color-white h3, .text-color-white h4 { color: #fff; }
.center .prose ul, .prose.center ul { display: inline-block; text-align: left; }

/* Header / Logo ----------------------------------------------------------- */
.navigation .secondary-nav { min-height: 24px; }
.logo {
    display: inline-flex;
    align-items: center;
    color: #1d2724;
    text-decoration: none;
}
.logo:hover, .logo:focus { color: #1d2724; }
.logo-mark {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #2f8a76;
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: .06em;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 12px;
    transition: .3s;
}
.logo:hover .logo-mark { background: #236b5b; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 21px; font-weight: 300; white-space: nowrap; }
.logo-name strong { font-weight: 700; }
.logo-tagline {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #2f8a76;
    font-weight: 700;
    margin-top: 4px;
    white-space: nowrap;
}

.navigation .nav-toggle {
    background: none; border: 0; padding: 0; line-height: 1; color: #000;
}
.navigation .main-nav ul { margin-bottom: 0; }
.navigation .main-nav ul li a { display: inline-block; }
.navigation .main-nav ul li a:focus-visible { outline: 2px solid #2f8a76 !important; outline-offset: 4px; }

/* Subpage heading ----------------------------------------------------------- */
.navigation, .subpage .navigation { background-color: rgba(237, 234, 225, 0.45); }
.heading { padding-top: 45px; margin-bottom: 0; }
.heading h1 { text-transform: uppercase; letter-spacing: .12em; font-size: 15px; font-weight: 700; color: #2f8a76; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero-bg {
    background:
        radial-gradient(circle at 85% 20%, rgba(47, 138, 118, .12), transparent 45%),
        linear-gradient(180deg, rgba(237, 234, 225, .45) 0%, rgba(237, 234, 225, .12) 100%);
}
.hero-row { display: flex; flex-wrap: wrap; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.12; color: #1d2724; margin-top: 0; }
.hero .lead { max-width: 560px; }
.hero-graphic { width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.hero-image { max-width: 420px; margin: 0 auto; }

/* Buttons --------------------------------------------------------------- */
.buttons { margin-top: 30px; }
.buttons .btn { margin: 0 12px 12px 0; white-space: normal; }
.center .buttons .btn, .buttons:only-child .btn { margin-left: 6px; margin-right: 6px; }
.btn.btn-big { font-size: 15px; padding: 16px 28px; }
.btn i { vertical-align: -2px; margin-right: 4px; }
.btn.btn-primary.btn-white:hover, .btn.btn-primary.btn-white:focus { background-color: #f3f1ea; }

/* Feature boxes & cards -------------------------------------------------- */
.features-row { display: flex; flex-wrap: wrap; justify-content: center; }
.features-row:before, .features-row:after { display: none; }
.feature-col { margin-bottom: 30px; float: none; }
.section-intro { margin-bottom: 40px; }
.feature-box h3 { font-size: 20px; }
.feature-box > a h3 { color: #1d2724; }
.feature-box > a:hover h3 { color: #2f8a76; }
.feature-box p { min-height: 0; }

.card {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 3px solid #2f8a76;
}
.card h3 { margin-top: 5px; margin-bottom: 10px; font-size: 21px; }
.card-icon { font-size: 36px; color: #2f8a76; display: block; margin-bottom: 15px; }
.card-subtitle { color: #2f8a76; font-weight: 700; margin-top: 0; margin-bottom: 15px; }
.card p { flex: 1 0 auto; }
.card-action { margin-top: 10px; }
.features-cards .center .card, .features-cards .card.center { text-align: center; }

/* Quote ----------------------------------------------------------------- */
.quote-module blockquote p {
    font-size: 26px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.45;
    max-width: 820px;
    opacity: .85;
}
.quote-module blockquote:before {
    content: "\201E";
    display: block;
    font-size: 80px;
    line-height: .6;
    color: #2f8a76;
    opacity: .5;
    font-family: Georgia, serif;
}
.quote-text { margin-top: 30px; }

/* Text module with portrait --------------------------------------------- */
.portrait { text-align: center; margin-bottom: 30px; }
.portrait img { max-width: 320px; width: 100%; }
.portrait-placeholder {
    width: 260px; height: 260px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2f8a76 0%, #7fbfae 100%);
    display: flex; align-items: center; justify-content: center;
    border: 10px solid #edeae1;
}
.portrait-placeholder span { color: #fff; font-size: 72px; font-weight: 300; letter-spacing: .05em; }

/* CTA ------------------------------------------------------------------- */
.cta-module { padding: 30px 0 70px; }
.cta-box { padding: 60px 30px; }
.cta-box .prose p { font-size: 18px; }

/* Footer ---------------------------------------------------------------- */
#footer { margin-top: 30px; }
#footer .left span { margin-right: 25px; }
#footer .left .footer-link { color: #1d2724; opacity: .7; margin-right: 20px; font-size: 14px; }
#footer .left .footer-link:hover { opacity: 1; color: #2f8a76; }
#footer .right a:hover { color: #fff; opacity: .85; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1199px) {
    .navigation .main-nav ul li a { margin: 5px 9px; font-size: 12px; }
    .logo-name { font-size: 19px; }
}
@media (max-width: 991px) {
    .hero h1 { font-size: 40px; }
    .hero { padding: 40px 0 60px; }
    .logo-tagline { display: none; }
    .navigation .main-nav ul li a { margin: 5px 6px; font-size: 11px; }
}
@media (max-width: 767px) {
    /* flex rows: bootstrap has no xs widths here, so make items full width */
    .feature-col, .hero-text { width: 100%; }
    .navigation .main-nav { padding-right: 40px; }
    .navigation .main-nav ul { z-index: 1000; min-width: 220px; }
    .navigation .main-nav nav ul li a { margin: 0; font-size: 13px; padding: 10px 15px; }
    .logo-name { font-size: 17px; }
    .logo-mark { width: 40px; height: 40px; font-size: 15px; }
    .hero h1 { font-size: 30px; }
    .hero { padding: 30px 0 40px; }
    p.lead { font-size: 18px; }
    .quote-module blockquote p { font-size: 20px; }
    .cta-box { padding: 40px 15px; }
    .cta-module { padding: 10px 0 40px; }
    .heading { padding-top: 25px; }
    #footer .left span, #footer .left .footer-link { display: inline-block; margin: 0 8px; }
    #footer .left { text-align: center; }
    .buttons .btn { display: block; width: 100%; margin: 0 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
