body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: #fefefe;
    color: #222;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.elegant-hero {
    background: linear-gradient(135deg, #ece9e6, #ffffff);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 1px solid #ddd;
}

.elegant-hero h1 {
    font-size: 3em;
    color: #444;
}

.elegant-hero p {
    font-size: 1.4em;
    color: #666;
    margin-top: 10px;
}

.elegant-footer {
    background: #f2f2f2;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #999;
}

.parallax-banner {
    background-image: url('../images/elegant-banner.jpg'); /* Bild hier anpassen */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

.banner-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.parallax-banner h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.parallax-banner p {
    font-size: 1.4em;
}

.elegant-features {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.elegant-features h2 {
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #1c1c1e;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-box {
    background: #f7f7f7;
    padding: 30px 25px;
    border-radius: 15px;
    flex: 1 1 300px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #007BFF;
}

.feature-box p {
    font-size: 1em;
    color: #444;
}

.elegant-testimonials {
    background: #f0f0f5;
    padding: 80px 20px;
    text-align: center;
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
}

.elegant-testimonials h2 {
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #1c1c1e;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-box {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    flex: 1 1 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-style: italic;
}

.testimonial-box h4 {
    margin-top: 15px;
    font-size: 1em;
    color: #555;
    font-weight: normal;
}


/*DUO SLIDER*/
.duo-slider-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.duo-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

.duo-slide {
    display: flex;
    justify-content: space-between;
    flex: 0 0 100%;
    box-sizing: border-box;
    gap: 20px;
    padding: 20px;
}

.img-box {
    width: 48%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 10px 10px 10px #333;
}

.img-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

  /*Schräges Bild mit Text*/
.angled-image-section {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('/images/elegant-banner.jpg') center/cover no-repeat;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: 5%;
}

.angled-image-content {
    background: rgba(0, 0, 0, 0.4); /* halbtransparent für bessere Lesbarkeit */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 700px;
}

.angled-image-content h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.angled-image-content p {
    font-size: 1.2em;
}

/*Card bereich*/
.card-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}





.card-intro {
    text-align: center;
    margin-bottom: 40px;
}

.card-intro h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.card-intro p {
    font-size: 1.1em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}






.elegant-cta {
    background: linear-gradient(135deg, #1c1c1e, #343434);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.elegant-cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.elegant-cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #ffffff;
    color: #1c1c1e;
    padding: 14px 30px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}


/* ---- Back-Button im Subdomain-Nav ---- */
.back-nav {
    margin: 2rem 0;          /* Abstand oben und unten */
    padding-left: 1rem;      /* kleiner Innenabstand links */
    text-align: left;        /* Button linksbündig */
  }
  
  .back-nav .btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem; /* großzügiges Padding */
    border-radius: 999px;    /* Pill-Shape */
    background: #333;        /* dunkelgrauer Hintergrund */
    color: #fff;             /* weißer Text */
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s ease, transform 0.1s ease;
  }
  
  .back-nav .btn-back:hover {
    background: #666;        /* etwas helleres Grau im Hover */
    transform: translateX(-3px);
  }
  