:root {
    --blue-dark: #2f80ed;
    --blue-light: #56ccf2;
    --bg: #f4f4f4;
    --card-bg: #ffffff;
    --accent: #1abc9c;
    --accent-dark: #16a085;
    --text-main: #2c3e50;
    --text-muted: #555;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --radius-lg: 14px;
    --radius-md: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header / Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    box-shadow: 0 4px 15px rgba(0,0,0,0.18);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.logo-sub {
    font-size: 0.85rem;
    opacity: 0.85;
}

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

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #fff;
    border-radius: 4px;
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    max-width: 1200px;
    margin: 30px auto 20px;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.hero-text h1 span {
    color: var(--blue-dark);
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 18px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 20px;
}

.badge {
    font-size: 0.8rem;
    background: rgba(47,128,237,0.08);
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--blue-dark);
    border: 1px solid rgba(47,128,237,0.18);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

/* Button */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(26,188,156,0.35);
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(22,160,133,0.4);
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    background: radial-gradient(circle at top, var(--blue-light) 0, var(--blue-dark) 60%, #1b3f72 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 22px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 230px;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.18);
    opacity: 0.7;
}

.hero-visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-visual-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.hero-visual-main {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-visual-list {
    font-size: 0.9rem;
    opacity: 0.9;
    padding-left: 1.2rem;
}

.hero-visual-list li {
    margin-bottom: 3px;
}

.hero-visual-pill {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 20px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.hero-visual-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("beispieldateien/Tulln_11-1.JPG") center/cover;
    opacity: 0.07;
}


/* Sektion-Wrapper */
.section {
    max-width: 1200px;
    margin: 10px auto 40px;
    padding: 0 20px;
}

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

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 0.96rem;
    color: var(--text-muted);
}

/* Leistungen */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(47,128,237,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 4px;
}

.service-card h3 {
    font-size: 1.08rem;
    margin-bottom: 2px;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    flex: 1;
}

.service-card a {
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    margin-top: 4px;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Über mich */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: flex-start;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 6px;
}

.about-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 6px;
}

.about-list li {
    font-size: 0.93rem;
    margin-bottom: 4px;
}

.about-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    background: rgba(26,188,156,0.06);
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 4px 9px;
}

.about-badge a {
    color: inherit;
    text-decoration: underline;
}

.about-highlight {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 14px 16px;
    font-size: 0.9rem;
}

.about-highlight h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.about-highlight ul {
    margin-left: 1rem;
}

.about-highlight li {
    margin-bottom: 3px;
}

/* Referenzen */
.refs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.ref-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 16px 16px 14px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ref-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-dark);
    opacity: 0.85;
}

.ref-title {
    font-weight: 600;
}

.ref-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.refs-links {
    margin-top: 14px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.2rem;
    font-size: 0.9rem;
}

.refs-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.refs-links a:hover {
    text-decoration: underline;
}

/* Kontakt */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
    font-size: 0.95rem;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-card p {
    margin-bottom: 4px;
    color: var(--text-muted);
}

.contact-card a:not(.btn-primary) {
    color: var(--accent);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 10px;
}

.contact-btn {
    margin-top: 8px;
}

.contact-map {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-placeholder {
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(47,128,237,0.08), rgba(86,204,242,0.15));
    border: 1px dashed rgba(47,128,237,0.4);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 0.9rem;
    text-align: center;
    padding: 0 10px;
}

.map-caption {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 16px 20px;
    background: #1f3f72;
    color: #ecf0f1;
    font-size: 0.82rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: space-between;
}

/* Anfrageformular */
.form-card {
    max-width: 900px;
    margin: 0 auto 20px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 22px;
}

.anfrage-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.form-group label {
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.18);
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #fff;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-dark);
    box-shadow: 0 0 0 2px rgba(47,128,237,0.15);
}

/* PLZ / Ort etc. nebeneinander */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-group--small {
    flex: 0 0 140px;
}

/* Buttons unten im Formular */
.form-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Zweiter Button (Reset) etwas dezenter */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.35);
}

/* Responsive */
@media (max-width: 960px) {
    .hero,
    .about,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        margin-top: 20px;
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .refs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.8rem 1.2rem;
    }

    .hero {
        padding: 22px 16px;
    }

    .services-grid,
    .refs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section {
        padding: 0 16px;
    }

    .form-card {
        padding: 16px 14px 18px;
    }

    .form-group--small {
        flex: 1 1 120px;
    }
}
/* Lärmschutz-Seite */
.ls-intro {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ls-grid {
    max-width: 1100px;
    margin: 0 auto 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.7rem;
    align-items: center;
}

.ls-grid--reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.ls-text h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.ls-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.ls-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* Mobilanpassungen für Lärmschutz-Layout */
@media (max-width: 960px) {
    .ls-grid,
    .ls-grid.ls-grid--reverse {
        grid-template-columns: minmax(0, 1fr);
    }
}
.ref-card ul {
    padding-left: 18px;   /* mehr Abstand vom Rand */
    margin-top: 6px;
    margin-bottom: 6px;
    line-height: 1.45;
}

.ref-card ul ul {
    padding-left: 16px;   /* verschachtelte Listen */
    margin-top: 4px;
}
.ref-card ul li {
    margin-bottom: 4px;
}

.ref-card ul li::marker {
    color: var(--accent); /* dezente, moderne Farbe */
}
.ref-title + p,
.ref-meta + ul {
    margin-top: 6px;
}

.ref-meta {
    margin-bottom: 4px;
}
.map-embed {
    width: 100%;
    height: 280px; /* Für Desktop optimal */
    border: 0;
    border-radius: 10px;
}

/* Für größere Bildschirme */
@media (min-width: 900px) {
    .map-embed {
        height: 360px;
    }
}

/* Für sehr kleine Geräte */
@media (max-width: 480px) {
    .map-embed {
        height: 220px;
    }
}
