/* Project-specific styles for the Lautwein website. */
body {
	font-family: Arial, sans-serif;
}
.btn {
	border-radius:0;
}
.navbar-brand {
	padding:0
}
.navbar-brand img.img-fluid {
	width: inherit;
	max-height: 50px;
}
.phone-link {
	color:white;
	font-size:2rem;
	text-decoration:none;
}
.phone-link:hover {
	text-decoration:underline;
}

@media (max-width: 767px){
	#page-footer {
		text-align:center !important;
	}
}
@media (min-width: 1380px){
	.navbar-brand img.img-fluid {
		max-height:100px;
		transition: all 1s ease-in;
	}
	#main-navbar.navbar-shrink img.img-fluid {
		max-height: 50px;
	}
}
#main-navbar {
	padding:0 !important;
	margin:0;
	background-color: #064F86 !important;
	box-shadow: rgba(0, 0, 0, 0.5) 1px 0px 10px;
}
#main-navbar .dropdown-menu {
	border-radius:0;
}
#main-navbar .nav-link{
	color:#fff;
	border-bottom-width: 2px;
    border-bottom-style: solid;
	border-bottom-color:#064F86;
	font-size: 1.1rem;
	text-decoration:none;
}

#main-navbar .nav-link:hover, #main-navbar .nav-link.active{
	text-decoration:none;
	border-bottom-color:#fff;
}
.self_img-100w img{
	width:100%;
}
.carousel-caption.d-md-block {
    background-color: #064F86;
    padding: 5px 10px;
    border-bottom-color: #fff;
    border-bottom-style: solid;
    border-bottom-width: 5px;
    width: fit-content;
	font-size: 1rem;
}
.carousel-caption.d-md-block p {
	margin: 0 !important;
	padding: 0 !important;
}
.carousel-caption.d-md-block h5 {
	display:none;
}
#page-footer .container:first-child {
	position: relative;
    background-color: #064F86;

    box-shadow: 0 0 0 100vmax #064F86;
    clip-path: inset(0 -100vmax);
}
.jumbotron .carousel-caption {
	bottom: 3.5rem;
	display:block !important;
}
.jumbotron, .jumbotron img {
	height:50vh;
	overflow:hidden;
    object-fit: cover;
}

.jumbotron:not(:has(img)) {
    min-height: 80px;
}

/* Jumbotron ohne Bild */
.jumbotron {
    height: auto;
    overflow: hidden;
	background-color: #fff !important;
}

/* Jumbotron mit Bild */
.jumbotron:has(img), .jumbotron img {
    height: 50vh;
}

/* Bild im Jumbotron */
.jumbotron img {
    object-fit: cover;
}

/* Desktop */
@media (min-width: 992px) {
	
    .jumbotron:not(:has(img)) {
        min-height: 130px;
    }
    .jumbotron:has(img), .jumbotron img {
        height: 70vh;
    }
	.carousel-caption.d-md-block {
		font-size: 3rem;
	}
}

/* Große Bildschirme */
@media (min-width: 1400px) {
	
    .jumbotron:not(:has(img)) {
        min-height: 150px;
    }
    .jumbotron:has(img), .jumbotron img {
        height: 90vh;
    }
	.carousel-caption.d-md-block {
		font-size: 4rem;
	}
}


.navbar .dropdown-item.active, .navbar .dropdown-item:active, .navbar .dropdown-item:focus{
    background-color: #064F86;
}
.navbar .dropdown-item:focus {
    color: white;
}
.btn.btn-primary {
	background-color:#064F86;
	border-color:#064F86;
}
.card {
	border-radius: 0px !important;
	border-left: 1px solid rgba(0, 0, 0, 0.175) !important;
}
.card-img, .card-img-top {
	border-radius: 0px !important;
}
.card-group.gallery {
    gap: 1.5rem;
}
.card .card-body:nth-of-type(2) {
	padding-top:40px;
	position:relative;
}
.card .card-body:nth-of-type(2) .card-text {
	position:absolute;
	bottom:15px;
}


.lautwein-spacer {
    width: 100%;
}

/* XS */
.spacer-xs-zero {
    height: 0;
}
.spacer-xs-small {
    height: 2rem;
}

.spacer-xs-middle {
    height: 4rem;
}

.spacer-xs-large {
    height: 8rem;
}

