/* ============================================================
   INDEX.CSS – Seitenspezifische Styles für index.html
   Hero, Ticker, Services, Pricing, GEO-Teaser, Portfolio,
   About, Process, FAQ, Contact
   ============================================================ */

/* ---------- 01 · Hero ---------- */
.hero {
    padding-top: 100px;
    padding-bottom: 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2rem;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    line-height: 1.08;
    color: var(--black);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    background: var(--accent);
    color: var(--black);
    padding: 0 0.15em;
}

.hero-sub {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-buttons .btn {
    width: 100%;
}

/* Floating Card */
.hero-card {
    display: none;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .hero-card {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 280px;
        background: white;
        border-radius: 16px;
        padding: 1.75rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
        animation: float 4s ease-in-out infinite;
        z-index: 1;
    }

    .hero-card-stat {
        font-family: var(--serif);
        font-size: 2.5rem;
        color: var(--black);
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .hero-card-label {
        font-size: 0.85rem;
        color: var(--gray);
        margin-bottom: 1rem;
    }

    .hero-card-bar {
        height: 6px;
        background: rgba(10, 10, 10, 0.06);
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }

    .hero-card-bar-fill {
        height: 100%;
        width: 87%;
        background: var(--accent);
        border-radius: 3px;
    }

    .hero-card-bottom {
        font-size: 0.75rem;
        color: var(--gray);
    }
}

@media (min-width: 1200px) {
    .hero {
        padding-top: 120px;
    }

    .hero-card {
        right: 4rem;
        width: 320px;
    }
}

/* ---------- 02 · Ticker ---------- */
.ticker {
    background: var(--accent);
    color: var(--black);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 35s linear infinite;
}

.ticker-item {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0 1.25rem;
}

.ticker-item::after {
    content: ' ✦';
    margin-left: 1.25rem;
    opacity: 0.5;
}

@media (max-width: 767px) {
    .ticker-track {
        animation-duration: 20s;
    }
}

/* ---------- 03 · Leistungen / Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 04 · Preise / Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.25rem;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 32px rgba(200, 240, 96, 0.12);
}

.pricing-card .badge {
    position: absolute;
    top: -10px;
    right: 1.5rem;
}

.pricing-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.pricing-pages {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.pricing-price-sub {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--black);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
}

/* Pflege-Box */
.pflege-box {
    background: var(--accent);
    color: var(--black);
    border-radius: 16px;
    padding: 2.25rem;
    margin-top: 2.5rem;
}

.pflege-box h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.pflege-box .pflege-price {
    font-family: var(--serif);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.pflege-box .pflege-sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.pflege-box ul li {
    font-size: 0.9rem;
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pflege-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- 05 · GEO-Teaser ---------- */
.geo-teaser {
    text-align: center;
}

.geo-teaser .section-label::before {
    display: none;
}

.geo-teaser .section-label {
    padding-left: 0;
}

.geo-teaser-text {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.geo-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.geo-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.geo-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.geo-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.geo-feature p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .geo-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .geo-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 06 · Portfolio ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.portfolio-card {
    display: block;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.portfolio-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.portfolio-preview {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e8e7e3 0%, #d4d3cf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.portfolio-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3em 0.7em;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--gray);
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 07 · Über mich / About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2.5rem;
}

.about-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-text h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-fact-number {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--accent);
    line-height: 1;
}

.about-fact-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* ---------- 08 · Prozess ---------- */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
    position: relative;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.process-number {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
}

.process-step h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-step {
        flex-direction: column;
        text-align: left;
    }
}

/* ---------- 09 · FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 2.5rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    min-height: 56px;
    text-align: left;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question:focus-visible {
    color: var(--gray);
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--gray);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.75;
}

/* ---------- 10 · Kontakt ---------- */
.contact {
    text-align: center;
}

.contact-text {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.contact-email {
    display: inline-block;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--accent);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
    border-bottom-color: var(--accent);
}

.contact-meta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}