/* EMTO GmbH Premium Rebuild Stylesheet */

:root {
    --primary: #8c172a;
    --primary-hover: #b11d35;
    --primary-light: #fdf2f4;
    --dark: #0f0f11;
    --dark-card: #18181b;
    --light: #f8fafc;
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.08);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(140, 23, 42, 0.15);
    --font: Arial, Helvetica, sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, button, input, select, textarea {
    font-family: var(--font);
}

body {
    background-color: var(--light);
    color: var(--text-dark);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: white; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(140, 23, 42, 0.3);
}

.btn-secondary {
    background-color: #334155;
    color: white;
}

.btn-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

/* Header / Navigation */
.navbar-spacer {
    height: 80px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-link img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    background-color: rgba(140, 23, 42, 0.05);
}

.nav-link.btn-primary,
.nav-link.btn-primary:hover,
.nav-item.active .nav-link.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
}

.nav-link.btn-primary:hover {
    background-color: var(--primary-hover);
}

.nav-link-subtle {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 500;
}

.nav-link-subtle:hover {
    color: #475569;
    background-color: rgba(15, 23, 42, 0.04);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #475569;
}

.dropdown-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 550px;
    background-color: var(--dark);
    color: white;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 17, 0.7) 0%, rgba(15, 15, 17, 0.85) 100%);
}

.hero-content-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 22px;
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* CTA Bar */
.cta-bar {
    background-color: var(--primary);
    padding: 40px 0;
    color: white;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    font-size: 24px;
    font-weight: 600;
}

.btn-cta {
    background-color: white;
    color: var(--primary);
}

