body
{ 
	font-family: arial, helvetica, sans-serif;
	padding: 0px;
	margin: 0px;
	font-size: 26px;
	line-height: 1.8em;
}

@media (min-width: 1240px) {
	body { 
		font-size: 18px;
	}
}

a {
    text-decoration: none; 
    color: #333333; 
}
a:visited, a:active, a:focus { outline: none; }

.hover {
	-moz-transition: 300ms ease;
	-webkit-transition: 300ms ease;
	-o-transition: 300ms ease;
	transition: 300ms ease;
}
.hover:hover {
	-moz-transition: 300ms ease;
	-webkit-transition: 300ms ease;
	-o-transition: 300ms ease;
	transition: 300ms ease;
	filter:alpha(opacity=100); -moz-opacity: 1.00; opacity: 1.00;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
}

.past-event { opacity: 0.6; }

#header {
	height: 80px;
	width: 100%;
	padding: 5px 0 32px 0;
	text-align: left;
	background-color: #000000;
}
@media (min-width: 1240px) {
	#header {
		width: 96%;
		padding: 5px 2% 32px 2%;
	}
}

#headerkopf {
	position: absolute;
	top: 0px;
	left: 15.1%;
}
#headerkopf img {
	width: auto;
	height: 117px;
}

#main {
	position: relative; 
	width: 92%;
    padding: 2%;
	margin: 2%;
	border: 1px solid #C7C7C7;
}
@media (min-width: 1240px) {
	#main {
		width: 66%;
		padding: 2% 2% 2% 2%;
		margin: 40px 15% 0px 15%;
	}
}

/* ---------- VIDEO-BEREICH / 3 BOXEN ---------- */
#mainvideo {
    position: relative;
    width: 96%;
    padding: 2%;
    margin: 0 auto;
}

.video-item {
    border: 1px solid #C7C7C7;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
    background: url(https://www.holiday-cars.net/test/media/interklicks-back/tw10.png)  repeat; 
}
.video-item:hover {
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.2);
    background-color: #BABABA;
    border: 1px solid #EDEDED;
}

/* 16:9 Thumbnail via Aspect-Ratio-Hack */
.video-thumbnail {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    background-position: center;
    background-size: cover;      /* statt 100% auto → vermeidet Verzerrung */
    padding-top: 56.25%;         /* exaktes 16:9 */
}

.video-details { padding: 20px; }

.video-item h3 {
    font-size: 33px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-item p {
    font-size: 26px;
    line-height: 1.5;
}

@media (min-width: 1240px) {
	/* GRID statt wrap/calc: 3 gleich breite Spalten, gleiche Höhe der Karten */
	.video-container {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
		width: 100%;
		padding: 0;
		margin: 40px 0 0;
	}

	/* Zentrierte Seite wie gehabt */
	#mainvideo {
		width: 70%;
		padding: 0;
		margin: 0 auto;
	}

	/* Karten über ganze Höhe, Inhalt gestreckt */
	.video-item {
		height: 100%;
		display: flex;
		flex-direction: column;
		margin-bottom: 0; /* Höhe kommt über Grid, nicht über margin */
	}

	/* gesamter Link streckt sich */
	.video-item > a {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
	}

	/* Details füllen Rest, Button nach unten */
	.video-details {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	/* Typo-Downsizing wie zuvor */
	.video-item p { font-size: 14px; line-height: 1.5; }
	.video-item h3 { font-size: 18px; }
}

/* --- Stichpunkte in den Video-Boxen (Premium/Standard/Anfrage) --- */
.video-details ul {
  margin: 10px 0 6px;
  padding-left: 0;
  list-style: none;
}
.video-details li {
  position: relative;
  padding-left: 1.2em;
  margin: 6px 0;
  font-size: 26px;
  line-height: 1.5;
}
.video-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: bold;
}
.video-details p i {
  display: inline-block;
  margin-top: 8px;
  opacity: 0.95;
}
/* Headlines etwas mehr Abstand zu den Bullets */
.video-item h3 { margin-bottom: 10px; }

