/* links */
a:link, a:visited {
        	font-size: 1.0em;
 	color: #000000;
 	font-weight: normal;
 	text-decoration:underline;
}

a:hover {
	font-size: 1.0em;
 	color: #4F8918;
 	text-decoration:none;
}

a.button {
 	background: #307dbe;
         font-size: 1.0em;
 	color: #FFFFFF;
         text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
         text-decoration:none;

         margin: 2px;
         padding: 4px 5px 4px 8px;

         -webkit-border-radius: 3px;
         -moz-border-radius: 3px;
         border-radius: 3px;

         -moz-box-shadow:    inset 0px 0px 5px rgba(0,0,0,0.2);
   	-webkit-box-shadow: inset 0px 0px 5px rgba(0,0,0,0.2);
   	box-shadow:         inset 0px 0px 5px rgba(0,0,0,0.2);

         cursor: pointer;
}

a.button:hover {
 	background: #256eab;
 	color: #FFFFFF;

         -moz-box-shadow:    inset 0px 0px 8px rgba(0,0,0,0.5);
   	-webkit-box-shadow: inset 0px 0px 8px rgba(0,0,0,0.5);
   	box-shadow:         inset 0px 0px 8px rgba(0,0,0,0.5);
}

body {
     	background:#6fa9da;
 	margin:0;
         padding:0;
         min-width: 320px !important;
         width:100%;
         height:100%;

         font-size: 1.0em;
         font-family: 'PT Sans', sans-serif;
    	font-family: 'Roboto', sans-serif;
}

table, td {
       	font-size: 1.0em;
	font-weight: normal;
	text-align:left;
	color:#8E8882;
         vertical-align:top;
}

.tab { background-color:#EFEFEF; font-size: 10pt; }
.tab2 { background-color:#E8E7E6; font-size: 10pt; }
.tabbgok { background-color:#EFEFEF; color:#779F09; font-size: 10pt; }
.tabbgstorno { background-color:#EFEFEF; color:#B30000; font-size: 10pt; }
.tabbgoffen { background-color:#EFEFEF; color:#FF8000; font-size: 10pt; }
.tabhead { background-color:#86AC1B; color:#ffffff; font-weight: bold; padding:2px; }

.clear { clear:both; }
.pad { padding: 10px 15px; }
.pad2 { padding: 5px 15px; }
.center { text-align: center; }
.small { font-size: 0.7em; }
.medium { font-size: 0.9em; }
.big { font-size: 1.4em; }

/* Überschriften */
h1, h2.header, h3.header, h4.header {
 	font-size: 1.8em;
 	font-weight: bold;
 	text-align:center;
 	vertical-align:top;
 	color:#FFFFFF;
 	margin: 0px 0px 0px 0px;
         padding: 10px 0 0;
         text-shadow: rgba(0,0,0,0.3) 1px 1px 2px;
         background:transparent;
}

h2 {
 	font-size: 1.5em;
 	font-weight: bold;
 	text-align:center;
 	vertical-align:top;
 	color:#4F4F4F;
 	margin: 0px 0px 0px 0px;
         padding: 2px 5px 2px 5px;
         background:#F8F8F6;
}

h3 {
 	font-size: 1.3em;
 	font-weight: bold;
 	text-align:center;
 	vertical-align:top;
 	color: #000000;
 	margin: 0px 0px 0px 0px;
         padding: 0px 0px 0px 0px;
}

h4 {
 	font-size: 1.2em;
 	font-weight: bold;
 	text-align:center;
 	vertical-align:top;
 	color:#5F5F5F;
 	margin: 0px 0px 0px 0px;
         padding: 0px 0px 0px 0px;
}

#datenschutz h4 {
 	font-size: 1.4em;
 	font-weight: bold;
 	text-align:left !important;
 	vertical-align:top;
 	color:#5F5F5F;
 	margin: 0px 0px 0px 0px;
         padding: 0px 0px 0px 0px;
}

h5 {
 	font-size: 1.2em;
 	font-weight: bold;
 	text-align:center;
 	vertical-align:top;
 	color:#5F5F5F;
 	margin: 2px 0px 2px 0px;
         padding: 0px 0px 0px 0px;
         background-color:#F8F8F6;
         width:99%;
}

/* Seitenaufbau */
#wrapper {
	width: 100%;
         height: 100%;
         margin: 0px;
         padding: 0px;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 16px max(20px, calc((100% - 800px) / 2));
    box-sizing: border-box;
         width: 100%;
         height: auto;
         background: #FFFFFF;
         -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:    0px 3px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow:         0px 3px 5px 0px rgba(0, 0, 0, 0.15);
}















#infobox_aktion {
	width: 100%;
	margin: 0px 0px 10px 0px;

         text-align: center;
         font-weight: bold;
         font-size: 1.6em;
         text-decoration: none;
         color: #FFFFFF;
}

#infobox_aktion img {
	border: 0px;
         width: inherit;
         height: auto;


         -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

         -webkit-box-shadow: 0px 0px 5px 0px rgba(115, 140, 6, 0.95);
	-moz-box-shadow:    0px 0px 5px 0px rgba(115, 140, 6, 0.95);
	box-shadow:         0px 0px 5px 0px rgba(115, 140, 6, 0.95);

}

#logo {
    width: 410px;
    max-width: 100%;
    flex: 0 1 410px;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
}
#logo a {
    display: block;
}
#logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#header-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 210px;
    max-width: 100%;
    flex: 0 0 210px;
    padding: 0;
}
#header-nav a {
    display: block;
    padding: 12px 18px;
    border-radius: 6px;
    background: #edf4fa;
    color: #205782;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}
