/*
Theme Name: deinerhetorik
Theme URI: https://deine-rhetorik.de/
Author: internetgestalten.de
Author URI: https://internetgestalten.de
Version: 1.0.0
Description: Wordpress Theme - Deine Rhetorik - Relaunch 2026
*/


/*-----------------------------------------------------------------------------------*/
/* Tokens
/*-----------------------------------------------------------------------------------*/
:root {
    --dr-green: #80b050;
    --dr-green-light: #a9d67f;
    --dr-dark: #2c3417;
    --dr-text: #5c5e50;
    --dr-body: #2c2a24;
    --dr-nav: #3f4a31;
    --dr-muted: #9a9384;
    --dr-bg: #fbfaf6;
    --dr-bg-alt: #f2f5ea;
    --dr-section-dark: #3f5526;
    --dr-footer: #2c3417;
    --dr-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --dr-sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --dr-container: 1240px;
    --dr-gutter: 40px;
    --dr-header: 79px;
}


/*-----------------------------------------------------------------------------------*/
/* Base
/*-----------------------------------------------------------------------------------*/
*, *::after, *::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--dr-header);
    background: var(--dr-bg);
    font-family: var(--dr-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dr-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

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

::selection {
    background: #d2e4af;
    color: var(--dr-dark);
}

.container {
    max-width: var(--dr-container);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--dr-gutter);
}

/* Sprungziele unter dem fixen Header ausrichten */
section[id] {
    scroll-margin-top: calc(var(--dr-header) + 20px);
}


/*-----------------------------------------------------------------------------------*/
/* Header / Navigation
/*-----------------------------------------------------------------------------------*/
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(251, 250, 246, .85);
    border-bottom: 1px solid rgba(63, 85, 38, .1);
}

#site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px var(--dr-gutter);
}

#logo {
    display: flex;
    align-items: center;
    gap: 13px;
}

#logo img {
    width: 40px;
    height: auto;
    display: block;
}

#logo span {
    font-family: var(--dr-serif);
    font-weight: 400;
    font-size: 23px;
    letter-spacing: .01em;
    color: var(--dr-dark);
    line-height: 1.2;
}

#site-header nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#site-header nav a {
    position: relative;
    display: inline-block;
    font-weight: 500;
    font-size: 15.5px;
    color: var(--dr-nav);
}

#site-header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 2px;
    background: var(--dr-green);
    transition: right .28s ease;
}

#site-header nav a:hover::after,
#site-header nav .current-menu-item > a::after {
    right: 0;
}

/* Mobile Button */
.mobile-button {
    display: none;
    position: relative;
    width: 32px;
    height: 22px;
    cursor: pointer;
}

.mobile-button span,
.mobile-button::before,
.mobile-button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dr-nav);
    transition: transform .28s ease, opacity .2s ease;
}

.mobile-button::before { top: 0; }
.mobile-button span    { top: 10px; }
.mobile-button::after  { bottom: 0; }

#site-header.mobile .mobile-button::before { transform: translateY(10px) rotate(45deg); }
#site-header.mobile .mobile-button span    { opacity: 0; }
#site-header.mobile .mobile-button::after  { transform: translateY(-10px) rotate(-45deg); }


/*-----------------------------------------------------------------------------------*/
/* Sections / gemeinsame Typo
/*-----------------------------------------------------------------------------------*/
.section {
    position: relative;
    padding: 96px var(--dr-gutter);
}

.section--alt {
    background: var(--dr-bg-alt);
}

/* waehlbare Hintergrundfarben (Block "Text") */
.section--bg-base  { background: var(--dr-bg); }
.section--bg-light { background: var(--dr-bg-alt); }
.section--bg-dark  { background: var(--dr-section-dark); }

/* Schrift auf dunklem Grund aufhellen */
.section--bg-dark .eyebrow     { color: var(--dr-green-light); }
.section--bg-dark .section__title { color: #fff; }
.section--bg-dark .rte p,
.section--bg-dark .rte ul      { color: #eef1e6; }
.section--bg-dark .rte strong,
.section--bg-dark .rte a       { color: var(--dr-green-light); }
.section--bg-dark ::selection  { background: var(--dr-green-light); color: var(--dr-dark); }

.section__narrow {
    max-width: 780px;
    margin: 0 auto;
}

.eyebrow {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--dr-green);
    margin-bottom: 14px;
}

.eyebrow--light {
    color: var(--dr-green-light);
}

.section__title {
    font-family: var(--dr-sans);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--dr-dark);
    margin: 0 0 24px;
}

