* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a2b49;
    padding: 1rem 2rem;
    color: white;
    height: 80px; /* Feste Höhe, trotz großem Logo */
    transition: all 0.3s ease;
}

.logo-img {
    height: 250px; /* Großes Logo */
    width: auto;
    max-height: 250px; /* Begrenzt die Höhe auf die Navbar */
    object-fit: contain; /* Verhält das Logo proportional */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #e67e22;
}

.nav-links a.active {
    background-color: #e67e22;
    border-radius: 20px;
    color: white;
    font-weight: 600;
}

.hero {
    padding: 4rem 2rem;
    background-color: #f7f9fc;
    text-align: center; /* Alles mittig */
}

.hero-content {
    max-width: 700px; /* Feste Breite für bessere Kontrolle */
    margin: 0 auto; /* Zentriert den Block */
}

.hero h1 {
    font-size: 2.5rem;
    color: #1a2b49;
    margin-bottom: 1.5rem; /* Abstand nach unten */
}

.hero-image {
    max-width: 50%; /* Größer, aber nicht zu dominant */
    height: auto;
    border-radius: 10px;
    margin: 2rem auto; /* Zentriert mit Abstand */
    display: block; /* Für margin: auto */
}

.hero p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d35400;
}

.hero .cta-button {
    margin-top: 1.5rem; /* Abstand zum Text */
}

.services {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f7f9fc;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: #1a2b49;
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    border-left: 4px solid #e67e22;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #1a2b49;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1.1rem;
    color: #555;
}

.services .cta-button {
    margin-top: 3rem; /* 2-3 cm Abstand */
}

.tabs {
    position: relative;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.tab-button {
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    color: #1a2b49;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e67e22;
    color: white;
    border-color: #e67e22;
}

.tab-button.active {
    background-color: #e67e22;
    color: white;
    border-color: #e67e22;
}

.tab-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.service-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-header h3 {
    font-size: 2rem;
    color: #1a2b49;
    font-weight: 700;
}

.service-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #e67e22;
    flex-shrink: 0;
}

.service-benefit {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e6ed;
}

.service-benefit h4 {
    font-size: 1.5rem;
    color: #1a2b49;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.benefit-list p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin: 0.5rem 0;
}

.benefit-list p:before {
    content: "✓";
    color: #e67e22;
    margin-right: 0.5rem;
}

.career {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7f9fc;
    text-align: center;
}

.career h2 {
    font-size: 2.5rem;
    color: #1a2b49;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.career > p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.team-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 2rem;
}

.career .cta-button {
    margin-top: 0;
}

.job-offers {
    margin: 3rem 0;
}

.job-offers h3 {
    font-size: 1.8rem;
    color: #1a2b49;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.job-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2.5rem;
    border-left: 4px solid #e67e22;
}

.job-item h4 {
    font-size: 1.4rem;
    color: #1a2b49;
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin: 0.8rem 0;
}

.job-item strong {
    color: #1a2b49;
    font-weight: 600;
}

