/* ============================================
   SPRUNG NACH VORN — Complete CSS
   ============================================
   1.  Variables & Reset
   2.  Base Typography
   3.  Layout Utilities
   4.  Components (buttons, cards, badges, forms)
   5.  Header & Navigation
   6.  Hero
   7.  Trust Bar
   8.  Intro & Quote
   9.  Situations
   10. Approach Cards
   11. Process Timeline
   12. Testimonials
   13. CTA Sections
   14. About / Expertise
   15. Expectations
   16. Online Beratung
   17. FAQ Accordion
   18. Contact Form
   19. Blog Styles
   20. Error Page
   21. Kitas Page
   22. Legal Pages
   23. Footer
   24. Scroll Animations
   25. Media Queries (768px, 480px)
   ============================================ */

/* ----- 1. Variables & Reset ----- */

:root {
    --primary:        #16a085;
    --primary-dark:   #138a72;
    --primary-light:  #e8f5f1;

    --accent:         #e8985e;
    --accent-dark:    #d4864a;
    --accent-light:   #fdf0e6;

    --text:           #2d3436;
    --text-secondary: #636e72;
    --text-light:     #95a5a6;

    --bg:             #ffffff;
    --bg-warm:        #faf8f5;
    --bg-card:        #ffffff;
    --border:         #e8e4e0;

    --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md:      0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg:      0 16px 48px rgba(0, 0, 0, 0.08);

    --radius:         12px;
    --radius-sm:      8px;
    --header-height:  80px;

    --font-heading:   'Montserrat', sans-serif;
    --font-body:      'Inter', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* ----- 2. Base Typography ----- */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.25;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.65rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
}

h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

small {
    font-size: 0.875rem;
}


/* ----- 3. Layout Utilities ----- */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-warm {
    background: var(--bg-warm);
}

.bg-light {
    background: var(--bg-warm);
}


/* ----- 4. Components ----- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
}

.btn:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--text);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* Field errors */
.input-error {
    border-bottom-color: #e74c3c !important;
}

.field-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Submit button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form feedback */
.form-success,
.form-error {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-sm);
}

.form-success {
    color: var(--primary);
}

.form-success i,
.form-error i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.form-error {
    color: #e74c3c;
}


/* ----- 5. Header & Navigation ----- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

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

nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.btn {
    color: #fff;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    margin-left: 0.75rem;
}

nav ul li a.btn:hover {
    color: #fff;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ----- 6. Hero ----- */

.hero {
    margin-top: var(--header-height);
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    inset: 0;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero > .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem 1.5rem 2rem 3rem;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2.75rem;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ----- 7. Trust Bar ----- */

.trust-bar {
    background: var(--bg);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-item-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.trust-item-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


/* ----- 8. Intro & Quote ----- */

.intro {
    background: var(--bg-warm);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-section blockquote {
    position: relative;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.quote-section blockquote i {
    color: var(--primary);
    opacity: 0.4;
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.quote-section blockquote p {
    display: inline;
}

.intro-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text);
    font-size: 0.95rem;
}

.service-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}


/* ----- 9. Situations ----- */

.situations {
    background: var(--bg);
}

.situations h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.situation-content {
    max-width: 700px;
    margin: 0 auto;
}

.quotes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quotes blockquote {
    padding: 1.25rem 1.5rem;
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.situation-content > p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
}


/* ----- 10. Approach Cards ----- */

.approach {
    background: var(--bg-warm);
}

.approach h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.approach-cards .card h3 {
    margin-bottom: 1rem;
}

.approach-cards .card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.approach-cards .card ul li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.approach-cards .card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}


/* ----- 11. Process Timeline ----- */

.process {
    background: var(--bg);
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 3.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ----- 12. Testimonials ----- */

.testimonials {
    background: var(--bg-warm);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.testimonial {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.15rem;
}

.testimonial blockquote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.testimonial-quote-icon {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}


/* ----- 13. CTA Sections ----- */

.mid-page-cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.mid-page-cta h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.mid-page-cta p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.mid-page-cta .btn {
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
}

.mid-page-cta .btn:hover {
    background: var(--accent-dark);
}


/* ----- 14. About / Expertise ----- */

.qualifications {
    background: var(--bg);
}

.uber-mich-hero {
    height: 60vh;
    min-height: 420px;
    overflow: hidden;
}

.uber-mich-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-intro {
    padding: 3rem 0 0;
    text-align: center;
}

.about-intro h2 {
    margin-bottom: 0.75rem;
}

.about-intro .lead-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 3rem;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.expertise-card h3 {
    margin-bottom: 0.75rem;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.approach-features {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.approach-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
}

.approach-features li i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}


/* ----- 15. Expectations ----- */

.expectations {
    background: var(--bg-warm);
}

.expectations h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.expectation-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.expectation-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.expectation-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}



/* ----- 16. Online Beratung ----- */

.online-beratung {
    background: var(--bg);
}

.online-beratung h2 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.online-beratung-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.online-beratung-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.online-beratung-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.online-beratung-item .card-icon {
    margin: 0 auto 1.25rem;
}

.online-beratung-item h3 {
    margin-bottom: 0.75rem;
}

.online-beratung-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* ----- 17. FAQ Accordion ----- */

.faq {
    background: var(--bg-warm);
}

.faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.accordion {
    max-width: 750px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-card);
}

.accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.accordion-button h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}

