@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/OpenSans-Regular.ttf') format('ttf'); 
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/OpenSans-SemiBold.ttf') format('ttf');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Montserrat-Regular.ttf') format('ttf'); 
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Montserrat-Bold.ttf') format('ttf');
}



        body {
            font-family: 'Open Sans', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: #333;
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: 'Montserrat', sans-serif;
            color: #2c3e50;
            margin-bottom: 0.8em;
        }

        h1 { font-size: 2.8em; }
        h2 { font-size: 2.2em; }
        h3 { font-size: 1.8em; }

        a {
            color: #3498db;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background-color: #ffffff;
            padding: 15px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .top-bar {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 8px 0;
            font-size: 0.9em;
            text-align: right;
        }
        .top-bar span {
            margin-left: 20px;
        }
        .top-bar a {
            color: #ecf0f1;
            text-decoration: none;
        }
        .top-bar a:hover {
            text-decoration: underline;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 0; 
            line-height: 0;
            display: block;
        }
        .logo img {
            width: 200px;
            height: auto;
            display: block;
            border-radius: 20px;
        }
/* Kontakt */
.contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact input, .contact textarea {
  width: 90%;
  max-width: 500px;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #3498db;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

.contact button {
  background: #3498db;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}

.wasserzeichen {
	height: 150px;
	width: auto;
	border-radius: 20px;
}

.contact button:hover {
  background: #2980b9;
}

.contact {
  position: relative; /* wichtig für Positionierung */
}


.contact-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}


		
		
        nav {
            margin-top: 10px;
        }

        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        nav ul li {
            margin-left: 30px;
            margin-bottom: 10px;
        }

        nav ul li a {
            color: #2c3e50;
            font-weight: 600;
            padding: 5px 0;
            position: relative;
            font-size: 1.5em;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: #3498db;
            transition: width 0.3s ease-in-out;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        .hero {
            background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 152, 219, 0.7)), url('https://via.placeholder.com/1500x600/2c3e50/ffffff?text=IT+Consulting+Hintergrund') no-repeat center center/cover;
            color: #ffffff;
            text-align: center;
            padding: 100px 20px;
            min-height: 500px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .hero h1 {
            color: #ffffff;
            font-size: 3.5em;
            margin-bottom: 15px;
        }

        .hero p {
            font-size: 1.3em;
            max-width: 800px;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            background-color: #3498db;
            color: #ffffff;
            padding: 15px 30px;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .btn:hover {
            background-color: #2980b9;
            text-decoration: none;
        }

        section {
            padding: 60px 0;
            text-align: center;
        }

        section:nth-child(even) {
            background-color: #f8f8f8;
        }

        .kompetenzen-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .kompetenz-item {
            background-color: #ffffff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .kompetenz-item:hover {
            transform: translateY(-5px);
        }

        .kompetenz-item .icon {
            font-size: 3em;
            color: #3498db;
            margin-bottom: 15px;
        }

        .kompetenz-item h3 {
            margin-top: 0;
            font-size: 1.5em;
            color: #2c3e50;
        }

        .teaser-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .teaser-item {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            overflow: hidden;
            text-align: left;
            transition: transform 0.3s ease;
        }

        .teaser-item:hover {
            transform: translateY(-5px);
        }

        .teaser-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        .teaser-item-content {
            padding: 20px;
        }

        .teaser-item-content h3 {
            margin-top: 0;
            font-size: 1.4em;
        }

        .teaser-item-content p {
            font-size: 0.95em;
            color: #666;
        }

        .teaser-item-content .read-more {
            display: inline-block;
            margin-top: 15px;
            font-weight: bold;
            color: #3498db;
        }

        footer {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 40px 0;
            text-align: center;
            font-size: 0.9em;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0 0 20px 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .footer-links li {
            margin: 0 15px;
        }

        .footer-links li a {
            color: #ecf0f1;
            text-decoration: none;
        }

        .footer-links li a:hover {
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2em;
            }

            .hero p {
                font-size: 1em;
            }

            .header-content {
                flex-direction: column;
                align-items: center;
            }

            nav ul {
                justify-content: center;
                margin-top: 20px;
            }

            nav ul li {
                margin: 0 10px 10px 10px;
            }

            .top-bar {
                text-align: center;
            }
            .top-bar span {
                display: block;
                margin: 5px 0;
            }

            .kompetenzen-grid,
            .teaser-grid {
                grid-template-columns: 1fr;
            }

            .kompetenz-item,
            .teaser-item {
                margin-bottom: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .hero {
                padding: 60px 15px;
                min-height: 350px;
            }

            .hero h1 {
                font-size: 1.8em;
            }

            .btn {
                padding: 12px 20px;
            }

            h2 {
                font-size: 1.8em;
            }
            h3 {
                font-size: 1.3em;
            }
        }