.section__title--light {
    color: #fff;
    margin-bottom: 48px;
}

/* Fließtext aus WYSIWYG-Feldern */
.rte p {
    font-size: 18px;
    line-height: 1.72;
    color: var(--dr-text);
    margin: 0 0 18px;
}

.rte p:last-child {
    margin-bottom: 0;
}

.rte strong {
    color: var(--dr-green);
    font-weight: 600;
}

.rte a {
    color: var(--dr-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rte ul {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--dr-text);
}

.rte--small p {
    font-size: 16.5px;
    line-height: 1.65;
}


/*-----------------------------------------------------------------------------------*/
/* Block: hero
/*-----------------------------------------------------------------------------------*/
.hero {
    position: relative;
}

.hero__media {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 600px;
    max-height: 760px;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 30%;
    display: block;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(28, 36, 16, .84) 0%, rgba(28, 36, 16, .58) 38%, rgba(28, 36, 16, 0) 68%);
    opacity: .7;
}

.hero__deco {
    position: absolute;
    left: -120px;
    bottom: -140px;
    width: 420px;
    height: auto;
    opacity: .14;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.hero__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero__content {
    max-width: 480px;
}

.hero__title {
    font-family: var(--dr-serif);
    font-weight: 400;
    font-size: 60px;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--dr-green-light);
    margin: 0;
}

.hero__sub {
    font-family: var(--dr-serif);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.45;
    color: var(--dr-green-light);
    margin: 14px 0 0;
}

.hero__claims {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .35);
    font-weight: 700;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.005em;
    color: #eef1e6;;
}

.switched .hero__title,
.switched .hero__sub {
    color: #eef1e6;
}

.switched .hero__claims {
    color: var(--dr-green-light);
}





.hero__caption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .6);
}


/*-----------------------------------------------------------------------------------*/
/* Block: quote
/*-----------------------------------------------------------------------------------*/
.quote {
    overflow: hidden;
    text-align: center;
}

.quote__deco {
    position: absolute;
    width: 440px;
    height: auto;
    opacity: .06;
    pointer-events: none;
}

.quote__deco--right {
    right: -140px;
    top: -160px;
}

.quote__deco--left {
    left: -140px;
    bottom: -160px;
}

.quote__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.quote__icon {
    display: block;
    width: 46px;
    height: auto;
    opacity: .85;
    margin: 0 auto 26px;
}

.quote__text {
    margin: 0;
}

.quote__text  {
    font-family: var(--dr-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.32;
    color: var(--dr-dark);
    margin: 0;
}

.quote__text b,
.quote__text strong {
    color: var(--dr-green);
    font-weight: inherit;
}

.quote__author {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dr-muted);
    margin: 24px 0 0;
}


/*-----------------------------------------------------------------------------------*/
/* Block: text_image
/*-----------------------------------------------------------------------------------*/
.textimage__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 64px;
    align-items: start;
}

/* Ohne Bild: Text nutzt volle Breite */
.textimage--noimage .textimage__inner,
.textimage--right.textimage--noimage .textimage__inner {
    grid-template-columns: 1fr;
}

.textimage__media {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(63, 85, 38, .14);
}

.textimage__media img {
    width: 100%;
    height: auto;
    display: block;
}

.textimage__media figcaption {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dr-muted);
    padding: 8px 2px 0;
}

/* Bild rechts */
.textimage--right .textimage__inner {
    grid-template-columns: 1.75fr 1fr;
}

.textimage--right .textimage__media {
    order: 2;
}


/*-----------------------------------------------------------------------------------*/
/* Block: list
/*-----------------------------------------------------------------------------------*/
.list__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.list__card {
    background: var(--dr-bg-alt);
    border-radius: 22px;
    padding: 48px 56px;
}

.section--alt .list__card {
    background: var(--dr-bg);
}

.list__head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.list__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dr-green);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
}

