/*** Defaults ***/
:root {
  --green:     #1d642c;
  --darkgreen: #093011;
  --yellow:    #fff300;
  --fonts:     "Trebuchet MS", Verdana, Roboto, Helvetica, Arial, sans-serif;
}

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: #fff;
  color: var(--green);
  font-family: var(--fonts);
}

button {
  font-family: var(--fonts);
  font-size: 1em;
  cursor: pointer;
}

/** Misc settings **/
h1, h2 { text-align: center; }

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

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

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

/* Buttons */
a.button, button {
  display: inline-block;
  padding: 0.5em 1em;
  border: 3px solid var(--green);
  border-radius: 5px;
  font-weight: bold;
  color: var(--green);
  background-color: transparent;
  transition: 0.3s ease-in-out;
}

a.button:hover, a.button:focus, a.button:active, a.button.active,
button:hover, button:focus, button:active, button.active {
  color: #fff;
  background-color: var(--green);
}

header a.button, .home a.button, section.cards a.button {
  color: var(--yellow);
  border-color: var(--yellow);
  margin-top: 1em;
}

.page a.button {
  margin-top: 1em;
}

header a.button {
  font-size: 1em;
}

header a.button:hover, header a.button:focus, header a.button:active, header a.button.active,
.home a.button:hover, .home a.button:focus, .home a.button:active, .home a.button.active {
  color: #fff;
  border-color: #fff;
}

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

p            { margin-block-start: 0; margin-top: 0; margin-block-end: 0; margin-bottom: 1em; }
p            { margin-block-start: 0; margin-top: 0; margin-block-end: 0; margin-bottom: 1em; }
.top         { margin-top: 1em; }
p:last-child { margin-bottom: 0; }

.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%; align-items: center; }
.col          { flex: 1; }

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

a.phone { position: relative; }

a.phone:hover::after {
  position: absolute;
  margin-left: 1em;
  top: -120px;
  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-Elements ***/

header > div, main > div, footer > div {
  max-width: 1000px;
  margin: auto;
  padding: 1em;
}

header {
  position: relative;
  z-index: 100;
  text-align: center;
  background-color: var(--green);
  padding-bottom: 1em;
}

header > div {
  width: 60%;
  padding: 0;
}

header div.container {
  min-height: 100px;
}

header div#logo {
  flex: 2;
  align-items: center;
}

header div#logo a {
  display: block;
  margin-top: 5px;
}

header div.col.left  { text-align: left; }
header div.col.right { text-align: right; }

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

/* Fixed header on top */
header#fixed {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0.5em;
  box-shadow: 0 5px 10px grey;
}

header#fixed div.container       { min-height: 10px; }
header#fixed div.logo img        { max-width: 60%; max-height: 60%; }
header#fixed a.button            { margin-top: 0; margin-right: 1em; }

nav {
  text-align: center;
  background-color: var(--green);
}

nav a {
  margin-right: 1em;
  font-size: 1em;
  font-weight: bold;
  color: var(--yellow);
  text-decoration: none;
  transition: 0.25s ease-in-out;
}

nav.notablet {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a:focus, nav a:hover, nav a:active, nav a.active {
  font-size: 1.2em;
}

nav a:last-child { margin-right: 0; }

/* Fixed contact buttons on the side */
div#sidenav {
  position: fixed;
  right: 0;
  bottom: 20%;
}

div#sidenav a {
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.3em;
  min-width: 1em;
  min-height: 1em;
  font-size: 2em;
  background-color: var(--green);
  color: #fff;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

div#sidenav a:hover {
  color: var(--yellow);
}

div#sidenav a::before {
  margin: 0;
}

main > div {
  background-color: white;
}

footer {
  color: #fff;
  background-color: var(--green);
}

/*** Page Elements ***/

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

/* TODO
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;
}
*/

/* Page containers */
.page {
  padding: 1em;
  margin-top: 1em;
  margin-bottom: 2em;
  border: 2px solid var(--green);
  border-radius: 10px;
}

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

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

.page:last-child {
  margin-bottom: 1em;
}

.slideshow img {
  width: 100%;
}

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

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

.page.home {
  color: #fff;
  background-color: var(--green);
}

.page.home h1 { font-size: 1.4em; }
.page.home h2 { font-size: 1.2em; text-align: left; }

.page.home div#lkw {
  padding-top: 40%;
  background: url(../img/moebelino-teaser-2025-2.jpg) center top no-repeat;
  background-size: contain;
}

.page.home div.address {
  padding-left: 3em;
}

.page div.teaser {
  float: right;
  max-width: 350px;
  margin-right: -1em;
  border: 1px solid var(--green);
  border-right: 0;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-left: 1em;
}

.page div.teaser img  { max-width: 100%; }
.page div.teaser span { margin-left: 0.5em; margin-right: 0.5em; }

/* Homepage cards */
section.cards {
  display: flex;
  flex-wrap: wrap;
}

section.cards div.card {
  flex: 30%;
  margin: 1em;
  padding: 1em;
  background-color: var(--green);
  color: #fff;
  border: 2px solid var(--green);
  border-radius: 5px;
  transition: 0.4s;
}

section.cards div.card:hover, section.cards div.card:focus {
  background-color: #fff;
  color: var(--green);
}

section.cards div.card:hover a.button, section.cards div.card:focus a.button {
  color: var(--green);
  border-color: var(--green);
}

section.cards div.card:hover a.button:hover, section.cards div.card:focus a.button {
  color: #fff;
}

/* Forms */

input, textarea, select {
  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 {
  border-color: var(--green);
}

input[type=submit] {
  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,
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 {
  padding-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#umzuege div.foto.f03 {
  background-image: url(../img/fotos/moebelino-2021-umzuege-03.jpg);
  margin-left: -1em;
  margin-right: -1em;
}

#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); }

/* Header on the "Home" page */

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

/* Highlighting of the "warning" slide */
#warning {
  outline: 5px solid orange;
  background: #ff0;
}

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, main::after, nav::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; }
}