#header-nav a:hover,
#header-nav a:focus {
    background: #307dbe;
    color: #ffffff;
}
#header-nav a:focus-visible {
    outline: 2px solid #17364f;
    outline-offset: 2px;
}


















#footer {
         width: 100%;
         margin: 10px 0px;
}
#footer .innen {
         padding: 5px 20px;
         margin: 10px auto;

         font-size: 0.9em;
	font-weight: normal;
	text-align:center;
	color:#FFFFFF;
         text-shadow: rgba(0,0,0,0,2) 1px 1px 0px;
}

#footer .innen a {
         font-size: 0.9em;
	font-weight: normal;
	color:#FFFFFF;
         text-shadow: rgba(0,0,0,0,2) 1px 1px 0px;
}
#footer .innen a:hover {
	color:#000000;
         text-shadow: rgba(255,255,255,0,2) 1px 1px 0px;
}

#footer .innen a.big {
	display: inline-block;

         font-weight: bold;
         color: #000000;
	font-size: 1.2em;
         text-decoration: none;

         padding: 3px 8px;
         margin-bottom: 10px;

         background: #FFFFFF;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#footer .innen a.big:hover {
         color: #FFFFFF;
         background: #4d4d4d;
}

/* Footermenue */
#footer .footer-nav {
    max-width: 800px;
    margin: 0 auto 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
#footer .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer .footer-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #205782;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
#footer .footer-nav a:hover,
#footer .footer-nav a:focus {
    background: #cbdde9;
    color: #17364f;
    text-decoration: underline;
}
#footer .footer-nav a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}
/* Boxen */
.contentbox {
         width: 100%;
         margin: 5px auto 15px auto;
         background: #FFFFFF;

         color: #000000;
         font-size: 1.0em;
         font-weight: normal;

         -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

         -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:    0px 3px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow:         0px 3px 5px 0px rgba(0, 0, 0, 0.15);
}

.contentbox .top, .contentbox .top2 {
         display: block;
         margin: 0px;
         padding: 3px 10px;
         background: #575757;
         -webkit-border-top-left-radius: 9px;
	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topleft: 9px;
	-moz-border-radius-topright: 9px;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;

         color: #FFFFFF;
         font-size: 1.6em;
         text-align: center;
         font-weight: bold;
         text-shadow: #000000 1px 1px 1px;
}

.contentbox .top2 {
         padding: 7px 10px;
         background: #c3c3c3;
         color: #575757;
         text-shadow: #FFFFFF 1px 1px 1px;
}

.box3er div.contentbox {
         float:left;
         margin-left: 10px;
}

.box3er div.contentbox.l {
         width: calc(40% - 0px);
         margin-left: 0px;
         font-size: 1.1em;
}
.box3er div.contentbox.m {
         width: calc(28% - 10px);
         margin-left: 10px;
         font-size: 0.9em;
}
.box3er div.contentbox.r {
         width: calc(32% - 10px);
         margin-left: 10px;
         font-size: 0.9em;
}
.box3er img { float: right; }
.box3er div.contentbox.m .pad2,.box3er div.contentbox.r .pad2 { padding: 10px 15px; }