.accordion-button i {
    color: var(--text-light);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-button i {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-button h3 {
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.accordion-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* ----- 18. Contact Form ----- */

.contact-section-wrapper {
    padding: 5rem 0;
    background: var(--primary);
}

.cta {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 3.5rem;
}

.cta h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.benefits {
    color: #fff;
}

.benefits h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.benefits ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
    opacity: 0.92;
}

.benefits ul li i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    font-size: 1.05rem;
    padding: 0.85rem 0;
}

.contact-form .form-group textarea {
    min-height: 130px;
}

.contact-form .form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form .btn-submit {
    padding: 1.1rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    border-bottom-color: var(--border);
}


/* ----- 19. Blog Styles ----- */

.blog-hero {
    margin-top: var(--header-height);
    padding: 4rem 0;
    background: var(--bg-warm);
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-meta .category {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.75rem;
}

.blog-card-body h3 {
    margin-bottom: 0.5rem;
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-body h3 {
    color: var(--text);
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: 0.75rem;
}

.read-more:hover {
    gap: 0.6rem;
}

/* Article page */
.article-header {
    margin-top: var(--header-height);
    padding: 4rem 0 2rem;
    background: var(--bg-warm);
}

.article-header h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-meta .category {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.75rem;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    font-weight: 500;
    color: var(--primary);
}

.article-back:hover {
    gap: 0.75rem;
}


/* ----- 20. Error Page ----- */

.error-page {
    margin-top: var(--header-height);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page h2 {
    margin-bottom: 0.75rem;
}

.error-page p {
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto 2rem;
}

.error-page .btn {
    margin-bottom: 2rem;
}

.error-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.error-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.error-links a:hover {
    color: var(--primary);
}


/* ----- 21. Kitas Page ----- */

/* ----- Bücher page ----- */

.buecher-hero {
    margin-top: var(--header-height);
    padding: 5rem 0;
    background: var(--bg-warm);
    text-align: center;
}

.buecher-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.buecher-hero .lead-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.buecher-shop {
    padding: 4rem 0;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.book-image {
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 280px;
}

.book-image img {
    max-width: 180px;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.book-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-details h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.book-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.book-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.book-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.book-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.book-buy-btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.book-buy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Shop info bar */
.shop-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.shop-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.shop-info-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

.shop-info-item strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.shop-info-item span {
    display: block;
    font-size: 0.85rem;
}

/* Shop messages */
.shop-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.shop-message-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Order status pages */
.order-status-page {
    margin-top: var(--header-height);
    padding: 5rem 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.order-status-card {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.order-status-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.order-success i {
    color: var(--primary);
}

.order-cancelled i {
    color: var(--accent);
}

.order-status-card h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.order-status-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.order-status-card .btn {
    margin-top: 1.5rem;
    display: inline-block;
}

/* ----- Kitas page ----- */

.kitas-hero {
    margin-top: var(--header-height);
    padding: 5rem 0;
    background: var(--bg-warm);
    text-align: center;
}

.kitas-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kitas-hero .lead-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.kitas-services {
    padding: 4rem 0;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-features {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
}

.service-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.team-support {
    margin-top: 3rem;
    padding: 3rem 0;
}

.team-support h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
}

.support-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.support-item h4 {
    margin-bottom: 0.5rem;
}

.support-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-section {
    text-align: center;
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-section h2 {
    margin-bottom: 0.75rem;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}


/* ----- 22. Legal Pages ----- */

.legal-section {
    margin-top: var(--header-height);
    padding: 4rem 0;
    background: var(--bg-warm);
    min-height: 60vh;
}

.legal-content {
    max-width: 750px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.legal-content ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.legal-content strong {
    color: var(--text);
}

.legal-content em {
    color: var(--text-light);
}


/* ----- 23. Footer ----- */

footer {
    background: #2d3436;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}


/* ----- 24. Scroll Animations ----- */

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* ----- 25. Media Queries ----- */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Tablet — 768px */
@media (max-width: 768px) {

    :root {
        --header-height: 70px;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }

    .section-padding {
        padding: 3.5rem 0;
    }

    /* Header / Nav */
    .mobile-menu-btn {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        padding: 0.85rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }

    nav ul li a.btn {
        margin-top: 1rem;
        text-align: center;
        border-bottom: none;
    }

    /* Mobile menu overlay */
    body.mobile-menu-active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    body.mobile-menu-active {
        overflow: hidden;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    /* Trust Bar */
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Grids to single column */
    .approach-cards,
    .expertise-grid,
    .online-beratung-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .expectations-grid {
        grid-template-columns: 1fr;
    }

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

    /* CTA / Contact */
    .cta {
        padding: 2.5rem 1.5rem;
        border-radius: var(--radius-sm);
    }

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

    /* About hero */
    .uber-mich-hero {
        height: 35vh;
        min-height: 220px;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-nav {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile — 480px */
@media (max-width: 480px) {

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.55rem; }
    h3 { font-size: 1.2rem; }

    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    /* Trust bar stacks */
    .trust-items {
        grid-template-columns: 1fr;
    }

    .trust-bar {
        padding: 1.5rem 0;
    }

    /* CTA */
    .mid-page-cta {
        padding: 3rem 0;
    }

    .cta {
        padding: 2rem 1rem;
    }

    /* Bücher hero + shop */
    .buecher-hero {
        padding: 3.5rem 0;
    }

    .buecher-hero h1 {
        font-size: 1.75rem;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

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

    .order-status-card {
        padding: 2rem 1.5rem;
    }

    /* Blog hero */
    .blog-hero {
        padding: 3rem 0;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    /* Kitas hero */
    .kitas-hero {
        padding: 3.5rem 0;
    }

    .kitas-hero h1 {
        font-size: 1.75rem;
    }

    /* Error page */
    .error-code {
        font-size: 5rem;
    }

    /* Legal */
    .legal-section {
        padding: 3rem 0;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    /* Scroll-to-top */
    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
}