.btn-cta:hover {
    background-color: #f1f5f9;
    color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Showcase LMU */
.showcase-section {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid var(--border);
}

.showcase-logo {
    max-height: 80px;
    display: block;
    margin: 0 auto;
    opacity: 0.85;
}

/* Flip Cards (Expertise) */
.intro-text-center {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.intro-text-center h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.intro-text-center p {
    color: var(--text-muted);
    font-size: 18px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flip-card {
    background-color: transparent;
    height: 360px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.flip-card-front {
    background-color: white;
    color: var(--text-dark);
}

.flip-card-front img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.flip-card-front h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.flip-card-front p {
    font-size: 14px;
    color: var(--text-muted);
}

.flip-card-back {
    background-color: var(--primary);
    color: white;
    transform: rotateY(180deg);
    justify-content: space-between;
}

.flip-card-back h3 {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flip-card-back ul {
    list-style: none;
    text-align: left;
    margin: 15px 0;
}

.flip-card-back li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flip-card-back li::before {
    content: '✓';
    color: white;
    font-weight: bold;
}

.btn-card {
    background-color: white;
    color: var(--primary);
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* Counters section */
.counters-section {
    background: linear-gradient(135deg, var(--primary) 0%, #600c19 100%);
    padding: 60px 0;
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.85;
}

.counter-number {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.75;
}

/* Books Recommendations Showcase */
.books-section {
    background-color: white;
}

.books-slider-wrapper {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.books-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide standard scrollbar */
    padding-bottom: 20px;
}

.books-grid::-webkit-scrollbar {
    display: none;
}

.book-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(140, 23, 42, 0.2);
}

.book-img-wrapper {
    width: 100%;
    height: 300px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-img-wrapper img {
    height: 100%;
    width: auto;
    object-fit: cover;
    transition: var(--transition);
}

.book-info {
    padding: 20px;
    text-align: center;
}

.book-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-book {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: white;
    display: inline-block;
}

.btn-book:hover {
    background-color: var(--primary-hover);
}

/* Services Layout */
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.services-sidebar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    height: fit-content;
    box-shadow: var(--shadow);
}

.services-tabs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tab-trigger {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.tab-trigger:hover, .tab-trigger.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.services-content-pane {
    display: none;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.4s ease forwards;
}

.services-content-pane.active {
    display: block;
}

.service-title {
    font-size: 32px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.service-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.services-content-pane p {
    margin-bottom: 16px;
    color: #334155;
    font-size: 16px;
}

.services-content-pane ul {
    margin: 20px 0 20px 20px;
}

.services-content-pane li {
    margin-bottom: 8px;
    color: #334155;
}

.services-subheading {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: var(--primary);
}

.images-flex {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.images-flex img {
    height: 200px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Consulting Section Enhancements */
.consulting-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.consulting-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 24px;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin: 32px 0 40px 0;
}

.consultant-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.consultant-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(140, 23, 42, 0.2);
}

.consultant-header {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.consultant-thumb {
    width: 105px;
    height: 135px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    border: 2px solid white;
    flex-shrink: 0;
}

.consultant-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.consultant-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.consultant-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.consultant-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.consultant-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 18px 0;
}

.consultant-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

/* 12 Consulting Pillars */
.pillars-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #cbd5e1;
}

.pillar-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.pillar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.pillar-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* Spotlight Callout: Gutachten */
.gutachten-spotlight {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 30px 35px;
    color: white;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-hover);
}

.gutachten-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fbbf24;
    flex-shrink: 0;
}

.gutachten-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.gutachten-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

/* Consulting Call-To-Action Card */
.consulting-cta {
    background: #fafaf9;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    margin-top: 30px;
}

.consulting-cta h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.consulting-cta p {
    font-size: 15px;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.consulting-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .consultants-grid {
        grid-template-columns: 1fr;
    }
    .consultant-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .consultant-badges {
        justify-content: center;
    }
    .gutachten-spotlight {
        flex-direction: column;
        text-align: center;
    }
}

/* About Us Layout (Team) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(140, 23, 42, 0.15);
}

.team-image-box {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 30px auto 10px auto;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
}

.team-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.team-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--light);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.social-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-block {
    margin-bottom: 32px;
}

.contact-block:last-child {
    margin-bottom: 0;
}

.contact-block h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list-item {
    font-size: 15px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: var(--primary);
    font-weight: bold;
    min-width: 20px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer widget section */
.footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 80px 0 20px 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column img {
    height: 48px;
    margin-bottom: 24px;
}

.footer-column p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Privacy Bar */
.cookie-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    color: #94a3b8;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    font-size: 14px;
    animation: slideUp 0.5s ease;
}

.cookie-bar.hidden {
    display: none;
}

.cookie-bar button {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cookie-bar button:hover {
    background-color: var(--primary-hover);
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4, .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .book-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 900px) {
    .services-layout, .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .cta-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .grid-4, .counter-grid {
        grid-template-columns: 1fr;
    }
    .book-card {
        flex: 0 0 100%;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   Admin Area Styles
   ========================================================================== */
.admin-body {
    background-color: var(--light);
}

.admin-login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.admin-login-card h2 {
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 24px;
}

.admin-login-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.admin-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.admin-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.admin-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(140, 23, 42, 0.1);
}

.admin-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.admin-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.admin-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #166534;
}

/* Admin Dashboard Layout */
.admin-dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.admin-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.admin-tab-pane {
    display: none;
}

.admin-tab-pane.active {
    display: block;
}

/* Team management list */
.admin-team-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.admin-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.admin-team-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-team-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.admin-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-team-name {
    font-weight: 600;
    font-size: 15px;
}

.admin-team-role {
    font-size: 12px;
    color: var(--text-muted);
}

.admin-actions {
    display: flex;
    gap: 10px;
}

/* Modal Form Styles */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.admin-modal {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-title {
    font-size: 20px;
    font-weight: 700;
}

.admin-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.admin-modal-body {
    padding: 30px;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-grid-2 {
        grid-template-columns: 1fr;
}
}

/* Prominent Callout Section (index.php) */
.prominent-callout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.prominent-callout-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.prominent-callout-title {
    font-size: 32px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.prominent-callout-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 15px;
}

.prominent-callout-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-height: 300px;
}

.prominent-callout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.prominent-callout-grid:hover .prominent-callout-image img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .prominent-callout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   Full CMS Dashboard Advanced Styles
   ========================================================================== */
.cms-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
}

.cms-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.cms-topbar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.cms-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cms-brand h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.cms-brand span {
    font-size: 11px;
    background: var(--primary);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cms-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    align-items: start;
}

.cms-sidebar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    position: sticky;
    top: 20px;
}

.cms-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cms-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.cms-menu-link i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #94a3b8;
    transition: var(--transition);
}

.cms-menu-link:hover {
    background-color: #f1f5f9;
    color: var(--dark);
}

.cms-menu-link:hover i {
    color: var(--primary);
}

.cms-menu-link.active {
    background-color: #fef2f2;
    color: var(--primary);
    font-weight: 700;
}

.cms-menu-link.active i {
    color: var(--primary);
}

.cms-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    margin-bottom: 25px;
}

.cms-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.cms-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cms-subnav {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    overflow-x: auto;
}

.cms-subnav-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.cms-subnav-btn.active, .cms-subnav-btn:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.cms-item-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.cms-item-card:hover {
    border-color: #cbd5e1;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.cms-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cms-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.cms-media-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: white;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.cms-media-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.cms-media-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background: #e2e8f0;
    display: block;
}

.cms-media-info {
    padding: 8px;
    font-size: 11px;
    color: var(--text-muted);
    word-break: break-all;
}

.cms-copy-btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    cursor: pointer;
    margin-top: 4px;
    display: inline-block;
}

