/* ===================================
   SystemWeb Template CSS
   Based on systemweb.de Design
   =================================== */

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row > * {
    padding: 0 15px;
}

.col-md-3 { width: 25%; }
.col-md-6 { width: 50%; }
.col-md-9 { width: 75%; }
.col-md-12 { width: 100%; }

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

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

/* --- Header --- */
.site-header {
    background: linear-gradient(135deg, #1a5490 0%, #2a7bb8 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo a {
    display: inline-block;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-contact {
    text-align: right;
}

.phone-number a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.phone-number a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transform: translateY(-2px);
}

.phone-number .icon {
    font-size: 20px;
}

/* --- Main Navigation --- */
.main-navigation {
    background: #fff;
    border-bottom: 3px solid #0066cc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-navigation a:hover,
.main-navigation li.active > a {
    background: #f8f9fa;
    color: #0066cc;
    border-bottom-color: #0066cc;
}

/* Dropdown Menu */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    flex-direction: column;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul a {
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
}

/* --- Slider Section --- */
.slider-section {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Slider Styles für Custom HTML Module */
.slider-item {
    background: linear-gradient(135deg, #e8f4f8 0%, #fff 100%);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid #0066cc;
}

.slider-content h2 {
    color: #0066cc;
    font-size: 32px;
    margin-bottom: 15px;
}

.slider-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.slider-content ul {
    list-style: none;
    margin: 20px 0;
}

.slider-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.slider-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.slider-price {
    text-align: center;
    margin: 20px 0;
}

.slider-price .amount {
    font-size: 36px;
    color: #0066cc;
    font-weight: bold;
}

.slider-price .period {
    display: block;
    font-size: 14px;
    color: #666;
}

.slider-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    text-decoration: none;
}

/* --- Breadcrumb --- */
.breadcrumb-section {
    background: #fff;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li + li:before {
    content: "›";
    padding: 0 10px;
    color: #999;
}

/* --- Content Areas --- */
.content-top-section,
.content-bottom-section {
    padding: 30px 0;
}

.site-content {
    padding: 30px 0;
    background: #fff;
}

.main-content {
    min-height: 400px;
}

/* --- Sidebars --- */
.sidebar {
    background: #f8f9fa;
}

.sidebar .moduletable,
.sidebar .module {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    color: #0066cc;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

/* --- Module Styles --- */
.moduletable,
.module {
    margin-bottom: 30px;
}

.moduletable h3,
.module h3 {
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* Spezielle Module Styles */
.module.warenkorb,
.module.login-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.module.kundenmeinung {
    background: #e8f4f8;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #0066cc;
    font-style: italic;
}

.module.kundenmeinung cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    color: #666;
    font-weight: 600;
}

/* Login Form */
.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form button,
.login-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.login-form button:hover,
.login-form input[type="submit"]:hover {
    background: #004499;
}

/* --- Info Boxes (Content Modules) --- */
.info-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #0066cc;
}

.info-box h3 {
    color: #0066cc;
    font-size: 24px;
    margin-bottom: 15px;
}

.info-box p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-box .btn {
    display: inline-block;
    padding: 10px 25px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-box .btn:hover {
    background: #004499;
    text-decoration: none;
}

/* --- Footer --- */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 40px;
}

.footer-top {
    padding: 40px 0;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    padding: 6px 0;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    background: #1a252f;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-copyright p {
    margin: 5px 0;
}

.footer-copyright a {
    color: #bdc3c7;
}

.back-to-top a {
    display: inline-block;
    padding: 8px 20px;
    background: #0066cc;
    color: #fff !important;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background: #004499;
    transform: translateY(-2px);
}

/* --- Forms --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

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

button,
input[type="submit"],
.btn {
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
    background: #004499;
}

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f8f9fa;
    color: #0066cc;
    font-weight: 600;
}

tr:hover {
    background: #f8f9fa;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .col-md-3,
    .col-md-6,
    .col-md-9,
    .col-md-12 {
        width: 100%;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        text-align: center;
        margin-top: 15px;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation ul ul {
        position: static;
        display: none;
        box-shadow: none;
    }

    .main-navigation li:hover > ul {
        display: flex;
    }

    .slider-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .site-title h1 {
        font-size: 22px;
    }

    .phone-number a {
        font-size: 16px;
    }

    .slider-content h2 {
        font-size: 24px;
    }

    .slider-content h3 {
        font-size: 20px;
    }

    .slider-price .amount {
        font-size: 28px;
    }
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
