:root {
    --primary-color: #1B4332;
    --secondary-color: #2D6A4F;
    --accent-color: #40916C;
    --light-color: #D8F3DC;
    --dark-color: #081C15;
    --text-color: #E9ECEF;
    --background-color: #121212;
    --card-background: #1E1E1E;
    --container-padding: clamp(1rem, 5vw, 2rem);
    --section-spacing: clamp(3rem, 8vw, 5rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
}

.container {
    width: min(1200px, 100% - var(--container-padding) * 2);
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem var(--container-padding);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    color: var(--light-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.logo h1 i {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links li a {
    color: var(--light-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('back.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding: calc(60px + var(--container-padding)) var(--container-padding);
}

.hero-content {
    width: min(1000px, 100%);
    padding: 2rem;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3rem);
    background-color: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: var(--section-spacing) 0;
    background-color: var(--background-color);
}

section h2 {
    color: var(--light-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: linear-gradient(145deg, var(--card-background), rgba(64, 145, 108, 0.15));
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(64, 145, 108, 0.2);
    border: 3px solid rgba(64, 145, 108, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    max-height: 280px;
    transform: perspective(1000px) rotateX(0deg);
    word-wrap: break-word;
    hyphens: auto;
}



.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 145, 108, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: perspective(1000px) translateY(-15px) scale(1.05) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(64, 145, 108, 0.4);
    border-color: var(--accent-color);
    background: linear-gradient(145deg, var(--card-background), rgba(64, 145, 108, 0.3));
    border-width: 4px;
}



.project-card:hover::after {
    opacity: 1;
}

.project-card i {
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(64, 145, 108, 0.4));
}

.project-card:hover i {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(64, 145, 108, 0.6));
    color: var(--light-color);
}

.project-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 0.8rem;
    color: var(--light-color);
    transition: all 0.4s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    hyphens: auto;
}

.project-card:hover h3 {
    color: var(--accent-color);
    text-shadow: 0 4px 8px rgba(64, 145, 108, 0.5);
    transform: scale(1.1);
    letter-spacing: 1px;
}

.project-card p {
    color: var(--text-color);
    opacity: 0.9;
    transition: all 0.4s ease;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
    hyphens: auto;
    flex-grow: 1;
}

.project-card:hover p {
    opacity: 1;
    color: var(--light-color);
    transform: scale(1.05);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: clamp(0.8rem, 2vw, 1rem);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    background-color: var(--card-background);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-info {
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: clamp(2rem, 5vw, 3rem) 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    margin-top: 2rem;
}

.footer-bottom a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 1rem;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Footer Link */
.footer-link {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Impressum Section */
.impressum-section {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.impressum-content {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.impressum-block {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.impressum-block h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.impressum-block p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impressum-block a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-block a:hover {
    color: var(--light-color);
}

/* Datenschutz Section */
.datenschutz-section {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.datenschutz-content {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.datenschutz-block {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.datenschutz-block h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.datenschutz-block h4 {
    color: var(--accent-color);
    margin: 1rem 0;
    font-size: 1.1rem;
}

.datenschutz-block p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.datenschutz-block ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.datenschutz-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 2px 0;
    transition: 0.3s;
}

/* Media Queries */
@media (max-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    
    .project-card {
        min-height: 180px;
        max-height: 260px;
    }
    
    .project-card h3 {
        font-size: clamp(1rem, 2.8vw, 1.3rem);
        -webkit-line-clamp: 2;
    }
    
    .project-card p {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .project-card {
        padding: 1.5rem;
        min-height: 160px;
        max-height: 240px;
    }
    
    .project-card h3 {
        font-size: clamp(0.95rem, 2.5vw, 1.2rem);
        -webkit-line-clamp: 2;
        margin-bottom: 0.6rem;
    }
    
    .project-card p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .project-card {
        padding: 1.2rem;
        min-height: 140px;
        max-height: 200px;
    }
    
    .project-card h3 {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
    }
    
    .project-card p {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        -webkit-line-clamp: 2;
        line-height: 1.2;
    }
    
    .project-card i {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }
}

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 3rem;
    }

    .project-card,
    .contact-info {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .nav-toggle,
    .cta-button,
    .social-links {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    .container {
        width: 100%;
        max-width: none;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Projektformular und Grid für neue Projektseiten */
.project-entry-section {
  background: #f5f5f5;
  padding: 2rem 0 1rem 0;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.project-entry-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.project-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.project-form input[type="text"],
.project-form textarea {
  padding: 0.7rem;
  border: 1px solid #b2b2b2;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
}
.project-form input[type="file"] {
  border: none;
  background: none;
}
.project-form button {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.project-form button:hover {
  background: #256025;
}
.project-grid-section {
  padding: 2rem 0;
}
.project-grid-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
#projectGrid.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.project-card-entry {
  border-radius: 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.project-card-entry img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 7px;
  margin-bottom: 0.8rem;
  object-fit: cover;
  box-shadow: none;
  background: none;
}
.project-card-entry h3 {
  margin: 0.5rem 0 0.3rem 0;
  color: #2e7d32;
  font-size: 1.2rem;
}
.project-card-entry p {
  color: #444;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 600px) {
  .project-form {
    padding: 1rem;
  }
  #projectGrid.project-grid {
    gap: 1rem;
  }
}

/* Bild-Modal für große Bildansicht */
.image-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}
.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  background: #222;
}

/* Modal-Navigation für Galerie */
.image-modal .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1010;
  transition: background 0.2s;
  user-select: none;
}
.image-modal .modal-nav.prev {
  left: 2vw;
}
.image-modal .modal-nav.next {
  right: 2vw;
}
.image-modal .modal-nav:active,
.image-modal .modal-nav:focus {
  background: rgba(0,0,0,0.8);
  outline: none;
}
@media (max-width: 600px) {
  .image-modal .modal-nav {
    font-size: 2rem;
    padding: 0.3rem 0.7rem;
  }
}
.image-modal {
}

/* Galerie-Grid für Bildergalerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2rem 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: #222;
}
.gallery-grid img:hover,
.gallery-grid img:focus {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .gallery-grid img {
    height: 120px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .gallery-grid img {
    height: 90px;
  }
} 

/* Services Page Styles */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

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

.service-card {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--light-color);
}

.service-card h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card ul li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--light-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 145, 108, 0.3);
    color: var(--light-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-color);
}

.process-step h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step p {
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.secondary {
    background: transparent;
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 145, 108, 0.3);
    color: var(--light-color);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: var(--light-color);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Aktuelles Page Styles */
.aktuelles-section {
    padding: 6rem 0 4rem;
    background-color: var(--background-color);
}

/* Event Poster Styles */
.image-wrapper {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.event-poster {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.event-poster:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Image Modal für größere Ansicht */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.image-modal .close:hover {
    color: #ff6b6b;
}

.presentation-container {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.presentation-container h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.presentation-date {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.presentation-wrapper {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e9ecef;
}

.presentation-wrapper iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.presentation-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px dashed #6c757d;
}

.presentation-placeholder i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.presentation-placeholder h4 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.presentation-placeholder p {
    color: #6c757d;
    margin: 0;
}

/* PDF Viewer Styles */
.pdf-viewer {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    background: white;
}

.pdf-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px dashed #dc3545;
    min-height: 400px;
}

.pdf-fallback i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.pdf-fallback h4 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.pdf-fallback p {
    color: #6c757d;
    margin: 0;
    max-width: 400px;
}

.fallback-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.browser-warning {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Verbesserte PDF-Viewer Styles */
.pdf-viewer {
    transition: all 0.3s ease;
}

.pdf-viewer:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Loading State */
.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px solid #007bff;
    min-height: 400px;
}

.pdf-loading i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

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

/* CTA Button mit leuchtenden Effekten */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    background: linear-gradient(45deg, #000000, #ffffff, #ff0000, #000000, #ffffff, #ff0000);
    background-size: 400% 400%;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    animation: gradientShift 3s ease infinite, pulse 2s ease-in-out infinite;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #000000, #ffffff, #ff0000, #000000, #ffffff, #ff0000);
    background-size: 400% 400%;
    border-radius: 50px;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #ffffff, #ff0000, #000000, #ffffff, #ff0000);
    background-size: 400% 400%;
    border-radius: 50px;
    z-index: -2;
    animation: gradientShift 3s ease infinite;
    filter: blur(8px);
    opacity: 0.7;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.6);
    animation: gradientShift 1s ease infinite, pulse 1s ease-in-out infinite;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Blinkende Pfeile */
.arrow-left, .arrow-right {
    font-size: 2rem;
    font-weight: bold;
    color: #ff0000;
    animation: blink 1.5s ease-in-out infinite, bounce 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.6));
}

.arrow-left {
    animation-delay: 0s;
}

.arrow-right {
    animation-delay: 0.5s;
}

/* Animationen */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.4); }
    100% { box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4); }
}

@keyframes blink {
    0%, 50% { opacity: 1; transform: scale(1); }
    25%, 75% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design für CTA */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .arrow-left, .arrow-right {
        font-size: 1.5rem;
    }
    
    .arrow-left {
        order: 1;
    }
    
    .cta-button {
        order: 2;
    }
    
    .arrow-right {
        order: 3;
    }
}

.presentation-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 145, 108, 0.3);
}

.download-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .presentation-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .image-wrapper {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .event-poster {
        max-width: 100%;
        height: auto;
    }
    
    .presentation-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .image-modal .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .image-modal img {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .presentation-container {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }
    
    .image-wrapper {
        padding: 0.5rem;
        margin: 0.5rem 0;
    }
    
    .event-poster {
        max-width: 100%;
        height: auto;
    }
    
    .download-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .image-modal .close {
        top: 5px;
        right: 10px;
        font-size: 25px;
    }
    
    .image-modal img {
        max-width: 98%;
        max-height: 98%;
    }
} 