/*** Einige Defaults ***/
:root {
  --green:     #1d642c;
  --darkgreen: #093011;
  --yellow:    #fff300;
}

html                 { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }

.hidden       { display: none; }
.clear        { clear: both; }
.help         { cursor: help; }
.comment      { color: #999; font-style: italic; }
.first        { margin-top: 0; }
label, legend { cursor: pointer; }

body, header, div, ul, li {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--green);
  color: #000;
  font-family: "Trebuchet MS", Verdana, Roboto, Helvetica, Arial, sans-serif;
  padding-left: 20px;
  padding-right: 20px;
}

a {
  color: #3333f0;
  text-decoration: none;
}

a:focus, a:active, a:hover, a.active { text-decoration: underline; }

a[href^="mailto:"]:before {
  content: "\2709";
  margin-right: 5px;
}

a[href^="tel:"]:before {
  content: "\260e";
  margin-right: 5px;
}

nav ul                       { list-style-type: none; }
nav.horizontal li            { margin-right: 15px; float: left; }
nav.horizontal li:last-child { margin-right: 0; }

#home h2 { font-size: 1.1em; }
p        { margin-block-start: 0; margin-top: 0; }
p.top    { margin-top: 1em; }

header div.menu {
  float: left;
  text-align: left;
  margin-top: 30px;
}

header div.menu a.menu {
  display: inline-block;
  width: 50px;
  cursor: pointer;
}

header div.menu a.menu span {
  display: block;
  height: 5px;
  background-color: var(--yellow);
  margin-bottom: 6px;
  border-radius: 5px;
}

header div.menu nav {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  padding-left: 20px;
  background-color: var(--green);
  border-bottom: 1px solid var(--yellow);
  box-shadow: 0 0 5px 10px rgba(60,150,80,0.3);
}

header div.menu nav li {
  padding-bottom: 5px;
}

/* Menu-Interaction */
header div.menu:focus  nav,
header div.menu:hover  nav,
header div.menu:active nav {
  display: block;
}

