/* siehe https://staging.hugobeck.com/de/loesungsportfolio/verpacken/schlauchbeutelmaschinen/kontinuierlich/servo-x-800 */
@media (min-width: 1280px) {
	.mod.news .wrapper__news.isDuos .news__elem { width: 66%; }
	.mod.news .wrapper__news.isDuos .news__elem:first-child { justify-self: end; }
	.mod.news .wrapper__news.isDuos { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
	.mod.news .wrapper__news.isSingle { grid-template-columns: 1fr; }
	.mod.news .wrapper__news.isSingle .news__elem { width: calc(50% - 15px); justify-self: center; }
}
@media (min-width: 1280px) {
	.mod.news .wrapper__news.isSingle { grid-template-columns: 1fr; }
	.mod.news .wrapper__news.isSingle .news__elem { width: 33%; justify-self: center; }
}

/* siehe https://staging.hugobeck.com/de/branchen/holz-und-langteile */
@media (min-width: 768px) {
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos .content__elem { width: 100%; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos .content__elem:first-child { justify-self: end; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos { grid-template-columns: 1fr 1fr !important; }
}

@media (min-width: 1280px) {
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos .content__elem { width: 66%; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos .content__elem:first-child { justify-self: end; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isDuos { grid-template-columns: 1fr 1fr !important; }
}

@media (min-width: 768px) {
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isSingle { grid-template-columns: 1fr !important; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isSingle .content__elem { width: calc(50% - 15px); justify-self: center; }
}
@media (min-width: 1280px) {
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isSingle { grid-template-columns: 1fr !important; }
	.mod.distribution .wrapper__distribution__content .wrapper__content__elem.rowCount3-desktop.isSingle .content__elem { width: 33%; justify-self: center; }
}

/* 2 und 1 Element:  https://staging.hugobeck.com/de/verpackungsarten/folie/trennschweissung-unten */

nav #nav__top.wGrey { background: #fff; }
nav #nav__top.wGrey .lang:after { background-position: -60px -20px; }

.mod.news .wrapper__news .news__elem .info { color: #B2B2B2; }
.mod.teaser .teaser__cta .cta { font-size: 20px; padding: 15px 20px; }

/* === MOD Text-Divider v2 === */
.mod.text-divider-v2 {
	font-family: 'ITC Avant Garde Gothic W01 Dm';
  }

  .mod.text-divider-v2 .inner {
	background:#008BD2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top:65px;
	padding-bottom:65px;

  }

  .mod.text-divider-v2 .inner h1 {
	margin-bottom:20px;
	padding:0 30px;
	color: #fff;
	font-size: 38px;
  }

  .mod.text-divider-v2 .inner button {
	font-family: 'ITC Avant Garde Gothic W01 Bk', sans-serif;
	color:#008BD2;
	background:#fff;
	padding:10px;
	border: unset;
	font-size: 1rem;
  }

  .mod.text-divider-v2 .inner button:hover {
	cursor: pointer;
  }

  @media only screen and (max-width: 768px) {

	.mod.text-divider-v2 {
	  width: 100%;
	  padding-right: 0;
	  padding-left: 0;
	  margin-right: 0;
	  margin-left: 0;
	}

	.mod.text-divider-v2 .inner {
	  padding-bottom: 50px;
	  padding-top:50px;
	}

	.mod.text-divider-v2 .inner h1 {
	  font-size:25px;
	  line-height: 28px;
	}
  }

#site-1 .frame-default {
	height: 711px !important;
}

@media only screen and (max-width: 480px) {
	#site-1 .frame-default{
		height: 530px !important;
	}
}


.mod.fluid.stage.sub {
    position: relative;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
	/* max-height: 398px; */
}

.mod.fluid.stage.sub.height-100 {
    /* height: 100vh; */
    background-color: var(--bgcolor, transparent); /* Fallback für bgColor */
}

.mod.fluid.stage.sub.width-100 {
    height: auto;
    background-color: var(--bgcolor, transparent); /* Fallback */
}

.mod.fluid.stage.sub.dynamic-bg {
    position: relative;
    z-index: 20;
    background-size: cover;
}

.header-badge {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.bg-image {
    display: none;
}

/* nav #nav__main {
	padding-top: 5px;
	padding-bottom: 5px;
}

@media screen and (min-width: 1280px) {
	nav #nav__main {
		padding-top: 10px;
		padding-bottom: 10px;
	}
} */

nav #nav__main .logo {
	background-image: url('https://staging.hugobeck.com/fileadmin/Logo/Logo_HugoBeck_de.png') !important;
}

html[lang="en"] nav #nav__main .logo {
	background-image: url('https://staging.hugobeck.com/fileadmin/Logo/Logo_HugoBeck_en.png') !important;
}

nav #nav__main .logo {
    width: 250px;
    height: 75px;

    display: inline-block;
}

@media screen and (min-width: 1280px) {
    nav #nav__main .logo {
		margin-bottom: 1rem;
        width: 200px;
        height: 80px;
    }
}	

#site-1 .frame-default {
	margin-top: 24px;
}

@media screen and (max-width: 1279px) {
	.wrapper__search {
		padding-top: 43px;
		padding-bottom: 43px;
	}
}

.mod.contact .inner .wrapper__contacts .elem__contact .text h3 {
    display: inline-block;
}

.street.description {
	ul {
		list-style-type: disc;
		margin: 20px 0;
		padding-left: 30px;
	}
}

/* https://gitlab.elbwind.eu/hugobeck/hugobeck.com/-/issues/82 **/


#contacttiles .elem__contact,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact  {
	width: 100%;
	gap: 15px;
	flex-direction: column;
	margin-bottom: 64px;
}

