/*
Theme Name: Warze Entfernen Conversion Theme
Theme URI: https://www.warze-entfernen.de/
Author: ChatGPT & Alex
Author URI: https://www.warze-entfernen.de/
Description: Modernes, responsives und conversion-starkes Theme für Warzenentfernung & Vergleich von Warzenmitteln.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warze-entfernen-theme
*/

/* Reset & Basics */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background-color: #f8fafc;
}

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

a {
    color: #0b7285;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e1e7ef;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #0b7285);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(11, 114, 133, 0.35);
}

.site-title-tagline {
    display: flex;
    flex-direction: column;
}

.site-title-tagline a {
    text-decoration: none;
}

.site-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #102a43;
    margin: 0;
}

.site-tagline {
    font-size: 0.8rem;
    color: #627d98;
    margin: 0.1rem 0 0;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.primary-menu li {
    position: relative;
}

.primary-menu > li > a {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #243b53;
}

.primary-menu li:hover > a {
    color: #0b7285;
}

/* Dropdown */
.primary-menu li ul {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 200px;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0.4rem 0;
    display: none;
    z-index: 30;
}

.primary-menu li:hover > ul {
    display: block;
}

.primary-menu li ul li a {
    display: block;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    color: #243b53;
}

.primary-menu li ul li a:hover {
    background: #f1f5f9;
    color: #0b7285;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b7285, #12b886);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(11, 114, 133, 0.35);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid #cbd2e1;
    background: #ffffff;
    color: #243b53;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: #0b7285;
    color: #0b7285;
}

/* Mobile Nav */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.35rem;
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #102a43;
    margin: 3px 0;
    border-radius: 999px;
}

/* Hero */
.hero {
    padding: 3.5rem 0 2.5rem;
    background: radial-gradient(circle at top left, #e6fcf5 0, #f8fafc 55%);
    border-bottom: 1px solid #e1e7ef;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0b7285;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(11, 114, 133, 0.08);
    margin-bottom: 0.9rem;
}

.hero-kicker span.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #12b886;
}

.hero-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: #102a43;
    margin: 0 0 0.75rem;
}

.hero-title strong {
    color: #0b7285;
}

.hero-subtitle {
    font-size: 1rem;
    color: #52606d;
    margin: 0 0 1rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
    margin-bottom: 1.4rem;
}

.hero-highlights span {
    font-size: 0.85rem;
    color: #52606d;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.75rem;
    color: #829ab1;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Hero Illustration */
.hero-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid #e1e7ef;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #102a43;
}

.hero-card-pill {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e6fcf5;
    font-size: 0.7rem;
    color: #0b7285;
    font-weight: 600;
}

.hero-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.metric {
    padding: 0.55rem 0.6rem;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.metric-label {
    font-size: 0.7rem;
    color: #829ab1;
}

.metric-value {
    font-size: 1rem;
    font-weight: 700;
    color: #102a43;
}

.metric-tag {
    font-size: 0.7rem;
    color: #0b7285;
}

/* Trust Section */
.trust-section {
    padding: 2.5rem 0 1.5rem;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.8rem;
}

.section-heading h2 {
    font-size: 1.4rem;
    margin: 0 0 0.4rem;
    color: #102a43;
}

.section-heading p {
    margin: 0;
    font-size: 0.95rem;
    color: #52606d;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.trust-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #e1e7ef;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #e6fcf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.trust-card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    color: #102a43;
}

.trust-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #52606d;
}

/* Comparison Section */
.comparison-section {
    padding: 1rem 0 2.5rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.comparison-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #e1e7ef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.comparison-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0b7285;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.comparison-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #102a43;
}

.comparison-card p {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #52606d;
}

.comparison-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: #829ab1;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.75rem;
}

/* Testimonials */
.testimonials-section {
    padding: 2.5rem 0;
    background: #ffffff;
    border-top: 1px solid #e1e7ef;
    border-bottom: 1px solid #e1e7ef;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.testimonial-card {
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border: 1px solid #e1e7ef;
}

.testimonial-rating {
    color: #f59f00;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #243b53;
    margin-bottom: 0.8rem;
}

.testimonial-author {
    font-size: 0.8rem;
    color: #52606d;
}

/* FAQ */
.faq-section {
    padding: 2.5rem 0 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e1e7ef;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #102a43;
}

.faq-answer {
    font-size: 0.85rem;
    color: #52606d;
    margin: 0;
}

/* Content */
.main-content {
    padding: 2.5rem 0;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 {
    color: #102a43;
}

.main-content p {
    color: #52606d;
}

.content-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e1e7ef;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

/* Blog & Pages */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.1rem;
    border: 1px solid #e1e7ef;
}

.post-card h2 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.post-card .entry-meta {
    font-size: 0.75rem;
    color: #829ab1;
    margin-bottom: 0.5rem;
}

.post-card .entry-excerpt {
    font-size: 0.9rem;
    color: #52606d;
}

.entry-content {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid #e1e7ef;
}

.entry-content img {
    border-radius: 0.75rem;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-header h1 {
    margin: 0 0 0.3rem;
}

.entry-meta-single {
    font-size: 0.8rem;
    color: #829ab1;
}

/* Sidebar */
.sidebar {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e1e7ef;
}

.sidebar h2 {
    font-size: 1rem;
    margin-top: 0;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    border-top: 1px solid #e1e7ef;
    background: #ffffff;
    padding: 1.5rem 0 2rem;
    font-size: 0.8rem;
    color: #829ab1;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-links a {
    color: #52606d;
}

.footer-links a:hover {
    color: #0b7285;
}

.footer-note {
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust-grid,
    .comparison-grid,
    .testimonial-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        align-items: center;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 0.5rem 1.25rem 1rem;
        border-bottom: 1px solid #e1e7ef;
        transform-origin: top;
        transform: scaleY(0.95);
        opacity: 0;
        pointer-events: none;
        transition: all 0.18s ease-out;
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .primary-menu {
        flex-direction: column;
        gap: 0.15rem;
    }

    .primary-menu li ul {
        position: static;
        box-shadow: none;
        border-radius: 0.5rem;
        margin-top: 0.2rem;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .trust-grid,
    .comparison-grid,
    .testimonial-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
    }
}
