/* Modernes, junges Design für Saarbrücken Website */
/* Mobile-First, Responsive */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
}

ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-grow: 0;
}

li {
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    display: block;
    transition: background 0.3s;
}

a:hover {
    background-color: #007bff;
    border-radius: 4px;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: absolute;
    right: 1rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.lang-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lang-btn span {
    display: none;
}

.hero {
    background: linear-gradient(to right, #007bff, #28a745); /* Blau zu Grün */
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.claim {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.value-prop {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ffc107; /* Gelb für CTA */
    color: #333;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    min-height: 44px;
    min-width: 100px;
}

.cta-button:hover {
    background-color: #e0a800;
}

.overview {
    padding: 2rem 1rem;
    text-align: center;
}

.intro-text {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.intro-text h2 {
    color: #007bff;
    margin-bottom: 1rem;
    text-align: center;
}

.intro-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.content {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.studiengang {
    background-color: #e9ecef;
    padding: 2rem 1rem;
    text-align: center;
    margin: 2rem 0;
    box-sizing: border-box;
    width: 100%;
}

.studiengang h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.studiengang p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Neue Styles für Bilder */
.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 1rem auto;
    display: block;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* University Cards - Anklickbar ohne Bilder */
.university-card {
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-content h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.uni-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.uni-highlights span {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.event {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event h3 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.event p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.event .cta-button {
    margin-top: 1rem;
}

.university-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    header {
        padding: 0.5rem;
        position: sticky;
        top: 0;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
        position: relative;
    }
    
    .logo {
        order: 1;
    }
    
    .burger-menu {
        order: 2;
        display: flex;
    }
    
    .lang-switch {
        order: 3;
        position: static;
        margin-left: auto;
    }
    
    #nav-menu {
        order: 4;
        flex-basis: 100%;
    }
    
    .lang-btn {
        width: 35px;
        height: 35px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        background: #333;
        padding: 0.5rem 0;
        display: none;
        margin: 0;
        gap: 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    li a {
        padding: 0.75rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero p,
    .claim {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .image-gallery img {
        height: 120px;
    }
    
    .content {
        padding: 1rem;
    }
    
    .content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .content-section {
        padding: 1rem;
        max-width: 100%;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .event {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .event h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .event p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.625rem 1rem;
        font-size: 0.95rem;
        min-width: 80px;
        min-height: 40px;
    }
    
    .university-buttons {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .university-buttons a {
        width: 90%;
        max-width: 180px;
    }
    
    .studiengang {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .studiengang h2 {
        font-size: 1.3rem;
    }
    
    .studiengang p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    footer {
        padding: 1rem 0.5rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    main {
        padding: 0;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices (under 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.2rem;
    }
    
    .content h2,
    .content-section h2 {
        font-size: 1.1rem;
    }
    
    .event h3 {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        min-width: 70px;
    }
    
    .university-buttons a {
        width: 100%;
    }
}

/* Neue Styles für modernes Layout */
.navbar {
    background: #007bff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo h1 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.tagline {
    color: #e9ecef;
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a.active {
    border-bottom: 2px solid #ffc107;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.page-header {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.intro-section {
    padding: 3rem 0;
    text-align: center;
}

.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.university-card {
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.uni-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.uni-highlights span {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.featured-program {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 15px;
}

.program-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.program-info {
    flex: 1;
    text-align: center;
}

.program-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-info h2 {
    color: #007bff;
    margin-bottom: 1rem;
}

.badge {
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.highlight {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.placeholder-image {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.highlight-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.highlight-box h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.info-highlight {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.info-highlight h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.related-content {
    background: #343a40;
    color: white;
    padding: 3rem 0;
}

.related-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: #495057;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.related-card:hover {
    background: #6c757d;
}

.related-card h3 {
    margin-bottom: 0.5rem;
}

.footer {
    background: #212529;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #adb5bd;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.testimonial-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 15px rgba(0,123,255,0.15);
    transform: translateY(-3px);
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.testimonial-description {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .testimonials {
        padding: 2rem 1rem;
    }

    .testimonials h2 {
        font-size: 1.5rem;
    }

    .testimonials-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .testimonial-description {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .testimonials {
        padding: 1.5rem 0.75rem;
    }

    .testimonials h2 {
        font-size: 1.3rem;
    }

    .testimonials-subtitle {
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 1rem;
        border-width: 1px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}