#contacttiles .elem__contact {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	#contacttiles .elem__contact,
	.mod .inner .wrapper__departments .wrapper__contacts .elem__contact,
	.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact  {
		flex-direction: row;
		gap: 72px;
		padding: 0;
	}
}

@media (min-width: 1200px) {
	#contacttiles .elem__contact,
	.mod .inner .wrapper__departments .wrapper__contacts .elem__contact,
	.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact  {
		gap: 72px;
	}
}

#contacttiles .elem__contact .image,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .image,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .image {
	max-width: 351px;
	max-height: 263px;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
	#contacttiles .elem__contact .image,
	.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .image,
	.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .image {
		max-width: 100%;
		max-height: 250px;
		width: 100%;
		height: 100%;
	}
}

#contacttiles .elem__contact .image img,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .image img,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .image img {
	height: 100%;
	object-fit: cover;
}

#contacttiles .elem__contact .text,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text {
    width: 100%;
	padding: 0;
	color: #525254;
	font-size: 16px;
}

@media (max-width: 768px) {
	#contacttiles .elem__contact .text,
	.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text,
	.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text {
		margin-top: 0;
	}
}

#contacttiles .elem__contact .text .name,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .name,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .name {
	font-weight: 300;
	line-height: 24px;
	font-size: 20px;
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	#contacttiles .elem__contact .text .name,
	.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .name,
	.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .name {
		line-height: 22px;
	}
}

#contacttiles .elem__contact .text .position,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .position,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .position {
	line-height: 22px;
	margin-bottom: 29px;
}

#contacttiles .elem__contact .text .phone,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .phone,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .phone {
	color: #525254;
	font-size: 16px;
	font-weight: 300;
	margin-bottom: 16px;
}

#contacttiles .elem__contact .text .phone a,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .phone a,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .phone a {
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 15px;
	padding-left: 5px;	
	font-size: 16px;
}

#contacttiles .elem__contact .text .mail,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .mail,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .mail {
	color: #525254;
	font-size: 14px;
	font-weight: 300;
	margin-bottom: 16px;
	font-size: 16px;
}

#contacttiles .elem__contact .text .mail a,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .mail a,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .mail a {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-left: 5px;		
	margin-bottom: 0;
	font-size: 16px;
}

#contacttiles .elem__contact .text .mail a:hover,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .mail a:hover,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .mail a:hover {
    color: #008BD2;
    text-decoration: none;
}


#contacttiles .elem__contact .text .responsible,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .responsible,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .responsible {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-left: 5px;
	position: relative;
	font-size: 16px;
	width: fit-content;
}

.mod.distribution .inner .wrapper__distribution__content .elem__contact .www {
	margin-bottom: 0;
}

.mod.distribution .inner .wrapper__distribution__content .elem__contact .www a,
.mod.us_microsite .inner .wrapper__contacts .elem__contact .website a {
	display: flex !important;
	align-items: center;
	gap: 15px;
	padding-left: 5px !important;
	position: relative;
	font-size: 14px;
	width: fit-content;
	color: #525254;
	margin-bottom: 16px !important;
}

.mod.distribution .inner .wrapper__distribution__content  .elem__contact .www a::before,
.mod.us_microsite .inner .wrapper__contacts .elem__contact .website a::before {
	content: unset !important;
}

.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .www a:hover {
    color: #008BD2;
    text-decoration: none;
}

#contacttiles .elem__contact .text .www a:hover,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .www a:hover,
#contacttiles .elem__contact .text .phone a:hover,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .phone a:hover {
    color: #008BD2;
    text-decoration: none;
}

/** RESET */