/* SM */
@media (min-width: 576px) {
    .spacer-sm-zero {
        height: 0;
    }
    .spacer-sm-small {
        height: 2rem;
    }

    .spacer-sm-middle {
        height: 4rem;
    }

    .spacer-sm-large {
        height: 8rem;
    }
}

/* MD */
@media (min-width: 768px) {
    .spacer-md-zero {
        height: 0;
    }
    .spacer-md-small {
        height: 2rem;
    }

    .spacer-md-middle {
        height: 4rem;
    }

    .spacer-md-large {
        height: 8rem;
    }
}

/* LG */
@media (min-width: 992px) {
    .spacer-lg-zero {
        height: 0;
    }
    .spacer-lg-small {
        height: 2rem;
    }

    .spacer-lg-middle {
        height: 4rem;
    }

    .spacer-lg-large {
        height: 8rem;
    }
}

/* XL */
@media (min-width: 1200px) {
    .spacer-xl-zero {
        height: 0;
    }
    .spacer-xl-small {
        height: 2rem;
    }

    .spacer-xl-middle {
        height: 4rem;
    }

    .spacer-xl-large {
        height: 8rem;
    }
}

/* XXL */
@media (min-width: 1400px) {
    .spacer-xxl-zero {
        height: 0;
    }
    .spacer-xxl-small {
        height: 2rem;
    }

    .spacer-xxl-middle {
        height: 4rem;
    }

    .spacer-xxl-large {
        height: 8rem;
    }
}

.lautwein-section {
    width: 100%;
}

.lautwein-section--gray {
    background-color: #e5e5e5;
}

.lautwein-section--light-blue {
    background-color: #3481c5;
	color:white;
}

#page-content .main-content.pt-5 {
	padding-top:0 !important;
}
.image-ratio-16-9 img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
	object-position: 50% 50%;
}

.image-ratio-4-3 img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
	object-position: 50% 50%;
}

.image-ratio-1-1 img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
	object-position: 50% 50%;
}


/* ==========================================
   LAUTWEIN - POWERMAIL KONTAKTFORMULAR
   ========================================== */

/* Formularbreite */
.powermail_form {
    width: 100%;
    max-width: 800px;
}

/* Fieldset zurücksetzen */
.powermail_form .powermail_fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* Alle Bootstrap-Spalten untereinander */
.powermail_form .powermail_fieldset .row > .powermail_fieldwrap {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

/* Abstand zwischen den Feldern */
.powermail_form .powermail_fieldwrap {
    margin-bottom: 1.75rem;
}

/* Bootstrap Row-Abstände normalisieren */
.powermail_form .row {
    row-gap: 0;
}

/* Labels */
.powermail_form .powermail_label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #222;
}

/* Pflichtfeld-Stern */
.powermail_form .mandatory {
    color: #c0392b;
    margin-left: 2px;
}

/* Eingabefelder */
.powermail_form .form-control {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    color: #222;
    font-size: 1rem;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

/* Fokus */
.powermail_form .form-control:focus {
    border-color: #00538a;
    outline: 2px solid transparent;
    box-shadow: 0 0 0 2px rgba(0, 83, 138, 0.15);
}

/* Nachricht */
.powermail_form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

/* Captcha */
.powermail_form .powermail_captchaimage {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 0.75rem;
}

/* Datenschutz-Checkbox */
.powermail_form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-left: 0;
    margin-top: 0.5rem;
}

.powermail_form .form-check-input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0.1rem 0 0;
    border-radius: 0;
    cursor: pointer;
}

.powermail_form .form-check-label {
    cursor: pointer;
    line-height: 1.5;
}

/* Absenden-Button */
.powermail_form input[type="submit"] {
    border-radius: 0;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Fehlermeldungen */
.powermail_form .powermail_field_error_container {
    color: #c0392b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Mobile */
@media (max-width: 767px) {
    .powermail_form {
        max-width: 100%;
    }

    .powermail_form .powermail_fieldwrap {
        margin-bottom: 1.5rem;
    }
	#page-footer #c1 .column {
		margin-bottom:20px;
	}
}


/* Bildcontainer */
.lautwein-copyright-container {
    position: relative;
}

/* Copyright-Text */
.lautwein-copyright-container::after {
    content: attr(data-copyright);
    position: absolute;
    right: 10px;
    top: 50%;

    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    white-space: nowrap;

    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);

    pointer-events: none;
    z-index: 5;
}