/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
	color: #000066;
	text-decoration: none;
	/*font-weight: bold;*/
}

a:visited, a:link {
	color: #000066;
}

a:hover, a:active, a:focus {
	color: #FF3401;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo {
    display: flex;
	padding-top: 8px;
	 /* not used, no function--> vom alten Icon
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;*/
}

.logo-icon img {
	border-radius: 10px;
	opacity: 0.9;    
}

.nav-menu {
    display: flex;
    gap: 30px;
	list-style-type: none;
}

.nav-link {
    text-decoration: none;
    color: #000066;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}


.nav-link:active {
    /*Klappt NICHT*/
	color: #FF3401;
}

.nav-link:hover {
    /*color: #667eea;*/
	color: #FF3401;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;	
    background: #FF3401;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Banner (formerly Hero Section) */
.main-banner {	
	height: 350px; /* Adjusted height */
    position: relative;
	top: 88px;
    display: flex;
    align-items: center;
    justify-content: center; 
	/*background-image: url(grafik/banner_only_sun.png);*/
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;	
	color: white;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-top: 220px; /* To account Text for fixed navbar */
}

.main-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);*/
}

 /* Not Used: falls Icon rechts oben gesetzt wird!*/
.main-banner img {
    position: absolute;
   top: 130px;    /* Abstand von oben */
   right: 30px;  /* Abstand von rechts */
}

/* General Section Padding */
.section-padding {
    padding: 50px 0;
}

.section-padding-20 {
    padding: 20px 0;
}

.section-padding-150 {
    padding: 150px 0 10px 0;
}

/* Introduction Section */
.introduction {
    background: #f8f9ff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    text-align: center;
}

.profile-image {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 24px;
    font-weight: 600;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.intro-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.intro-text ul li {
    margin-bottom: 8px;
}

/* Services Section */
.services {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.service-item-up {
    display: flex;
    align-items: top;	
	gap: 10px;
    margin-bottom: 1px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse,
.service-item-up.reverse {
    flex-direction: row-reverse;
}


.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-text {
    flex: 2;
}

.service-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.datenschutz-text {
	font-size: 0.9rem;
	margin-bottom: 20px;
	color: #555;
	line-height: 1.8;
}

.youtube {
  position: relative;
  width: 100%;              /* passt sich immer der verfügbaren Breite an */
  max-width: 560px;         /* aber nicht größer als dein Original */
  aspect-ratio: 16 / 9;  
  background-color: #000;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;  
}

.youtube-center {
  margin: 0 auto;  /* sorgt für Zentrieren */
}

.youtube .play-button {
  width: 90px;
  height: 60px;
  background-color: #333;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  z-index: 1;
  opacity: 0.8;
  border-radius: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.youtube .play-button:before {
  content: "";
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  left: 33px;
  top: 15px;
}
	
	

/* Content Blocks for Subpages */
.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    text-align: center;	
	/*float: right !important;  bringt nix*/
}


.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-text {
    flex: 2;
}

.content-text h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-text h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

.content-text ul li {
    margin-bottom: 8px;
}

/* About Section (for ueber-mich.html) */
.about-details {
    background: #f8f9ff;
}

.about-details h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 24px;
    font-weight: 600;
}

.about-details p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-details ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.about-details ul li {
    margin-bottom: 8px;
}

.qualifications h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.qualifications p {
    margin-bottom: 10px;
}

/* Contact Section (for kontakt.html) */
.contact-details {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8f9ff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
}

.contact-form {
    background: #f8f9ff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.callButtonTable{
		margin: 0 auto; /* Horizontale Zentrierung */
		border-collapse: collapse;
		width: 95%; /* Breite der Tabelle */		
	}
	
#callButtonText{		
		padding-top: 0px;
	}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #667eea;
    color: white;
}

.btn:hover {
    background: #5a6de0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Impressum Section (for impressum.html) */
.impressum-details {
    background: white;
}

.impressum-details h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
}

.impressum-details h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 30px 0 15px;
    font-weight: 600;
}

.impressum-details p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 8px;
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
    color: #bdc3c7;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 868px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-banner h1 {
        font-size: 2rem;
		line-height: 150%;
    }

    .intro-content,
    .about-content,
    .contact-content,
    .content-block {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .service-item,
	.service-item-up {
        flex-direction: column !important;
    }

    .service-image,
    .content-image {
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2,
    .intro-text h2,
    .about-details h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .main-banner h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
	
	/* klappt nicht*/
	.horizontal-line {
	  height: 1px;
	  width: 375px;
	  background-color: black; /* oder eine andere Farbe */
	  border: none; /* Entfernt den Standardrand */
	}
	
	
		
}


