@charset "utf-8";

/* =====================================================================
   Schwarzwald-Tage / Pension Reger – Stylesheet v1 (optische Aufwertung)
   Grundstruktur und Mobile-Verhalten wie zuvor, nur visuelle Veredelung.
   ===================================================================== */

/* --------- Globale Feinheiten --------- */
html {
  scroll-behavior: smooth;
}

*:focus-visible {
  outline: 2px solid #864C01;
  outline-offset: 2px;
}

::selection {
  background: #CCCC66;
  color: #463100;
}


/* --------- Body & Seitencontainer --------- */
body {
  color: #463100;
  background-color: #f4ecd3;
  font-size: 95.01%;
  font-family: Verdana, Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
  padding: 1em 0;
  text-align: center;            /* Zentrierung im Internet Explorer */
}

div#Seite {
  text-align: left;              /* Seiteninhalt links ausrichten           */
  margin: 0 auto;                /* standardkonforme Zentrierung            */
  max-width: 780px;
  padding: 0;
  background: #ffffe0 url(layout/bg_navi.gif) repeat-y;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 22px rgba(70, 49, 0, 0.18),
              0 1px 3px  rgba(70, 49, 0, 0.10);
  overflow: hidden;              /* damit border-radius das Kopfbild beschneidet */
}

div#Seite > a:first-of-type > img,
div#Seite > img:first-of-type {
  box-shadow: 0 2px 6px rgba(70, 49, 0, 0.12);
  display: block;
}


/* --------- Navigation (links auf Desktop, oben auf Mobile) --------- */
div#Navigation {
  float: left;
}

ul#Navigation1, ul#Navigation2, #skyscraper {
  font-size: 1.0em;
  width: 165px;
  margin: 1.5em 0 1.2em;
  padding: 0.6em;
}

ul#Navigation1 li, ul#Navigation2 li {
  list-style: none;
  margin: 0;
  padding: 0.15em 0;
}

ul#Navigation1 a, ul#Navigation2 a {
  display: block;
  padding: 0.35em 0.5em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 3px;
  border-left: 3px solid transparent;
  transition: background-color 0.25s ease,
              box-shadow 0.25s ease,
              border-left-color 0.25s ease;
}

ul#Navigation1 a:link,
ul#Navigation1 a:visited {
  color: #463100;
  background-color: #D8CB90;
}

ul#Navigation1 a:hover {
  color: #463100;
  background-color: #FFFFE0;
  box-shadow: 0 1px 4px rgba(70, 49, 0, 0.18);
  border-left-color: #864C01;
}

ul#Navigation1 a:active {
  color: #463100;
  background-color: #D8CB90;
}

/* Aktiver Menüpunkt (Inline-Style background #CCCC66) bekommt Akzentrand */
ul#Navigation1 a[style*="CCCC66"],
ul#Navigation1 a[style*="cccc66"] {
  border-left-color: #808000;
}

ul#Navigation1 table {
  margin: 1.1em 0 0;
  padding: 0;
  width: 100%;
  border-spacing: 2px;
}

ul#Navigation1 table td {
  padding: 0;
  text-align: center;
}

ul#Navigation1 table a {
  display: inline-block;
  padding: 0;
  background: transparent !important;
  border: none;
  box-shadow: none !important;
  border-left: none !important;
}

ul#Navigation1 table img {
  width: 50px;
  height: auto;
  padding: 0;
  border-radius: 3px;
  opacity: 0.88;
  box-shadow: 0 1px 2px rgba(70, 49, 0, 0.18);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

ul#Navigation1 table a:hover img {
  opacity: 1;
  box-shadow: 0 2px 5px rgba(70, 49, 0, 0.35);
}


/* --------- Navigation in Bildergalerie --------- */
ul#Navigation_Bilder {
  font-size: 1.0em;
  float: left;
  width: 220px;
  margin: 1.5em 0 1.2em;
  padding: 0.6em;
}

ul#Navigation_Bilder li {
  list-style: none;
  margin: 0;
  padding: 0.15em 0;
}

ul#Navigation_Bilder a {
  display: block;
  padding: 0.35em 0.5em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 3px;
  border-left: 3px solid transparent;
  transition: background-color 0.25s ease,
              box-shadow 0.25s ease,
              border-left-color 0.25s ease;
}

ul#Navigation_Bilder a:link,
ul#Navigation_Bilder a:visited {
  color: #463100;
  background-color: #D8CB90;
}

ul#Navigation_Bilder a:hover {
  color: #463100;
  background-color: #FFFFE0;
  box-shadow: 0 1px 4px rgba(70, 49, 0, 0.18);
  border-left-color: #864C01;
}

ul#Navigation_Bilder a:active {
  color: #463100;
  background-color: #D8CB90;
}

