:root {
    --primary-color: #1e88e5;
    --secondary-color: #26a69a;
    --text-color: #333;
    --light-text: #fff;
    --background-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(135deg, #0d47a1, #42a5f5);
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://cdn.jsdelivr.net/gh/devicons/devicon/icons/dot-net/dot-net-original.svg') repeat;
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 90%;
    width: 700px;
    animation: fadeIn 1s ease-in-out;
}

/* Sprachauswahl */
.language-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.language-btn {
    background: #1e88e5;
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition);
}

.language-btn:hover {
    background: #1565c0;
}

.language-btn.active {
    background: #42a5f5;
}

/* Domain Hero Section */
.domain-label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* MCP Highlight Styling */
.mcp-highlight {
    background-color: #1565c0;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0 2px;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(21, 101, 192, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 101, 192, 0); }
}

.domain-name {
    font-size: clamp(1.75rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    text-overflow: ellipsis;
}

.domain-description {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Preisanzeige */
.price-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 25px;
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.price-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--light-text);
    position: relative;
}

.price-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* Call-to-Action Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.buy-button {
    background: linear-gradient(to right, var(--secondary-color), #80cbc4);
    color: var(--light-text);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.buy-button:active {
    transform: translateY(0);
}

.contact-button {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: #666;
}

/* Domain Navigation */
.domain-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.domain-nav-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.domain-nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.domain-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.domain-indicator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.domain-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.domain-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Domain List Button */
.domain-list-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.domain-list-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Price Table */
.price-table-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.domain-price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    overflow: hidden;
}

.domain-price-table th,
.domain-price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.domain-price-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.domain-price-table tr:hover {
    background-color: #f5f5f5;
}

.domain-price-table td:nth-child(1) {
    font-weight: 600;
    color: var(--primary-color);
}

.domain-price-table td:nth-child(3) {
    font-weight: 600;
}

.domain-price-table .select-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    width: 120px;
    height: 40px;
    text-align: center;
    line-height: 24px;
}

.domain-price-table .select-button:hover {
    background-color: #218c7e;
}

.domain-price-table .selected {
    background-color: #4caf50;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.modal-close:hover {
    color: #333;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
}

.form-input, .form-textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

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

.form-submit {
    background: linear-gradient(to right, var(--primary-color), #64b5f6);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: linear-gradient(to right, #1565c0, #42a5f5);
}

/* Domain List Modal */
.domain-list-modal .modal-content {
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.domain-list {
    list-style: none;
    margin: 20px 0;
}

.domain-list-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-list-item:last-child {
    border-bottom: none;
}

.domain-list-name {
    font-weight: 500;
    color: var(--primary-color);
}

.domain-list-select {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    width: 120px;
    height: 40px;
    text-align: center;
    line-height: 28px;
}

.domain-list-select:hover {
    background: #1565c0;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-contact {
    max-width: 300px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Helper Classes */
.hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 30px;
    }
    
    .domain-name {
        font-size: 2rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .domain-price-table th,
    .domain-price-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .domain-price-table .select-button {
        width: 100px;
        height: auto;
        padding: 6px 8px;
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .domain-price-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .domain-name {
        font-size: 1.5rem;
    }
    
    .domain-price-table {
        font-size: 0.8rem;
    }
    
    .domain-price-table th,
    .domain-price-table td {
        padding: 8px 4px;
    }
    
    .domain-price-table .select-button {
        width: 80px;
        height: auto;
        padding: 5px 6px;
        font-size: 0.75rem;
        line-height: normal;
    }
    
    .domain-list-select {
        width: 80px;
        height: auto;
        padding: 5px 6px;
        font-size: 0.75rem;
        line-height: normal;
    }
}