.cms-copy-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cms-badge-lang {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.cms-badge-de {
    background-color: #e0f2fe;
    color: #0369a1;
}

.cms-badge-en {
    background-color: #fef3c7;
    color: #b45309;
}

.cms-repeater-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cms-repeater-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cms-repeater-row input, .cms-repeater-row textarea {
    flex-grow: 1;
}

.cms-btn-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    color: #64748b;
    transition: var(--transition);
}

.cms-btn-icon:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.cms-btn-icon.danger:hover {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.cms-sticky-save {
    position: sticky;
    bottom: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .cms-layout {
        grid-template-columns: 1fr;
    }
    .cms-sidebar {
        position: static;
    }
}


/* ==========================================================================
   EMTO NEWS & AKTUELLES SECTION (SEO / GEO & LINKEDIN READY)
   ========================================================================== */
.news-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 70px 0;
}

.news-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.news-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(140, 23, 42, 0.08);
    color: var(--primary);
    border: 1px solid rgba(140, 23, 42, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.news-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.news-section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.news-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(140, 23, 42, 0.3);
}

.news-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.news-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-headline {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 12px;
}

.news-headline a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.news-headline a:hover {
    color: var(--primary);
}

.news-summary {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Semantic GEO / AI Keyword Pills */
.news-keywords-wrapper {
    margin-bottom: 20px;
}

.news-keywords-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.5px;
}

.news-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-keyword-tag {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.news-keyword-tag:hover {
    background: rgba(140, 23, 42, 0.1);
    color: var(--primary);
}

/* News Action Row (LinkedIn & Details) */
.news-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.btn-news-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.btn-news-link:hover {
    gap: 8px;
    color: var(--primary-hover);
}

.linkedin-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-linkedin-copy {
    background: #0a66c2;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.1s;
}

.btn-linkedin-copy:hover {
    background: #084e96;
    transform: translateY(-1px);
}

.btn-linkedin-share {
    border: 1px solid #0a66c2;
    color: #0a66c2;
    background: transparent;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.btn-linkedin-share:hover {
    background: #0a66c2;
    color: #ffffff;
}

/* Toast Feedback */
.emto-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastFadeIn 0.3s ease;
}

@keyframes toastFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TEAM CULTURE & EMTO TASTE SECTION (ABOUT PAGE)
   ========================================================================== */
.team-culture-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.team-culture-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
}

.team-culture-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(140, 23, 42, 0.08);
    border: 1px solid rgba(140, 23, 42, 0.2);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.team-culture-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}

.team-culture-lead {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 12px;
}

.team-culture-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.team-culture-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.team-culture-pillar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
}

.team-culture-pillar:hover {
    border-color: rgba(140, 23, 42, 0.25);
    box-shadow: var(--shadow);
}

.team-culture-pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(140, 23, 42, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.team-culture-pillar h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.team-culture-pillar p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.team-culture-action {
    text-align: center;
}

.btn-culture-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-culture-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(140, 23, 42, 0.25);
}

@media (max-width: 900px) {
    .team-culture-pillars {
        grid-template-columns: 1fr;
    }
    .team-culture-box {
        padding: 32px 24px;
    }
    .team-culture-title {
        font-size: 24px;
    }
}
