/* Custom styles matching staerkenschmiede.ch */
:root {
    --primary-color: #2C5282; /* Dunkelblau als Hauptfarbe */
    --hintergrundfarbe: #ffffff; /* Hintergrundfarbe */
    --primary-light: #4A69BB; /* Helleres Blau für Hover */
    --secondary-color: #ffffff; /* Dunkelgrau für Text */
    --dark-color: #1A365D; /* Dunkleres Blau für Kontraste */
    --accent-color: #90CDF4; /* Helles Blau für Akzente */
    --text-color: #2D3748; /* Dunkles Grau für Text */
    --light-gray: #EDF2F7; /* Helles Grau für Hintergründe */
    --logo-orange: #ef9d2e; /* Orange für Logo */
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    background-color: var(--hintergrundfarbe);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand img {
    max-height: 70px;
    width: auto;
    transition: max-height 0.3s ease;
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand img {
        max-height: 85px;
    }
}

.display-3 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-5 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 3.5rem;
    }

    .display-5 {
        font-size: 2.8rem;
    }

    .display-6 {
        font-size: 2rem;
    }
}

.lead {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--secondary-color) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Navigation & Hamburger Menu */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-toggler {
    border: none;
    padding: 10px;
    transition: transform 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hamburger Button Animation */
.navbar-toggler {
    position: relative;
    overflow: hidden;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.navbar-toggler .navbar-toggler-icon {
    transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    animation: pulse 1s infinite;
}

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

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Offcanvas Menu - Einblend-Animation */
.offcanvas {
    width: 300px;
    background: linear-gradient(135deg, #fdfbf7 0%, #f7f4ef 100%);
    border-left: 1px solid rgba(156, 148, 138, 0.1);
}

.offcanvas.show {
    transform: translateX(0);
}

/* Gestaffelte Menüeinträge Animation */
.menu-section {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
}

.menu-section:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-section:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Header Animation */
.offcanvas-header {
    padding: 1.5rem;
    background: linear-gradient(45deg, var(--hintergrundfarbe), var(--hintergrundfarbe));
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(142, 142, 142, 0.4);
}

.offcanvas-title {
    color: white;
    font-weight: 500;
}

.btn-close-white {
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

.offcanvas-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.btn-close {
    filter: brightness(0) invert(1);
}

.menu-heading {
    color: #5c5346;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* Section Transitions */
.menu-section {
    padding: 0 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.menu-section::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 148, 138, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-section:hover::after {
    transform: scaleX(1);
}

/* Menu Heading Animation */
.menu-heading {
    position: relative;
    display: inline-block;
}

.menu-heading::before {
    content: '⚡';
    position: absolute;
    left: -1.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.menu-section:hover .menu-heading::before {
    opacity: 1;
    transform: translateX(0);
}

/* Navigation Links - konsolidierte Styles */
.nav-link {
    position: relative;
    overflow: hidden;
    color: #847b70 !important;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
    background: rgba(0, 123, 255, 0.05);
    padding-left: 1rem !important;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    color: #5c5346;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.nav-link:hover i {
    animation: bounce 0.5s ease;
    transform: scale(1.2);
    opacity: 1;
    color: var(--dark-color);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Redundante Definitionen für .nav-link entfernt, da bereits konsolidiert */

/* Active Link Styles */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.nav-link.active i {
    opacity: 1;
}

/* Ripple Effect für Klick-Feedback */
.nav-link {
    position: relative;
}

.nav-link .ripple {
    position: absolute;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Modern Layout Utilities */
.py-7 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.ls-2 {
    letter-spacing: 2px;
}

.min-vh-75 {
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 65vh;
    background-color: var(--primary-color);
    overflow: hidden;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-section .row {
    display: flex;
    align-items: center;
}

@media (max-width: 1400px) {
    .hero-section .container {
        max-width: 1140px;
        padding: 2rem 3rem;
    }
}

@media (max-width: 1200px) {
    .hero-section .container {
        max-width: 960px;
        padding: 2rem 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section .container {
        max-width: 720px;
        padding: 2rem;
    }
}

/* Mobile Hero Styles */
.hero-mobile {
    background: var(--primary-color);
    padding: 0;
    margin: 0;
}

.hero-mobile .container {
    padding: 4rem 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate(30px, -50%);
    }

    30% {
        opacity: 0;
        transform: translate(30px, -50%);
    }

    100% {
        opacity: 0.95;
        transform: translate(0, -50%);
    }
}

.hero-section .hero-image {
    position: absolute;
    right: 15%;
    top: 51%;
    transform: translateY(-51%);
    height: 820px;
    width: auto;
    max-width: 510px;
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15));
    z-index: 1;/* Niedrigerer z-index, damit das Bild hinter dem SVG-Overlay erscheint */
}

/* Media Query entfernt, um Sprung beim Wechsel von 1199px auf 1200px zu vermeiden */

@media (max-width: 990px) {
    .hero-section .hero-image {
        display: none; /* Nur auf sehr kleinen Bildschirmen ausblenden */
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 166px; /* Höhe der SVG-Datei */
    z-index: 10; /* Höherer z-index, um sicherzustellen, dass die Grafik im Vordergrund erscheint */
    overflow: hidden;
}

.hero-overlay {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2; /* Höherer z-index als das Hero-Image (1), damit es über dem Bild erscheint */
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
}

/* Text Animations */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-text-delay {
    animation-delay: 0.2s;
}

.animate-text-delay-2 {
    animation-delay: 0.4s;
}

.animate-text-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    position: relative;
    padding: 4.5rem 0;
    background: var(--logo-orange); /* Verwende CSS-Variable statt Hex-Wert */
    transition: padding 0.3s ease-in-out;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    opacity: 0.03;
    z-index: -1;
}

/* Services Grid wird in services.css definiert */
.services-grid .card {
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

.services-grid .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

.card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-5deg);
    transition: all 0.3s ease-in-out;
}

.services-grid .card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--hintergrundfarbe);
}

.services-grid .btn {
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.services-grid .btn:hover {
    transform: translateX(5px);
}

.services-grid .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.services-grid .btn:hover::after {
    left: 100%;
}

.service-card {
    transition: all 0.3s ease-in-out;
}

/* Media Queries für Services werden in services.css definiert */
@media (max-width: 767px) {
    .services {
        padding: 4rem 0;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Service Card Styles werden in services.css definiert */
.services .card {
    border: none;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 10px 30px rgba(44, 82, 130, 0.05);
    transition: all 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
}

.card-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.card:hover .card-video-bg,
.card:hover .card-image-bg {
    opacity: 0.3;
}

.card-body.position-relative {
    background: transparent;
    z-index: 1;
}

.services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 82, 130, 0.1);
}

.services .card-body {
    padding: 2.5rem;
}

.services .card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.services .card:hover .card-icon {
    transform: rotate(0deg) scale(1.1);
}

.services .card-title {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services .card-text {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.services .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.2);
}

.card-icon i {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
}

.card:hover .card-icon {
    background: var(--dark-color);
    color: white;
}

.card:hover .card-icon {
    transform: rotate(0deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.01em;
}

.card-text {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
	color: #f9fafb;
	position: relative;
}

.benefits-text-card {
	background: rgba(15, 23, 42, 0.16);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
	padding: 2.5rem 2.75rem;
	position: relative;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.benefits-text-card::before {
	content: '';
	position: absolute;
	inset: 0.9rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

.benefits-text-card .text-primary {
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	color: var(--accent-color) !important;
}

.benefits-text-card .display-5 {
	font-size: 1.5rem;
	line-height: 1.3;
	color: #ffffff;
}

.benefits-text-card .lead {
	font-size: 1.05rem;
	line-height: 1.9;
	color: rgba(249, 250, 251, 0.9);
}

.benefits-text-card p:last-child {
	margin-bottom: 0;
	color: rgba(241, 245, 249, 0.86);
}

.benefits .text-muted {
	color: rgba(249, 250, 251, 0.85) !important;
}

@media (max-width: 768px) {
	.benefits-text-card {
		padding: 2rem 1.75rem;
		margin-bottom: 2rem;
	}
}

.benefits-image-grid {
    position: relative;
    height: 600px;
}

.benefits-image {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefits-image-1 {
    width: 60%;
    height: 70%;
    top: 0;
    right: 0;
    background: url('/beurself/assets/images/coaching-1.jpg') center/cover;
}

.benefits-image-2 {
    width: 50%;
    height: 60%;
    bottom: 0;
    left: 0;
}

.benefits-image-2 {
    background: url('/beurself/assets/images/coaching-2.jpg') center/cover;
}

.list-group-item {
    border: none;
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.list-group-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Timeline for Process */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
}

.timeline-content {
    padding: 0.5rem 0;
}

/* Contact Section */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
}

.contact-shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4vw;
    background: white;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Moderne Kontakt-Sektion */
.contact-modern {
    background: var(--primary-color);
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    opacity: 0.95;
}

.contact-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: var(--accent-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.contact-modern .display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-buttons {
    margin-top: 2rem;
}

.btn-contact {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 250px;
}

.btn-contact:hover {
    transform: translateY(-3px);
}

.btn-phone {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
}

.btn-phone:hover {
    background: #7ab8e6;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(144, 205, 244, 0.4);
}

.btn-email {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-email:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .btn-contact {
        width: 100%;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    .contact-badge {
        padding: 0.5rem 1rem;
    }

    .contact-modern .display-4 {
        font-size: 2.5rem;
    }
}

.contact-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 82, 130, 0.15);
}

.btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }
}