/* Startseite */
#lose_ankauf, #lose_verkauf {
	float:left;
         width: calc(100% - 250px);
         max-width: none;
         cell-spacing: 0px;
}

/* Bestell-Form */
#form_ankauf, #form_verkauf, .wert {
	float:right;
         width: 220px;
         padding: 10px;
         margin-bottom: 10px;
         background: #EFEFEF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
         text-align: center;
}

#form_ankauf input, #form_verkauf input, form.f input { width: calc(100% - 20px); }
#form_ankauf input[type="text"], #form_verkauf input[type="text"] { background:#FFFFFF; border: 1px #AFAFAF solid; }
#form_ankauf input[type="submit"], #form_verkauf input[type="submit"] { width: calc(100% - 6px); }

form[name="f"] input { width: calc(100% - 20px); font-size: 1.1em; }
form[name="f"] select { width: calc(100% - 8px); font-size: 1.1em; }
form[name="f"] input[type="submit"] { width: calc(100% - 8px); font-size: 1.3em; }

#lose_ankauf td, #lose_verkauf td {
	padding: 5px 0px 7px 0px;
	border-bottom: 3px #DFDFDF dotted;
}

.wert b {
	display: block;
         font-size: 0.9em;
         padding: 2px;
         margin-bottom: 10px;
         background: #FFFFFF;
         color: #6F6F6F;
         -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#error_info {
	display: none;
	width: calc(100% - 20px);
         padding: 4px 10px;
         margin: 0px 0px 5px 0px;

         color: #FFFFFF;
         font-weight: bold;
         text-align: center;

         -webkit-border-radius: 25px;
         -moz-border-radius: 25px;
         border-radius: 25px;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c92023+0,aa0306+100 */
	background: #c92023; /* Old browsers */
	background: -moz-linear-gradient(top,  #c92023 0%, #aa0306 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #c92023 0%,#aa0306 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #c92023 0%,#aa0306 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c92023', endColorstr='#aa0306',GradientType=0 ); /* IE6-9 */
}

/* FAQ */
#faq b { display: block; padding: 5px 0px; font-size: 1.2em; }
#faq div { display: block; padding: 5px 0px; font-size: 1.0em; background: #EFEFEF; border-bottom: 1px #DFDFDF solid; margin: 1px 0px; }

/* Tabs */
#tabs section {
         display: none;
         padding: 0px 0px 0px 0px;
         margin-top: -5px;
}
#tabs { text-align: center; }
#tabs input.tab {
         display: none;
}

#tabs label {
         display: inline-block;
         margin: 0 0 -1px;
         padding: 15px 25px;

         font-family: inherit;
         text-transform: uppercase;

         font-weight: bold;
         text-align: center;
         color: #8F8F8F;

         background: #EFEFEF;
         -webkit-border-top-left-radius: 4px;
         -webkit-border-top-right-radius: 4px;
         -moz-border-radius-topleft: 4px;
         -moz-border-radius-topright: 4px;
         border-top-left-radius: 4px;
         border-top-right-radius: 4px;
}
#tabs label b { display: inline-block; padding-bottom: 5px; padding-right: 5px; }

#tabs label:before {
         font-weight: normal;
         margin-right: 10px;
}

#tabs label:hover {
         color: #789;
         cursor: pointer;
}

#tabs input:checked + label {
         color: #005ba8;
         background: #FFFFFF;
}

#tabs #tab1:checked ~ #content1,
#tabs #tab2:checked ~ #content2 {
         display: block;
}

/* Sonstiges */
#ecke {
         position: absolute;
         z-index:4;
         margin: 0;
         top: 0px;
         right:0px;
}

#buttons {
         vertical-align: top;
         margin: 10px auto;
}

#buttons img { margin: 0px 10px; }


