/* Unter 1000 px: fliessendes Layout. Ab 1000 px bleibt die bisherige Optik unveraendert. */
@media (max-width:999px){
	html, body{ height:auto; }
	body{ font-size:15px; }
	img{ max-width:100%; height:auto; }

	.wrapper_all{ position:static; min-height:0; }
	.wrapper_centering, .wrapper_head, .wrapper_lower_head, .wrapper_main{
		float:none;
		width:auto;
	}
	.wrapper_head::after, .wrapper_main::after, .wrapper_lower_head::after, .wrapper_centering::after{
		content:"";
		display:block;
		clear:both;
	}

	.logo{ float:none; width:auto; height:auto; padding:10px 15px 5px; }

	.meta{ float:none; padding:0 10px 10px; }
	.meta ul{
		float:none;
		display:flex;
		flex-wrap:wrap;
		gap:6px;
		list-style:none;
	}
	.meta li{ float:none; display:block; flex:1 1 30%; }
	.meta a,
	.meta .cover a,
	.meta .muster a,
	.meta .customer a{
		float:none;
		display:block;
		box-sizing:border-box;
		width:auto !important;
		height:auto;
		min-height:44px;
		padding:11px 4px;
		font-size:12px;
		line-height:22px;
		border-radius:0 0 8px 8px;
		background:#a9a9ab !important;
	}
	.meta .customer a{ background:#c87f1e !important; }
	.meta .muster a{ background:#3f46d9 !important; }
	.meta .cover a{ background:#c936b4 !important; }
	.meta li#act_meta a{ color:#fff !important; text-decoration:underline; }

	.wrapper_lower_head{
		display:flex;
		align-items:center;
		gap:15px;
		padding:5px 15px 15px;
	}
	.head_animation{ float:none; order:2; width:42%; max-width:280px; height:auto; flex:none; }
	.slideshow{ width:100%; height:auto; aspect-ratio:280 / 300; }
	.slide{ width:100%; height:auto; }
	.slideshow_toggle{ left:auto; right:0; padding:8px 0 0 8px; background:rgba(255,255,255,.75); }
	.head_content{
		float:none;
		order:1;
		flex:1;
		width:auto;
		height:auto;
		padding:0;
		font-size:clamp(20px, 5.5vw, 32px);
		line-height:1.25;
	}
	.head_image{ display:none; }

	.content{ float:none; width:auto; padding:25px 15px; }
	h1{ font-size:clamp(20px, 5.4vw, 28px); line-height:1.25; }
	.content ul{ padding-left:22px; }

	.configurator{
		float:none;
		width:auto;
		margin:0 15px 20px;
		padding:0;
		background:#dedede;
		border-radius:12px;
	}
	.configurator::after{ content:""; display:block; clear:both; }
	.configurator_bottom{ display:none; }

	.steps{ float:none; display:flex; padding:0 0 10px; width:auto; }
	.steps div{
		float:none;
		flex:1;
		box-sizing:border-box;
		width:auto !important;
		height:auto !important;
		padding:10px 6px !important;
		font-size:12px;
		line-height:15px;
		text-align:center;
		border:0 !important;
		background:none !important;
	}
	#step1_active, #step2_active, #step3_active{ color:#c87f1e; text-decoration:underline; }

	.col_left, .col_right{
		float:none;
		width:auto;
		box-sizing:border-box;
		background:#fff;
		margin:0 10px;
		padding:15px;
	}
	.col_left{ border-radius:8px 8px 0 0; }
	.col_right{
		border-radius:0 0 8px 8px;
		margin-bottom:10px;
	}
	.photo_grid{
		display:grid;
		grid-template-columns:repeat(auto-fill, minmax(52px, 1fr));
		gap:10px;
	}
	.photo_grid::after{ display:none; }
	.col_right .photo_thumb{ float:none; width:auto; height:auto; padding:0; }
	.col_right .photo_thumb img{ width:100%; height:auto; }
	.page_button{ width:100%; height:auto; aspect-ratio:1; }
	.col_right .photo_thumb .page_button img{ width:100%; height:100%; }
	.album_help{ padding-right:0; font-size:12px; line-height:18px; }
	.page_actions{ padding-right:0; }
	.page_actions button{ min-height:44px; font-size:13px; }
	.text_button{ font-size:13px; line-height:24px; }
	.upload_column{ float:none; width:auto; }
	.upload_queue{ font-size:12px; line-height:16px; }
	.upload_message{ font-size:13px; line-height:18px; text-align:center; }
	.delete_all{ float:none; padding:12px 0 0; text-align:right; }
	.help{ float:none; width:auto; }
	.help_links{ padding-left:0; }
	.fileupload{ float:none; margin:15px auto 0; }
	.order_notice{ float:none; width:auto; text-align:center; }

	.gallery{ width:auto; display:grid; grid-template-columns:repeat(auto-fill, minmax(135px, 1fr)); }
	.gallery img{ width:100%; }
	.cover_list{ width:auto; }
	.cover_list li{ flex:1 1 90px; max-width:120px; }
	.cover_prices b{ display:block; margin:0; }

	.help_product{ display:block; }
	.help_product figure{ width:auto; max-width:320px; margin:0 0 15px; }
	.help_product figure img{ width:100%; }

	.wrapper_footer{ float:none; }
	.footer{ width:auto; padding:12px 15px 0; }

	.content p, .content li{ overflow-wrap:anywhere; }

	.upload_column .SUBMIT{ text-align:center; }
	.upload_column .SUBMIT a{ display:inline-block; }

	.cover_col_left, .cover_col_right{
		float:none;
		width:auto;
		box-sizing:border-box;
		background:#fff;
		margin:0 10px;
		padding:15px;
	}
	.cover_col_left{ border-radius:8px 8px 0 0; padding-bottom:0; }
	.cover_col_right{ border-radius:0 0 8px 8px; margin-bottom:10px; }
	.cover_col_right h2{ width:auto; float:none; padding:15px 0 10px; font-size:17px; line-height:22px; }
	.cover_choice{ width:calc(50% - 8px); box-sizing:border-box; padding-right:12px; }
	.cover_images{ margin:0 auto; }
	.cover_name{ text-align:center; padding:0; height:auto; min-height:26px; }
	.cover_quantity{ justify-content:center; }
	.cover_quantity button{ width:44px; height:44px; }
	.cover_quantity input{ width:44px; }
	.cover_summary{ padding:10px 0 0; }
	.cover_summary p{ float:none; line-height:20px; margin-bottom:10px; }
	.next_button{ float:none; display:block; margin:0 auto; }

	form[data-order-form]{ background:#fff; margin:0 10px 10px; padding:15px; border-radius:8px; }
	.col_order_1, .col_order_2, .col_order_3{ float:none; width:auto; padding:0; }
	.col_order_1 label, .col_order_2 label{ width:100%; }
	.col_order_1 input, .col_order_2 input{ width:100%; box-sizing:border-box; padding:9px 4px; font-size:16px; }
	.col_order_2 select{ width:100%; padding:9px 4px; font-size:16px; }
	.street{ width:calc(100% - 66px) !important; }
	.housenumber{ width:60px !important; }
	.zip{ width:88px !important; }
	.city{ width:calc(100% - 94px) !important; }
	.errors_order{ padding:0 0 10px; }
	.col_order_3 .label_agb{ width:calc(100% - 24px); padding-right:0; }
	.order_lines{ padding-right:0; }
	.order_submit{ float:none; display:block; margin:15px auto 0; }
	.thank_you{ padding:25px 15px 5px; }
	.thanks_body{ padding:0 15px 20px; }
	.girocode{ flex-direction:column; align-items:flex-start; }
}