.job-item ul {
    list-style: none;
    margin-left: 0;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.job-item ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.job-item ul li:before {
    content: "✓";
    color: #e67e22;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.job-item a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
}

.job-item a:hover {
    text-decoration: underline;
}

footer {
    background-color: #1a2b49;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Bestehende Steuerberater-Stile (angepasst) */
.steuerberater {
    padding: 4rem 2rem;
    background-color: #f7f9fc; /* Entferne max-width, wird vom Container übernommen */
    min-height: calc(100vh - 160px); /* Konsistent mit anderen Seiten */
}

.steuerberater h2 {
    font-size: 2.5rem;
    color: #1a2b49;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.profile-container {
    max-width: 1200px; /* Breiter für 500px Foto + Text */
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Text beginnt oben */
}

.profile-photo {
    flex-shrink: 0; /* Foto wird nicht kleiner */
}

.photo {
    width: 500px; /* Neue Größe */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: none; /* Entfernt doppelten Rand */
}

.profile-content {
    flex-grow: 1; /* Nimmt restlichen Platz */
    min-width: 0; /* Verhindert Überlaufen */
}

.profile-content h3 {
    font-size: 2rem;
    color: #1a2b49;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-content .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.vita-box, .qualifications-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
    margin-bottom: 2rem;
}

.vita-box h4, .qualifications-box h4 {
    font-size: 1.5rem;
    color: #1a2b49;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vita-box ul, .qualifications-box ul {
    list-style: none;
    margin-left: 0;
}

.vita-box ul li, .qualifications-box ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.vita-box ul li:before, .qualifications-box ul li:before {
    content: "➜";
    color: #e67e22;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }
    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
    .logo-img {
        height: 60px; /* Etwas kleiner auf Mobile */
        max-height: 60px;
    }
    .hero {
        padding: 2rem 1rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2rem; /* Etwas kleiner auf Mobile */
        margin-bottom: 1rem;
    }
    .hero-image {
        max-width: 80%; /* Größer auf Mobile */
        margin: 1.5rem auto;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    .services {
        padding: 2rem 1rem;
    }
    .services h2 {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .service-item {
        padding: 1rem;
    }
    .services .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .tab-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    .tab-content {
        padding: 1.5rem;
    }
    .service-header h3 {
        font-size: 1.6rem;
    }
    .service-list {
        grid-template-columns: 1fr;
    }
    .career {
        padding: 2rem 1rem;
    }
    .career h2 {
        font-size: 2rem;
    }
    .team-image {
        max-width: 80%;
    }
    .job-item {
        padding: 1.5rem;
    }
    .job-item h4 {
        font-size: 1.3rem;
    }
    .job-item p, .job-item ul li {
        font-size: 1rem;
    }
    .steuerberater {
        padding: 2rem 1rem;
    }
    .steuerberater h2 {
        font-size: 2rem;
    }
    .profile-container {
        flex-direction: column;
        align-items: center;
    }
    .profile-photo {
        width: 100%;
        max-width: 350px; /* Angepasst für Mobile */
    }
    .photo {
        width: 100%; /* Volle Breite innerhalb des Containers */
        max-width: 350px; /* Begrenzt auf Mobile */
    }
    .profile-content h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    .profile-content .subtitle {
        text-align: center;
    }
}

/* Kontakt-Section */
.contact {
    padding: 4rem 2rem;
    background-color: #f7f9fc;
    min-height: calc(100vh - 160px); /* Füllt die Seite, minus Navbar+Footer */
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
}

.contact-container {
    max-width: 600px; /* Schmaler, da nur Kontaktdaten */
    margin: 0 auto;
    text-align: center;
}

.contact h1 {
    font-size: 2.5rem;
    color: #1a2b49;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Kontaktdaten */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: #1a2b49;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.contact-info strong {
    color: #1a2b49;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .contact {
        padding: 2rem 1rem;
    }
    .contact h1 {
        font-size: 2rem;
    }
    .contact .subtitle {
        font-size: 1rem;
    }
    .contact-info {
        padding: 1.5rem;
    }
    .contact-info h2 {
        font-size: 1.5rem;
    }
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #1a2b49;
}

/* Content-Section (angepasst an dein Design) */
.content {
    padding: 4rem 2rem;
    background-color: #f7f9fc;
    min-height: calc(100vh - 160px); /* Platz für Navbar und Footer */
}

.content h2 {
    font-size: 2.5rem;
    color: #1a2b49;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Impressum-Section */
.impressum-section {
    max-width: 800px;
    margin: 0 auto 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
}

.impressum-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.impressum-section ul {
    list-style: none;
    margin: 0.5rem 0 1rem 1.5rem;
}

.impressum-section ul li {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
}

.impressum-section ul li:before {
    content: "➜";
    color: #e67e22;
    position: absolute;
    left: 0;
}

/* Disclaimer-Item */
.disclaimer-item {
    margin-bottom: 1.5rem;
}

.disclaimer-item h3 {
    font-size: 1.4rem;
    color: #1a2b49;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.disclaimer-item h4 {
    font-size: 1.2rem;
    color: #1a2b49;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.disclaimer-item p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Trennlinie zwischen deutsch und englisch */
hr {
    border: 0;
    border-top: 1px solid #e0e6ed;
    margin: 2rem 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .content {
        padding: 2rem 1rem;
    }
    .content h2 {
        font-size: 2rem;
    }
    .impressum-section {
        padding: 1.5rem;
    }
    .impressum-section p,
    .impressum-section ul li,
    .disclaimer-item p {
        font-size: 1rem;
    }
    .disclaimer-item h3 {
        font-size: 1.3rem;
    }
    .disclaimer-item h4 {
        font-size: 1.1rem;
    }
}

/* PDF-Section */
.pdf-section {
    padding: 4rem 2rem;
    background-color: #f7f9fc;
    min-height: calc(100vh - 160px);
}

.pdf-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
    text-align: center;
}

.pdf-container h1 {
    font-size: 2.5rem;
    color: #1a2b49;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pdf-container p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.pdf-container embed {
    display: block;
    margin: 0 auto 1.5rem;
    border: 1px solid #e0e6ed;
    border-radius: 5px;
}

.pdf-container .cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.pdf-container .cta-button:hover {
    background-color: #d35400;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .pdf-section {
        padding: 2rem 1rem;
    }
    .pdf-container {
        padding: 1.5rem;
    }
    .pdf-container h1 {
        font-size: 2rem;
    }
    .pdf-container embed {
        height: 400px; /* Kleinere Höhe auf Mobile */
    }
}

/* Ergänzungen für Steuerberater mit 500px Foto */
.logo a {
    display: block; /* Link füllt Logo-Fläche */
    text-decoration: none;
}

.profile-container {
    max-width: 1200px; /* Breiter für 500px Foto */
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #e67e22;
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Text beginnt oben */
}

.profile-photo {
    flex-shrink: 0; /* Foto bleibt fest */
}

.photo {
    width: 500px; /* Neue Größe */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: none; /* Kein doppelter Rand */
}

.profile-content {
    flex-grow: 1;
    min-width: 0; /* Verhindert Überlaufen */
}

@media (max-width: 1024px) {
    .profile-container {
        flex-direction: column; /* Foto über Text bei mittleren Geräten */
        align-items: center;
    }
    .photo {
        width: 100%;
        max-width: 500px; /* Begrenzt, aber groß */
    }
    .profile-content {
        text-align: center;
    }
    .profile-content .subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-photo {
        width: 100%;
        max-width: 350px; /* Kleinere Max-Größe auf Mobile */
    }
    .photo {
        width: 100%;
        max-width: 350px;
    }
}

.lampe-image {
    max-width: 30%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 2rem auto 0.2rem; /* Mehr Abstand oben (2rem), weniger unten (1.5rem) */
}