@font-face {
    font-family : 'Roboto Regular';
    src: 	url('https://aplusa2025.newsletter-big-arbeitsschutz.de/fonts/Roboto_Condensed-Regular.ttf') format('ttf'),
    font-weight : 400;
    font-style  : normal;
    font-display: swap;
}

@font-face {
    font-family : 'Univers Extra Bold';
    src: 	url('https://big.show-tangram.de/fonts/Univers-ExtraBlack.woff2') format('woff2'),
			url('https://big.show-tangram.de/fonts/Univers-ExtraBlack.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

@font-face {
    font-family : 'Univers Condensed Bold';
    src         : url('https://big.show-tangram.de/fonts/Univers-CondensedBold.woff2') format('woff2'), url('https://big.show-tangram.de/fonts/Univers-CondensedBold.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

@font-face {
    font-family : 'Univers Condensed Bold Italic';
    src         : url('https://big.show-tangram.de/fonts/UniversCondensed-BoldItalic.woff2') format('woff2'), url('https://big.show-tangram.de/fonts/UniversCondensed-BoldItalic.woff') format('woff');
    font-weight : 900;
    font-style  : normal;
    font-display: swap;
}

/* Basis-Styling */
html,body{
	width:100%;
	max-width:360px;
	margin-left:auto;
	margin-right:auto;
	}
body {
    font-family: "Roboto Regular", sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
	flex-direction: column;
	flex-wrap:wrap;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-weight: 300;
    align-content: center;
}

#container {
	width: 100%;
	max-width: 360px;
    background-color: #fff;
	margin-top:10px;
	margin-bottom:10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
     animation: fadeIn 0.5s ease-in-out;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
	flex-wrap:wrap;
    min-height:96vh;
    padding:0;
    box-sizing: border-box;
}

#banner {
    width: 100vw;
	height:auto;
	max-width:360px;
	max-height:682px;
	margin-left:0;
	margin-right:0;
    margin-top:-50px;
    margin-bottom: 150px;
	}

#logo {
    width: 50%;
    margin-bottom: 3vh;
	margin-top:20px;
}

h1,h2,p,#logo{
	margin-left:20px;
	margin-right:20px;
	}
	
#brandicons {
    background: #ffd500;
    min-height: 50px;
    margin:0;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: center;
	align-items:center;
	align-self:center;
    padding:0;
    box-sizing: border-box;
	width:100%;
	max-width:360px;
	}

#brandicons img {
    margin: 10px;
    align-self: center;
    height: auto;
    max-height: 40px;
	}	
	
#typeswitch {
    display:flex;
    flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-evenly;
	align-items:center;
	align-self:center;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}	

#emailForm,#postForm{
	padding-left:10px;
	padding-right:10px;
	}

/* Bild bekommt diese Klasse, wenn es verschwinden soll */
/* Basiszustand: sichtbar */
.img-veil{
  display: block;              /* oder inline-block – je nach Layout */
  overflow: hidden;            /* für Collapsing */
  max-height: 1000px;          /* > reale Höhe wählen */
}

/* Bild-Animation */
.img-veil > img{
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: top center;
  will-change: opacity, transform;
  transition: opacity 2.5s ease, transform 2.5s cubic-bezier(.22,.61,.36,1);
}

/* Wrapper kollabiert (Höhe/Margins/Padding optional mitziehen) */
.js .img-veil.is-hiding{
  max-height: 0;
  padding-top: 0; padding-bottom: 0;
  margin-top: 0;  margin-bottom: 0;
  transition: max-height 2.5s ease, padding 2.5s ease, margin 2.5s ease;
}

.js .img-veil.is-hiding > img{
  opacity: 0;
  transform: translateY(-10vh) scale(.9);
  pointer-events: none;
}

/* Barrierefreiheit: reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce){
  .img-veil, .img-veil > img{
    transition: none !important;
  }
}



a {
    color: inherit;
}

h1, h2 {
    color: #333;
    margin-bottom: 20px;
    font-family: 'Univers Condensed Bold Italic',,system-ui,-apple-system, BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans", "Ubuntu", "Cantarell", "DejaVu Sans","Liberation Sans","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",sans-serif;;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    text-align: left;
}

.catalogues {
    box-sizing: border-box;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;

}

.catalogues > div {
    width: 45%;
    display: inline-flex;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;

}

.catalogues > div img {
    width: 100%;
}

h2 {
    font-size: 25px;
}

/* Formular-Styling */
form {
    display: flex;
    flex-direction: column;
    
}

form label {
    font-weight: 300;
    font-size: .7rem;
    margin-bottom: 5px;
    color: #555;
    animation: slideInLeft 0.5s ease-in-out;
	font-family: "Roboto Regular",system-ui,-apple-system, BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans", "Ubuntu", "Cantarell", "DejaVu Sans","Liberation Sans","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",sans-serif;;
}

form label span {
    font-size: 1rem;
    font-weight: 500;
}

form label img {
opacity: .5;
}

form label img.active {
    opacity: 1;
    }

    .catalogues input {
        display: none;
    }


form input,
form select {
	font-family:"Roboto Regular",system-ui,-apple-system, BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans", "Ubuntu", "Cantarell", "DejaVu Sans","Liberation Sans","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",sans-serif;
		padding: 10px;
		margin-bottom: 15px;
		border: none;
		border-bottom: 1px solid #ccc;
		background-color: #f9f9f9;
		border-radius: 5px;
		font-size: 16px;
		transition: border-color 0.3s ease-in-out;
		animation: slideInRight 0.5s ease-in-out;
}

form select {
    appearance: none;
}

form input[type="checkbox"] {
    margin-top: 5px;
}

form input:focus,
form select:focus {
    border-color: #F8D648;
    outline-color: #F8D648;
}

/* Button-Styling */
form input[type="submit"] {
	font-family: "Roboto Regular",system-ui,-apple-system, BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans", "Ubuntu", "Cantarell", "DejaVu Sans","Liberation Sans","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",sans-serif;;
    background-color: #F8D648;
    color: #3A3537;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: slideInUp 0.5s ease-in-out;
    margin-top: 20px;
}

form input[type="submit"]:hover {
    background-color: #F8D648;
}



p {
    line-height: 130%;
    font-size:1rem;
}

button {
	font-family: "Roboto Regular",system-ui,-apple-system, BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans", "Ubuntu", "Cantarell", "DejaVu Sans","Liberation Sans","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",sans-serif;;
    width: 47%;
    border: none;
    appearance: none;
    padding: 15px 20px;
    background: #e2e2e2;
    color: #3A3537;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    font-weight: 500;
    font-size: 1rem;
}

button.selected {
    background: #F8D648;
    color: #3A3537;
}

/* Animationen */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