.error   { color: #c00; }
.notice  { color: orange; }
.success { color: #0c0; }
.remarks { color: #666; }

div.error {
  padding: 1em;
  border: 1px solid #c00;
  margin-bottom: 1em;
  border-radius: 10px;
}

div.notice {
  padding: 1em;
  border: 1px solid orange;
  margin-bottom: 1em;
  border-radius: 10px;
}

div.success {
  padding: 5px;
  border: 1px solid #0c0;
  border-radius: 10px;
}

form div.remarks {
  margin-bottom: 0.3em;
}

.container    { display: flex; width: 100%; }
.col          { flex: 1; }

/* Phone number Hover: Show QR Code, fade in with animation */
@keyframes qr {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a.phone:hover::after {
  position: absolute;
  margin-left: 20px;
  animation: qr 0.5s;
}

a.phone.buero:hover::after {
  content: url(../img/moebelino-qr-buero-2025.png);
}

a.phone.ladengeschaeft:hover::after {
  content: url(../img/moebelino-qr-ladengeschaeft-2025.png?2);
}

/*** Layout-Elemente ***/

body > div {
  max-width: 1000px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header a {
  color: #fff300;
  color: var(--yellow);
}

h1, h2 { text-align: center; }

div.teaser {
  width: 85%;
  padding-top: 45%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  background: url(../img/moebelino-teaser-2025-2.jpg) center center no-repeat;
  background-size: contain;
}

.page {
  padding: 20px;
  margin-bottom: 80px;
  background-color: #efefef;
  border-radius: 3px;
  box-shadow: 0 0 10px 5px rgba(255,255,255,0.2);
}

.page > *:first-child {
  margin-block-start: 0;
  margin-top: 0;
}

.page > *:last-child {
  margin-block-end: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.slideshow img {
  width: 100%;
}

.page ul {
  margin-left: 1em;
}

.page ul li {
  margin-bottom: 0.5em;
}

input, textarea, select, button, a.button, span.button {
  background-color: #fff;
  color: #000;
  outline: none;
  border: 2px solid transparent;
  border-radius: 3px;
  text-decoration: none;
}

input[type=text] {
  padding: 3px;
}

input.date    { width: 10%; min-width:  60px; }
input.x-small { width: 3em; }
input.small   { width: 10%; min-width:  60px; }
input.medium  { width: 45%; min-width: 120px; }
input.large   { width: 65%; min-width: 200px; }

textarea       { width:  65%; min-height: 6em; }
textarea.small { width:  25%; min-height: 3em; }
textarea.large { width:  65%; min-height: 10em; }

input:hover, input:focus, input:active, input.active,
textarea:hover, textarea:focus, textarea:active,
select:hover, select:focus, select:active,
button:hover, button:focus, button:active, button.active,
a.button:hover, a.button:focus, a.button:active, a.button.active {
  border-color: var(--green);
}

input[type=submit], button, a.button, span.button {
  cursor: pointer;
  padding: 0.5em;
  font-weight: bold;
  color: var(--green);
  background-color: #fff;
  border-color: var(--green);
}

span.button {
  display: inline-block;
  cursor: default;
  border-color: var(--green);
}

input[type=submit]:focus, input[type=submit]:hover, input[type=submit]:active, input[type=submit].active,
button:focus, button:hover, button:active, button.active,
a.button:focus, a.button:hover, a.button:active, a.button.active,
span.button.active {
  background-color: var(--green);
  color: #fff;
}

.ui_amount {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}

a.prev, a.next {
  z-index: 10;
  width: 10%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  text-decoration: none;
  color: #000;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0;
}

a.prev:focus, a.prev:hover, a.prev:active, a.next:focus, a.next:hover, a.next:active {
  opacity: 1.0;
}

a.prev {
  position: absolute;
  left: 0;
}

a.next {
  position: absolute;
  right: 0;
  text-align: right;
}

div.section.slideshow {
  position: relative;
  min-height: 644px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  align-items: center;
}

div.section.slideshow div.article {
  position: absolute;
  width: 100%;
  z-index: 2;
  margin: auto;
  overflow-x: hidden;
  overflow-y: visible;
}

div.foto {
  padding-top: 67%; /* Seitenverhältnis 1,5:1*/
  margin: auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#umzuege        div.foto.f01 { background-image: url(../img/fotos/moebelino-2021-umzuege-01.jpg); }
#umzuege        div.foto.f02 { background-image: url(../img/fotos/moebelino-2021-umzuege-02.jpg); }
#umzuege        div.foto.f03 { background-image: url(../img/fotos/moebelino-2021-umzuege-03.jpg); }
#umzuege        div.foto.f04 { background-image: url(../img/fotos/moebelino-2021-umzuege-04.jpg); }
#umzuege        div.foto.f05 { background-image: url(../img/fotos/moebelino-2021-umzuege-05.jpg); }
#umzuege        div.foto.f09 { background-image: url(../img/fotos/moebelino-2021-umzuege-09.jpg); }
#umzuege        div.foto.f10 { background-image: url(../img/fotos/moebelino-2021-umzuege-10.jpg); }

#gebrauchtwaren div.foto.f00 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-00.jpg); }
#gebrauchtwaren div.foto.f01 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-01.jpg); }
#gebrauchtwaren div.foto.f02 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-02.jpg); }
#gebrauchtwaren div.foto.f03 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-03.jpg); }
#gebrauchtwaren div.foto.f04 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-04.jpg); }
#gebrauchtwaren div.foto.f05 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-05.jpg); }
#gebrauchtwaren div.foto.f06 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-06.jpg); }
#gebrauchtwaren div.foto.f07 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-07.jpg); }
#gebrauchtwaren div.foto.f08 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-08.jpg); }
#gebrauchtwaren div.foto.f09 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-09.jpg); }
#gebrauchtwaren div.foto.f10 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-10.jpg); }
#gebrauchtwaren div.foto.f11 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-11.jpg); }
#gebrauchtwaren div.foto.f12 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-12.jpg); }
#gebrauchtwaren div.foto.f13 { background-image: url(../img/fotos/moebelino-2021-gebrauchtwaren-13.jpg); }

#liftvermietung div.foto.f01 { background-image: url(../img/fotos/moebelino-2025-lift-01.jpg); }
#liftvermietung div.foto.f02 { background-image: url(../img/fotos/moebelino-2025-lift-02.jpg); }
#liftvermietung div.foto.f03 { background-image: url(../img/fotos/moebelino-2025-lift-03.jpg); }

/* Highlighting of the "Kontakt" slide */
#kontakt.highlight {
  outline: 5px solid var(--yellow);
}

form div {
  margin-bottom: 1em;
}

form section {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0 0.75em 0.75em 0.75em;
  margin-bottom: 1em;
}

form section > *:first-child {
  display: inline-block;
  margin-top: -2em;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  background-color: #efefef;
  position: relative;
  top: -0.5em;
}

form div.grid {
  display: grid;
  grid-template-columns: 30% 70%;
  margin-bottom: 0.2em;
}

form div.grid div {
  background-color: #f4f4f4;
  margin-bottom: 0;
  padding: 2px 0.5em;
}

form div.grid div.label {
  border-right: 0.2em solid #efefef;
}

div.required input { border-color: red; }

fieldset {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding-top: 0.5em;
  margin-bottom: 2em;
}

#kleinanzeigen {
  display: flex;
  align-items: center;
}

#kleinanzeigen img {
  height: 1.5em;
  margin-right: 0.5em;
}

/* Clearfixes */
header::after, div.content::after, footer::after {
  content: "";
  clear: both;
  display: table;
}

/*** Breakpoints ***/
.phone_only                  { display: none; }
.tablet_only                 { display: none; }

/* Large/Desktop */
@media (max-width: 1199px) {
  .nodesktop                 { display: none; }
}

/* Medium */
@media (max-width: 991px) {
  div.section.slideshow      { min-height: 595px; }

/* Small/Tablet */
@media (max-width: 767px) {
  .notablet                  { display: none; }
  .tablet_only               { display: block; }
  div.section.slideshow      { min-height: 450px; }
  input.large                { width: 100%; }
}

/* X-Small/Phone */
@media (max-width: 600px) {
  .nophone                   { display: none; }
  .phone_only                { display: block; }
  div.section.slideshow      { min-height: 338px; }
}