.list__title {
    font-family: var(--dr-sans);
    font-weight: 700;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--dr-dark);
    margin: 0;
}

.list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.list__items li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    font-size: 16.5px;
    line-height: 1.6;
    color: #4d5240;
    padding: 18px 0;
    border-top: 1px solid rgba(63, 85, 38, .12);
}

.list__items li:last-child {
    border-bottom: 1px solid rgba(63, 85, 38, .12);
}

.list__items li img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: .9;
}


/*-----------------------------------------------------------------------------------*/
/* Block: books (Publikationen)
/*-----------------------------------------------------------------------------------*/
.books__head {
    max-width: 780px;
    margin: 0 auto 56px;
}

.books__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.book {
    display: flex;
    flex-direction: column;
    background: var(--dr-bg);
    border: 1px solid rgba(63, 85, 38, .14);
    border-radius: 18px;
    overflow: hidden;
}

.section--alt .book {
    background: #fff;
}

.book__cover {
    background: var(--dr-bg-alt);
}

.book__cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    display: block;
}

.book__body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.book__title {
    font-family: var(--dr-sans);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--dr-dark);
    margin: 0;
}

.book__subtitle {
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--dr-muted);
    margin: 0;
}

.book__body .ctalink {
    margin-top: auto;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--dr-green);
}

.book__body .ctalink::after {
    content: " \203A";
}

/* Hover-Effekte aus dem Entwurf */
.offercard {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.offercard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(63, 85, 38, .1);
    border-color: rgba(128, 176, 80, .5);
}

.book {
    transition: transform .25s ease, box-shadow .22s ease, border-color .22s ease;
}

.book:hover {
    transform: translateY(-8px);
}

.ctalink {
    transition: opacity .2s ease;
}

.ctalink:hover {
    opacity: .65;
}

.solidbtn {
    display: inline-block;
    background: var(--dr-green);
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.solidbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(63, 85, 38, .28);
}


/*-----------------------------------------------------------------------------------*/
/* Block: testimonials (Slick)
/*-----------------------------------------------------------------------------------*/
.testimonials {
    background: var(--dr-section-dark);
    overflow: hidden;
    padding: 100px var(--dr-gutter);
    text-align: center;
}

.testimonials__deco {
    position: absolute;
    left: -160px;
    bottom: -200px;
    width: 560px;
    height: auto;
    opacity: .08;
    pointer-events: none;
}

.testimonials__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.testimonials__slider {
    min-height: 200px;
}

/* vor der Slick-Initialisierung nur den ersten Slide zeigen */
.testimonials__slider:not(.slick-initialized) .testimonial:not(:first-child) {
    display: none;
}

.testimonial {
    padding: 0 20px;
}

.testimonial__quote {
    margin: 0;
}

.testimonial__quote p {
    font-family: var(--dr-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 28px;
    line-height: 1.45;
    color: #eef1e6;
    margin: 0;
}

.testimonial__name {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin: 22px 0 0;
}

.testimonial__role {
    font-size: 14px;
    color: #b7c29e;
    margin: 2px 0 0;
}

/* Slick-Overrides: Pfeile wie im Entwurf (grosse Chevrons, kein Kreis) */
.testimonials .slick-prev,
.testimonials .slick-next {
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--dr-sans);
    font-size: 64px;
    line-height: 1;
    opacity: 1;
    z-index: 2;
    transition: opacity .2s ease;
}

.testimonials .slick-prev:hover,
.testimonials .slick-next:hover,
.testimonials .slick-prev:focus,
.testimonials .slick-next:focus {
    color: #fff;
    opacity: .6;
}

.testimonials .slick-prev { left: -30px; }
.testimonials .slick-next { right: -30px; }

/* Slick-Overrides: Dots wie im Entwurf (kleine Punkte, kein Ring) */
.testimonials .slick-dotted.slick-slider {
    margin-bottom: 0;
}

.testimonials .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 36px;
    line-height: 0;
}

.testimonials .slick-dots li {
    width: 8px;
    height: 8px;
    margin: 0 4.5px;
}

.testimonials .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    transition: background .2s ease;
}

.testimonials .slick-dots li button:after {
    display: none;
}

.testimonials .slick-dots li.slick-active button,
.testimonials .slick-dots li button:hover {
    background: var(--dr-green-light);
}


