html { 
    box-sizing: border-box; 
    padding: 0;
    margin: 0;  
} 

*, ::before, ::after { 
    box-sizing: inherit; 
}

a {
  color: darkblue;
}

a:hover,
a:focus {
    background:#e6f2f7 ;
}

/* Kopf/Header */
header {
  max-width: 95%;
  color:white;
  background: #eee;
  margin: 0 auto 1.6em;
  position: relative;
}

header::after {
  position: absolute;
  content: "";
  background: linear-gradient(to top,  #1b325f 50%, #F96E51 65%);
  height: 1.6em;
  left: 0;
  right: 0;
  bottom: -1.6em;
}

header #logo {
  display: inline-block;
  background: silver;
  color: blue;
  text-decoration: none;
}

/* Winter */
.snowflake {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  pointer-events: none;
}

/* Navigation */
nav {
    margin: 0 auto 1.3em;
    position: relative;
    width: 85%;
    background: black;
    font-size:14px;
}

nav ul {
    margin: 0;
    padding: 0;
    font: 1.3em  Arial, Helvetica, sans-serif;
    list-style-type: none;
}

nav li {
    display: inline;
    margin: 0;
}

nav a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: .5em;
    padding-right: 1.5em;
    text-align: right;
}

[aria-current=page] {
    font-weight: bold;
    color: #feb040;
}

nav a::after {
    content:" ";
    color: #feb040;
    display: inline-block;
    width: 1,5em;
}

nav a:hover::after,
nav a:focus::after {
    content:" ▼";
}  

nav a:hover,
nav a:focus {
    background: transparent;
    color: #feb040;
}

/* Inhalt */
body {
    width:94%;
    margin-left:2em;
    margin-right:2em;
}

main {
  margin-left: 10%;
  margin-right: 10%;
}

main,
footer {
  max-width: 75em;
  padding: 2em;
  margin: 0 auto;
}

#index main {
  margin-top: -2em;
}

#agb {
  width:2em;
  font: 1.9em  Arial, Helvetica, sans-serif;
}

@media only screen and (min-width: 60em) {
    main,
    footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 60em) {
    main,
    footer {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Weihnachtsfarben für den Schriftzug */
.weihnachtsgruß {
  font-size: 2.5em;
  animation: colorChange 5s infinite;
}

@keyframes colorChange {
  0%   { color: #ff0000; }
  25%  { color: #008000; }
  50%  { color: #ffd700; }
  75%  { color: #ff4500; }
  100% { color: #0000ff; }
}


article {
    grid-column: 1 / -1;
    display: grid;
    align-content: start; 
}

article img {
    float: left;
    margin-right: 2em;
    width: 25%;
}

aside h2 {
  color:#606261;
}

aside dt {
  margin: 1.5em 0;
  font-size:1.1em;
}

aside dd {
  margin: 1.5em 0;
  font-style:italic;
  font-size:.9em;
}

aside ul {
  margin:30px 0;
  font-size:.9em;
}

aside li {
  margin:20px 0;
  padding-left:25px;
}

dl.grid { 
  display: grid;
  align-content: start; 
  grid-template-columns: 1fr 100%; 
}

dd { 
  margin: 0; 
  padding-left: 1em; 
}

dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] {
  white-space: nowrap;
}

h2 {
  color:#085f8a;
}

h2::last-Word {
  color: #00f;
}

h2.line::first-letter {
  color: firebrick;
}

/* Fußzeile */
footer {
    display: grid;
    margin-left:40px;
    max-width:75%;
    grid-template-columns: repeat(2, 1fr);
    font-size:1.2em;
}

table#partner {
    border-collapse: separate;
    border-spacing: 0.2em;
    margin-left: 2em;
    box-shadow: 0 0 0.1em #666;
    position: relative;
    z-index: 1;
    cursor: context-menu;
}

table#partner th,
table#partner td {
    padding: 0.2em 0.5em;
    border-radius: 0.1em;
}

table#partner thead th {
    background-image: linear-gradient(to top, red 10%, blue);
    color: white;
}

tr {
    background-color: #fff;
    text-align: left;
}

thead {
    outline-style: groove;
    outline-width: 2px;
    outline-color: #1C86EE;
    background-color: #CCCCCC;
    font-weight: bold;
    text-align: left;
    font-size: 14px;
    color: blue;
}

td {
    font-size: 15px;
    border: 1px solid #ccc;
}

inhalt {
    margin-left:8em;
    margin-right:8em;
    font-family: Arial, sans-serif;
    font-size:.9em;
}

/* Herbstlaub */
.leaf-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.leaf {
  position: absolute;
  top: -50px;
  font-size: 2rem;
  animation-name: fall, sway, spin;
  animation-timing-function: linear, ease-in-out, linear;
  animation-iteration-count: 1, infinite, infinite;
  animation-fill-mode: forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@keyframes sway {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(30px); }
  100% { transform: translateX(-30px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Horizontale Linie */
.hr-dotted {
  border: none;
  border-top: 2px dotted #000;
  margin: 20px 0;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  font-family: Arial, sans-serif;
  font-size: 1em;
  line-height: 1.6;
}

.person {
  display: flex;
  flex-direction: row-reverse; /* Bild rechts */
  align-items: flex-start;
  gap: 1em;
  margin-bottom: 2em;
}

.person img {
  width: 150px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.info {
  flex: 1;
  min-width: 200px;
}

/* Mobilansicht */
@media (max-width: 600px) {
  .person {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info {
    text-align: left;
  }
}

