﻿ 
/*- class="nichtdrucken"(für HTML Dieser Text wird nur am Bildschirm angezeigt und beim Drucken versteckt. -*/
@media print {
.nicht-drucken {
	display:none;}
}

/* == Inhalt (zBsp wichtiger Inhalt blau und fett), der nur gedruckt werden soll! (am Bildschirm nicht angezeigt) == */
@media print {
  .nur-drucken {
	   display: block; /* Beim Drucken anzeigen */
          color: blue;
          font-weight: bold; }
}

/* ----macht auf Bildschirm unsichtbar--z.Bsp: <div style="display: none;">inhalt unsichtbar</div>
 ---  */
.hide {
display: none;
}

/* CSS Reset damit allen Browsern gleich aussieht, alle Standardabstände und Rahmen im Browser entfernt 
  werden– als Basis für ein sauberes, einheitliches Layout.*/

* {
	margin: 0px;
	padding: 0px;
	border: 0px;
    box-sizing: border-box; /*  Reset / Box model fix /wichtig: verhindert Breitenüberschuss */
}
    
  /* ============================  Schriften  ============================== */
     
 /* ================= Lato ================= */
        
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /*tauschen*/
}
 /* ================== Playfair Display ======================= */
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/Playfair/PlayfairDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/Playfair/PlayfairDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
} 
/* ================= Playfair Display ================= */
h1{ 
    font-family: 'Playfair Display'; 
    font-weight: normal;
    font-style: normal;
    width:auto;
	height:auto;
	float:left;
	color:#21498F;/*== textfarbe blau ==*/
	font-size:30px;
	line-height:30px;
  }
   
 /* ==== subtitles_cont ===== */ 
h2{   /* wie h6 */
    font-family: 'Playfair Display'; 
    font-weight: normal;
    font-style: normal;
	width:auto;
	height:auto;
	color:#21498F;/*== textfarbe blau ==*/
	font-size:24px;
	line-height:24px;
	margin:20px 0;
}
h5{  
    font-family: 'Playfair Display'; 
    font-weight: normal;
    font-style: normal;
	color:#21498F; /*== textfarbe blau ==*/
	font-size:18px;
} 
h6{  /* bestelformular */
    font-family: 'Playfair Display'; 
    font-weight: normal;
    font-style: normal;
	color:#21498F;/*== textfarbe blau ==*/
	font-size: 16px;
}

  /* ======  Clearfix Das „leere Div“ (Klassische Methode) ====== */
  .clr {                 /* <div style="clear: both;"></div> <!-- Erzwingt das Ende der Floats -->  */
       clear: both;
       height: 0;
       line-height: 0;
       font-size: 0;
 } 

 /* =========== „Micro Clearfix“ (Empfohlen) ========== */    
 .clearfix:after {
    content: "";
    display: table;
    clear: both;
}
/* HTML: Beispil
   <div class="content clearfix">     Du fügst dem Elternelement eine Klasse (z. B. clearfix) hinzu.Das CSS nutzt ein Pseudoelement, 
   <div class="img-right">...</div>    um den Float am Ende des Containers unsichtbar aufzuheben
   <div class="textleft">...</div>
   </div>  */
 /* ==========================  Grundlayout  =============================== */
html, body {
    margin: 0;
    padding: 0;
    background: #d8d8d8;
    font-family: 'Lato',sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
 }

  /* ====== Hauptcontainer 860px ====== */
  #main {
     width: 860px;
     margin: 9px auto;
     background: #ffffff;
     border: 1px solid #999; /* 1px border innen, box-sizing sorgt dafür, dass die 860px inkl. border sind */
     position: relative;
       /*  CSS3 (optional, aber stört CSS 2.1 nicht) */
     box-shadow: 0 4px 12px rgba(0,0,0,0.35), /*(0.20, 0.15, 0.10) sanfterer Außenschatten */
                 0 12px 24px rgba(0,0,0,0.20),
                 0 24px 48px rgba(0,0,0,0.10);
            }   
/* ==================================== */ 

 /* ============= Header =================
      Du hattest 850px width und margin:5px - hier nutzen wir 100% Breite
      mit 5px Innenabstand, damit es zuverlässig in #main passt. */
  #header {
     width: auto;
     height: 162px;
     margin:5px;
	 background:url(grafiken/header_bg.png) repeat-x;  /* == 26+136=162px Farbe#1f5c89 == */         
	 border-top: 1px solid #c9c9c9;
 }
 /* =======================================
   Content (1-Spalte) 850px-(2x75=)150=700px
   ======================================== */
   #content {
    width: auto;   /* oder 100%  */
    min-height: 250px;
    margin-left: 5px;
    margin-right:5px;
    margin-bottom:5px;
    background: #fff;
    border-top: 1px solid #999;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 1px 75px 5px 75px;   /* innenabstand, in box-sizing enthalten */
   }
