:root {
    --c-gruen: #1b4d22;
    --c-gruen-hover: #163d1b;
    --c-blau: #1F4068;
    --c-grau: #474f54;
    --c-lichtgrau: #D2D7D9;
    --c-weiss: #ffffff;
    --c-text: #D2D7D9;
    --c-heading: #ffffff;
    --header-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
    --container: 1170px;

    /* ——— Streifenflächen ———
       Zwei Flächenfarben mit derselben feinen Linienstruktur:
       hell #474F54 ersetzt Weiß, dunkel #32373b ersetzt Hellgrau. */
    --cs-hell:   #474F54;
    --cs-dunkel: #32373b;

    /* 2 px hoch: 1 px dunkel, 1 px hell. Nicht skalieren. */
    --cs-streifen: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08),
        rgba(0, 0, 0, 0.08) 1px,
        rgba(255, 255, 255, 0.025) 1px,
        rgba(255, 255, 255, 0.025) 2px
    );
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 190px;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--cs-hell);
    background-image: var(--cs-streifen);
    margin: 0;
}

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

a {
    /* Aufgehelltes Navy statt Grün - 4,5:1 auf #474F54. */
    color: #b4c0cd;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-heading);
    line-height: 1.2;
}

.font-serif {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.uk-container {
    max-width: var(--container);
}

/* ——— Buttons ——— */
.uk-button {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 3px;
    line-height: 42px;
    padding: 0 36px;
}

.uk-button-primary {
    background: var(--c-gruen);
    color: var(--c-weiss);
    border: 2px solid var(--c-gruen);
}

.uk-button-primary:hover,
.uk-button-primary:focus {
    background: var(--c-heading);
    border-color: var(--c-gruen);
    color: var(--c-gruen);
}

.uk-button-default {
    background: transparent;
    color: #bbbfc1;
    border: 3px solid rgba(255, 255, 255, 0.35);
    line-height: 38px;
}

.uk-button-default:hover,
.uk-button-default:focus {
    background: var(--c-gruen);
    border-color: var(--c-gruen);
    color: var(--c-weiss);
}

.uk-button-large {
    line-height: 48px;
    padding: 0 42px;
    font-size: 1rem;
}

/* ——— Header / Sticky ——— */
.site-header {
    z-index: 980;
    background-color: var(--cs-hell);
    background-image: var(--cs-streifen);
}

.site-header.uk-sticky-fixed,
.site-header.is-sticky {
    box-shadow: var(--header-shadow);
}

.topbar {
    background-color: var(--cs-dunkel);
    background-image: var(--cs-streifen);
    color: #bbbfc1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    gap: 16px;
}

.topbar-address {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.topbar-social .texts {
    color: #bbbfc1;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #bbbfc1;
}

.topbar-social a:hover {
    background: var(--c-gruen);
    color: var(--c-weiss);
}

.header-main {
    background-color: var(--cs-hell);
    background-image: var(--cs-streifen);
    padding: 22px 0;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.header-aside {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 40px;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.35;
}

.info-block .info-icon {
    color: #dbdbdb;
    flex-shrink: 0;
}

.info-block .title {
    display: block;
    color: var(--c-text);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.info-block .title a {
    color: #b4c0cd;
}

.info-block .title a:hover {
    color: #ffffff;
}

.info-block .subtitle {
    display: block;
    color: var(--c-text);
    font-size: 1rem;
}

.info-block .subtitle a {
    color: var(--c-text);
}

.info-block .subtitle a:hover {
    color: #ffffff;
}

.nav-bar {
    background: var(--c-gruen);
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-bar .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-mobile-tools {
    display: none;
    align-items: center;
    gap: 12px;
}

.nav-bar .menu > li > a {
    display: block;
    color: var(--c-weiss);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0 22px;
    line-height: 56px;
}

.nav-bar .menu > li > a:hover,
.nav-bar .menu > li > a.is-active {
    background: rgba(0, 0, 0, 0.12);
    color: var(--c-weiss);
}

.mobile-toggle {
    color: #bbbfc1;
    display: none;
}

.mobile-toggle:hover {
    color: var(--c-gruen);
}

#offcanvas-nav .uk-offcanvas-bar {
    background: var(--c-blau);
}

#offcanvas-nav .uk-nav a {
    color: var(--c-weiss);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#offcanvas-nav .uk-nav a:hover {
    color: var(--c-lichtgrau);
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 620px;
    background-image: url('../img/allgemein/hero.jpg');
    background-size: cover;
    background-position: 50% 50%;
    display: flex;
    align-items: center;
    overflow-x: clip;
}

.hero .uk-container {
    width: 100%;
}


.hero-inner {
    position: relative;
    z-index: 1;
    padding: 90px 0;
    color: var(--c-weiss);
    text-align: left;
}

.hero h1 {
    color: var(--c-weiss);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 500;
    margin: 0 0 4px;
}

.hero h1 .line-strong {
    display: block;
    font-weight: 600;
}

.hero .hero-sub {
    color: var(--c-weiss);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    margin: 18px 0 32px;
    opacity: 0.95;
}

/* ——— Section headings ——— */
.section {
    padding: 84px 0 90px;
}

.section-muted {
    background-color: var(--cs-dunkel);
    background-image: var(--cs-streifen);
}

.heading-block {
    margin-bottom: 48px;
}

.heading-block h2 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    margin: 0 0 14px;
}

.heading-block .sep {
    width: 54px;
    height: 2px;
    background: #dbdbdb;
    margin: 0 auto 18px;
}

.heading-block.left .sep {
    margin-left: 0;
}

.heading-block .sub {
    max-width: 720px;
    margin: 0 auto;
    color: var(--c-text);
    font-size: 1.15rem;
}

.heading-block.left .sub {
    margin-left: 0;
}

/* ——— Leistungen ——— */
.leistung {
    text-align: center;
    padding: 30px 22px;
}

.leistung .icon-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 22px;
    /* Glatt und in der helleren Farbe: die Form trägt der helle Ring,
       nicht die Füllung. Eine weiße Scheibe wäre auf dunklem Grund ein
       Lichtpunkt. Grün nur als Symbolfarbe - als Text trägt es hier nicht. */
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8da690;
    background-color: var(--cs-hell);
    background-image: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.leistung:hover .icon-wrap {
    background: var(--c-gruen);
    border-color: var(--c-gruen);
    color: var(--c-weiss);
}

.leistung h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.leistung h3 a {
    color: var(--c-heading);
}

.leistung h3 a:hover {
    color: #ffffff;
}

.leistung p {
    margin: 0;
    color: var(--c-text);
}

/* ——— Warum ——— */
.why {
    padding: 0;
    overflow-x: clip;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    min-height: 480px;
}

.why-image {
    flex: 1 1 50%;
    min-height: 420px;
    background: var(--c-gruen) url("../img/allgemein/warum.jpg") center center / cover no-repeat;
}

.why-content {
    flex: 1 1 50%;
    background-color: var(--cs-hell);
    background-image: var(--cs-streifen);
    padding: 8% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: clip;
}

.why-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--c-heading);
}