/* Formulare */
input, select, textarea {
 	border: 0px #000000 solid;
 	background: #DFDFDF;
         font-size: 1.3em;
 	color: #000000;

         margin: 2px;
         padding: 4px 5px 4px 8px;

         -webkit-border-radius: 3px;
         -moz-border-radius: 3px;
         border-radius: 3px;

         -moz-box-shadow:    inset 2px 2px 5px #BFBFBF;
   	-webkit-box-shadow: inset 2px 2px 5px #BFBFBF;
   	box-shadow:         inset 2px 2px 5px #BFBFBF;
}

input[type="submit"] {
 	border: 0px #000000 solid;
 	background: #307dbe;
         font-size: 1.0em;
 	color: #FFFFFF;
         text-shadow: 1px 1px 0px rgba(0,0,0,0.2);

         margin: 2px;
         padding: 4px 5px 4px 8px;

         -webkit-border-radius: 3px;
         -moz-border-radius: 3px;
         border-radius: 3px;

         -moz-box-shadow:    inset 2px 2px 5px rgba(0,0,0,0.2);
   	-webkit-box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);
   	box-shadow:         inset 2px 2px 5px rgba(0,0,0,0.2);

         cursor: pointer;
}

input[type="submit"]:hover {
 	background: #256eab;
 	color: #FFFFFF;

         -moz-box-shadow:    inset 0px 0px 8px rgba(0,0,0,0.5);
   	-webkit-box-shadow: inset 0px 0px 8px rgba(0,0,0,0.5);
   	box-shadow:         inset 0px 0px 8px rgba(0,0,0,0.5);
}


/* Media Querys */
@media (max-width: 450px) {
	html, body {
         	margin:0;
         	padding:0;
         }
         
	
         #bestellform input[type="submit"] {
		width: 100%;
	}
         #tabs label { padding: 15px; }
  	#tabs label b { display: none; }
}
@media (max-width: 640px) {
         .box3er div.contentbox {
		float:none;
         	margin-left: 0px !important;
         	width: 100% !important;
         	width: calc(100% - 0px) !important;
	}


	#lose_ankauf, #lose_verkauf, #form_ankauf, #form_verkauf, .wert {
		float:none;
         	width: calc(100% - 10px);
         	cell-spacing: 0px;
	}

         #form_ankauf, #form_verkauf, .wert { width: calc(100% - 20px); margin-top: 20px; }
}

@media (max-width: 800px) {
         #kundeninfo img {
         	display: inline-block;
                 max-width: 100% !important;
		max-height: 100% !important;
		height: inherit !important;
                 margin-top: 10px;
         }


         #footer .innen { padding: 5px 20px; }




         .bestell_info {
                 position: relative;
         	float: none;
         	width: 100%;
                 width: calc(100% - 20px);
         	padding: 5px 10px;
         	font-size: 1.0em;
         	text-align:justify;
	}
	.bestell_info:after {
         	top: 108%;
		left: 10%;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(237, 237, 237, 0);
		border-top-color: #ededed;
		border-width: 20px;
		margin-left: -20px;
	}

	.bestell_formular {
		float: none;
         	width: 100%;
         	border: 0px #000000 solid;
	}
         #error_info { width: 100%; width: calc(100% - 20px); }

         #ecke { display: none; }
         #banner { display: none; }
         #buttons { display: none; }
}
@media (max-width: 640px) {
    #header {
        flex-direction: column;
        gap: 16px;
    }
    #logo {
        flex: 0 1 auto;
    }
    #header-nav {
        display: none;
    }
}

#site {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 12.5px auto 10px;
    padding: 0;
    text-align: left;
}
/* Ablauf fuer Kaufen und Verkaufen */
#info {
    background: #575757;
    width: 100%;
    box-sizing: border-box;
    margin: 40px 0 10px;
    padding: 28px 20px;
    color: #ffffff;
}
#info h3 {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: -46px auto 28px;
    padding: 8px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 7px 5px -5px rgba(0, 0, 0, 0.65);
    color: #575757;
    font-size: 1.35em;
    line-height: 1.4;
    font-weight: normal;
}
#info .in {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1em;
    line-height: 1.6;
}
#info h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.4;
    text-align: left;
    margin: 0 0 12px;
}
#info h4::before {
    content: "";
    display: block;
    flex: 0 0 78px;
    width: 78px;
    height: 68px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#info .step_1 h4::before { background-image: url(../img/step_1.png); }