/* ======= Logo im Header absolut platzieren  ========= */
.logo {
    display: block;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 39px;        /* 36px unter Header-Top */
    left: 50%;        /* Mitte */
    margin-left: -60px; /* Hälfte der Breite → perfekt zentriert */
    background: url("grafiken/logo.png") no-repeat center center;
    background-size: 120px 120px;
    /* ====== Rechtsklick verhindern ======== */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;    /* Link bleibt klickbar */
    /* ====== Rechtsklick-Blocker ====== */
    -webkit-touch-callout: none;
}
/* ====== Retina-Version ====== */
@media 
(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        background-image: url("grafiken/logo@2x.png");
        background-size: 120px 120px; }  }

 /* ========== topmenu  ===============*/
  .topmenu {
    width:292px;
	height:auto;
    float:right;
    font-family: "Playfair Display", serif; 
    font-weight: normal;
    font-style: normal;
    color: black;
    font-size:13px;
    text-align: center;      
 }
  .topmenu-inner {
    display: inline-block;
    position: relative;
 }
  .topmenu-inner a {
    color: #000; /* Link-Farbe */
    margin: 0 0px; /* 5px Abstand zwischen den Menüpunkten */
    text-decoration: none;  
    padding: 0 5px;/* 5px  Menüpunkten seitliche blaue ramen */
    border-radius: 5px;
    transition: background-color 0.6s ease; /*  Sanfter Übergang für Hover */
 }
  .topmenu-inner a:hover { 
     background-color: #1f5c89; /* Hintergrund beim Hovern */
     color: #fff; 
 }
  .topmenu-inner a.active {
	 background-color: #1f5c89; /* Hintergrund beim dauer active seite */
     color: #fff; 
 }

/* ========== Menü ============= */
 .menu {
    width: auto;
    font-family: "Playfair Display"; 
    font-weight: normal;
    font-style: normal;
    color: black;
    font-size:15px;
    text-align: center;
    padding-top: 0;
    padding-bottom:3px;
    background: white;
    }
  .menu-inner {
    display: inline-block;
    position: relative;
    padding: 5px 0;
    border-bottom: 4px double #90a4c7; /* #8c8c8c #b7b8b9; untere Linie */ }

  .menu-inner a {
    color: #000; /* Link-Farbe */
    margin: 0 5px; /* 5px Abstand zwischen den Menüpunkten */
    text-decoration: none;  
    padding: 0 5px;/* 5px  Menüpunkten seitliche blaue ramen */
    border-radius: 5px;
    transition: background-color 0.3s ease; /*  Sanfter Übergang für Hover */
 }
  .menu-inner a:hover { 
     background-color: #1f5c89; /* Hintergrund beim Hovern */
     color: #fff; 
 }
  .menu-inner a.active {
	 background-color: #1f5c89; /* Hintergrund beim dauer active seite */
     color: #fff; 
 }
/* ===== menü ende===== */
/* =======   Footer  ============= */
   #footer {
     width: auto;
     height: auto;
     background:#1f5c89;  
     margin-left:5px;
     margin-right:5px;
     margin-bottom:5px;
     color: #FFF;
     font-size: 16px;
     line-height: 20px;
     text-align: center;
     padding: 12px 0;
 }
 .separator {
	text-align:center;
	padding-bottom:20px;
	padding-top:2px;	
}
/* --- in footer ---- */
.link_white {
   text-decoration:none;
   font-family: "Playfair Display", serif; 
    font-weight: normal;
    font-style: normal;
    font-size:16px;
    line-height:22px;
    color:#ffffff;
 }  
.link_white:hover{
     text-decoration:underline;
}
/* ------- */

  /* ====  Mail mit klick aktiv (bei impressum)===== */  
 #mail a {
  color: #21498F;
  text-decoration: none;
}
#mail a:hover {
  font-weight: 500;
}
  /* === E-Mail ohne klick pasiv zu kopieren(bei kontakt) ===*/

 .email,.email-text {
  font-family: 'Playfair Display';
  font-weight: normal;
  font-style: normal;
  color: #21498F;
  /*font-family: inherit; erben*/
  cursor: text;       /* zeigt Text-Cursor */
  user-select: text;  /* explizit markierbar */
}

 /* =======  Formular ============= */
   
table.c4 {width: 696px;
     background-color: white; 
     margin-left:0px;
     margin-right:0px;}
      
 td.c1 {width:130px; height: 36px; text-align: right}
 td.c2 {width: 218px; height: 36px; }
 td.c3 {width: 130px; height: 36px;}
 td.c4 {height: 36px;}  
  
.textcenter { text-align: center;}
.textright { text-align: right;}  
 
.select{  font-size: 14px;
        font-family:Verdana,Georgia;
        background-color : #f7f8fa;
        border-bottom : 1px dotted #19293F;
        border-left : medium none #19293F;
        border-right : medium none #19293F;
        border-top : medium none #19293F;
 }
  .textfield {  font-size: 14px;
        font-family:Verdana,Georgia;
        background-color : #f7f8fa;
        border-bottom : 1px dotted #19293F;
        border-left : medium none #19293F;
        border-right : medium none #19293F;
        border-top : medium none #19293F;
  }
  .text_textarea{
        background-color:#f7f8fa;    /* #f7f8fa */
        font-size:14px;
        font-family: Verdana,Georgia;
        color:#4b4b4b;
        border:1px solid #dcdfe5;
  }	