/*-----------------------------------------------------------------------------------*/
/* Footer
/*-----------------------------------------------------------------------------------*/
#site-footer {
    background: var(--dr-footer);
    color: #c6d2b3;
    padding: 58px 0 40px;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__logo img {
    width: 38px;
    height: auto;
}

.footer__logo span {
    font-family: var(--dr-serif);
    font-size: 20px;
    color: #fff;
}

.footer__claim {
    font-size: 14.5px;
    line-height: 1.6;
    color: #97a382;
    margin: 0;
}

.footer__cols {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer__label {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dr-green);
    margin-bottom: 15px;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer__col,
.footer__menu {
    font-size: 15px;
}
.footer__col p {
    margin: 11px 0;
}

.footer__col a,
.footer__menu a {
    color: #c6d2b3;
    transition: color .2s ease;
}

.footer__col a:hover,
.footer__menu a:hover {
    color: #fff;
}

.footer__bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: #7a8466;
}

/* nach oben */
#gotop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dr-green) url('images/gotop.svg') center center / 18px auto no-repeat;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 40;
}

body.scrolled #gotop {
    opacity: 1;
    visibility: visible;
    transform: none;
}


/*-----------------------------------------------------------------------------------*/
/* Standardseiten (index.php / tpl.404.php)
/*-----------------------------------------------------------------------------------*/
.content.container {
    padding-top: 96px;
    padding-bottom: 96px;
    max-width: 820px;
}

.content h1 {
    font-family: var(--dr-sans);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--dr-dark);
    margin: 0 0 24px;
}

.content h2 {
    font-size: 28px;
    color: var(--dr-dark);
    margin: 40px 0 16px;
}

.content p {
    font-size: 18px;
    line-height: 1.72;
    color: var(--dr-text);
}

.content a {
    color: var(--dr-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/*-----------------------------------------------------------------------------------*/
/* Responsive
/*-----------------------------------------------------------------------------------*/
@media (max-width: 1100px) {

    .hero__title { font-size: 50px; }
    .section__title { font-size: 34px; }
    .quote__text { font-size: 32px; }

    .textimage__inner,
    .textimage--right .textimage__inner {
        gap: 44px;
    }
}

@media (max-width: 900px) {

    :root {
        --dr-gutter: 24px;
    }

    #site-header nav {
        position: fixed;
        top: var(--dr-header);
        left: 0;
        right: 0;
        padding: 24px var(--dr-gutter) 32px;
        background: rgba(251, 250, 246, .98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(63, 85, 38, .1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    #site-header.mobile nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    #site-header nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    #site-header nav a {
        font-size: 18px;
    }

    .mobile-button {
        display: block;
    }

    .section {
        padding: 64px var(--dr-gutter);
    }

    .hero__media {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .hero__image {
        height: 62vh;
        min-height: 420px;
    }

    .hero__content {
        max-width: none;
    }

    .hero__title { font-size: 42px; }
    .hero__claims { font-size: 20px; }

    .textimage__inner,
    .textimage--right .textimage__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .textimage--right .textimage__media {
        order: 0;
    }

    .quote__text { font-size: 26px; }

    .list__card {
        padding: 32px 26px;
    }

    .testimonials {
        padding: 72px var(--dr-gutter);
    }

    .testimonial__quote p { font-size: 22px; }

    .testimonials .slick-prev { left: -14px; }
    .testimonials .slick-next { right: -14px; }

    .testimonials .slick-prev,
    .testimonials .slick-next { font-size: 44px; }

    .footer__cols {
        gap: 36px;
    }
}

@media (max-width: 560px) {

    .hero__title { font-size: 34px; }
    .hero__sub { font-size: 17px; }
    .hero__claims { font-size: 18px; }
    .hero__deco { width: 280px; left: -80px; bottom: -90px; }

    .section__title { font-size: 27px; }
    .quote__text { font-size: 22px; }
    .quote__deco { width: 300px; }

    .list__head { gap: 10px; }
    .list__title { font-size: 20px; }

    .testimonial { padding: 0; }
    .testimonial__quote p { font-size: 19px; }

    .testimonials .slick-prev,
    .testimonials .slick-next { display: none !important; }
}
