/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fira-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/fira-sans-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/fira-sans-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/fira-sans-v18-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/fira-sans-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/fira-sans-v18-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  /* Farbpalette */
  --kd-color1: #E9AD00;
  --kd-color2: #B3B3B3;

  --color-primary: var(--kd-color1);
  --color-secondary:var(--kd-color2);
  --color-gray: #8F8F8F;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-anthracite: #293133;
  --color-lightgray: #F8F9FA;
  --color-midgray: #dee2e6;
  --color-darkgray: #343a40;
  --color-red: #ff0000;
  --color-green: #006700;

  /* Typografie */
  --font-base: 'Fira Sans', serif;
  --font-headline: 'Fira Sans', serif;
  --font-size-base: 19px;
  --font-size-h1: 1.7rem;
  --font-size-h2: 1.5rem;
  --font-size-small: 0.8em;

  /* Schriftfarben */
  --text-main: #000;
  --text-light: #fff;
  --text-dark: #000;
  --text-link: var(--kd-color1);  

  /* Layout & Abstände */
  --container-max: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4.5rem;  

  /* Buttons & States */
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-secondary);
  --btn-text: var(--color-white);

  --box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.05);
  --box-shadow-hover: 0px 0px 30px 0px rgba(0,0,0,0.1);
}

/* Reset & Base */
*, *:after, *::before {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;

  background-image: url("../images/sonne.svg");
  background-repeat: no-repeat;
  background-position: calc(50% - 400px) 200%;
  background-attachment: fixed; 
  background-size: 80vh
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-main);
}

a {
  color: var(--text-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

hr {
  height: 2px;
  border: none;
  border-top: 1px solid var(--color-secondary);
  margin: var(--spacing-md) 0;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------ */
/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  margin: 0;
}

h1 {
  color: var(--color-primary);
  font-size: var(--font-size-h1);
  margin: var(--spacing-md) 0;
  line-height: 1;
}

h2 {
  color: var(--color-primary);
  font-size: var(--font-size-h2);
  margin: 1.7rem 0 0.6rem;
}

h3 {
  color: var(--color-anthracite);
  font-size: var(--font-size-h3);
  margin: 1.25rem 0 0.5rem;
}

h4 {
  color: var(--text-main);
  font-size: var(--font-size-h4);
  margin: 1.25rem 0 0;
}


/* ------------------------------------------------------------ */
/* Text Utilities */
p { margin: 0; padding: 0; hyphens: auto; word-break: break-word; }
em, .em { font-style: italic; }
strong, .strong { font-weight: 500; }
small, .small { font-size: var(--font-size-small); }
sub, sup { font-size: 0.8rem; line-height: 1; }
sub { vertical-align: sub; }
sup { vertical-align: super; }
/* ------------------------------------------------------------ */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--spacing-sm) !important; }
.mb-2 { margin-bottom: var(--spacing-md) !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--spacing-sm) !important; }
.mt-2 { margin-top: var(--spacing-md) !important; }
.center { text-align: center !important; }
.justify { text-align: justify !important; }
.txt-left { text-align: left !important; }
.txt-right { text-align: right !important; }

/* ------------------------------------------------------------ */
/* Lists */
ol, ul {
  margin: 15px 0 20px 20px;
  padding: 0;
  list-style-position: outside;
}

ol { list-style-type: decimal; }
ul { list-style-type: square; }
li { padding: 0 0 8px 0; }

ol.vierschritte li::marker {
  font-weight: bold;
}
/* ------------------------------------------------------------ */

/*-------------------------------------------------------------------
-------------------------------------------------------------------*/
#wrap {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2rem;
margin-bottom: 2rem;
padding: 1rem;
}

#container {
  max-width: 780px;
  width: 100%;
  padding: 0rem;
  background-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

#head {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--kd-color1);
}

#head h1 {
  margin: var(--spacing-lg) 0 0;
}

#head .logo {
  max-width: 280px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: block;
}
nav {
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

/* Content */
section {
  padding: var(--spacing-lg) var(--spacing-xl);
}

@media screen and (max-width:600px) {
  section {
  padding: var(--spacing-md) var(--spacing-md);
}
}

section:nth-of-type(even) {
  background-color: rgba(0,0,0,0.03);
}

section > h2:first-child {
  margin-top: 0;
}

section:last-child {
  border-radius: 0 0 20px 20px;
}


.quote-box-foto, .quote-box {
  max-width: 700px;
  padding: var(--spacing-lg) var(--spacing-lg);
  margin: 80px 0 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  background-color: #fff;
  box-shadow: var(--box-shadow);
  color: #000;
  position: relative;
  text-align: center;
}

.quote-box {
  margin: var(--spacing-lg) 0 0;
}

.quote-box-foto::before {
  content: "“";
  font-size: 90px;
  position: absolute;
  top: 30px;
  left: 25px;
  color: var(--kd-color1);
  font-family: Georgia, serif;
}

.quote-box::before {
  content: "“";
  font-size: 90px;
  position: absolute;
  top: -5px;
  left: 25px;
  color: var(--kd-color1);
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
}

.quote-foto {
  width: 125px;
  margin: -100px auto 0;
  transition: transform .3s
}

.quote-foto img {
  width: 100%;
}

.quote-box:hover .quote-foto  {
  transform: rotate(-10deg);}

table.kontakt {
  border-collapse: collapse;
}

table.kontakt td:first-child {
  padding-right: var(--spacing-sm);
}