.why-list .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-gruen);
    color: var(--c-weiss);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ——— Beispiele ——— */
.beispiel {
    background-color: var(--cs-dunkel);
    background-image: var(--cs-streifen);
}

.beispiel a {
    display: block;
    overflow: hidden;
}

.beispiel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.beispiel a:hover img {
    transform: scale(1.04);
}

.beispiel figcaption {
    padding: 12px 8px 4px;
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    background-color: var(--cs-hell);
    background-image: var(--cs-streifen);
}

.uk-slidenav,
.uk-light .uk-slidenav,
.uk-dark .uk-slidenav {
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: var(--c-gruen);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.uk-slidenav:hover,
.uk-slidenav:focus,
.uk-light .uk-slidenav:hover,
.uk-light .uk-slidenav:focus,
.uk-dark .uk-slidenav:hover,
.uk-dark .uk-slidenav:focus {
    background: var(--c-gruen-hover);
    color: #ffffff;
}

.uk-slidenav svg {
    width: 18px;
    height: 18px;
}

/* ——— Werkstoffe ——— */
.werkstoffe p {
    font-size: 1.2rem;
    max-width: 760px;
    margin: 0 auto;
}

/* ——— Kontakt ——— */
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
}

.contact-item .icon-wrap {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8da690;
}

.contact-item h3 {
    font-size: 0.95rem;
    margin: 0 0 4px;
}

.contact-item p {
    margin: 0;
}