#info .step_2 h4::before { background-image: url(../img/step_2.png); }
#info .step_3 h4::before { background-image: url(../img/step_3.png); }
#info p {
    margin: 0;
    color: #f0f0f0;
    font-weight: 400;
}
@media (max-width: 800px) {
    #info .in {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

/* Impressum */
.imprint {
    padding: 24px;
    color: #333333;
    font-size: 1em;
    line-height: 1.65;
    text-align: left;
}
.imprint-brand {
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #dce5ed;
    text-align: center;
}
.imprint-brand img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
    border: 0;
}
.imprint p {
    margin: 0 0 16px;
}
.imprint-brand p, .imprint-note {
    color: #595959;
    font-size: 0.9em;
}
.imprint-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
}
.imprint h2 {
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    color: #205782;
    font-size: 1.2em;
    text-align: left;
}
.imprint h3 {
    margin: 18px 0 6px;
    color: #333333;
    font-size: 1em;
    font-weight: 500;
    text-align: left;
}
.imprint dl { margin: 0; }
.imprint dt { font-weight: 500; }
.imprint dd {
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}
@media (max-width: 600px) {
    .imprint { padding: 18px; }
    .imprint-grid { grid-template-columns: 1fr; gap: 20px; }
}
/* Infos und Gebuehren */
.site-info {
    padding: 24px;
    color: #333333;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
}
.site-info h2 {
    margin: 28px 0 12px;
    padding: 0;
    color: #205782;
    background: transparent;
    font-size: 1.25em;
    line-height: 1.4;
    text-align: left;
}
.site-info p { margin: 0 0 16px; }
.site-info p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .site-info { padding: 18px; }
}
@media (max-width: 600px) {
    #footer .footer-nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }
    #footer .footer-nav a {
        padding: 10px 6px;
    }
}
/* AGB und Datenschutz */
.legal-text {
    padding: 26px;
    color: #333333;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
    overflow-wrap: anywhere;
}
.legal-text h2 {
    margin: 32px 0 16px;
    padding: 14px 0 0;
    border-top: 1px solid #dce5ed;
    background: transparent;
    color: #205782;
    font-size: 1.3em;
    line-height: 1.45;
    text-align: left;
    scroll-margin-top: 20px;
}
.legal-text h4 {
    margin: 22px 0 10px;
    color: #333333;
    font-size: 1.05em;
    line-height: 1.5;
    text-align: left;
    font-weight: 500;
}
.legal-text p { margin: 0 0 16px; }
.legal-text ul, .legal-text ol { padding-left: 24px; }
.legal-text li { margin-bottom: 8px; }
.legal-toc {
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid #dce5ed;
    border-radius: 8px;
    background: #f3f7fa;
}
.legal-text .legal-toc-title {
    margin: 0 0 12px;
    color: #205782;
    font-size: 1.1em;
    font-weight: 500;
}
.legal-toc ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.legal-toc li { margin: 0; }
.legal-toc a {
    display: block;
    color: #205782;
    font-size: 0.9em;
    line-height: 1.5;
    text-decoration: none;
}
.legal-toc a:hover, .legal-toc a:focus { text-decoration: underline; }
.legal-notice {
    padding: 20px;
    border-left: 3px solid #307dbe;
    border-radius: 0 6px 6px 0;
    background: #f3f7fa;
}
@media (max-width: 600px) {
    .legal-text { padding: 18px; }
    .legal-toc { padding: 14px; }
    .legal-toc ul { grid-template-columns: 1fr; }
    .legal-notice { padding: 14px; }
}
/* FAQ: grouped, accessible questions without JavaScript */
.faq-page { padding: 24px; color: #333333; line-height: 1.65; text-align: left; }
.faq-intro { margin: 0 0 28px; color: #595959; }
.faq-group + .faq-group { margin-top: 30px; }
.faq-group h2 {
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    color: #205782;
    font-size: 1.2em;
    line-height: 1.5;
    text-align: left;
}
.faq-item { margin: 8px 0; border: 1px solid #dce5ed; border-radius: 8px; overflow: hidden; }
.faq-item summary {
    display: block;
    position: relative;
    padding: 14px 46px 14px 16px;
    background: #f3f7fa;
    color: #205782;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; top: 12px; right: 16px; font-size: 1.3em; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { background: #e8f0f6; }
.faq-item summary:focus-visible { outline: 2px solid #205782; outline-offset: -3px; }
.faq-item[open] summary { border-bottom: 1px solid #dce5ed; }
.faq-answer { padding: 16px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a, .faq-contact a { color: #205782; text-decoration: underline; }
.faq-contact { margin: 28px 0 0; padding: 16px; background: #f3f7fa; border-left: 3px solid #205782; border-radius: 4px; }
@media (max-width: 600px) {
    .faq-page { padding: 18px; }
    .faq-group h2 { font-size: 1.1em; }
}
/* Selling: first form step */
.sell-start, .sell-company { padding: 26px; text-align: left; color: #333; line-height: 1.65; }
.sell-step { margin: 0 0 12px; color: #205782; font-weight: 500; font-size: 0.95em; }
.sell-intro { margin: 0 0 24px; }
.sell-field { margin-bottom: 22px; }
.sell-field label { display: block; margin-bottom: 8px; font-weight: 500; color: #205782; }
.sell-field select { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9cbd9; border-radius: 6px; background: #f8fafc; color: #253746; font: inherit; }
.sell-field select:focus { outline: 2px solid #307dbe; outline-offset: 2px; }
.sell-help { margin: 8px 0 0; font-size: 0.9em; color: #595959; }
.sell-note { margin: 0 0 22px; padding: 14px 16px; background: #f3f7fa; border-left: 3px solid #307dbe; border-radius: 0 6px 6px 0; font-size: 0.95em; }
.sell-actions { text-align: right; }
.sell-actions .button { max-width: 100%; white-space: normal; }
.sell-company h2 { margin: 0 0 14px; padding: 0; background: transparent; color: #205782; font-size: 1.2em; text-align: left; line-height: 1.45; }
.sell-company p { margin: 0 0 12px; }
.sell-company p:last-child { margin-bottom: 0; }
.sell-start a, .sell-company a { color: #205782; text-decoration: underline; }
@media (max-width: 600px) {
    .sell-start, .sell-company { padding: 18px; }
    .sell-actions .button { box-sizing: border-box; width: 100%; }
}
.sell-summary { display: grid; grid-template-columns: 1fr 2fr; gap: 8px 16px; padding: 18px; margin: 20px 0 26px; background: #f3f7fa; border-radius: 8px; }
.sell-summary dt { color: #595959; }
.sell-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.sell-block { min-width: 0; margin: 0 0 24px; padding: 18px; border: 1px solid #dce5ed; border-radius: 8px; }
.sell-block legend { padding: 0 8px; font-weight: 500; color: #205782; }
.sell-block > .sell-help { margin: 0 0 18px; }
.sell-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.sell-fields .sell-field { min-width: 0; margin: 0; }
.sell-details .sell-field input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #b9cbd9; border-radius: 6px; background: #f8fafc; color: #253746; font: inherit; }
.sell-details .sell-field input:focus { outline: 2px solid #307dbe; outline-offset: 2px; }
.sell-actions-split { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.sell-back { padding: 10px 0; }
@media (max-width: 600px) {
    .sell-fields { grid-template-columns: 1fr; }
    .sell-block { padding: 14px; }
    .sell-summary { grid-template-columns: 1fr; gap: 4px; }
    .sell-summary dd { text-align: left; margin-bottom: 8px; }
    .sell-actions-split { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}
/* Selling: address order and aligned payment fields */
.sell-fields .sell-field-Name, .sell-fields .sell-field-Strasse,
.sell-fields .sell-field-Email { grid-column: 1 / -1; }
.sell-fields .sell-field-Firma, .sell-fields .sell-field-USTID { padding-top: 14px; border-top: 1px solid #dce5ed; }
.sell-fields .sell-field-verkauf_auszahlung_konto, .sell-fields .sell-field-Inhaber,
.sell-fields .sell-field-IBAN,
.sell-fields .sell-field-BIC, .sell-field-verkauf_lose_freigabe {
    grid-column: 1 / -1; display: grid; grid-template-columns: 165px minmax(0, 1fr); align-items: center; gap: 12px;
}
.sell-details .sell-field-verkauf_lose_freigabe input { max-width: 250px; }
.sell-details .sell-field label { margin-bottom: 0; }
.sell-details .sell-actions-split { justify-content: flex-end; flex-direction: row; flex-wrap: wrap; gap: 12px; }
.sell-details .sell-actions-split .button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; margin: 0; padding: 10px 18px; font: inherit; line-height: 1.4; text-decoration: none; }
.sell-details .sell-actions-split .sell-back { background: #cbdde9; color: #17364f; border: 1px solid #b9cbd9; border-radius: 6px; text-shadow: none; box-shadow: none; }
.sell-details .sell-actions-split .sell-back:hover { background: #e1ebf2; }
@media (max-width: 600px) {
    .sell-fields .sell-field-verkauf_auszahlung_konto, .sell-fields .sell-field-Inhaber,
    .sell-fields .sell-field-IBAN,
    .sell-fields .sell-field-BIC, .sell-field-verkauf_lose_freigabe { grid-template-columns: 1fr; gap: 8px; }
}
.sell-summary .sell-net-note { margin: 6px 0 0; font-size: 0.78em; line-height: 1.45; font-weight: 400; color: #65717b; }
.sell-details .sell-actions-split input.button { flex: 1 1 240px; }
.sell-details .sell-actions-split .sell-back { flex: 0 0 auto; }
.sell-identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; color: #253746; text-align: left; }
.sell-identity-label { display: block; margin-bottom: 4px; color: #595959; font-size: 0.85em; line-height: 1.5; }
.sell-identity strong { font-size: 1.15em; font-weight: 500; color: #205782; }
.sell-identity a { padding: 9px 14px; border: 1px solid #dce5ed; border-radius: 6px; background: #f3f7fa; color: #205782; font-size: 0.9em; text-decoration: none; text-align: center; }
.sell-identity a:hover { background: #e1ebf2; text-decoration: underline; }
.sell-identity a:focus-visible { outline: 2px solid #205782; outline-offset: 2px; }
@media (max-width: 480px) { .sell-identity { padding: 16px 18px; flex-wrap: wrap; } }
/* Address and company fields: more room for city and company names. */
.sell-details .sell-fields { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.sell-details .sell-fields > .sell-field { grid-column: 1 / -1; }
.sell-details .sell-fields > .sell-field-Vorname,
.sell-details .sell-fields > .sell-field-Nachname { grid-column: span 6; }
.sell-details .sell-fields > .sell-field-Postleitzahl { grid-column: span 3; }
.sell-details .sell-fields > .sell-field-Wohnort { grid-column: span 9; }
.sell-details .sell-fields > .sell-field-Firma { grid-column: span 8; }
.sell-details .sell-fields > .sell-field-USTID { grid-column: span 4; }
@media (max-width: 600px) {
    .sell-details .sell-fields > .sell-field { grid-column: 1 / -1; }
    .sell-details .sell-fields > .sell-field-Postleitzahl { grid-column: span 4; }
    .sell-details .sell-fields > .sell-field-Wohnort { grid-column: span 8; }
}
.field-error { display: block; margin-top: 6px; color: #a32922; font-size: 0.85em; line-height: 1.45; }
.field-error:empty { display: none; }
.sell-details .sell-field input[aria-invalid="true"] { border-color: #b7352c; background: #fff8f7; }
.sell-field > .field-error { grid-column: 1 / -1; }

.purchase-cancel { padding: 22px 26px; border-left: 4px solid #7d9cb3; border-radius: 10px; text-align: left; color: #333; line-height: 1.65; }
.purchase-cancel h2 { margin: 0 0 12px; padding: 0; background: transparent; color: #205782; font-size: 1.2em; font-weight: 500; text-align: left; }
.purchase-cancel p { margin: 0 0 12px; font-weight: 400; }
.purchase-cancel .purchase-cancel-help { margin-bottom: 0; color: #595959; font-size: 0.9em; }
.purchase-cancel a { color: #205782; text-decoration: underline; }
@media (max-width: 600px) { .purchase-cancel { padding: 18px; } }
/* PayPal cancellation matches the recipient-ID notice. */
.purchase-cancel { margin: 18px 26px; padding: 14px 16px; background: #f3f7fa; border-left: 3px solid #307dbe; border-radius: 0 6px 6px 0; font-size: 0.95em; }
.purchase-cancel h2 { margin: 0 0 8px; color: #333333; font-size: 1em; font-weight: 500; }
@media (max-width: 600px) { .purchase-cancel { margin: 18px; padding: 14px 16px; } }
/* Home introduction */
.home-intro { padding: 24px 26px; color: #4b5660; text-align: left; line-height: 1.7; }
.home-intro p { margin: 0 0 14px; }
.home-intro .home-intro-lead { color: #205782; font-size: 1.12em; line-height: 1.55; font-weight: 400; }
.home-intro .home-intro-start { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #dce5ed; font-size: 0.95em; }
.home-intro-start strong { color: #205782; font-weight: 500; }
@media (max-width: 600px) { .home-intro { padding: 18px; } }
/* Subtle polish for the shared entry forms and package lists. */
#lose_ankauf, #lose_verkauf { border-collapse: collapse; }
#lose_ankauf td, #lose_verkauf td { padding: 9px 6px; border-bottom: 1px solid #dce5ed; line-height: 1.5; }
#lose_ankauf td:first-child, #lose_verkauf td:first-child { text-align: left; }
#lose_ankauf td:last-child, #lose_verkauf td:last-child { text-align: right; white-space: nowrap; color: #205782; font-weight: 500; }
#form_ankauf, #form_verkauf { background: #f3f7fa; border-radius: 6px; }
#form_ankauf input[type="text"], #form_verkauf input[type="text"] { box-sizing: border-box; min-height: 42px; margin: 8px 0; padding: 9px 10px; border: 1px solid #b9cbd9; border-radius: 5px; color: #253746; font: inherit; text-align: center; }
#form_ankauf input[type="text"]:focus, #form_verkauf input[type="text"]:focus { outline: 2px solid #307dbe; outline-offset: 2px; }
#form_ankauf input[type="submit"], #form_verkauf input[type="submit"] { box-sizing: border-box; width: calc(100% - 20px); }
#lose_ankauf td, #lose_verkauf td { padding-top: 6px; padding-bottom: 6px; }
#lose_ankauf tr:last-child td, #lose_verkauf tr:last-child td { border-bottom: 0; }
/* Keep entry form and unit price together beside the package list. */
.package-entry { float: right; width: 240px; }
.package-entry #form_ankauf, .package-entry #form_verkauf,
.package-entry .wert { float: none; box-sizing: border-box; width: 100%; margin: 0 0 10px; }
@media (max-width: 760px) {
    #lose_ankauf, #lose_verkauf { float: none; width: 100%; }
    .package-entry { float: none; width: 100%; margin-top: 20px; }
}
/* Only error headings receive the warning color. */
.purchase-cancel.transaction-error h2 { color: #a84740; }
/* Two separate selection buttons above the home content box. */
#tabs > label {
    box-sizing: border-box;
    float: left;
    width: calc(50% - 4px);
    margin: 0 0 10px;
    padding: 15px 10px;
    vertical-align: top;
    border-radius: 6px;
}
#tabs > label[for="tab1"] { margin-right: 8px; }
#tabs > label b { padding-bottom: 0; }
#tabs > section { clear: both; margin-top: 0; }
/* Muted text for the purchase and sale package notes. */
.package-notes { color: #68727b; }

/* Keep the BIO equivalent aligned with the package amount on small screens. */
.package-amount { display: flex; align-items: baseline; gap: .35em; }
.package-amount::before { content: "\00bb"; flex: 0 0 auto; }
.package-amount-text { min-width: 0; }
.package-bio { white-space: nowrap; }
@media (max-width: 760px) {
    .package-bio { display: block; }
}

/* Partner programme: full-width footer link. */
#footer a.footer-partner {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;    margin: 12px auto 20px;    padding: 15px 18px;
    border-radius: 6px;
    background: #ffffff;
    color: #205782;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}
#footer a.footer-partner:hover,
#footer a.footer-partner:focus {
    background: #cbdde9;
    color: #17364f;
    text-decoration: underline;
}
#footer a.footer-partner:focus-visible { outline: 2px solid #205782; outline-offset: 3px; }

/* Bestelluebersicht aus dem Zahlungslink */
.purchase-resume h1 { margin: 0 0 12px; padding: 0; color: #205782; text-align: left; text-shadow: none; line-height: 1.25; }
.purchase-resume > p { margin: 0 0 16px; }
.purchase-resume > :last-child { margin-bottom: 0; }
.purchase-resume .sell-summary strong { color: #205782; }
