/* simple global normalization */
html, body, button, a, input, textarea {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Calibri", sans-serif;
}

*, *:before, *:after {
  box-sizing: inherit;
  font-family: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  /* not normalization! */
  /* padding-top: 73px; */
  padding-top: 120px;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

/* helper classes - single attributes */

.centered {
  text-align: center;
}

.invisible {
  display: none;
}

.pointer {
  cursor: pointer;
}

/* specific styling */

:root {
  --orange: #f27405;
  --pink: #d50dd9;
  --green: #238c2a;
  --shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  --transition: all 0.25s ease-in-out;
}

main, nav {
  width: 92vw;
  max-width: 650px;
  margin: 0 auto;
}

main, article {
  display: flex;
  flex-direction: column;
  /* in Variable? */
  gap: 5vh;
}

#page_home_de a,
#page_home_en a,
#page_frank_de a,
#page_frank_en a,
#page_sabine_de a,
#page_sabine_en a,
#page_interim-ausbildung a,
#page_interim-training a,
#page_kontakt a,
#page_contact a  {
  color: var(--green);
}

.logo {
  font-family: Courier, serif;
  font-weight: 100;
  font-size: 22px;
}

span.logo > span:nth-child(1) { color: var(--orange); }
span.logo > span:nth-child(2) { color: var(--pink); }
span.logo > span:nth-child(3) { color: var(--green); }

.logo-headline {
  font-size: min(10vw, 50px);
}

/* .logo-subline {
  font-size: inherit;
} */

.cite p {
  font-style: italic;
}

/* .cite p:not(:last-child) { */
p:not(:last-child) {
  /* variable? */
  margin-bottom: 10px;
}

.col-orange {
  color: var(--orange);
}
.col-pink {
  color: var(--pink);
}
.col-green {
  color: var(--green);
}

/* https://getcssscan.com/css-box-shadow-examples */

.card-container {
  display: flex;
  justify-content: center;
}

.card {
  box-shadow: var(--shadow);
  padding: 15px;
  border-radius: 4px;
  display: flex;
  width: 350px;
  column-gap: 15px;
  align-items: center;
}

@media screen and (max-width: 400px) {
  .card {
    width: 240px;
    flex-direction: column;
    column-gap: 0;
    row-gap: 15px;
  }

  .card div {
    text-align: center;
  }
}

.card a {
  display: inline-flex;
}

.card p:not(:last-child) {
  margin-bottom: 2px;
}

h2, h4, h5 {
  padding-bottom: 10px;
}

/* LISTEN */
/* nicht für alle ul passend! + Variable! */
ul {
  padding-bottom: 10px;
}

li {
  position: relative;
  padding-left: 20px;
}

li::before {
  content: "\276F";
  position: absolute;
  left: 0;
  width: 15px;
  /* variable? */
  color: #333;
}

.ul-orange li::before {
  color: var(--orange);
}
.ul-pink li::before {
  color: var(--pink);
}
.ul-green li::before {
  color: var(--green);
}

#menu li {
  position: static;
  padding-left: 0;
}

#menu li::before {
  content: none;
}

/* HORIZONTALE LINIEN */

hr {
  background-color: #eee;
  width: 100%;
  height: 2px;
  border-width: 0;
  margin: 15px 0;
}

.colored-line {
  display: flex;
  width: 100%;
  height: 3px;
}

.colored-line > div:nth-child(1) { background-color: var(--orange); }
.colored-line > div:nth-child(2) { background-color: var(--pink); }
.colored-line > div:nth-child(3) { background-color: var(--green); }

.line-part {
  flex: 1;
  height: 100%;
}

.line-part:not(:last-child) {
  margin-right: 3px;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  margin: 0 20px;
}

/* NAVI */
#headband {
  position: fixed;
  left: 0;
  top: 0;
  background-color: white;
  width: 100vw;
  /* variable? calc() */
  height: 73px;
  z-index: 9;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  position: fixed;
  top: 0;
  z-index: 10;
}

#lang-switch a {
  line-height: 33px;
  padding: 2px 5px;
}

#lang-switch > a:nth-child(1) {
  border-radius: 4px 0 0 4px;
}

#lang-switch > a:nth-child(2) {
  border-radius: 0 4px 4px 0;
}

.active-lang {
  color: #666;
  border: 2px solid #666;
  background-color: rgba(35, 140, 42, 0.16);
  pointer-events: none;
  cursor: default;
}

.other-lang {
  color: #999;
  border: 2px solid #999;
  background-color: transparent;
}

#menu-toggle {
  width: 32px;
  height: 33px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.rotated {
  transform: rotate(-90deg);
}

#menu-toggle, #menu-toggle > div {
  /* variable? */
  border-radius: 4px;
  /* variable? */
  transition: var(--transition);
}

.bar {
  width: 30px;
  height: 5px;
  background-color: #333;
}

.dot {
  width: 8px;
  height: 8px;
}

#menu-toggle > .dot:nth-child(1) { background-color: var(--orange); }
#menu-toggle > .dot:nth-child(2) { background-color: var(--pink); }
#menu-toggle > .dot:nth-child(3) { background-color: var(--green); }

#menu {
  position: absolute;
  top: 0;
  left: 50%;
  background-color: white;
  width: auto;
  transition: var(--transition);
}

.menu-closed {
  transform: translateX(-50%) translateY(calc(-100% + 10px));
}

.menu-open {
  transform: translateX(-50%) translateY(0);
  box-shadow: var(--shadow);
}

#menu ul li a {
  text-decoration: none;
  padding: 12px;
  display: block;
  background-color: rgba(35, 140, 42, 0.08);
  transition: var(--transition);
}

#menu ul li a:hover {
  background-color: rgba(35, 140, 42, 0.16);
}

#menu ul li:last-child a {
  font-weight: bolder;
}

/* Logo im #menu */
#menu > a {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(calc(100% - 10px));
}

#menu > a > span {
  display: flex;
  height: 73px;
  align-items: center;
  background-color: white;
  border-radius: 4px;
  padding: 0 15px;
  box-shadow: none;
  transition: var(--transition);
}

#menu.menu-open > a > span {
  box-shadow: var(--shadow);
}


/* contact */

#contactForm {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: 20px;
}

#contactForm label {
  margin-bottom: 5px;
}

#contactForm input, #contactForm textarea {
  margin-bottom: 10px;
  padding: 8px;
}

#contactForm button {
  padding: 10px;
  background-color: var(--green);
  color: white;
  font-weight:bold;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#contactForm button:hover {
  background-color: darkgreen;
}

#responseMessage {
  margin-top: 10px;
}


/* .image-container {} */

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}


