/* ========================================
   RISCONNECT - MODERN CSS FRAMEWORK
   Vollständige CSS für alle Screens
   ======================================== */

/* CSS Reset & Base Styles */
:root {
    /* Farbpalette */
    --bg: #f8f9fa;
    --panel: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --muted: #718096;
    --primary: #1a4a7a;
    --primary-600: #2c5282;
    --primary-700: #2a4365;
    --accent: #3182ce;
    --accent-light: #63b3ed;
    --header-bg: rgba(49, 130, 206, 0.3);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Card System */
    --card-bg: #ffffff;
    --card-padding: 24px;
    --card-padding-mobile: 20px;
    --card-padding-small: 16px;
    --card-radius: 20px;
    --card-radius-mobile: 16px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --card-shadow-large: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Spacing System */
    --section-padding: 60px;
    --section-padding-mobile: 50px;
    --container-padding: 20px;
    --container-max-width: 1600px;
    
    /* Typography */
    --font-family: 'Lexend Deca', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text);
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--text);
}

h1 { font-size: 48px; color: var(--primary); }
h2 { font-size: 36px; color: var(--primary); }
h3 { font-size: 24px; color: var(--primary); }
h4 { font-size: 18px; }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin: 0 0 1rem 0;
    line-height: var(--line-height-relaxed);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container System */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 82, 130, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-modern {
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.4);
}

.btn-primary.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(49, 130, 206, 0.6);
}

.btn-outline.btn-modern {
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.4);
}

.btn-outline.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(49, 130, 206, 0.6);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
    min-height: 52px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-icon {
    transform: translateX(4px);
}

/* Card System */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.card h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    line-height: 1.3;
    color: var(--primary);
    font-weight: 700;
}

.card h4 {
    margin: 20px 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

/* Header bleibt immer sichtbar - kein Scroll-Verstecken */

.main-header {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Navigation */
.navigation-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
    min-width: max-content;
    min-height: 44px;
    touch-action: manipulation;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
    border-color: rgba(49, 130, 206, 0.2);
    box-shadow: 0 4px 20px rgba(49, 130, 206, 0.15);
}

.nav-link span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.nav-link:hover span {
    color: var(--primary);
    font-weight: 600;
}

/* Aktive Seite hervorheben */
.nav-link.active {
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.15), rgba(26, 74, 122, 0.1));
    color: var(--primary);
    border-color: rgba(49, 130, 206, 0.3);
    font-weight: 600;
}

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

/* CTA Button Styling */
.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26, 74, 122, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    padding: 10px 15px;
}

.nav-link.nav-cta::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 6px 25px rgba(26, 74, 122, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-link.nav-cta:hover span {
    color: white;
    transform: scale(1.05);
}

/* Unterstreichungseffekt */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.nav-cta::after {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 44px;
}

.support-btn:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: var(--z-modal);
    transition: all var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--primary-600);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.site-main {
    margin-top: 80px;
    min-height: calc(100svh - 80px);
}

