/*
     whisky.css aus whisky-hh.de
*/

/* Reset & Grundlegendes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  font-family: Verdana, sans-serif;
  color: #333;
  line-height: 1.4;
  background: #fff8f0;
  padding-top: 55px;
}
body.layout-wide .main-container {
  grid-template-columns: 1fr;
}

body.layout-wide .sidebar {
  display: none;
}

body.layout-wide .content {
  max-width: 100%;
}
h1, .subh1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 34px;                              /* Große, auffällige Schriftgröße */
  font-family: 'Georgia', serif;                /* Elegante, klassische Schriftart */
  color: #5a3a24;                               /* Warmer, whisky-inspirierter Braunton */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);  /* Dezenter Schatteneffekt */
  overflow-wrap: break-word;
  hyphens: auto;
  letter-spacing: 0.5px;
}
h2 {
	font-family: Verdana, sans-serif;
	font-size: 22px;
	font-weight: bold;
	margin: 12px 0 12px 0;
}
h3, .subh3 {
	font-size:18px;
	font-weight: bold;
}
h4, .subh4 {
	font-size:16px;
  font-weight: bold;
  padding:0.1rem 0.5rem 1rem 1rem;
}
a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05em;
  color: #b86f3c; /* Copper Still */
  padding: 5px;
  transition: color 0.2s ease;
}
a:hover {
  color: #d98a55; /* heller Kupferglanz */
  background-color: rgba(194, 106, 27, 0.15);
  border-radius: 8px;
}
hr {
  border-style: dashed; size: 1px;
}
li {
  margin-left: 20px;
  font-size: 0.85rem;
  line-height: 1.5rem;
}
p {
  padding: 0.5rem;
  font-size: 0.85rem;
}
q {
  quotes: "„" "“" "‚" "‘";
}

details {
  margin-bottom: 0.5em;
}

details summary {
  cursor: pointer;
  list-style: none; /* Bild statt Marker */
}
details summary::-webkit-details-marker {
  display: none;  /* entfernt den kleinen Pfeil bei <summary>   */
}


/* ---------------------------------------------------------
   Tastaturbedienung
   --------------------------------------------------------- */

details > summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
    border-radius: 4px;
}

details summary img {
  vertical-align: middle;
  margin-right: 0.5em;
}

/* ---------------------------------------------------------
   Überschrift
   --------------------------------------------------------- */

.summary-title {
    display: block;

    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.3;

    margin: 0 0 0.45rem 0;

    //text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;

    transition: color 0.2s ease;
}


/* ---------------------------------------------------------
   Kurzbeschreibung
   --------------------------------------------------------- */

.summary-teaser {
    display: block;

    padding: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.55;

    margin: 0;

    /* damit der Text nicht zu breit wird */
    max-width: 75em;
}



/* kleiner Chevron und nach unten */
.more-icon {
  width: 12px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  margin:0 10px;
  display: inline-block;
  transform: rotate(-315deg); /* Pfeil nach unten */
  transition: transform 0.3s ease;
}
details[open] .more-icon {
  transform: rotate(225deg);
}
.more-text {
  display: inline;
}
.less-text {
  display: none;
}
details[open] .more-text {
  display: none;
}
details[open] .less-text {
  display: inline;
}
/* Text per CSS-Pseudoelement */
.toggle-text::after {
  content: "Mehr lesen";
}
details[open] > summary .toggle-text::after {
  content: "Weniger lesen";
}




/* HEADER FIXED */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem 0.2rem 0.5rem;
  flex-wrap: wrap;

  background: #f7f2e9;   /* an dein Farbschema angepasst */
  border-bottom: 2px solid #c8b79a;
}

.header .logo img {
  max-height: 50px;
  height: auto;
}

.header .subh1 {
  flex: 1;
  font-size: 1.6rem;
  margin: 0;
  line-height: 1.2;
}
.header .subh1 span {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.85;
}
.header .logo a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  margin-top: -10px;
}
.hamburger-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hamburger-menu span:nth-child(1) {
  width: 24px;
}

