@import url('common.css');

/* Modernes, klares Design für Störungsdienst Knauder */
:root {
    --primary: #1a2942;  /* Dunkelblau statt Rot */
    --primary-light: rgba(26, 41, 66, 0.9);
    --secondary: #64748b;
    --accent: #1a2942;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Smooth Scrolling für ganze Seite */
html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #0055aa;
  text-decoration: none;
}

header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    min-height: 100px;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 85px;
    width: auto;
    margin-right: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    transition: none;
}

.logo:hover {
    transform: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}

nav a:hover,
nav a:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 85, 170, 0.2);
}

nav a.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 85, 170, 0.3);
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  background: rgba(0, 85, 170, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.phone-number:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 85, 170, 0.25);
}

.phone-number svg {
  width: 18px;
  height: 18px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #1a2942;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-number svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
  margin-left: 2rem;
}

/* Über Mich Seite Styles */
.intro-block {
    margin: 4rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
}

.intro-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.intro-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-height: 300px;
    object-fit: cover;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.intro-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.intro-content .subtitle {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.intro-content .intro-text {
    line-height: 1.8;
    color: var(--text);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .intro-block {
        margin: 2rem auto;
        padding: 1rem;
    }

    .intro-image {
        max-width: 200px;
    }

    .intro-image img {
        max-height: 250px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content .subtitle {
        font-size: 1.2rem;
    }
}

/* Hero Section */
/* Animations und Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Parallax Effekt für Hero */
.hero-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Seitenspezifische Hero-Hintergründe */
.hero-index {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/index/hero_bg_index.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-ueber {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/ueber/hero_bg_ueber.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-leistungen {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/leistungen/hero_bg_leistungen.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-kontakt {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/kontakt/hero_bg_kontakt.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-impressum {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/impressum/hero_bg_impressum.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-datenschutz {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/datenschutz/hero_bg_datenschutz.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-agb {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/agb/hero_bg_agb.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-disclaimer {
    background: 
        linear-gradient(135deg, rgba(26, 41, 66, 0.85) 0%, rgba(0, 61, 130, 0.85) 100%),
        url('../images/disclaimer/hero_bg_disclaimer.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Content mit Animation */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    animation: slideInLeft 1.2s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.hero-subtitle {
    animation: slideInRight 1.2s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.hero-buttons {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.9s;
}

.hero-features {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 1.2s;
}

.hero-content h1,
.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p,
.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn, 
button[type="submit"] {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  margin-left: 1rem;
}

.btn:hover,
button[type="submit"]:hover {
    background: var(--primary-light);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--light);
}

.services h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary);  /* Blau statt Rot */
    margin: 1rem 0;
}

/* CTA Section anpassen */
.cta {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer Styles */
footer {
    background: #1a2942;
    color: #fff;
    padding: 0;
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company h3 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: #fff;
}

.footer-company address {
    font-style: normal;
    line-height: 1.8;
    color: #cbd5e1;
}

.footer-company p {
    margin: 0.3rem 0;
}

.footer-phone {
    display: inline-block;
    color: #cbd5e1;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.footer-phone:hover {
    color: #fff;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    padding-top: 0.5rem;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 1.5rem 4rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-bottom {
        padding: 1.5rem 2rem;
    }
}

/* Responsive Design */
@media (max-width: 800px) {
  .nav-wrapper {
    padding: 1rem;
  }
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 1.5rem;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-radius: 0 0 1rem 1rem;
    transition: max-height 0.3s;
    z-index: 99;
  }
  nav.active {
    max-height: 300px;
    padding: 1rem 0;
  }
  .burger {
    display: block;
  }
}

@media (max-width: 600px) {
  .main-wrapper {
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
  .hero {
    padding: 2rem 0.5rem;
    font-size: 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
    text-align: center;
  }
}

/* Navigation mit modernen Hover-Effekten */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 0 auto;
}

.nav-links a {
    color: #1a2942;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1a2942, #3b82f6);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 41, 66, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover::after {
    left: 100%;
}

.nav-links a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Aktiver Menüpunkt */
.nav-links a.active::before {
    transform: scaleX(1);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.about-section h1 {
    font-size: 2.5rem;
    color: #1a2942;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro {
    font-size: 1.4rem;
    color: #64748b;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse .feature-content {
    direction: ltr;
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: #1a2942;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: translateY(-10px);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero {
    background: linear-gradient(to right, rgba(26, 41, 66, 0.95), rgba(26, 41, 66, 0.8)), 
                url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    color: white;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.5rem;
    opacity: 0.9;
}

.intro-block {
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.intro-content h2 {
    font-size: 2.2rem;
    color: #1a2942;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.feature-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.feature-content {
    background: linear-gradient(to right bottom, #ffffff, #f8fafc);
}

/* Services Page Styles */
.services-section {
    padding: 6rem 0;
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    color: var(--secondary);
}

.service-card li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Kontaktseite Styles */
.contact-hero {
    background: var(--primary);
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-wrapper {
    padding: 5rem 0;
    background: var(--light);
    border-top: 1px solid #e2e8f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
}

.info-box,
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.info-box h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-details .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details .info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.opening-hours h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.hours-section {
    margin-bottom: 2rem;
}

.hours-section.main-section {
    margin-bottom: 1rem;
}

.hours-section h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hours-item {
    margin-bottom: 1rem;
}

.hours-item .day {
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.time-slots span {
    color: #666;
    font-size: 0.95rem;
}

.contact-form h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .message-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.contact-form .message-group textarea {
    flex: 1;
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 41, 66, 0.1);
}

.btn-send {
    background-color: var(--primary);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.btn-send:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 41, 66, 0.3);
}

.contact-form .btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.info-box h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.info-item a,
.info-item address {
    color: var(--secondary);
    text-decoration: none;
    font-style: normal;
    font-size: 1.1rem;
}

.contact-form h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

button[type="submit"] {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Info Items */
.info-item svg {
    color: var(--primary);
}

.info-item a,
.info-item address {
    color: var(--secondary);
}

.info-item a:hover {
    color: var(--primary);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
}

.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .map-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}

/* Legal Pages Styling */
.legal-section {
    padding: 5rem 0;
    background: var(--light);
    border-top: 1px solid #e2e8f0;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.info-block {
    padding: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.info-block h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.info-block p {
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.business-info {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.business-info h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.business-info p {
    margin-bottom: 0.5rem;
    color: #334155;
}

.contact-info-legal {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.contact-info-legal .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-info-legal .info-item:last-child {
    margin-bottom: 0;
}

.contact-info-legal .label {
    font-weight: 600;
    color: var(--primary);
    min-width: 80px;
    flex-shrink: 0;
}

.contact-info-legal .value {
    color: #475569;
}

.contact-info-legal .value a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-legal .value a:hover {
    opacity: 0.8;
}

/* Responsive Design für Legal Pages */
@media (max-width: 768px) {
    .legal-section {
        padding: 3rem 0;
    }
    
    .info-block {
        padding: 2rem;
    }
    
    .info-block h2 {
        font-size: 1.5rem;
    }
    
    .business-info,
    .contact-info-legal {
        padding: 1.5rem;
    }
    
    .contact-info-legal .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-info-legal .label {
        min-width: auto;
    }
}

/* Enhanced Home Page Styles */

/* Hero Section Enhancements */
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

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

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Why Us Section */
.why-us-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 41, 66, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefit-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Enhanced Services Section */
.services-preview {
    padding: 5rem 0;
    background: var(--light);
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.service-card li:last-child {
    border-bottom: none;
}

.service-highlight {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.service-card.featured .service-highlight {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-link {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.4s ease;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
    transform: perspective(1000px) rotateY(-10deg);
}

.testimonial-card:nth-child(even) {
    animation: slideInRight 0.8s ease forwards;
    transform: perspective(1000px) rotateY(10deg);
}

.testimonial-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: #ff6b6b;
    opacity: 0.3;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #667eea;
    text-align: right;
}

/* Enhanced CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Button Enhancements mit Ripple Effekt */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #ff6b6b;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Responsive Design für neue Komponenten */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