ul#Navigation_Bilder a[style*="CCCC66"],
ul#Navigation_Bilder a[style*="cccc66"] {
  border-left-color: #808000;
}

ul#Navigation_Bilder table {
  margin: 1.1em 0 0;
  padding: 0;
  width: 100%;
  border-spacing: 2px;
}

ul#Navigation_Bilder table td {
  padding: 0;
  text-align: center;
}

ul#Navigation_Bilder table a {
  display: inline-block;
  padding: 0;
  background: transparent !important;
  border: none;
  box-shadow: none !important;
  border-left: none !important;
}

ul#Navigation_Bilder table img {
  width: 50px;
  height: auto;
  padding: 0;
  border-radius: 3px;
  opacity: 0.88;
  box-shadow: 0 1px 2px rgba(70, 49, 0, 0.18);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

ul#Navigation_Bilder table a:hover img {
  opacity: 1;
  box-shadow: 0 2px 5px rgba(70, 49, 0, 0.35);
}


/* --------- Inhaltsbereich --------- */
div#Inhalt {
  margin: 0 0 1em 190px;
  padding: 0 1.5em 1em;
  clear: right;
}

* html div#Inhalt {
  height: 1em;                   /* IE6-Workaround */
  margin-bottom: 0;
}

div#Inhalt h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2em;
  margin: 0.4em 0 0.3em;
  color: navy;
}

div#Inhalt p {
  font-size: 1.05em;
  margin: 1.1em 0;
}


/* --------- Überschriften (Serif für Pensions-Charme) --------- */
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3em;
  font-weight: bold;
  color: #463100;
  letter-spacing: 0.02em;
  margin-top: 0.6em;
  margin-bottom: 0.5em;
  line-height: 1.35;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25em;
  color: #463100;
  letter-spacing: 0.02em;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
}

h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #463100;
  letter-spacing: 0.02em;
  margin-top: 1.3em;
  margin-bottom: 0.45em;
}


/* --------- Text-Klassen --------- */
#Inhalt p.mittelgross {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3em;
  color: #463100;
  margin-top: 8pt;
  margin-bottom: 8pt;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

#Inhalt p.klein {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.82em;
  color: #6B4E1F;
  font-style: italic;
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
}

p.table {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10.5pt;
  color: #463100;
  margin-top: 0;
  margin-bottom: 0;
}

#Inhalt p.table_klein {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.0em;
  color: #463100;
  margin-top: 0;
  margin-bottom: 0;
}


/* --------- Listen --------- */
li {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1em;
  color: #463100;
  margin-bottom: 0.5em;
}

ul {
  list-style-type: disc;
}


/* --------- Links --------- */
a:link {
  color: #864C01;
  font-size: 0.96em;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:visited {
  color: #864C01;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #5d3500;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #864C01;
}


/* Sitemap- und Fußzeilen-Links sollen unauffälliger sein */
#sitemap a:link {
  font-weight: normal;
  color: #463100;
}

#sitemap li {
  margin: 0;
}

#fusszeile a:link,
p#Fusszeile a:link {
  font-weight: normal;
}


/* --------- Trennlinien (hr) – weiche Aquarell-Optik --------- */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #C0B377, transparent);
  margin: 1.6em auto;
  width: 95%;
}


/* --------- Preistabellen --------- */
table.preistab {
  width: 100%;
  max-width: 560px;
  background-color: #FFFFCC;
  border: 1px solid #D8CB90;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.92em;
  box-shadow: 0 2px 8px rgba(70, 49, 0, 0.10);
  margin: 0.4em auto 0.6em;
}

table.preistab td {
  border-top: 1px solid #E8DCB0;
  padding: 0.45em 0.7em;
  transition: background-color 0.2s ease;
}

table.preistab tr:first-child td {
  border-top: none;
}

table.preistab tr:hover td {
  background-color: #FFFFE6;
}

div#div_preistab p {
  font-family: Verdana, Arial, sans-serif;
  padding: 0;
}

div#div_preistab p.preistable_indent {
  margin: 0.25em 1em 0.25em 1.2em;
  text-align: left;
}

div#div_preistab p.preistable_centr {
  margin: 0.25em 1em 0.25em 1.2em;
  text-align: center;
  font-weight: bold;
}

table.preistab p {
  font-family: Verdana, Arial, sans-serif;
  padding: 0;
}


/* --------- Formular-Tabellen --------- */
table.formular {
  width: 100%;
  max-width: 540px;
  background-color: #FFFFCC;
  border: 1px solid #D8CB90;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(70, 49, 0, 0.08);
}

table.formular td {
  padding: 0.35em 0.6em;
  vertical-align: middle;
}

/* HTML-Attribut align respektieren (legacy align="right"/"left"/"center") */
table.formular td[align="right"]  { text-align: right;  }
table.formular td[align="left"]   { text-align: left;   }
table.formular td[align="center"] { text-align: center; }