.hamburger-menu span:nth-child(2) {
  width: 18px;
}

.hamburger-menu span:nth-child(3) {
  width: 12px;
}


/* Dropdown unterhalb des fixierten Headers */
.themen-dropdown {
  position: absolute;
  top: 100%;
  right: 1rem;
  z-index: 1001;

  display: flex;
  flex-direction: column;
  //min-width: 190px;
  padding: 0.4rem 0;

  background: #f7f2e9;
  border: 1px solid #c8b79a;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Das hidden-Attribut muss Vorrang behalten */
.themen-dropdown[hidden] {
  display: none;
}

/* Menüeinträge */
.themen-dropdown a {
  display: block;
  margin: 0;
  padding: 0.55rem 1rem;

  color: #a84d19;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.themen-dropdown a:hover,
.themen-dropdown a:focus {
  background: #eee3d2;
  color: #6f3212;
}

/*
.logo a span {
  margin: 30px 0 0 -10px; // für Text "home"
}
*/



/* MAIN CONTENT + SIDEBAR */
.main-container {
  position: relative;
  display: grid;
  grid-template-columns: 4fr 1fr; /* 3/4 Content, 1/4 Sidebar */
  gap: 2rem;
  max-width: 1800px;
  margin: 30px auto 2rem; /* Abstand nach oben wegen fixed header */
  padding: 0 1rem;
  z-index: 2;
}

.content {
  background: #fff;
  padding: 1rem 1rem;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.sidebar, .sidebar-news {
  position: relative;
  z-index: 1;
}

.sticky-box {
  position: sticky;
  top: 120px; /* Höhe Header berücksichtigen */
  background: #fff8f0;
  border: 1px solid #e0c9a6;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  z-index: 1;
}

.sticky-box img {
  max-width: 100%;
  margin-bottom: 1rem;
  z-index: 1;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid #e0c9a6;
  }

.footer a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #4a2c1a;
}

.relevant {
  font-family: 'Georgia', serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: #b68d40;
  letter-spacing: 0.5px;
  padding: 0 4px;
  border-bottom: 2px solid #b68d40;
}

.back-button {
  z-index:1000;
  position: fixed;
  right: 2.75rem;
  bottom: 1.2rem;
  padding: 0.5rem 1rem;
  background: #6e7b8b;
  color: white;
  text-align: center;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  }
.back-button:hover {
  background-color: #0056b3;
}

.xxxlarge {	font-size:20px;	}
.xlarge   {	font-size:14px;	}
.large    {	font-size:12px;	}
.small    { font-size:10px; }
.tiny     { font-size:8px; }

.center { text-align: center; }
.left   { text-align: left; }
.right  { text-align: right; }




/* ---------------------------------------------------------
   "Mehr lesen ..."
   --------------------------------------------------------- */
.mehrLesen {
  display: inline-block;
  padding: 0.6rem 2.4rem;
  background: #faf8f0; /* warmes, helles Beige */
  border-radius: 10px;
  border: 2px solid #d4b253; /* dezentes Gold */
  font-weight: 600;
  font-size: 0.9rem;
  color: #5a4a1f;
  transition: all 0.25s ease;
}
.mehrLesen:hover {
  background: #e8dfc7;
}
.mehrLesen a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  display: block;
}
.mehrLesen a:hover {
  background: #e8dfc7;
}

/* Standard: Desktop sichtbar, Mobile versteckt */
.desktop-text { display: block; }
.mobile-text  { display: none; }
/* Mobil */
@media (max-width: 700px) {
.desktop-text { display: none;  !important;}
.mobile-text  { display: block; }
}

.whiskycard {
  background: #fffdf7;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.whiskycard:hover {
   transform: translateY(-3px);
   box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
   border-color: #b78b54;
}
.whiskycard .whiskycard {
  background: #f7f3e9; /* leicht dunkler für Hierarchie */
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 1.2rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-left: 4px solid #b66d00; /* Whisky-Akzentlinie */
  transition: transform .2s ease, box-shadow .2s ease;
}

.whiskycard .whiskycard:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.whiskycard .whiskycard p:first-child {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: #5a3e1b;
}




.tldr {
position: relative;              /* nötig für zentrierten Tooltip */
background: #f6f6f4;
border-left: 4px solid #b08d57;
padding: 1.2rem 1.5rem;
margin-bottom: 2rem;
border-radius: 10px;
}
/* Überschrift */
.tldr::before {
content: "TL;DR – Oder: worum geht's hier eigentlich?";
display: block;
font-size: 0.9rem;
font-weight: bold;
letter-spacing: 0.05em;
color: #6b5b3e;
margin-bottom: 0.6rem;
}
/* Tooltip */
.tldr::after {
content: "'Too long; didn't read' – die Kurzfassung für alle, deren Aufmerksamkeit schneller endet als dieser Absatz.";
position: absolute;
left: 50%;                       /* mittig */
bottom: 100%;                    /* über dem Block */
transform: translateX(-50%);     /* perfekt zentriert */
background: #333;
color: #fff;
padding: 0.6rem 0.8rem;
border-radius: 10px;
font-size: 0.8rem;
width: max-content;
max-width: 260px;                /* etwas breiter für mobile */
text-align: center;              /* schöner bei mehreren Zeilen */
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
z-index: 10;
}
/* Tooltip sichtbar beim Hover */
.tldr:hover::after {
opacity: 1;
}
.tldr ul {
margin: 0;
padding-left: 1.2rem;
list-style: none;
}
.tldr li {
margin-bottom: 0.3rem;
}

.tldr li:last-child {
margin-bottom: 0;
}

/* Mobile-Optimierung */
@media (max-width: 600px) {
  .tldr::after {
    left: 50%;
    bottom: calc(100% + 8px);      /* etwas Abstand */
    max-width: 90vw;               /* fast volle Breite */
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }
}


.icon {
  font-size: 40px;
  margin-bottom: 10px;
  align-items: center;
}
.emoji {
  font-size: 20px;
  font-style: normal;
  align-items: center;
}

.zitatBereich {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 25px 30px;
  background: #faf7f2;
  border: 1px solid #d8c9b3;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: Georgia, 'Times New Roman', serif;
  color: #3a2f28;
  position: relative;
}
.zitatText {
  font-size: 16px;
  margin-left:50px;
}
.zitatAutor {
  font-size: 12px;
  margin-left:50px;
  padding: 5px;
}
blockquote {
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
}

blockquote:before {
  content: "“";
  position: absolute;
  left: 0px;
  top: 0px;
  font-size: 80px;
  color: #d8c9b3;
  line-height: 1;
}




.infobereich {
  max-width: 1200px;
  margin: 0.5rem auto;
  padding: 0 1rem;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  background: #fff8f0;
  border: 1px solid #e0c9a6;
  border-radius: 8px;
  padding:0.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #4a2c1a;
}

.info-card p {
  //font-size: 0.95rem;
  line-height: 1.3;
  font-weight: normal;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: #fff3e6;
}
.news-card {
  border: 2px solid #f00;
  font-size: 1.1rem;
}
.neue-news {
  color: #f00;
  font-weight: bold;
}


.lesezeit {
  font-size: 0.9em;
  color: #666;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lesezeit i {
  color: #c49a6c; /* Whisky-Gold-Ton */
}

.lesezeit::before {
  content: " ⏱️ ";
  font-size: 0.9em;
}

.infobereich a, .wissen a {
  font-weight: normal;
}

.quiz-link {
  text-decoration: underline;
  cursor: pointer;
}

/* Der Begriff im Text */
.tooltip {
  position: relative;
  display: inline-block;
  text-decoration: underline dotted #b66d00 2px;
  cursor: help;
}

/* Der zentrierte Tooltip-Overlay */
.tooltip-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2b2b2b;
  color: #f2e6d0;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: normal;
  line-height: 1.4;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);

  /* WICHTIG */
  opacity: 0;
  visibility: hidden;

  pointer-events: none;
  transition: opacity 0.2s ease-out;
  z-index: 9999;
}