/* Desktop/ab 1240px: kleinere Typo für Bullets */
@media (min-width: 1240px) {
  .video-details li {
    font-size: 14px;
    line-height: 1.5;
    margin: 4px 0;
  }
  .video-details ul { margin: 8px 0 4px; }
}

/* Button unten mittig, bündig in allen Karten */
.video-details .styled-button {
  align-self: center;
  margin-top: 20px;
}

/* ---------- Partner-Logos ---------- */
.logopartner {
	height: 60px;
	width: auto;
	border: 1px solid #C7C7C7;
	padding: 7px;
	background-color: #ffffff;
	filter:alpha(opacity=70); -moz-opacity: 0.70; opacity: 0.70;
}

/* ---------- Footer ---------- */
#footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;  
	width: 100%;
	padding: 30px 0 10px 0;
	margin: -80px 0 50px 0;
	color: #000000;
	font-size: 12px;
	line-height: 1.5em;
}
#footerbox {
	float: left;
	position: relative; 
	padding: 5px;
}
#footerbox img {
	width: 75%;
	height: auto;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70); 
	-moz-opacity: 0.7; 
	opacity: 0.7;
}
@media (min-width: 1240px) {
	#footer {
		width: 90%;
		padding: 15px 5% 15px 5%;
	}
}
#footer a { color: #000000; }

/* ---------- Buttons ---------- */
.styled-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #FFF;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}
.styled-button:hover { background-color: #0056b3; }

/* ---------- Formular ---------- */
.form-container {
	background-color: #ffffff; 
    width: 96%;
    margin: 0 auto;
    padding: 2%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
form {
	font-family: arial, helvetica, sans-serif;
    color: #333333;
    font-size: 17px; /
}
.form-field {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.form-field label { flex-basis: 30%; text-align: left; }
.form-field input[type="text"],
select,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    resize: vertical;
	width: 100%;
}
.char-count-container { text-align: right; color: #888; }
.checkbox-container { text-align: right; }
textarea { resize: vertical; }
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
}
button:hover { background-color: #0056b3; }


.shorts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}
.short-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #C7C7C7;
    background: url(https://www.holiday-cars.net/test/media/interklicks-back/tw30.png) repeat;
    box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.2);
}
.short-item:hover {
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.2);
    background-color: #BABABA;
    border: 1px solid #EDEDED;
}
.short-thumbnail {
    position: relative;
    aspect-ratio: 9 / 16;
    max-width: 40%;
    min-width: 120px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
    background-color: #000;
    min-height: 100%;
}
.short-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.short-details h3 {
    font-size: 26px;
    margin: 0;
    line-height: 1.3;
}
.short-details p {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.4;
}
@media (min-width: 1240px) {
    .short-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
		width: 100%;
		padding: 0;
		margin: 40px 0 0px 0;
    }
    .short-item { width: calc(33.33% - 20px); }
    .short-details h3 { font-size: 16px; }
    .short-details p { font-size: 13px; }
}
.short-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    padding: 2px 6px 2px 4px;
    border-radius: 3px;
}
.short-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
}
.short-duration-text {
    color: #fff;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

/* Mobile: Karten-Hintergrund fix & gute Lesbarkeit */
@media (max-width: 1239px) {
  .video-item {
    background: #ffffff;                  /* statt halbtransparentem Pattern */
    border-color: #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
  }

  /* Falls das Pattern zwingend bleiben soll: nur Details weiß hinterlegen */
  .video-details {
    background: rgba(255,255,255,0.98);   /* solider Weiß-Hintergrund unter Text */
    border-top: 1px solid #f0f0f0;
  }

  /* Lesbarkeit: Textfarben klar setzen */
  .video-item h3 { color: #111; }
  .video-item li,
  .video-item p { color: #222; }

  /* Button etwas vom Text absetzen */
  .video-details .styled-button {
    margin-top: 16px;
  }
}

/* Thumbnail bleibt 16:9 mit voller Bedeckung (zur Sicherheit) */
.video-thumbnail {
  background-size: cover;
  background-position: center;
  position: relative;
}

