html {
  font-size: 16px;               /* Basisgröße */
  -webkit-text-size-adjust: 100%;/* verhindert iOS-Autozoom */
}

body {
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  font-family: "Times New Roman", serif;
    font-size: 16px;               /* feste Größe */
}

@font-face {
  font-family: 'VivaldiStd';
  src: url('VivaldiStd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

.mainh1{
  font-family: 'VivaldiStd';
  src: url('VivaldiStd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;  
  font-size:3rem;
}
/* Wrapper: zentriert, kein Überlauf */
.hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-top: 0px;
  overflow-x: hidden;
  position: relative;
/*  border:1px solid red;*/
}

/* Hero-Bild zentriert */
.hero-container {
  width: 1200px;
  flex-shrink: 0;
  z-index: 2;
}

.hero-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Erweiterungen links/rechts */
.hero-extension {
  flex-grow: 1;
  height: auto;
  min-width: calc((100vw - 1200px) / 2);
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 1;
}

/* Linker Streifen */
.hero-extension.left {
  background-image: url("hg_left.jpg");
  background-position: top left;
  height:720px;
}

/* Rechter Streifen */
.hero-extension.right {
  background-image: url("hg_right.jpg");
  background-position: top right;
  height:720px;
}

@media screen and (max-width: 1199px) {
  .hero-extensions {
    display: none;
  }

  .hero-container {
    width: 100%;
    padding: 0;
  }
}
.inhalt{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  position: absolute;
  z-index: 10;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);

}

.content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  position: absolute;
  z-index: 10;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);

}

.contentu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 10;
   width: 90%; 
  left: 50%;
  margin-top:1em;
  transform: translateX(-50%);
      border: 0px solid #0f0; 
}

.content-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.content-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
 /* width:100%;*/
}

.fade-in-img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-img.visible {
  opacity: 1;
  transform: translateY(0);
}



.dog-wrapper {
  position: relative;
  display: inline-block;
  float:left;
}


@media (max-width: 900px) {
  .dog-wrapper {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);  
  }

}

.dog-img {
  display: block;
  width: 100%;
  height: auto;
}

.tail {
  position: absolute;
  top: 0px; /* je nach Bild */
  left: 0px;  /* je nach Bild */
  height:100px;
  width: 100px;
  background: url("schwanz.png") no-repeat center;
  background-size: contain;
  transform-origin: bottom right;
  animation: wag 0.6s infinite ease-in-out;
  z-index:100;
}

@keyframes wag {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(15deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}

.head{
    margin-top:10px;
    float:left;
}

/* Grundlayout */
header {
  width: 100%;
  border-bottom: 0px solid #fcc;
  padding: 0;
  line-height: 2.5em;
  position: fixed;
  z-index:1000;
}

#main-menu ul {
  display: flex;
  flex-wrap: wrap; /* erlaubt zweizeiliges Umbrechen */
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top:-3em;
}

#main-menu li a {
  text-decoration: none;
  font-family: "Times New Roman", serif;
  font-size: 1.1rem;
  color: #333;
  padding: 8px 12px;
}
#side-menu {
  position: fixed;
  top: 0;
  right: -300px; /* außerhalb des Bildschirms */
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* halbtransparent */
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1001;
}

#side-menu ul {
  list-style: none;
  padding: 40px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#side-menu.open {
  right: 0; /* sichtbar */
}

.menu-toggle-home {
  font-size: 2rem;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1002;
}
#side-menu li a {
  position: relative;
  text-decoration: none;
  font-family: "Times New Roman", serif;
  font-size: 1.1rem;
  color: #333;
  padding: 8px 12px;
}

/* animierte Linie */
#side-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #14c0ff; /* deine Akzentfarbe */
  transition: width 0.3s ease;
}

/* bei Hover */
#side-menu li a:hover::after {
  width: 100%;
}

/* bei aktiver Seite */
#side-menu li a.active::after {
  width: 100%;
}


/* Hamburger-Button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1002;
}
/* Hamburger-Button */
.menu-toggle-home {
  display: block;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 50px;
  z-index: 1002;
}



.top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

/* Hundebild fixiert */
.dog-wrapper {
  flex-shrink: 0;
  width: 300px; /* oder was du brauchst */
}

/* Kopfbereich flexibel */
.head {
  flex: 1;
  width: 450px;
  border: 0px solid #14c0ff;
  text-align:center;
}
@media (max-width: 900px) {
  .head{
/*
    text-align:left;
    left: 50%;
    transform: translateX(-50%);  
*/
  }
}





.ueberschrift{
  text-align:center;
  width:100%;
}

.ueberschrift h1{
  color:#14c0ff;
  text-decoration:underline;
}

.fly-in-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1em;
}

.intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.image-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.intro-text {
  flex: 2 1 400px;
}

.accordion-content {
  overflow: hidden;
  height: 0;
  transition: height 0.4s ease;
}

.accordion-content.expanded {
  height: auto;
  padding-top: 20px;
}

.accordion-toggle {
  background: none;
  border: none;
  color: #14c0ff;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  font-size:1.3rem;
}

.fly-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.fly-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fly-in-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1em;
}


.fly-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.fly-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Wellen */
.wave {
  position: relative;
  display: block;
  width: 100vw;
/*  min-width: 900px;*/
  height: 100px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .wave{
    width:100%;
  }
}  
/* Section */
.philosophie-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f5f5f5;
  position: relative;
  z-index: 1;
}

.philosophie-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

/* Layout */
.intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.image-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
}

.intro-text {
  flex: 2 1 400px;
}

.accordion-content {
  overflow: hidden;
  height: 0;
  transition: height 0.4s ease;
}

.accordion-content.expanded {
  height: auto;
  padding-top: 20px;
}

.anfahrt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  flex-direction: row; /* Text links, Karte rechts */
  max-width:800px;
  width:50%;
  margin: 0 auto;
}

.anfahrt-text {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
  max-width:800px;
}

.map-wrapper {
  flex: 1 1 400px;
  min-width: 300px;
  margin: 0 auto;
  padding:20px;
  margin-top:20px;
  max-width:800px;
}
@media (max-width: 768px) {
  .anfahrt-row {
    flex-direction: column;
    width:95%;
  }
.anfahrt-text {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
}

.map-wrapper {
  flex: 1 1 400px;
  width: 90%;
  margin: 0 auto;
  padding:20px;
  margin-top:0px;
}

}
.footer{
  background-color:#333333;
  color: #f6f6f6;
  width:100vw;
  height: 8em;
  padding-left: 30px;
  margin-bottom:0px;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  #side-menu li a {
    font-size: 1.3rem;   /* statt 1rem */
    padding: 12px 16px;  /* etwas mehr Abstand */
  }
}
@media (max-width: 900px) {
  .menu-toggle-home {
    font-size: 2.5rem;   /* statt 2rem */
    top: 20px;
    right: 25px;
  }
}
@media (max-width: 900px) {
  #side-menu li a { font-size: 20px; padding: 14px 18px; }
  .menu-toggle-home { font-size: 36px; padding: 10px; }
}