.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}




.tooltip2 {
  position: relative;
  display: inline-block;
  cursor: help;
  }

.tooltip-text2 {
  position: absolute;
  bottom: 125%;
  left: 60%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: normal;
  visibility: hidden;
  width: 250px;
  text-align: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Sichtbar machen, wenn die Maus darüber ist */
.tooltip2:hover .tooltip-text2 {
  visibility: visible;
  opacity: 1;
}

.tooltip3 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Das unsichtbare Tooltip-Fenster */
.tooltip3 .tooltip-text3 {
  visibility: hidden;
  width: 250px;
  background-color: darkgrey;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position über dem Tooltip-Element */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Sichtbar machen, wenn die Maus darüber ist */
.tooltip3:hover .tooltip-text3 {
  visibility: visible;
  opacity: 1;
}

.tooltipHerstellung {
  display: none;
  position: absolute;
  width: 250px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 20px;
  z-index: 10;
}

.tooltipGlas {
  position: relative;
  display: inline-block;
}
.tooltipGlas .tooltiptext {
    visibility: hidden;
    width: auto;
    color: #333; /* Dunkelgrau für den Text */
    font-size: 10px;
    text-align: left;
    border-radius: 8px;
    padding: 5px;
    position: absolute;
    z-index: 100;
    margin-left: 20px;
    margin-top: 10px;
    background-color: #fdfdfd; /* Sanftes Weiß */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Weicher Schatten */
    opacity: 0;
    transition: opacity 0.4s ease-in-out; /* Geschmeidiger Übergang */
    border: 1px solid #ddd; /* Feine Randlinie */
}
.tooltipGlas:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    background-color: #c59d5f;
}

.tooltipGlas .tooltiptext::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #fdfdfd transparent;
}

