/*
Theme Name: Sicher im Alltag
Theme URI: https://sicher-im-alltag.de
Author: Sicher im Alltag
Author URI: https://sicher-im-alltag.de
Description: Ein modernes WordPress-Theme für den Seniorenbetreuungsdienst Sicher im Alltag. Mit Gelassenheit und Herz den Alltag meistern.
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sicher-im-alltag
Tags: home-care, senior-care, business, responsive, custom-colors

This theme, like WordPress, is licensed under the GPL.
*/

/* CSS Variables */
:root {
    --ginkgo-gold: #E8B923;
    --ginkgo-gold-dark: #D4A017;
    --ginkgo-blue: #1B365D;
    --ginkgo-cream: #F9F7F2;
    --ginkgo-light: #E8DCC4;
    --text-dark: #2C2C2C;
    --text-light: #F9F7F2;
    --hero-overlay-opacity: 0.85;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--ginkgo-cream);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

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

a {
    color: var(--ginkgo-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--ginkgo-gold-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(249, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(27, 54, 93, 0.1);
    animation: slideDown 0.8s ease-out;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo img,
.custom-logo {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    color: var(--ginkgo-blue);
    font-weight: 600;
    margin: 0;
}

.site-title a {
    color: var(--ginkgo-blue);
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.main-navigation a {
    color: var(--ginkgo-blue);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ginkgo-gold);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ginkgo-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(249, 247, 242, var(--hero-overlay-opacity)) 0%,
        rgba(232, 185, 35, 0.1) 100%);
    position: relative;
    padding: 8rem 2rem 4rem;
    margin-top: 0;
}

.hero-section.has-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--ginkgo-blue);
    margin-bottom: 2rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title strong {
    font-weight: 600;
    color: var(--ginkgo-gold);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--ginkgo-blue);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--ginkgo-gold);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 10px 30px rgba(232, 185, 35, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 185, 35, 0.4);
    background: var(--ginkgo-gold-dark);
    color: white;
}

/* Content Sections */
.content-section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--ginkgo-blue);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--ginkgo-gold);
}

/* Philosophy Section */
.philosophy-section {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.philosophy-intro {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ginkgo-blue);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-10px);
}

.philosophy-item h3 {
    font-size: 1.8rem;
    color: var(--ginkgo-gold);
    margin-bottom: 1rem;
}

.philosophy-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Services Section */
.services-section {
    background: var(--ginkgo-blue);
    color: var(--text-light);
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem 0;
}

.services-section .section-title {
    color: var(--text-light);
}

.services-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(249, 247, 242, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(232, 185, 35, 0.2);
    transition: all 0.4s ease;
}

.service-card:hover {
    background: rgba(249, 247, 242, 0.1);
    border-color: var(--ginkgo-gold);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--ginkgo-gold);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.service-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ginkgo-gold);
    font-size: 1.5rem;
}

.services-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.services-note-box {
    background: rgba(249, 247, 242, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--ginkgo-gold);
}

.services-note-box h4 {
    font-size: 1.5rem;
    color: var(--ginkgo-gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.services-note-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
#ueber-mich {
    background:
        linear-gradient(135deg,
            rgba(249, 247, 242, 0.85) 0%,
            rgba(232, 220, 196, 0.90) 100%),
        url('assets/images/background_gingko.jpg') left top repeat-x;
    background-size: auto 100%;
}

.about-section {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.65) 0%, rgba(45, 74, 124, 0.60) 100%);
    color: var(--text-light);
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem 0;
    text-align: center;
}

.about-section .section-title {
    color: var(--text-light);
}

.about-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-style: italic;
    margin: 3rem 0;
    padding: 2rem;
    border-left: 4px solid var(--ginkgo-gold);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.quote-author {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-style: normal;
}

.about-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
}

.about-text.italic {
    font-style: italic;
    margin-top: 2rem;
}

/* Pflegekasse Section */
.pflegekasse-section {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pflegekasse-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.pflegekasse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.pflegekasse-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.pflegekasse-item:hover {
    transform: translateY(-10px);
}

.pflegekasse-icon {
    color: var(--ginkgo-gold);
    margin-bottom: 1.5rem;
}

.pflegekasse-icon svg {
    width: 80px;
    height: 80px;
}

.pflegekasse-item h3 {
    font-size: 1.6rem;
    color: var(--ginkgo-blue);
    margin-bottom: 1rem;
}

.pflegekasse-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.pflegekasse-note {
    background: var(--ginkgo-cream);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--ginkgo-gold);
    margin-top: 3rem;
}

.pflegekasse-note h4 {
    font-size: 1.8rem;
    color: var(--ginkgo-blue);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.pflegekasse-note p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pflegekasse-note ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pflegekasse-note li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.pflegekasse-note li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ginkgo-gold);
    font-size: 1.3rem;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 6rem 2rem;
}

.contact-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--ginkgo-blue);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--ginkgo-gold);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Page Template Styles */
.page-wrapper {
    padding: 8rem 2rem 4rem;
    min-height: calc(100vh - 200px);
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-article {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--ginkgo-gold);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--ginkgo-blue);
    margin: 0;
    font-weight: 600;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content h2 {
    font-size: 2rem;
    color: var(--ginkgo-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--ginkgo-light);
}

.page-content h3 {
    font-size: 1.6rem;
    color: var(--ginkgo-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content a {
    color: var(--ginkgo-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--ginkgo-gold-dark);
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content strong,
.page-content b {
    color: var(--ginkgo-blue);
    font-weight: 600;
}

.page-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--ginkgo-light);
    text-align: center;
    font-size: 1.1rem;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--ginkgo-gold);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: var(--ginkgo-gold-dark);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--ginkgo-blue);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--ginkgo-gold);
    margin: 0 1rem;
}

.footer-text {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--ginkgo-cream);
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 2rem;
    }

    .main-navigation a {
        font-size: 1.3rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .philosophy-section,
    .services-section,
    .about-section,
    .pflegekasse-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
        border-radius: 15px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-notes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pflegekasse-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pflegekasse-note {
        padding: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
    }

    .page-wrapper {
        padding: 7rem 0 3rem;
    }

    .page-article {
        padding: 2rem 1rem;
    }

    /* Ensure touch targets are at least 44x44px (WCAG 2.1) */
    .cta-button,
    .contact-item a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1rem 0;
    }

    .site-logo img,
    .custom-logo {
        height: 40px;
        width: auto;
    }

    .site-title {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .philosophy-section,
    .services-section,
    .about-section,
    .pflegekasse-section {
        padding: 1.5rem 0.75rem;
        border-radius: 10px;
    }

    .about-quote {
        font-size: 1.4rem;
        padding: 1rem;
    }

    .page-wrapper {
        padding: 6rem 0 2rem;
    }

    .page-article {
        padding: 1.5rem 0.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-content h2 {
        font-size: 1.6rem;
    }

    .page-content h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}