#contacttiles .elem__contact .text .phone a::before,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .phone a::before,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .phone a::before,
#contacttiles .elem__contact .text .mail a::before,
.mod .inner .wrapper__departments .wrapper__contacts .elem__contact .text .mail a::before,
.mod .inner .wrapper__distribution__content .wrapper__contacts .elem__contact .text .mail a::before {
	content: unset;
}

#contacttiles {
	margin-top: 69px;
}

@media (max-width: 768px) {
	#contacttiles {
		margin-top: 36px;
	}
}

#contacttiles .wrapper__contacts {
	max-width: 774px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

#contacttiles .wrapper__contacts .elem__contact {
	min-height: 263px;
}

#contacttiles.has-colored-bg {
	background: #f1f1f1;
}

.wrapper__distribution__content .name {
	font-style: normal !important;
}


#contacttiles .name {
	font-family: 'ITC Avant Garde Gothic W01 Dm';
	font-style: normal;
	margin-bottom: 26px !important;
}

#contacttiles .mail {
	margin-top: 16px;
}

body {
	padding-top: 125px;
}


/** spacing only for after sales page (id=site-31) */

.wrapper__contacts .elem__contact {
  margin-top: 64px;
}

.wrapper__contacts .elem__contact:first-child {
  margin-top: 0;
}

/* CMS CORE EXTENSION FORM STYLING */
.frame-type-form_formframework {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
 
/* Layout */
.frame-type-form_formframework .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
 
.frame-type-form_formframework .col-6 {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}
 
/* Form groups */
.frame-type-form_formframework .form-group {
    margin-bottom: 20px;
}
 
/* Labels */
.frame-type-form_formframework .form-label {
    display: block;
    margin-bottom: 6px;
    color: #333;
}
 
/* Required marker */
.frame-type-form_formframework .required {
    color: #d00;
    margin-left: 3px;
}
 
/* All text-like inputs */
.frame-type-form_formframework input.form-control,
.frame-type-form_formframework textarea.form-control,
.frame-type-form_formframework select.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    font-size: 15px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
 
/* Focus */
.frame-type-form_formframework input.form-control:focus,
.frame-type-form_formframework textarea.form-control:focus,
.frame-type-form_formframework select.form-control:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0,102,255,.15);
}
 
/* Textarea */
.frame-type-form_formframework textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
 
/* Select */
.frame-type-form_formframework select.form-control {
    appearance: auto;
    cursor: pointer;
}
 
/* Checkbox and radio groups */
.frame-type-form_formframework .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
 
.frame-type-form_formframework .form-check input[type="checkbox"],
.frame-type-form_formframework .form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}
 
.frame-type-form_formframework .form-check-label {
    cursor: pointer;
}
 
/* Inline checkbox/radio */
.frame-type-form_formframework .form-check-inline {
    display: inline-flex;
    margin-right: 20px;
}
 
/* File upload */
.frame-type-form_formframework input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
}
 
/* Date / time / number */
.frame-type-form_formframework input[type="date"],
.frame-type-form_formframework input[type="time"],
.frame-type-form_formframework input[type="datetime-local"],
.frame-type-form_formframework input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
 
/* Fieldsets */
.frame-type-form_formframework fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 25px;
}
 
.frame-type-form_formframework legend {
    padding: 0 10px;
}
 
/* Help text */
.frame-type-form_formframework .help-block,
.frame-type-form_formframework .form-text {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}
 
/* Errors */
.frame-type-form_formframework .has-error .form-control,
.frame-type-form_formframework .form-error {
    border-color: #d00;
}
 
.frame-type-form_formframework .error,
.frame-type-form_formframework .help-block-error {
    color: #d00;
    font-size: 14px;
    margin-top: 5px;
}
 
/* Submit area */
.frame-type-form_formframework .actions {
    position: static !important;
    margin-top: 30px;
    clear: both;
}
 
/* TYPO3 navigation fixes */
.frame-type-form_formframework .form-navigation,
.frame-type-form_formframework .btn-toolbar,
.frame-type-form_formframework .btn-group {
    position: static !important;
	display:inline;
}
 
/* Buttons */
.frame-type-form_formframework button,
.frame-type-form_formframework .btn {
    display: inline-block;
    width: 100%;
    padding: 14px 25px;
    border: none;
    background: #008BD2;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease;
}
 
/* Reset button */
.frame-type-form_formframework button[type="reset"] {
    background: #777;
}
 
/* Disabled fields */
.frame-type-form_formframework input:disabled,
.frame-type-form_formframework select:disabled,
.frame-type-form_formframework textarea:disabled {
    background: #eee;
    cursor: not-allowed;
}
 
/* Mobile */
@media(max-width:768px){
    .frame-type-form_formframework .col-6 {
        flex: 1 1 100%;
    }
 
    .frame-type-form_formframework {
        padding: 20px;
        margin: 20px auto;
    }
}