/* Hero Sections */
.hero-modern {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Startseiten-Hero höher */
.hero-modern.hero-home {
    height: 80svh;
}

/* Subpage Heroes - kleinere Header */
.hero-modern.hero-ict,
.hero-modern.hero-cloud,
.hero-modern.hero-blog,
.hero-modern.hero-contact,
.hero-modern.hero-infrastruktur,
.hero-modern.hero-telefonie {
    min-height: 60svh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-image: url('../images/Startseite_Header.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

/* Per-Page Hero Backgrounds */
.hero-modern.hero-ict .hero-background {
    background-image: url('../images/ICT-Beratung_Header.jpg');
}

.hero-modern.hero-cloud .hero-background {
    background-image: url('../images/Cloud_Header.jpg');
}

.hero-modern.hero-blog .hero-background {
    background-image: url('../images/Blog_Header.jpg');
}

.hero-modern.hero-contact .hero-background {
    background-image: url('../images/Kontakt_Header.jpg');
}

.hero-modern.hero-infrastruktur .hero-background {
    background-image: url('../images/IT-Infrastruktur_Header.jpg');
}

.hero-modern.hero-telefonie .hero-background {
    background-image: url('../images/Telefonieloesungen_Header.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.55) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Home Slogan Overlay Styles */
.home-slogan-top {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.home-slogan-down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

/* Home Slogans - Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .home-slogan-top {
        top: 36%;
    }
    
    .home-slogan-down {
        top: 54%;
    }
}

/* Home Slogans - Desktop (1200px to 1024px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .home-slogan-down {
        top: 53%;
    }
}

/* Home Slogans - Tablet (1024px to 480px) */
@media (max-width: 1023px) and (min-width: 481px) {
    .home-slogan-top {
        top: 41%;
    }
    
    .home-slogan-down {
        top: 53%;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    animation: slideInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: var(--font-size-lg);
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
    background: white;
}

/* Section variants */
.section-alt {
    background: #f8f9fa;
}

.article-section {
    padding: 80px 0;
    background: white;
}

/* Specific section backgrounds */
.value-proposition {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.value-card p {
    color: var(--muted);
    line-height: 1.6;
}

.process-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(49, 130, 206, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.step-content p {
    color: var(--muted);
    line-height: 1.6;
}

/* Advantages Section */
.advantages-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Infra page: two columns on desktop for advantages */
.infra-advantages .advantages-grid{
    grid-template-columns: repeat(2, 1fr);
}

/* Telefonie page: two columns on desktop for advantages */
.tele-advantages .advantages-grid{
    grid-template-columns: repeat(2, 1fr);
}

.advantage-card {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(49,130,206,0.15), rgba(26,74,122,0.15)) border-box;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49,130,206,0.05), rgba(26,74,122,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(49, 130, 206, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 30px rgba(49, 130, 206, 0.3);
    position: relative;
    z-index: 2;
}

.advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.advantage-card p {
    color: var(--muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Hosting Section */
.hosting-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    position: relative;
    overflow: hidden;
}

.hosting-section::before{
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(49,130,206,0.08), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(26,74,122,0.08), transparent 35%),
        linear-gradient(180deg, rgba(49,130,206,0.04), rgba(26,74,122,0.04));
    pointer-events: none;
}

.hosting-section .section-header{
    position: relative;
    z-index: 1;
}

.hosting-section .section-badge{
    box-shadow: 0 8px 24px rgba(49,130,206,0.25);
}

.hosting-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.hosting-feature {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(49,130,206,0.15), rgba(26,74,122,0.15)) border-box;
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.hosting-feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hosting-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hosting-feature::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(49,130,206,0.0), rgba(49,130,206,0.6), rgba(49,130,206,0.0));
    opacity: 0.85;
}

.hosting-feature .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(49,130,206,0.35);
    margin-bottom: 16px;
    position: relative;
}

.hosting-feature .feature-icon::after{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.hosting-feature:hover .feature-icon{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(49,130,206,0.45);
}

.hosting-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.hosting-feature p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Pricing Grid */
.pricing-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card{
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.pricing-card.featured{
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured::before{
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured:hover{
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--primary);
    position: relative;
    padding-left: 24px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--accent);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.pricing-header h3{
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

/* Domain Pricing */
.domain-pricing {
    margin-top: 80px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.domain-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    max-width: 740px;
    margin: 0 auto;
    align-items: stretch;
    justify-content: center;
}

.domain-card {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(49,130,206,0.15), rgba(26,74,122,0.15)) border-box;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.domain-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.domain-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(49,130,206,0.0), rgba(49,130,206,0.6), rgba(49,130,206,0.0));
    opacity: 0.85;
}

.domain-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.domain-card h3{
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.price{
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency{
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.decimal {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 8px;
}

.period {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.amount{
    font-size: 48px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.decimal{
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.period{
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-left: 8px;
}

.domain-card .price{
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.domain-card .pricing-features{
    text-align: left;
}

/* Responsive Design für Domain Pricing */
@media(max-width: 768px){
    .domain-grid{ 
        grid-template-columns: 1fr; 
        max-width: 420px; 
    }
    
    .domain-pricing{
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Contact Methods Section */
.contact-methods-section {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.contact-method-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.method-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-method-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.opening-hours {
    background: linear-gradient(135deg, rgba(49,130,206,0.1), rgba(26,74,122,0.1));
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    color: var(--primary);
}

.opening-hours h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.opening-hours p {
    color: var(--primary);
    font-size: 0.9rem;
    margin: 4px 0;
    font-weight: 500;
}

.contact-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background: transparent;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

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

.about-content h3 {
    color: var(--primary);
    font-size: 28px;
    margin: 0 0 24px;
    font-weight: 600;
}

.about-content p {
    color: var(--text);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Split Profile Layout */
.profile-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.profile-info .display-name {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 16px;
    line-height: 1.1;
}

.profile-info .job-title {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 24px;
}

.profile-info .bio {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 32px;
}

.profile-bio {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 32px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.about-image:hover img {
    transform: scale(1.05);
}

.about-image .overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

.about-image .overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-image .overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.partners-section {
    padding: var(--section-padding) 0;
    background: white;
}

/* Partners Slider */
.partners-slider{
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.slider-container{
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track{
    display: flex;
    transition: transform 0.3s ease;
    width: calc(200px * 10);
}

.slider-slide{
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 20px;
}

.partners-slider .partner-logo{
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partners-slider .partner-logo:hover{
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Partners Grid (fallback) */
.partners-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.partner-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Vertikale Zentrierung der Logos in Partner-Cards */
.partners-grid .partner-card{ min-height: 160px; }

.partner-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.partner-logo {
    max-width: 120px;
    max-height: 60px;
    width: 120px;
    height: 60px;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 0 20px 0;
    transition: all 0.3s ease;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.9), rgba(26, 74, 122, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.partner-card:hover .partner-overlay {
    opacity: 1;
}

.partner-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.partner-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Styles für Partners-Section */
@media(max-width: 768px){
    .slider-slide{
        width: 150px;
        height: 100px;
        padding: 0 15px;
    }
    
    .slider-track{
        width: calc(150px * 10);
    }
    
    .partner-logo{
        max-height: 60px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media(max-width: 480px){
    .slider-slide{
        width: 120px;
        height: 80px;
        padding: 0 10px;
    }
    
    .slider-track{
        width: calc(120px * 10);
    }
    
    .partner-logo{
        max-height: 50px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.advantages-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hosting-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tele-advantages {
    padding: var(--section-padding) 0;
    background: white;
}

.infra-advantages {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-methods-section {
    padding: var(--section-padding) 0;
    background: white;
}

.about-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    border-radius: 20px 20px 0 0;
}

.contact-form-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-form-section .form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-section .form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-form-section .form-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-form-section .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-form-section .form-group.required label::after {
    content: ' *';
    color: var(--danger);
    font-weight: 700;
}

.contact-form-section .form-group.success input,
.contact-form-section .form-group.success select,
.contact-form-section .form-group.success textarea {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form-section .form-group.error input,
.contact-form-section .form-group.error select,
.contact-form-section .form-group.error textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-form-section .form-group .error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
}

.contact-form-section .form-group.error .error-message {
    display: block;
}

.contact-form-section .form-group .success-message {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 6px;
    display: none;
}

.contact-form-section .form-group.success .success-message {
    display: block;
}

.contact-form-section .form-group label {
    display: block;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-form-section .form-group input,
.contact-form-section .form-group select,
.contact-form-section .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--muted);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-section .form-group input:focus,
.contact-form-section .form-group select:focus,
.contact-form-section .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-25);
}

.contact-form-section .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section .checkbox-group {
    margin: 32px 0;
}

.contact-form-section .checkbox-label {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.contact-form-section .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    display: none;
}

/* Konsistente Checkbox-Darstellung im Kontaktformular */
.contact-form-section .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-form-section .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.contact-form-section .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.contact-form-section .checkbox-text {
    display: inline;
    align-self: center;
}

.contact-form-section .success-message {
    background: var(--success-50);
    border: 1px solid var(--success);
    color: var(--success-700);
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-form-section .success-message p {
    margin: 0;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 20px;
}

.contact-form-section .form-submit {
    text-align: center;
    margin-top: 40px;
}

.contact-form-section .form-submit .btn {
    min-width: 200px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.contact-form-section .form-submit .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form-section .form-submit .btn:hover::before {
    left: 100%;
}

.contact-form-section .form-submit .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form-section .form-submit .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Modern form enhancements */
.contact-form-modern .form-field label {
    font-weight: 700;
}

.contact-form-modern .form-field input,
.contact-form-modern .form-field select,
.contact-form-modern .form-field textarea {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(49,130,206,0.15), rgba(26,74,122,0.15)) border-box;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-modern .form-field input:focus,
.contact-form-modern .form-field select:focus,
.contact-form-modern .form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.12);
}

.contact-form-modern .field-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
}

.hidden { 
    display: none; 
}

/* Floating Labels */
.contact-form-modern .form-field.floating { 
    position: relative; 
}

.contact-form-modern .form-field.floating input,
.contact-form-modern .form-field.floating textarea,
.contact-form-modern .form-field.floating select { 
    padding-top: 22px; 
    padding-bottom: 10px; 
}

.contact-form-modern .form-field.floating label {
    position: absolute; 
    left: 16px; 
    top: 14px; 
    font-weight: 600; 
    color: var(--muted);
    background: transparent; 
    padding: 0 4px; 
    transition: all .2s ease; 
    pointer-events: none;
}

.contact-form-modern .form-field.floating input:focus + label,
.contact-form-modern .form-field.floating input:not(:placeholder-shown) + label,
.contact-form-modern .form-field.floating textarea:focus + label,
.contact-form-modern .form-field.floating textarea:not(:placeholder-shown) + label,
.contact-form-modern .form-field.floating select:focus + label,
.contact-form-modern .form-field.floating select:not([value=""]) + label { 
    top: 6px; 
    font-size: 12px; 
    color: var(--primary); 
}

/* Icons in Feldern */
.contact-form-modern .form-field.has-icon { 
    position: relative; 
}

.contact-form-modern .form-field .field-icon {
    position: absolute; 
    right: 16px; 
    top: 50%; 
    transform: translateY(-50%);
    color: var(--muted); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    pointer-events: none;
    height: 20px; 
    width: 20px;
}

.contact-form-modern .form-field.has-icon input,
.contact-form-modern .form-field.has-icon textarea { 
    padding-right: 52px; 
}

/* Select als Floating */
.contact-form-modern .form-field.select-field select {
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
    background-size: 8px 8px, 8px 8px; 
    background-repeat: no-repeat;
    padding-right: 44px;
}

.contact-form-modern .form-field.select-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.12);
    background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.blog-section {
    padding: var(--section-padding) 20px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Blog Slider */
.blog-slider-container {
    position: relative;
    margin-top: 60px;
    
}

.blog-slider {
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.blog-slide {
    min-width: 25%; /* 4 Beiträge gleichzeitig anzeigen */
    flex-shrink: 0;
    padding: 0 15px; /* Abstand zwischen den Karten */
}

/* Blog Slider - kontinuierliches Scrollen */
.blog-slider {
    display: flex;
    flex-wrap: nowrap;
    border-radius: 20px;
    position: relative;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
    overscroll-behavior-x: contain; /* Verhindert Bounce/Zurückwischen des Browsers */
    touch-action: pan-x; /* Erlaubt horizontales Wischen ohne Vertikal-Interferenz */
}

.blog-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Desktop: 4 Beiträge nebeneinander */
.blog-slider .blog-slide {
    width: 25%;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Card System - Basis Styles */
.card-base {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.card-base.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card-base:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.blog-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-date {
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-content .btn {
    margin-top: auto;
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

/* Volle Karte klickbar (z. B. Startseiten-News-Grid) */
.blog-card .stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.news-grid .blog-card {
    min-width: 0;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 18px;
    color: var(--primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    left: -70px;
}

.slider-next {
    right: -70px;
}

/* Responsive Offsets for slider navigation */
@media (max-width: 1400px){
    .slider-prev { left: -50px; }
    .slider-next { right: -50px; }
}

@media (max-width: 1200px){
    .slider-prev { left: -30px; }
    .slider-next { right: -30px; }
}

/* Fine-tune: bring arrows further inside between 1200px and 1780px */
@media (min-width: 1401px) and (max-width: 1780px){
    .slider-prev { left: -30px; }
    .slider-next { right: -30px; }
}

@media (min-width: 1200px) and (max-width: 1400px){
    .slider-prev { left: -20px; }
    .slider-next { right: -20px; }
}

/* Fine tune right arrow further inside between 980px and 1700px */
@media (min-width: 1200px) and (max-width: 1700px){
    .slider-next { right: -15px; }
}

@media (min-width: 980px) and (max-width: 1200px){
    .slider-next { right: -5px; }
}

@media (max-width: 992px){
    .slider-prev { left: -10px; }
    .slider-next { right: -10px; }
}

/* Empty state für Blog */
.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 18px;
}

/* Enhanced Blog Grid Responsive */
@media (max-width: 1200px) {
    .blog-slider .blog-slide {
        width: 33.333%; /* 3 Beiträge auf Tablet */
        flex-grow: 0;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 80px 0;
    }
    
    .blog-slider .blog-slide {
        width: 50%; /* 2 Beiträge auf Mobile für besseres Scrollen */
        flex-grow: 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    
    .blog-grid .blog-card {
        aspect-ratio: 0.8; /* Weniger quadratisch für bessere Lesbarkeit */
        max-width: 100%;
        margin: 0 auto;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .blog-card {
        padding: var(--card-padding);
    }
    
    .blog-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .blog-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .blog-date, .blog-read-time {
        font-size: 0.85rem;
    }
    
    /* Pfeile auf mobilen Geräten verstecken */
    .slider-btn {
        display: none;
    }
    
    .blog-slider-container {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .blog-grid {
        gap: 20px;
        margin-top: 30px;
    }
    
    .blog-grid .blog-card {
        aspect-ratio: 0.75; /* Noch weniger quadratisch für kleine Mobile */
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blog-slider-container {
        margin-top: 30px;
        padding: 0 20px; /* Mehr Padding für besseren Peek-Effekt */
    }
    
    .blog-slider {
        gap: 20px;
    }
    
    .blog-slide {
        min-width: 280px; /* Feste Breite für besseres Scrollen */
        flex-shrink: 0;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .blog-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    .blog-content .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
        min-height: 40px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .blog-date, .blog-read-time {
        font-size: 0.8rem;
    }
}

/* Blog Section Mobile Touch Optimizations */
@media(max-width: 768px){
    .blog-section {
        /* Verbesserte Touch-Performance */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Touch-optimierte Blog-Cards */
    .blog-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
}

.news-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.cta-section-modern {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #1a4a7a 0%, #2c5282 100%);
    color: white;
    text-align: center;
}

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

.cta-text h2 {
    color: white;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section{
    text-align: center;
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-600));
    border-radius: 16px;
    color: white;
}

.cta-section h2{
    color: white;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

.cta-section .btn{
    background: white;
    color: var(--primary);
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn:hover{
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsive Styles für CTA-Section */
@media(max-width: 768px){
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hosting-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-top: 50px;
    }
    
    .hosting-feature {
        padding: 36px 24px;
    }
    
    .hosting-feature .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .hosting-feature h3 {
        font-size: 1.4rem;
        margin-bottom: 13px;
    }
    
    .hosting-feature p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media(max-width: 768px){
    .hosting-features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    
    .hosting-feature {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .hosting-feature .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    
    .hosting-feature h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .hosting-feature p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media(max-width: 480px){
    .hosting-features {
        gap: 20px;
        margin-top: 30px;
    }
    
    .hosting-feature {
        padding: 24px 16px;
        border-radius: 12px;
    }
    
    .hosting-feature .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .hosting-feature h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .hosting-feature p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .pricing-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured{
        transform: none;
    }
}

.detail-section {
    padding: var(--section-padding) 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Center badge inside detail-content spanning both columns */
.detail-content > .section-badge{
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 20px;
}

.detail-text {
    padding-right: 40px;
}

.detail-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary);
}

.detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
}

.detail-cta {
    margin-top: 40px;
}

.detail-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.detail-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Mobile Optimierungen für Detail-Section */
@media(max-width: 768px){
    .detail-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: flex-start;
    }
    
    .detail-text {
        padding-right: 0;
        order: 1;
    }
    
    .detail-text h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .detail-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
        color: var(--primary);
    }
    
    .detail-cta {
        margin-top: 30px;
    }
    
    .detail-image {
        order: 2;
        border-radius: 16px;
    }
    
    .detail-image img {
        height: 300px;
    }
    
    .image-overlay {
        padding: 20px;
    }
    
    .overlay-content h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media(max-width: 480px){
    .detail-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .detail-content {
        gap: 30px;
    }
    
    .detail-text h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 18px;
    }
    
    .detail-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 14px;
        color: var(--primary);
    }
    
    .detail-cta {
        margin-top: 24px;
    }
    
    .detail-image img {
        height: 250px;
    }
    
    .image-overlay {
        padding: 16px;
    }
    
    .overlay-content h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 36px;
    margin: 0 0 20px;
    text-align: center;
    color: var(--text);
    font-weight: 600;
}

.title-main {
    display: block;
    color: var(--primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: var(--section-padding) 0;
    background: white;
}

.center-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: none;
    backdrop-filter: blur(10px);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.center-content p{
    margin: 0;
    color: var(--primary);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.center-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.center-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.center-cta {
    margin-top: auto;
}

.center-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.service-circle{
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.3);
    z-index: 3;
    overflow: hidden;
    top: 50%;
    left: 50%;
    --angle: 0deg;
    --scale: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--service-radius)) rotate(calc(-1 * var(--angle))) scale(1);
}

.service-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-circle:hover::before { opacity: 0; }

.service-circle:hover{ box-shadow: 0 6px 20px rgba(49, 130, 206, 0.3); background: linear-gradient(135deg, var(--accent), var(--primary)); border-color: var(--primary); }

.service-circle.active{ background: linear-gradient(135deg, var(--primary), var(--accent)); border-color: white; }

@keyframes active-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(26, 74, 122, 0.6); }
    50% { box-shadow: 0 15px 40px rgba(26, 74, 122, 0.8); }
}

.service-icon{
    font-size: 32px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-circle:hover .service-icon { transform: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }

.service-name{
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.service-circle:hover .service-name { transform: none; text-shadow: 0 2px 4px rgba(0,0,0,0.5); font-weight: 700; }

/* Position the service circles in a perfect circle */
.service-circle[data-service="arbeitsplaetze"]{ top: 50%; left: 50%; --angle: -90deg; }
.service-circle[data-service="m365"]{ top: 50%; left: 50%; --angle: -45deg; }
.service-circle[data-service="cloud"]{ top: 50%; left: 50%; --angle: 0deg; }
.service-circle[data-service="kommunikation"]{ top: 50%; left: 50%; --angle: 45deg; }
.service-circle[data-service="netzwerk"]{ top: 50%; left: 50%; --angle: 90deg; }
.service-circle[data-service="server"]{ top: 50%; left: 50%; --angle: 135deg; }
.service-circle[data-service="backup"]{ top: 50%; left: 50%; --angle: 180deg; }
.service-circle[data-service="sicherheit"]{ top: 50%; left: 50%; --angle: -135deg; }

/* Connecting circle line */
.circular-service-grid::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 2px solid rgba(49, 130, 206, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.circular-service-grid{
    position: relative;
    width: 700px;
    height: 700px;
    margin: 60px auto;
    --service-radius: 280px;
}

/* Responsive Styles für Services-Section */
@media(max-width: 768px){
    .services-section {
        padding: 80px 0;
    }
    
    .circular-service-grid{ 
        width: 420px; 
        height: 420px; 
        margin: 40px auto; 
        --service-radius: 200px;
    }
    .center-content{ 
        width: 180px; 
        height: auto; 
        padding: 0; 
        background: transparent;
        box-shadow: none;
    }
    
    .center-content p{
        font-size: 14px;
        line-height: 1.2;
        display: block; /* Zeigen auf Mobile */
        color: var(--primary);
        text-shadow: none;
    }
    
    .center-title {
        display: none; /* Verstecken auf Mobile */
    }
    
    .center-icon {
        display: none; /* Verstecken auf Mobile */
    }
    
    .center-description {
        font-size: 14px;
        line-height: 1.2;
        display: block; /* Zeigen auf größeren Mobile-Geräten */
    }
    
    .service-circle{
        width: 100px;
        height: 100px;
    }
    
    .service-icon{
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .service-name{
        font-size: 9px;
        line-height: 1.1;
    }
    
    .circular-service-grid::before{ 
        width: 400px; 
        height: 400px; 
    }
}

@media(max-width: 480px){
    .services-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .circular-service-grid{ 
        width: 340px; 
        height: 340px; 
        margin: 30px auto; 
        --service-radius: 160px;
    }
    .center-content{ 
        width: 160px; 
        height: auto; 
        padding: 0; 
        background: transparent;
        box-shadow: none;
    }
    
    .center-content p{
        font-size: 14px;
        line-height: 1.2;
        display: block; /* Zeigen auf Mobile */
        color: var(--primary);
        text-shadow: none;
    }
    
    .center-title {
        display: none; /* Verstecken auf Mobile */
    }
    
    .center-icon {
        display: none; /* Verstecken auf Mobile */
    }
    
    .center-description {
        font-size: 14px;
        line-height: 1.3;
        margin: 0;
        display: block; /* Zeigen auf Mobile */
        color: var(--primary);
        text-align: center;
        text-shadow: none;
    }
    
    .service-circle{
        width: 85px;
        height: 85px;
    }
    
    .service-icon{
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .service-name{
        font-size: 8px;
        line-height: 1.0;
    }
    
    .circular-service-grid::before{ 
        width: 320px; 
        height: 320px; 
    }
}

/* Sehr kleine Bildschirme (iPhone SE, etc.) */
@media(max-width: 375px){
    .services-section {
        padding: 50px 0;
    }
    
    .circular-service-grid{ 
        width: 320px; 
        height: 320px; 
        margin: 25px auto; 
        --service-radius: 150px;
    }
    .center-content{ 
        width: 140px; 
        height: auto; 
        padding: 0; 
        background: transparent;
        box-shadow: none;
    }
    
    .center-content p{
        font-size: 14px;
        line-height: 1.1;
        display: block; /* Zeigen auf Mobile */
        color: var(--primary);
        text-shadow: none;
    }
    
    .center-title {
        display: none; /* Verstecken auf Mobile */
    }
    
    .center-icon {
        display: none; /* Verstecken auf Mobile */
    }
    
    .service-circle{
        width: 80px;
        height: 80px;
    }
    
    .service-icon{
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .service-name{
        font-size: 7px;
        line-height: 0.9;
    }
    
    .circular-service-grid::before{ 
        width: 300px; 
        height: 300px; 
    }
}

/* Tablet Optimierungen für Services */
@media(max-width: 1024px) and (min-width: 769px){
    .services-section {
        padding: 100px 0;
    }
    
    .circular-service-grid{ 
        width: 580px; 
        height: 580px; 
        margin: 50px auto; 
        --service-radius: 220px;
    }
    .center-content{ 
        width: 200px; 
        height: 200px; 
        padding: 18px; 
    }
    
    .center-content p{
        font-size: 15px;
        line-height: 1.5;
    }
    
    .service-circle{
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-icon{
        font-size: 30px;
        margin-bottom: 6px;
    }
    
    .service-name{
        font-size: 11px;
        line-height: 1.2;
    }
    
    .circular-service-grid::before{ 
        width: 560px; 
        height: 560px; 
    }
}

/* Services Showcase */
.services-showcase {
    padding: 80px 0;
    background: white;
}

/* Services Grid - single source of truth */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Homepage-specific override: two columns on desktop */
.home-services .services-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

/* Mobile Homepage Services Grid */
@media(max-width: 768px){
    .home-services .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .home-services .service-card {
        margin-bottom: 0;
    }
    
    .home-services .service-content {
        padding: 20px;
    }
    
    .home-services .service-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .home-services .service-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

/* Enhanced Services Grid Responsive */
@media(max-width: 1200px){
    .services-grid { 
        grid-template-columns: repeat(2, minmax(260px, 1fr)); 
        gap: 24px;
    }
}

@media(max-width: 768px){
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 0;
    }
    
    .service-content {
        padding: var(--card-padding);
    }
    
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .service-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

@media(max-width: 480px){
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    
    .service-content {
        padding: var(--card-padding);
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
    }
}

.service-card {
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(135deg, rgba(49,130,206,0.15), rgba(26,74,122,0.15)) border-box;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow-hover);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.9), rgba(26, 74, 122, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay .service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
    transition: color 0.3s ease;
}

.service-card:hover .service-overlay h3 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-content {
    padding: 24px;
}

.service-card h3{
    margin:0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.2px;
    padding: 0 24px;
}

.service-card p{
    color: var(--muted);
    line-height: 1.75;
    margin: 12px 0 0;
    padding: 0 24px 24px 24px;
}

.service-card .service-icon{
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 22px rgba(49,130,206,0.35);
    position: relative;
    margin: 24px 24px 12px 24px;
}

.service-card .service-icon::after{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.service-card:hover .service-icon{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(49,130,206,0.45);
}

.service-card .service-features{
    padding: 0 24px 24px 24px;
    margin-top: auto; /* immer unten platzieren */
}

.service-card .service-features .feature-tag{
    background: linear-gradient(135deg, rgba(49,130,206,0.12), rgba(26,74,122,0.12));
    color: var(--primary);
    border: 1px solid rgba(49,130,206,0.25);
}

.service-card:focus-within{
    box-shadow: 0 0 0 3px rgba(49,130,206,0.15), 0 20px 50px rgba(0,0,0,0.18);
}

.service-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(49,130,206,0.0), rgba(49,130,206,0.6), rgba(49,130,206,0.0));
    opacity: 0.85;
}

/* Enhanced services grid styling */
.service-header{
    display:flex;
    align-items:center;
    gap:12px;
    padding: 24px 24px 0 24px;
}

.feature-tag {
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

/* Articles Section */
.articles-section {
    padding: var(--section-padding) 0;
    background: white;
}

/* Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 80px;
    align-items: start;
}

.article-main {
    min-width: 0; /* Prevent grid overflow */
}

/* Article Summary Section - "Darum geht's" */
.article-summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.article-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.summary-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    font-size: 32px;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.summary-content {
    position: relative;
    z-index: 1;
}

.summary-text {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    opacity: 0.95;
    font-weight: 400;
}

.summary-points h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: transform 0.2s ease;
}

.summary-point:hover {
    transform: translateX(4px);
}

.point-icon {
    color: var(--success);
    font-weight: bold;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.point-text {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.95;
}

.article-content-wrapper {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.article-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Modern Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    padding: 16px 20px;
    position: relative;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.sidebar-card-content {
    padding: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.2s ease;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #3182ce;
    flex-shrink: 0;
}

.meta-content {
    flex: 1;
    min-width: 0;
}

.meta-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.meta-tags .tag {
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
}

/* Article Body Layout */
.article-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.article-toc {
    position: sticky;
    top: 120px;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.toc-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.toc li a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.toc li a:hover {
    color: var(--accent);
}

.toc-h3 {
    padding-left: 12px;
    opacity: .85;
}

/* Article Content Styles */
.article-content {
    padding: 32px;
}

.article-content .ql-editor {
    font-size: 18px;
    line-height: 1.8;
}

.article-content .ql-editor img,
.article-content .ql-editor video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article-content .ql-editor pre.ql-syntax {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    overflow-x: auto;
}

.article-content .ql-editor blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    color: var(--primary);
}

/*
 * Blog-Artikel (post.php / Quill): Lesbare Abstände.
 * Kein * { margin:0 } – das verwischt importiertes HTML zu Fliesstext.
 */
.article-section .article-content-wrapper {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2.35rem);
    box-shadow: 0 4px 28px rgba(15, 23, 42, 0.06);
}

.article-section .article-content {
    padding: 0;
    background: transparent;
}

.article-content .ql-editor {
    font-size: 1.0625rem;
    line-height: 1.78;
    color: var(--text, #2d3748);
}

.article-content .ql-editor p {
    margin: 0 0 1.12em;
}

.article-content .ql-editor > p:first-of-type,
.article-content .ql-editor header > p:first-of-type {
    font-size: 1.06rem;
    color: #475569;
    margin-bottom: 1.25em;
}

.article-content .ql-editor h1 {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--primary);
    margin: 0 0 0.75em;
    letter-spacing: -0.02em;
}

.article-content .ql-editor h2 {
    font-size: 1.38rem;
    font-weight: 700;
    line-height: 1.28;
    color: var(--primary);
    margin: 2.15rem 0 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(49, 130, 206, 0.16);
    scroll-margin-top: 96px;
}

.article-content .ql-editor h3 {
    font-size: 1.14rem;
    font-weight: 650;
    color: #1a4a7a;
    margin: 1.65rem 0 0.55rem;
    scroll-margin-top: 96px;
}

.article-content .ql-editor h2:first-child,
.article-content .ql-editor h3:first-child {
    margin-top: 0;
}

.article-content .ql-editor header {
    margin-bottom: 2rem;
    padding-bottom: 0.25rem;
}

.article-content .ql-editor section {
    margin-bottom: 2.35rem;
}

.article-content .ql-editor section + section {
    padding-top: 1.85rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.article-content .ql-editor footer {
    margin-top: 2.5rem;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef6 100%);
    border-radius: 12px;
    border-left: 4px solid #0f3d78;
}

.article-content .ql-editor footer h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.article-content .ql-editor footer p:last-child {
    margin-bottom: 0;
}

/* Nach HTML-Import: article/section/header/footer werden zu div – Layout über blog-* */
.article-content .ql-editor .blog-intro {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.article-content .ql-editor .blog-intro h1 {
    margin-top: 0;
}

.article-content .ql-editor .blog-lede {
    font-size: 1.08rem;
    line-height: 1.74;
    color: #475569;
    margin: 0 0 0.25rem;
}

.article-content .ql-editor .blog-section {
    margin-bottom: 2.35rem;
}

.article-content .ql-editor .blog-section + .blog-section {
    padding-top: 1.85rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.article-content .ql-editor .blog-section > h2:first-child {
    margin-top: 0;
}

.article-content .ql-editor .blog-subheading {
    margin: 0.65rem 0 0.45rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: #334155;
}

.article-content .ql-editor .blog-hint {
    margin: 0.5rem 0 0;
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.55;
}

.article-content .ql-editor .blog-codebox,
.article-content .ql-editor blockquote.blog-codebox {
    margin: 1.05rem 0 1.4rem;
    padding: 1rem 1.2rem 1.1rem;
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 50%, #e8eef4 100%);
    border: 1px solid rgba(15, 61, 120, 0.18);
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(15, 61, 120, 0.18);
}

.article-content .ql-editor blockquote.blog-codebox p:last-child {
    margin-bottom: 0;
}

.article-content .ql-editor .blog-codebox-label,
.article-content .ql-editor blockquote.blog-codebox .blog-codebox-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0 0 0.5rem;
}

.article-content .ql-editor .blog-codebox-sample,
.article-content .ql-editor blockquote.blog-codebox .blog-codebox-sample {
    display: inline-block;
    font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #0f172a;
    background: #fff;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border: 1px dashed rgba(49, 130, 206, 0.4);
    margin: 0;
    word-break: break-all;
}

.article-content .ql-editor .blog-codebox .blog-hint,
.article-content .ql-editor blockquote.blog-codebox .blog-hint {
    margin-top: 0.8rem;
}

.article-content .ql-editor blockquote.blog-codebox p {
    margin-bottom: 0.55em;
}

.article-content .ql-editor .blog-foot {
    margin-top: 2.5rem;
    padding: 1.35rem 1.45rem;
    background: linear-gradient(135deg, #f0f4fa 0%, #e8eef6 100%);
    border-radius: 12px;
    border-left: 4px solid #0f3d78;
}

.article-content .ql-editor .blog-foot h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.article-content .ql-editor .blog-foot p:last-child {
    margin-bottom: 0;
}

.article-content .ql-editor a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content .ql-editor a:hover {
    color: var(--accent);
}

.article-content .ql-editor strong {
    font-weight: 700;
    color: #1e293b;
}

.article-content .ql-editor code {
    font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.12em 0.4em;
    border-radius: 6px;
}

.article-content .ql-editor pre.ql-syntax {
    padding: 1rem 1.2rem;
    margin: 1.2em 0;
    line-height: 1.55;
    overflow-x: auto;
}

.article-content .ql-editor blockquote {
    margin: 1.2em 0;
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    border-left: 4px solid var(--accent, #3182ce);
    background: linear-gradient(90deg, rgba(49, 130, 206, 0.09), transparent);
    border-radius: 0 12px 12px 0;
}

/* Importiertes HTML: normale ul/ol (ohne Quill data-list) */
.article-content .ql-editor ul:not(.summary-list):not(.toc-sidebar-list):not(.ql-clipboard) {
    margin: 0.85em 0 1.3em;
    padding-left: 1.35em;
}

.article-content .ql-editor ol:not(.ql-clipboard) {
    margin: 0.85em 0 1.3em;
    padding-left: 1.35em;
}

.article-content .ql-editor ul:not(.summary-list):not(.toc-sidebar-list) > li:not([data-list]),
.article-content .ql-editor ol > li:not([data-list]) {
    display: list-item;
    position: static;
    list-style-position: outside;
    margin: 0 0 0.65em;
    padding-left: 0.15em;
    line-height: 1.65;
}

.article-content .ql-editor ul:not(.summary-list):not(.toc-sidebar-list) > li:not([data-list]) {
    list-style-type: disc;
}

.article-content .ql-editor ol > li:not([data-list]) {
    list-style-type: decimal;
}

/* Quill-Listen (data-list) */
.article-content .ql-editor ol,
.article-content .ql-editor ul {
    padding-left: 1.5em;
}

.article-content .ql-editor li[data-list] {
    position: relative;
    list-style: none;
    padding-left: 0;
}

.article-content .ql-editor li[data-list] .ql-ui {
    position: absolute;
    left: -1.5em;
    width: 1.2em;
    display: inline-block;
    text-align: center;
    top: 0.1em;
}

.article-content .ql-editor li[data-list="bullet"] .ql-ui::before {
    content: '•';
    color: var(--primary);
    font-weight: 700;
    font-size: 1em;
}

.article-content .ql-editor ol:has(li[data-list="ordered"]) {
    counter-reset: ql-ol;
}

.article-content .ql-editor li[data-list="ordered"] .ql-ui::before {
    counter-increment: ql-ol;
    content: counter(ql-ol) '.';
    color: var(--primary);
    font-weight: 700;
}

/* post.php: unter Desktop gleiches Erscheinungsbild – Layout früh einspaltig, Typo skaliert */
@media (max-width: 992px) {
    .article-section {
        padding: 48px 0 56px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .article-section .article-content-wrapper {
        padding: clamp(1rem, 3.5vw, 1.85rem);
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .article-section {
        padding: 36px 0 48px;
    }

    .article-layout {
        margin-top: 32px;
        gap: 24px;
    }

    .hero-modern.hero-blog {
        min-height: 52svh;
        padding: 56px 0 36px;
    }

    .hero-modern.hero-blog .hero-background {
        background-attachment: scroll;
    }

    .article-summary {
        padding: 22px 18px;
        margin-bottom: 28px;
        border-radius: 14px;
    }

    .summary-header {
        flex-wrap: wrap;
        gap: 10px 16px;
        margin-bottom: 18px;
    }

    .summary-header h2 {
        font-size: clamp(1.2rem, 4.8vw, 1.6rem);
    }

    .summary-icon {
        font-size: 26px;
    }

    .point-text {
        font-size: 15px;
    }

    .article-section .article-content .ql-editor {
        font-size: 1rem;
        line-height: 1.72;
    }

    .article-section .article-content .ql-editor h1 {
        font-size: clamp(1.32rem, 5.2vw, 1.72rem);
    }

    .article-section .article-content .ql-editor h2 {
        font-size: clamp(1.12rem, 4vw, 1.32rem);
        margin: 1.65rem 0 0.6rem;
        scroll-margin-top: 76px;
    }

    .article-section .article-content .ql-editor h3 {
        font-size: clamp(1.02rem, 3.4vw, 1.1rem);
        scroll-margin-top: 76px;
    }

    .article-section .article-content .ql-editor .blog-lede {
        font-size: 1rem;
    }

    .article-section .article-content .ql-editor .blog-codebox,
    .article-section .article-content .ql-editor blockquote.blog-codebox {
        padding: 0.85rem 1rem;
    }

    .article-section .article-content .ql-editor .blog-codebox-sample,
    .article-section .article-content .ql-editor blockquote.blog-codebox .blog-codebox-sample {
        font-size: 0.88rem;
        word-break: break-word;
    }

    .article-section .article-content .ql-editor pre.ql-syntax {
        padding: 0.8rem 0.95rem;
        font-size: 0.8rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .article-section .article-content .ql-editor footer,
    .article-section .article-content .ql-editor .blog-foot {
        padding: 1.05rem 1.1rem;
    }

    .sidebar-card h3 {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .sidebar-card-content {
        padding: 16px;
    }

    .meta-item {
        padding: 10px 12px;
    }
}

/* Author Styles */
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(49,130,206,0.35);
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
}

.author-sub {
    font-size: 13px;
    color: var(--text-light);
}

.article-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge.meta {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--primary);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Blog Filters */
.blog-filters {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.filter-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

.category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
}

.category-badge {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-badge:hover {
    border-color: var(--primary);
    background: #f8fafc;
    transform: translateY(-2px);
}

.category-badge.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-badge.active:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

#load-more-btn {
    min-width: 200px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Verhindere Autofill/Stretch auf Desktop: feste 4 Spalten, leerer Platz bleibt leer */
.articles-grid > * { 
	min-width: 0; 
}

/* News/Blog Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news-grid > * { min-width: 0; }

.news-card, .article-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-cta{
    display: flex;
    justify-content: center;
}

/* Enhanced Article Card Styles */
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Align News Card visuals with Article Card */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

/* Match News Card hover to Article Card */
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card.featured {
    grid-column: span 2;
    border: 2px solid var(--primary);
}

.news-card:hover, .article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.news-image, .article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

/* Match news image height */
.news-image {
    height: 250px;
}

.article-card.featured .article-image {
    height: 350px;
}

.news-image img, .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img,
.article-card:hover .article-image img {
    transform: scale(1.05);
}

.news-category, .article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #3182ce, #1a4a7a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content, .article-content {
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

/* Besser klickbare Karten */
.article-card { 
    position: relative; 
}

.article-card .stretched-link{ 
    position:absolute; 
    inset:0; 
    z-index:1; 
}

.article-card .btn{ 
    position: relative; 
    z-index: 2; 
}

/* Make news-card fully clickable like article-card */
.news-card { 
    position: relative; 
}

.news-card .stretched-link{ 
    position:absolute; 
    inset:0; 
    z-index:1; 
}

.news-card .btn{ 
    position: relative; 
    z-index: 2; 
}

.news-meta, .article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    flex-wrap: wrap;
}

.news-date, .article-date {
    font-weight: 500;
}

.article-date {
    font-weight: 600;
}

.article-read-time {
    opacity: 0.7;
}

.article-author {
    color: var(--primary);
    font-weight: 600;
}

.news-read-time, .article-read-time {
    opacity: 0.8;
}

.news-content h3, .article-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    line-height: 1.3;
}

.article-card.featured .article-content h3 {
    font-size: 2rem;
}

.news-content p, .article-content p {
    color: var(--muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 16px;
    flex-grow: 1;
}

.article-content p {
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Artikel-Inhalt Listen in Primärfarbe */
.article-content ol,
.article-content ul,
.article-content li {
    color: var(--primary);
}

.news-content .btn, .article-content .btn {
    margin-top: auto;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
}

/* Additional News Card Styles from main_save.css */
.news-card {
    position: relative;
    padding: 30px;
    margin-bottom: 24px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.news-date {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.news-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 16px;
    flex-grow: 1;
}

.news-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: auto;
    flex-shrink: 0;
}

.news-card a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: var(--font-size-base);
    font-family: inherit;
    background: var(--panel);
    color: var(--text);
    transition: all var(--transition-fast);
    min-height: 44px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-field label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: var(--text-light);
    font-size: var(--font-size-base);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--panel);
    padding: 0 4px;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    font-size: var(--font-size-sm);
    color: var(--accent);
    font-weight: 600;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    color: rgba(255,255,255,0.1);
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-inner {
    position: relative;
    z-index: 2;
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-left: 15px;
}

.footer-brand {
    max-width: 400px;
}


.footer-logo .logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    opacity: 0.9;
    margin-bottom: 0;
}

.footer-links-section h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section li {
    margin-bottom: 12px;
}

.footer-links-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--font-size-base);
}

.footer-links-section a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: var(--font-size-base);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: white;
}

/* Mobile Contact Item Styles */
@media (max-width: 768px) {
    .contact-item {
        gap: 12px;
    }
}

.footer-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-image-content {
    text-align: center;
}

.footer-image-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-image-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-image-link:hover {
    text-decoration: none;
}

.footer-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    object-fit: contain;
}

.footer-image-link:hover .footer-image {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Modal */
.modal{
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show{
    display: flex;
    opacity: 1;
}

.modal-content{
    background: linear-gradient(135deg, #1a4a7a 0%, #2c5282 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 85svh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from{
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.modal-header h3{
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.modal-close{
    background: none;
    border: none;
    font-size: 28px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover{
    background: rgba(255,255,255,0.1);
    color: white;
}

.modal-body{
    padding: 0 24px 24px;
}

.modal-body p{
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* Support Modal spezifische Styles */

.modal .checkbox-container {
    margin: 24px 0;
}
.support-checkbox {
    color: white;
    margin: 10px;
}

.modal .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    gap: 8px;
}

.modal .checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.modal .download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.modal .download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 160px;
    justify-content: center;
}

.modal .download-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal .download-btn.windows-btn {
    background: #0078d4;
}

.modal .download-btn.windows-btn:hover {
    background: #106ebe;
}

.modal .download-btn.mac-btn {
    background: #1d4ed8;
}

.modal .download-btn.mac-btn:hover {
    background: #1e3a8a;
}

/* Support downloads: show buttons in one line */
.support-downloads .download-links{
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

@media (max-width: 768px){
    .support-downloads .download-links{
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }
    .support-downloads .download-btn{
        width: 100%;
        max-width: 280px;
    }
}

.modal .btn-icon {
    font-size: 18px;
}

.modal .btn-text {
    font-size: 14px;
    font-weight: 600;
}

/* Modal Checkbox sichtbar machen */
.modal .checkbox-label input[type="checkbox"] {
    display: inline-block !important;
}

/* Loading States */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
        --card-padding: 20px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-title {
        font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
    }
    
    .home-slogan-top {
        top: 41%;
        width: 95%;
    }
    
    .home-slogan-down {
        top: 53%;
        width: 95%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        gap: 24px;
    }
    
    .home-services .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .home-services .service-card {
        margin-bottom: 0;
    }
    
    .home-services .service-content {
        padding: 20px;
    }
    
    .home-services .service-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .home-services .service-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .news-grid, .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-filters {
        margin-top: 30px;
    }
    
    .filter-group {
        gap: 15px;
    }
    
    .category-badges {
        max-width: 600px;
    }
    
    .category-badge {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Footer Brand - Medium Screens */
@media (max-width: 1620px) and (min-width: 1024px) {
    .footer-brand {
        padding-left: 15px;
    }
}

/* Header Responsive - Large Desktop */
@media (max-width: 1340px) and (min-width: 1111px) {
    .nav-list {
        gap: 4px;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* Header Responsive - Medium Desktop */
@media (max-width: 1110px) and (min-width: 1025px) {
    .nav-list {
        gap: 2px;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 4px 6px;
    }
}

/* Header Responsive - Desktop */
@media (max-width: 1024px) and (min-width: 981px) {
    .main-header {
        height: 75px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .nav-list {
        gap: 3px;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    /* Spalt zwischen Header und Hero entfernen */
    .site-main {
        margin-top: 0;
    }
    
    .hero-modern.hero-home {
        margin-top: 0;
    }
}

/* Header Responsive - Tablet */
@media (max-width: 980px) and (min-width: 769px) {
    .main-header {
        height: 70px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .navigation-container {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Hamburger-Menü für Tablet aktivieren */
    .nav-toggle {
        display: flex !important;
    }
    
    /* Spalt zwischen Header und Hero entfernen */
    .site-main {
        margin-top: 0;
    }
    
    .hero-modern.hero-home {
        margin-top: 0;
    }
    
    /* Background-Color konsistent halten */
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}


/* Responsive Design - Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --card-padding: 16px;
        --card-radius: 16px;
    }
    
    .main-header {
        height: 70px;
    }
    
    /* Footer Logo zentrieren auf Mobile */
    .footer-logo {
        display: flex;
        justify-self: left;
    }
    
    .footer-logo .logo-img {
        display: block;
        margin: 0 auto;
    }
    
    /* Footer Brand Mobile Styles */
    .footer-brand {
        max-width: none;
        padding-right: 20px;
    }
    
    /* Kontaktformular 1-spaltig auf Mobile */
    .contact-form-section .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .site-main {
        margin-top: 70px;
    }
    
    .navigation-container {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-modern {
        min-height: 70svh;
        padding: 60px 0 40px;
    }
    
    /* Spezifische Startseiten-Optimierungen */
    .hero-modern.hero-home {
        min-height: 60svh;
        padding: 50px 0 30px;
    }
    
    .hero-modern.hero-home .hero-background {
        background-position: left center;
        background-size: cover;
        background-attachment: scroll;
        width: 120vw;
        left: 50%;
        transform: translateX(calc(-50% - 10vw));
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: clamp(var(--font-size-2xl), 8vw, var(--font-size-4xl));
        margin-bottom: 20px;
    }
    
    .home-slogan-top {
        top: 41%;
        width: 95%;
        padding: 0 10px;
    }
    
    .home-slogan-down {
        top: 53%;
        width: 95%;
        padding: 0 10px;
    }
}



/* Home Slogans - Very Small Mobile (480px and smaller) */
@media (max-width: 480px) {
    .home-slogan-top {
        top: 25%;
        width: 95%;
        padding: 0 10px;
    }
    
    .home-slogan-down {
        top: 49%;
        width: 95%;
        padding: 0 10px;
    }
    
    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }
    
    .section-title {
        font-size: clamp(var(--font-size-2xl), 6vw, var(--font-size-3xl));
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 0;
    }
    
    .service-content {
        padding: var(--card-padding);
    }
    
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .service-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .news-grid, .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card.featured {
        grid-column: span 1;
    }
    
    .category-badges {
        max-width: 100%;
        gap: 8px;
    }
    
    .category-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .article-section {
        padding: 28px 0 40px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }
    
    .article-sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-card {
        margin-bottom: 20px;
    }

    .article-section .article-content-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }

    /* Nur Blog-Karten (blog.php), nicht den Quill-Artikeltext in post.php */
    .article-card .article-content {
        padding: 20px;
    }
    
    .article-body {
        grid-template-columns: 1fr;
    }
    
    .article-toc {
        position: static;
        order: -1;
    }
    
    .article-summary {
        padding: 24px;
        margin-bottom: 32px;
    }
    
    .summary-header h2 {
        font-size: 24px;
    }
    
    .summary-icon {
        font-size: 28px;
    }
    
    .summary-text {
        font-size: 16px;
    }
    
    .summary-points h3 {
        font-size: 18px;
    }
    
    .point-text {
        font-size: 15px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-method-card {
        padding: 30px 20px;
    }
    
    .contact-method-card h3 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .contact-method-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .profile-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
    
    .news-card {
        padding: var(--card-padding);
        margin-bottom: 0;
    }
    
    .news-card h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .news-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .news-image, .article-image {
        height: 180px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-image {
        max-width: 350px;
        width: 100%;
        height: auto;
    }
    
    .footer-image-section {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .footer-image-text {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-image-content {
        padding: 0 20px;
    }

    .footer-logo {
        display: flex;
        justify-self: center;
        padding-left: 20px;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100svh - 40px);
    }
    
    .modal .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal .download-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: var(--font-size-base);
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: var(--font-size-lg);
    }
}

/* Mobile Navigation Overlay */
@media (max-width: 980px) {
    /* Hide navigation container on mobile by default */
    .navigation-container {
        display: none;
    }
    
    .nav-open .navigation-container {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100svh;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        z-index: 9999;
        flex-direction: column;
        padding: 0px 20px 20px;
        box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.3);
        animation: slideDown 0.3s ease-out;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Hamburger-Button im Overlay positionieren */
    .nav-open .nav-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10001;
        background: var(--primary);
        color: white;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .nav-open .nav-toggle:hover {
        background: #1e5a8a;
        transform: scale(1.1);
    }
    
    .nav-open .nav-toggle:active {
        transform: scale(0.95);
    }
    
    .nav-open .hamburger-line {
        background: white;
    }
    
    .nav-open .navigation-container .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-open .navigation-container .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-open .navigation-container .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-open .navigation-container .nav-link {
        display: flex;
        padding: 16px 0;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 600;
        color: white;
        text-decoration: none;
        transition: all var(--transition-fast);
        -webkit-tap-highlight-color: transparent;
        border-radius: 8px;
        margin: 4px 0;
    }
    
    .nav-open .navigation-container .nav-link:hover {
        color: #60a5fa;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-open .navigation-container .nav-link:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
        --card-padding: 12px;
    }
    
    /* Startseiten-Optimierungen für sehr kleine Bildschirme */
    .hero-modern.hero-home {
        min-height: 50svh;
        padding: 40px 0 20px;
    }
    
    .hero-modern.hero-home .hero-background {
        width: 130vw;
        transform: translateX(calc(-50% - 15vw));
    }
    
    .hero-content {
        padding: 0 12px;
    }
    
    .section-header {
        padding: 0 12px;
    }
    
    .card {
        padding: 16px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: var(--font-size-sm);
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: var(--font-size-base);
    }
    
    .modal-content {
        margin: 12px;
    }
    
    .footer-inner {
        padding: 60px 0 30px;
    }
    
    .footer-main {
        gap: 36px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .infra-advantages .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .tele-advantages .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    /* Verbesserte Blog-Cards für sehr kleine Bildschirme */
    .blog-card {
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .blog-card h3 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .blog-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .blog-card .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
        min-height: 36px;
    }
    
    .blog-image {
        height: 140px;
    }
    
    .blog-content {
        padding: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-content {
        padding: var(--card-padding);
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
    }
    
    .news-grid {
        gap: 20px;
    }
    
    .news-card {
        padding: var(--card-padding-mobile);
    }
    
    .news-card h3 {
        font-size: 1.2rem;
    }
    
    .news-card p {
        font-size: 0.9rem;
    }
    
    .footer-image {
        max-width: 260px;
    }
    
    .footer-image-section {
        padding: 20px 0;
        margin: 10px 0;
    }
    
    .footer-image-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    /* Safari/iOS: justify-self wirkt nicht bei Flex-Items → explizit zentrieren */
    .contact-item {
        justify-content: center; /* Inhalt im Flex-Item zentrieren */
        margin-left: auto;      /* Item im Parent horizontal zentrieren */
        margin-right: auto;
        text-align: center;
        width: 100%;
    }
    .contact-item a { text-align: center; }
    .contact-item svg {
        width: 16px;
        height: 16px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .nav-toggle {
        display: none !important;
    }
    
    .site-main {
        margin-top: 0;
    }
    
    .hero-modern {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-background {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .hero-content {
        color: var(--text);
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border);
    }
    
    a {
        color: var(--text);
        text-decoration: underline;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-particles {
        display: none;
    }
}

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a202c;
        --panel: #2d3748;
        --text: #e2e8f0;
        --text-light: #a0aec0;
        --text-muted: #718096;
        --border: #4a5568;
        --border-light: #2d3748;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: var(--z-tooltip);
}

.skip-link:focus {
    top: 6px;
}

/* Ensure proper stacking context */
.site-header {
    isolation: isolate;
}

.modal {
    isolation: isolate;
}

/* Hoehenabhaengige Anpassung fuer geringe Viewport-Hoehen */
@media (max-height: 800px) and (min-width: 481px) {
    .home-slogan-top {
        top: 34%;
    }
}

@media (max-height: 600px) and (min-width: 481px) {
    .home-slogan-top {
        top: 30%;
    }
}

@media (max-height: 500px) and (min-width: 481px) {
    .home-slogan-top {
        top: 25%;
    }
}


/* Honeypot-Feld für Kontaktformular */
.hp-field { display: none; }

/* Service-Card Headings nur in spezifischen Bereichen auf Primärfarbe */
.services-grid.home-services .service-card h3 {
    color: var(--primary);
}

.cloud-services .services-grid .service-card h3 {
    color: var(--primary);
}

.infra-services .services-grid .service-card h3 {
    color: var(--primary);
}

.tele-services .services-grid .service-card h3 {
    color: var(--primary);
}