/* --------- Formularfelder --------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
textarea,
select {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.95em;
  color: #463100;
  background-color: #FFFFF5;
  border: 1px solid #D8CB90;
  border-radius: 3px;
  padding: 0.3em 0.5em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #864C01;
  outline: none;
  box-shadow: 0 0 0 3px rgba(134, 76, 1, 0.18);
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.95em;
  color: #463100;
  background-color: #D8CB90;
  border: 1px solid #C0B377;
  border-radius: 3px;
  padding: 0.4em 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover {
  background-color: #E5DAA8;
  box-shadow: 0 1px 4px rgba(70, 49, 0, 0.2);
}


/* --------- Bilder allgemein --------- */
img {                            /* Bilder bei schmalen Displays skalieren */
  max-width: 100%;
  height: auto;
}

/* Inhalts-Bilder bekommen Karten-Optik (außer kleine Icons & Flaggen) */
div#Inhalt img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(70, 49, 0, 0.14);
  transition: box-shadow 0.25s ease;
}

div#Inhalt img:hover {
  box-shadow: 0 4px 12px rgba(70, 49, 0, 0.22);
}

/* Ausnahme: ganz kleine Icons (Werbe-Pixel, B&B-Logo) ohne Schatten */
div#Inhalt img[width="200"],
div#Inhalt img[width="72"] {
  border-radius: 0;
  box-shadow: none;
}


/* --------- Bild-Galerie (Thumbnail-Tabellen ohne Klasse) --------- */
div#Inhalt table[border="0"]:not([class]) {
  border-spacing: 8px;
  border-collapse: separate;
  margin: 0.5em auto;
}

div#Inhalt table[border="0"]:not([class]) td {
  text-align: center;
  vertical-align: top;
  padding: 4px;
}

div#Inhalt table[border="0"]:not([class]) td img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(70, 49, 0, 0.16);
}

/* Skalierbare td-Bilder (klassische Regel beibehalten) */
td img {
  width: 100%;
}


/* --------- Skalierungs-Container --------- */
table#div_preistab,
#div_preistab {                  /* Tabellen bei schmalen Displays skalieren (Firefox) */
  max-width: 100%;
  height: auto;
}


/* --------- Fußzeile --------- */
p#Fusszeile {
  clear: both;
  font-size: 0.85em;
  margin: 0;
  padding: 0.6em 0.3em;
  text-align: center;
  background: linear-gradient(to bottom, #E5DAA8, #D8CB90);
  border-top: 1px solid #C0B377;
}


/* =====================================================================
   Mobile / Responsive (Schwellen unverändert)
   ===================================================================== */

@media screen and (min-width: 580px) and (max-width: 659px) {
  div#Inhalt {
    margin: 0 0 1em 0;
    background-color: #ffffe0;
  }
  ul#Navigation1, ul#Navigation2, #skyscraper {
    float: left;
  }
  div#Seite {
    font-size: 97%;
  }
  div#Inhalt {
    clear: both;
  }
}

@media screen and (min-width: 380px) and (max-width: 579px) {
  div#Inhalt {
    margin: 0 0 1em 0;
    background-color: #ffffe0;
  }
  div#skyscraper {
    clear: both;
  }
  ul#Navigation1, ul#Navigation2 {
    float: right;
  }
  div#Seite {
    font-size: 94%;
  }
  #uebersicht img, #cornettabelle img {
    width: 100px;
    height: auto;
  }
  div#Inhalt {
    clear: both;
  }
}

@media screen and (max-width: 379px) {
  div#Inhalt {
    margin: 0 0 1em 0;
    background-color: #ffffe0;
  }
  div#Seite {
    font-size: 91%;
  }
  #uebersicht img, #cornettabelle img {
    width: 100px;
    height: auto;
  }
  div#Inhalt {
    clear: both;
  }
}


/* =====================================================================
   Druck-Optimierung
   ===================================================================== */
@media print {
  body {
    background: white;
    color: black;
    font-size: 10pt;
  }
  div#Seite {
    box-shadow: none;
    border-radius: 0;
    background: white;
    max-width: 100%;
  }
  div#Navigation,
  ul#Navigation1,
  ul#Navigation2,
  ul#Navigation_Bilder,
  #skyscraper,
  .adsbygoogle,
  p#Fusszeile,
  iframe {
    display: none !important;
  }
  div#Inhalt {
    margin: 0;
    padding: 0;
    background: white;
  }
  a, a:link, a:visited {
    color: black;
    border-bottom: none;
    text-decoration: underline;
  }
  /* URL hinter externen Links beim Druck einblenden */
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    font-weight: normal;
  }
  img, table, hr {
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  hr {
    background: #888;
    height: 1px;
  }
  h1, h3, h4 {
    page-break-after: avoid;
  }
  table, img {
    page-break-inside: avoid;
  }
}