.phone-link {
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #b4c0cd;
    line-height: 1.2;
    text-transform: uppercase;
}

.phone-link:hover {
    color: #ffffff;
}

.note {
    margin-top: 8px;
    padding: 12px 16px;
    background-color: var(--cs-dunkel);
    background-image: var(--cs-streifen);
    border-left: 3px solid var(--c-gruen);
    font-size: 1rem;
}

.contact-form .uk-input,
.contact-form .uk-textarea {
    border: 2px solid #f0f0f0;
    border-radius: 0;
    background: transparent;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--c-text);
    padding: 10px 18px;
}

.contact-form .uk-input:focus,
.contact-form .uk-textarea:focus {
    border-color: var(--c-gruen);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.honeypot {
    display: none !important;
}

.map-wrap {
    margin-top: 40px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
}

.map-credit {
    text-align: center;
    font-size: 0.9rem;
    color: #bbbfc1;
    padding: 8px 0 12px;
}

/* ——— Footer ——— */
.site-footer {
    background: #20252b;
    color: #777;
    padding: 28px 0;
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--c-weiss);
}

.site-footer a:hover {
    color: var(--c-gruen);
}

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

/* ——— Impressum ——— */
.legal {
    padding: 70px 0 90px;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.legal h2 {
    font-size: 1.35rem;
    margin: 36px 0 12px;
    color: var(--c-weiss);
}

.legal h3 {
    font-size: 1.1rem;
    margin: 24px 0 8px;
}

.legal p,
.legal li {
    max-width: 780px;
}

.legal-dl {
    max-width: 780px;
    margin: 0 0 24px;
}

.legal-row {
    display: grid;
    grid-template-columns: minmax(140px, 240px) 1fr;
    gap: 8px 20px;
    margin: 0 0 10px;
}

.legal-row dt {
    margin: 0;
    font-weight: 600;
    color: var(--c-heading);
}

.legal-row dd {
    margin: 0;
}

.legal code {
    font-size: 0.9em;
}

/* ——— Alerts ——— */
.uk-alert-success {
    background: #e5f0e6;
    color: var(--c-gruen);
}

.uk-alert-danger {
    background: #f8eaea;
    color: #8a2a2a;
}

/* ——— Responsive ——— */
  @media (min-width: 960px) {
    .hero { min-height: max(620px, 32vw); }
  }

@media (max-width: 959px) {
    html {
        scroll-padding-top: 100px;
    }

    .header-info,
    .nav-bar,
    .header-aside .uk-button {
        display: none;
    }

    .header-mobile-tools {
        display: inline-flex;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .header-main {
        padding: 12px 0;
    }

    .brand-logo img {
        height: 42px;
    }

    .hero {
        min-height: 480px;
        text-align: center;
    }

    .hero-inner {
        padding: 70px 0;
        text-align: center;
    }
	

    .hero {
      background-position: 85% 50%;
      box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .30);
    }
    .hero h1,
    .hero .hero-sub { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 14px rgba(0, 0, 0, .55); }



    .section {
        padding: 56px 0 60px;
    }

    .why-image {
        flex-basis: 100%;
        min-height: 280px;
    }

    .why-content {
        flex-basis: 100%;
        padding: 40px 20px 50px;
    }

    .map-wrap iframe {
        height: 360px;
    }

    .phone-link {
        font-size: 1.45rem;
    }

    .legal-row {
        grid-template-columns: 1fr;
        gap: 2px;
        margin-bottom: 14px;
    }
}

@media (max-width: 639px) {
    .topbar-address {
        font-size: 0.9rem;
    }

    .topbar-social .texts {
        display: none;
    }

    .hero h1 {
        font-size: 1.85rem;
    }
}
/* Abstand zwischen den Galeriebildern im Slider.
   UIkit-Standard (uk-grid) wäre 30 px – zu viel für die Galerie, daher eigener Wert.
   Prinzip: Container um den Abstand nach links verschieben, jedes Bild bekommt den
   Abstand als Innenabstand links -> erstes Bild bleibt bündig, dazwischen entsteht die Lücke. */
.galerie-abstand {
    --galerie-gap: 4px;   /* Hier den Abstand einstellen */
    margin-left: calc(-1 * var(--galerie-gap));
}

.galerie-abstand > * {
    padding-left: var(--galerie-gap);
}