/*
Theme Name: Astra Child
Template: astra
*/

/* Navigation */
.tiq-main-nav {
  margin-top: 10px;
}

.tiq-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tiq-nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.tiq-nav-list a:hover {
  color: #0077cc;
}

/* Header-Container */
.tiq-header-container,
.elementor-element.e-con-full {
  width: 100vw !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}

/* Bild im Header */
.tiq-header-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.tiq-header-container .tiq-header-wrapper .tiq-header-img {
  height: 150px !important;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  display: block !important;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

#tiq-footer-container {
  background-color: #54595F;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

#tiq-footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#tiq-footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

#tiq-footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

#tiq-footer-nav a:hover {
  color: #ddd;
}

a.elementor-button.elementor-size-sm {
  background-color: #C1A243;
  color: whitesmoke;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;

  /* Font-Fallbacks erweitert */
  font-family: 'IBM Plex Sans', 'Segoe UI', 'Roboto', 'Arial', sans-serif;

  font-weight: 500;
  font-size: 16px;
  cursor: pointer;

  /* Schlifftextur */
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(to bottom, #D4AF37 0%, #B08B3E 50%, #A67C00 100%);
  background-blend-mode: overlay;

  /* 3D-Effekt */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3), /* Lichtkante oben */
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),      /* Schatten unten */
    0 3px 6px rgba(0, 0, 0, 0.2);           /* externer Schatten */
}

/* Fallback für Browser ohne box-shadow oder blend-mode */
@supports not (box-shadow: 0 0 5px black) {
  a.elementor-button.elementor-size-sm {
    border: 1px solid #A67C00; /* Ersatz für Schatten */
    background-color: #B08B3E; /* Ersatz für Verlauf */
    background-image: none;    /* Textur deaktivieren */
    background-blend-mode: normal;
  }
}

a.elementor-button.elementor-size-sm:hover {
  background-color: #B08B3E;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Fallback für Hover-Effekt bei fehlendem Schatten */
@supports not (box-shadow: 0 0 5px black) {
  a.elementor-button.elementor-size-sm:hover {
    border: 1px solid #A67C00;
    background-color: #A67C00;
  }
}


@font-face {
  font-family: 'MediaGothic';
  src: url('/wp-content/themes/astra-child/fonts/mediagothictiq.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

h2.elementor-heading-title.elementor-size-default {
  color: #D4AF37 !important;
  font-family: 'MediaGothic', sans-serif !important;
  font-weight: 400;
  text-shadow:
    -0.6px -0.6px 0.6px rgba(0, 0, 0, 0.4),   /* dunkler Schatten links oben */
    0.4px 0.4px 0.6px rgba(255, 255, 255, 0.08), /* Lichtkante rechts unten */
    0px 0px 1px rgba(0, 0, 0, 0.2);            /* feiner Glow für Tiefe */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bilder Galerie */

.tiq-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
  padding: 1em;
}

.tiq-gallery-grid a {
  display: block;
  overflow: hidden;
	border: 1px solid rgba(0,0,0,0.08);
background-color: white;

  border-radius: 15px;
  background-color: #f0f0f0; /* etwas dunkler als vorher */
  box-shadow: 0 2px 6px rgba(0,0,0,0.12); /* stärkerer Schatten */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tiq-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  transform: scale(1.02);
}

.tiq-gallery-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}