.tooltipGlas table {
    width: 100%;
    border-collapse: collapse;
}

.tooltipGlas td {
    padding: 4px 4px;
    font-size: 10px;
    color: #555; /* Dezenterer Grauton */
}

.tooltipGlas tr:nth-child(odd) {
    background-color: #f9f9f9; /* Abwechselnde Zeilenfarben */
}

.tooltipGlas tr:nth-child(even) {
    background-color: #ffffff;
}

.tooltipGlas td:nth-child(2) {
    text-align: center;
}
.tooltipGlas figcaption {
  	bottom: -30px;
    left: 0;
}
.glas-header {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px; /* Große, auffällige Schriftgröße */
  font-family: 'Georgia', serif; /* Elegante, klassische Schriftart */
  color: #6b4226; /* Warmer, whisky-inspirierter Braunton */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Dezenter Schatteneffekt */
}
.glas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 5px;
  background-color: #f9f9f9;
}

.glas-item {
  text-align: center;
  font-size: 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 10px 20px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glas-item img {
  max-width: 100%;
  transition: transform 0.3s ease;
  border-radius: 5px;
}
.glas-item figcaption {
  z-index: 9;
  border-radius: 8px;
}


  .glitzer-text {
    text-shadow:
      0 0 5px #FFD700,
      0 0 10px #FFA500,
      0 0 15px #FF4500;
    animation: glitzern 1.5s infinite alternate;
  }

  @keyframes glitzern {
    0% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FFA500, 0 0 15px #FF4500; }
    100% { text-shadow: 0 0 10px #FFFFFF, 0 0 20px #FFD700, 0 0 30px #FFA500; }
  }


.einzelbild {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* figure als zentrierender Wrapper */
.einzelbild figure {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Bild: feste Max-Breite + responsive */
.einzelbild img {
  width: 300px;
  max-width: 90%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.mehrbilder {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* Falls der Viewport zu schmal ist */
}

.mehrbilder figure {
  margin: 0;
  flex: 1 1 30%; /* Beide Bilder teilen sich den Platz */
  max-width: 300px; /* Optional */
}

.mehrbilder img {
  //width: 100%;
  max-width: 90%;
  height: auto;
  display: block;
  border-radius: 10px;
}


.zoomable img {
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
  cursor: zoom-in;
  transform-origin: center center;
  z-index: 9999;
}
@media (hover: hover) {
  .zoomable img:hover {
    transform: scale(2);
    cursor: zoom-out;
  }
}
.zoomPic {
  position: relative;
  cursor: zoom-in;
  display: grid;
}
.zoomPic img {
  justify-content: center;
  border: 5px solid yellow;
}

.zoomPic:hover::after {
  content: "Klick auf das Bild für eine Lupenfunktion";
  position: relative;
  text-align: center;
  top:-10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
}


.bild-l-r {
  display: flex;
  align-items: flex-start;
  align-items: center; /* Text mittig am Bild ausrichten */
  position: relative;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.bild-l-r.left img { order: 0; }
.bild-l-r.left figcaption { order: 1; }

.bild-l-r.right img { order: 0; }
.bild-l-r.right figcaption { order: 1; }

.bild-l-r p {
  flex: 1;
  text-align: left;
}

.bild-l-r img {
  width: 150px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
.bild-l-r img:hover {
  transform: scale(2);
  position: relative;
  z-index: 10;
}
figcaption {
  width: 100%;
  max-width: 90%;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;

  font-size: 0.9rem;
  font-style: italic;
  text-align: center;

  color: #6b5b4b;
  background: #f3eee7;
  border-radius: 10px;
}




/* -----------------------------
   Galerie-Grundstruktur
------------------------------ */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Einzelnes Bild */
/*.image-gallery figure {
  overflow: visible;;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}
*/
/* Leichter Hover-Effekt für alle Bilder */
.image-gallery figure:hover img {
  filter: contrast(1.1) saturate(1.1);
}

/* Bild */
.image-gallery img {
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* -----------------------------
   Zoombare Galerie
------------------------------ */
.image-gallery.zoomable img {
  transition: transform 0.35s ease;
  transform-origin: center center; /* <- wichtig! */
  cursor: zoom-in;
}

.image-gallery.zoomable figure:hover img {
  transform: scale(2);
  cursor: zoom-out;
}





/* ===============================
   Whisky Tabellen – Global
   =============================== */

.table-whisky,table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #f9f6f1;                 /* warmes Papier */
  //border: 1px solid #d6c7b7;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}
.table-whisky caption {
  background: #4e3a1f;
  font-weight: bold;
  color: #fff;
  border-radius: 10px;
}
/* Tabellenkopf */
.table-whisky thead th,
table thead th {
  background: linear-gradient(
    to bottom,
    #6b4f2a,                          /* dunkles Holz */
    #4e3a1f
  );
  color: #fdfaf6;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Tabellenzellen */
.table-whisky td,
table td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #e2d6c8;
  vertical-align: top;
  color: #3e2f1c;
}

/* Zebra-Streifen */
.table-whisky tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
  background: #f2ebe3;
}

/* Hover-Effekt */
.table-whisky tbody tr:hover,
table tbody tr:hover {
  background: #efe4d6;
}

/* Links in Tabellen */
.table-whisky a,
table a {
  color: #6b4f2a;
  text-decoration: underline;
}
.table-whisky a:hover,
table a:hover {
  color: #3d2a14;
}

/* Spalten mit Zahlen */
.table-whisky .num,
table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Kleine Zusatzinfos */
.table-whisky .muted,
table .muted {
  color: #7a6a58;
  font-size: 0.85rem;
}



.contact {
  max-width: 640px;
  margin: 2rem auto;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #b7a892;
  font-family: inherit;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.6rem 1.4rem;
  background: #5a3e2b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-success {
  background: #eef6ec;
  padding: 1rem;
  border-left: 4px solid #4c7a4c;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  gap: 8px;              /* kleiner Abstand zwischen Text und Bild */
}

.contact-error {
  background: #fbeaea;
  padding: 1rem;
  border-left: 4px solid #b84a4a;
}




.skipto {
  list-style: none;          /* keine Standard-Punkte */
  padding: 0;
  margin: 1em auto;
  display: flex;             /* horizontale Anordnung */
  flex-wrap: wrap;           /* Zeilenumbruch bei kleinen Bildschirmen */
  justify-content: center;   /* zentriert */
  gap: 1em;                  /* Abstand zwischen den Links */
}

/* Links selbst */
.skipto li a {
  display: inline-block;
  padding: 0.5em 1em;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  background: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover-Effekt */
.skipto li a:hover {
  background: #e0e0e0;
  border-color: #999;
  color: #000;
  transform: translateY(-2px); /* leichter "Lift"-Effekt */
}

/* Aktiver Link (optional, wenn du eine Klasse setzt) */
.skipto li a.active {
  background: #0077cc;
  color: #fff;
  border-color: #005fa3;
}


.fassliste ul {
  list-style: none;
  padding-left: 0px; /* Platz für das Icon */
}

.fassliste ul li {
  background-image: url("../pic/WhiskyfassIcon.gif");
  background-repeat: no-repeat;
  background-size: 24px 24px; /* Icon skalieren */
  background-position: 0 50%; /* vertikal zentriert */
  padding-left: 30px; /* Abstand zwischen Icon und Text */
  line-height: 1.5rem;
}



  .trennlinie {
    width: 90%;
    display: block;
    margin: 0 auto;
  }




/* -----------------------------
   Responsive Anpassungen
------------------------------ */
@media (max-width: 700px) {
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 17px;
  }
  h3 {
    font-size: 16px;
  }

  .header {
    //flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .header .logo img {
    height: 28px;
    padding: 0;
  }
  .header .logo small::before {
    content: "home";
  }
  .header .subh1 {
    flex: 1;
    font-size: 0.8rem;
    margin: 0;
    padding: 10px 0 0 0;
    line-height: 1rem;
  }
  .header a {
    font-size: 0.8rem;
  }
  .main-container {
    margin: 5px 0 1rem;
    gap: 1.2rem;
    padding:0;
  }
  .content {
      padding: .8rem 0;
    }
  .whiskycard {
      padding: 1rem;
      border-radius: 6px; /* optional: wirkt mobiler */
    }

  .subh4 {
  	font-size:12px;
    padding: 0 0.2rem;
  }
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .image-gallery img {
    max-height: 120px;
  }

  .table-whisky td,
  .table-whisky th,
    table td,
    table th {
      font-size: .8rem;
    }


/* Standard: Sidebar mobil ausblenden */
  .sticky-header {    display: none;  }
/* Nur auf News-Seiten anzeigen */
  .sidebar-news {    display: block;  }

  /* Falls Glossar mobil sichtbar, aber kompakter sein soll:
  body.sidebar-glossar .sidebar {
    display: block;
    padding: 0.5rem 0;
  }
  */

  .bild-l-r {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bild-l-r.right img {
    order: 0; /* Bild wieder oben */
  }

  .info-card h2 {
    font-size: 1.1rem;
  }
  .info-card p {
      display: none; /* Text ausblenden */
    }

  .info-card.expanded p {
    display: block; /* Bei Tap wieder anzeigen */
  }

  .info-card .lesezeit {
    display: block;
    font-size: 0.8rem;
    padding: 0.2rem;
  }

  .info-card {
    padding: 0.25rem;
  }

}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .image-gallery img {
    max-height: 100px;
  }
  .sidebar .sticky-header{
    display: none;
  }
}





/* RESPONSIVE */
@media (max-width: 700px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .sticky-box {
    position: relative;
    top: auto;
    margin-top: 2rem;
  }
  .sidebar {
    display: none;
  }

  .back-button {
    display:none;
  }

  .zitatBereich {
    min-width: 200px;
    padding: 5px 5px 20px 5px;
    font-size: 0.6rem;
  }

  .news-layout {
      grid-template-columns: 1fr;
    }

  .gallery figure {
    flex: 1 1 100%;
    max-width: 100%;
  }

}
