/* Devpool Joomla Template CSS (extracted from provided index.html) */
:root {
    --primary:#00b8ff;
    --primary-light:#e6faff; /* gern leicht anheben */
    --dark: #333;
    --light: #f8f9fa;
    --white: #fff;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

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

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: #00b8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.hero {
    background: #00b8ff;
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

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

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color:#fff;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about {
    background-color: var(--light);
}

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

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
}

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

.expertise-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.expertise-list li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

.contact {
    background: linear-gradient(135deg, #00b8ff 0%, #00b8ff 100%);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    color: var(--white);
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.contact-item {
    margin: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-text {
    font-weight: 500;
}

footer {
    background-color: #002040;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

/* === Primärfarbe fix === */
:root{
  --primary:#00b8ff;
  --primary-light:#e6faff;
}

/* Hero & Kontakt komplett primär + gute Lesbarkeit */
.hero{
  background: linear-gradient(135deg,#00b8ff 0%,#00b8ff 100%);
  color:#fff;
}
.contact{
  background: linear-gradient(135deg,#00b8ff 0%,#00b8ff 100%);
  color:#fff;
}
.contact h2,
.contact p,
.contact .section-header p,
.contact .contact-text{ color:#fff; }

/* Buttons auf hellblau besser lesbar */
.btn{
  background:#fff;
  color:#00b8ff;
  border:0;
}

/* === Footer-Styles für Menümodul === */
footer{
  background:#00b8ff;   /* statt dunkelblau */
  color:#fff;
  padding:30px 0;
  text-align:center;
}

/* Joomla Menümodul im Footer: horizontal, ohne Punkte */
footer .mod-menu,
footer .mod-menu > li{
  list-style:none;
  margin:0;
  padding:0;
}
footer .mod-menu{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:center;
}
footer .mod-menu > li > a{
  color:#fff;
  text-decoration:none;
  padding:6px 10px;
  border-radius:9999px;
}
footer .mod-menu > li > a:hover,
footer .mod-menu > li > a:focus{
  background:rgba(255,255,255,.15);
  color:#fff;
}

/* Falls noch alte Footer-Klassen aktiv sind, harmonisieren */
.footer-links{ display:none; } /* Dummy-Links aus dem Template ausblenden */


/* ========== Inner Pages (Impressum/Datenschutz/AGB) ========== */
body.inner .hero,
body.inner #services,
body.inner .about,
body.inner .contact{ display: none !important; }

/* Genug Platz unter dem fixen Header */
body.inner main{ padding-top: 120px; }

/* Standard-Artikel optisch etwas anheben */
body.inner .container h1{ margin-bottom: 18px; }
body.inner .container p{ line-height: 1.7; }

/* Sticky-Footer-Layout */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
main { flex: 1 0 auto; }      /* Inhalt füllt den Rest */
footer { margin-top: auto; }  /* Footer an den unteren Rand */

/* (optional) etwas Luft über dem Footer auf Kurzseiten */
body.inner .container { padding-bottom: 40px; }