.form_subtitle { 
    font-family: 'Playfair Display';
	font-weight: normal;
    font-style: normal;
	color:#1d1d1d; /*== textfarbe#292929 #2b2a29==*/
	font-size:14px;
	vertical-align:top;
 }
 .form_datum { 
    font-family: 'Playfair Display';
	font-weight: normal;
    font-style: normal;
	color:#1d1d1d; /*== textfarbe#292929 #2b2a29==*/
	font-size:14px;
	padding-right:40px;
 }
 .form_large {
      font-family: 'Playfair Display'; 
      font-weight: normal;
      font-style: normal;
	  color:#21498F;
      font-size: 16px; 
  } 
  .form_medium { 
      font-family: 'Playfair Display'; 
      font-weight: normal;
      font-style: normal;
	  color:#21498F;
      font-size: 14px;
  } 
  .button{
  border-bottom: #afafaf 2px solid;
  border-left: #eaeaea 2px solid;
  border-right: #afafaf 2px solid;
  border-top: #eaeaea 2px solid;
  background-color:#dfe0e2;
  font-family: 'Playfair Display'; 
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  text-align:left;
  padding: 2px 15px 2px 15px;
  color: #2859ac;
  cursor:pointer;
  display:inline;
  width:auto;
  }

  .button_reset{
  border-bottom: #afafaf 2px solid;
  border-left: #eaeaea 2px solid;
  border-right: #afafaf 2px solid;
  border-top: #eaeaea 2px solid;
  background-color:#dfe0e2;
  font-family: 'Playfair Display'; 
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  text-align:left;
  padding: 2px 15px 2px 15px;
  color: #b70012;
  cursor:pointer;
  display:inline;
  width:auto;
  }

 /* formular bestätigung */
.order_back_text { 
	width:300px;
	height:auto;
	float: left;
	text-align:left;
	font-size:12px;
    font-family: TrebuchetMS,Georgia;
    color:#4b4b4b;
	padding-left:2px;
	padding-top:6px;
	padding-bottom:2px;
}

#contact_data_prot { /* === Datenschutzt  ===  */
	width:270px;
	height:auto;
	padding-top:1px;
}
 /* =============  Datenschutz Blase =========== */
  /* Das Wort selbst */
  .bubble-term {
    position: relative;
    color: #1d1d1d;
    text-decoration: underline;
    cursor: help;
  }
  /* Die Sprechblase - Standardmäßig VERSTECKT */
  .bubble-term .bubble-content {
    display: none; /* Dies MUSS den Text verstecken */
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 600px;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    box-shadow: 5px 5px 8px #a5a6a6;
    color: #000000;
    z-index: 999;
    line-height: 1.5;
    font-size: 15px;
    text-decoration: none; /* Unterstreichung vom Link entfernen */
  }

  /* Anzeigen NUR bei Mauskontakt */
  .bubble-term:hover .bubble-content {
    display: block !important;
  }
/* =============  ende datenschutz blase =========== */

#bestaetigung, #fehler, #confirm, #error { position: fixed; top: 0; }

.lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity 0.35s ease; 

}
/* Aktiv */
#bestaetigung:target, #fehler:target, #confirm:target, #error:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Content – reale Zielgröße */
.lightbox-content {
    position: absolute;/*fixed*/
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 450px;
    -webkit-transform: translate(-50%, -50%) scale(0.96);
    transform:translate(-50%, -50%)scale(0.96);
    transition: transform 0.35s ease;
    
    text-align: center;
}
.lightbox-content > * {
    margin: 10px 0;
}
/* Einblenden */
#bestaetigung:target .lightbox-content, #fehler:target .lightbox-content, #confirm:target .lightbox-content, #error:target .lightbox-content  {
    -webkit-transform:translate(-50%, -50%)scale(1);
    transform:translate(-50%, -50%)scale(1);
}
.bestaetigung-wrapper, .confirm-wrapper {
    /* position: relative; */
    width: 100%;
    padding: 7px 20px 23px 20px;
    min-height: 150px;
    background-color: #e7f4e9;
    border: 5px solid #188919;
    border-radius: 20px;
    /* height:auto; */
}
.fehler-wrapper, .error-wrapper {
    /* position: relative; */
    width: 100%;
    padding: 20px 20px 23px 20px;
    min-height: 150px;
    background-color: #ffffff;
    border: 5px solid #d46e60; /* #ba3522 */
    border-radius: 20px;
    /* height:auto; */
}
/* Schließen */
.overlay{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}
.close-btn {
  margin-top: 15px;
  border-bottom: #afafaf 2px solid;
  border-left: #eaeaea 2px solid;
  border-right: #afafaf 2px solid;
  border-top: #eaeaea 2px solid;
  background-color:#ebfcf6;
  font-family: 'Playfair Display'; 
  font-weight: normal;
  font-style: normal;
  font-size: 15px;
  text-align:left;
  text-decoration: none;
  padding: 2px 10px 4px 10px;
  color: #21498F;/* blau */
  cursor:pointer;
  display:inline-block;
  width:auto;
}