/*
Theme Name: Henne Trockeneis
Theme URI: https://henne-trockeneis.de
Author: Henne
Author URI: https://henne-trockeneis.de
Description: Professionelles Theme für Henne Trockeneis – Trockeneisstrahlen, Sandstrahlen & Konservierung. Design: "The Personal Expert" – modern, warm, premium.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: henne-trockeneis
Tags: business, one-page, custom-colors, custom-logo
*/

/* =============================================
   BASE STYLES
   ============================================= */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: #f5f6ff;
  color: #182f50;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Service Card Hover Effect */
.service-card:hover .service-image {
  transform: scale(1.05);
}

/* Contact Form Success/Error */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-message.success {
  background-color: #81f3e5;
  color: #004640;
}

.form-message.error {
  background-color: #fb5151;
  color: #570008;
}

/* Line-clamp Fallback */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   GALERIE & KARUSSELL – einheitliche Bildgröße
   ============================================= */

/* Gutenberg Gallery Block */
.wp-block-gallery .wp-block-image img,
.wp-block-gallery figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
  display: block;
}

/* Gutenberg Gallery – Grid gleichmäßig */
.wp-block-gallery {
  gap: 0.75rem !important;
}

.wp-block-gallery .wp-block-image,
.wp-block-gallery figure {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* Jetpack / Tiled Gallery */
.tiled-gallery__item img,
.tiled-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Generischer Slider / Karussell (z.B. Slick, Swiper, MetaSlider) */
.slick-track img,
.swiper-slide img,
.metaslider img,
.ms-slide img,
.nivoSlider img,
.flexslider img,
.owl-carousel img,
.wp-block-cover img {
  width: 100%;
  height: 480px;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Einzelne Bildblöcke im Artikel – max-width & abgerundet */
.prose .wp-block-image img,
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* =============================================
   SEITENINHALTE (Impressum, Datenschutz usw.)
   ============================================= */

.prose h2 { font-size: 1.75rem; font-weight: 700; color: #182f50; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; color: #182f50; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a  { color: #006092; text-decoration: underline; }
.prose a:hover { opacity: 0.8; }
.prose strong { font-weight: 700; color: #182f50; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.prose th, .prose td { padding: 0.75rem 1rem; border: 1px solid #dfe8ff; text-align: left; }
.prose th { background-color: #ecf0ff; font-weight: 700; }

/* =============================================
   UAGB / Spectra Block Plugin – Kontaktseite
   ============================================= */

/* Äußerer Kontakt-Container: 2 Spalten nebeneinander */
.uagb-block-ajz3sqyk {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

/* Kontaktinfo-Spalte (rechts im DOM → per order nach links) */
.uagb-block-6o9i6quw {
  order: -1;
  flex: 1 1 280px;
  max-width: 340px;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #dfe8ff;
  box-shadow: 0 2px 16px 0 rgba(0,60,120,.06);
}

/* Formular-Spalte */
.uagb-block-oqhp3z3o {
  flex: 1 1 340px;
}

/* Überschriften in der Kontaktinfo */
.uagb-block-6o9i6quw .uagb-ifb-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #182f50;
  font-size: 1rem;
  margin: 0;
}

.uagb-block-6o9i6quw .uagb-ifb-desc {
  font-size: 0.925rem;
  color: #445;
  margin: 0.25rem 0 0 0;
  line-height: 1.5;
}

/* Icon-Wrapper auf definierte Größe begrenzen */
.uagb-iconbox-icon-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SVGs in UAGB Info-Boxen begrenzen */
.uagb-ifb-icon-wrap svg,
.uagb-iconbox-icon-wrap svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  display: block;
}

/* Kreis-Hintergrund bei shape-circle */
.uagb-infobox-shape-circle {
  border-radius: 50%;
  background-color: #e6edff;
  padding: 10px;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Jede Info-Box-Zeile (Icon + Text) schön ausrichten */
.uagb-block-6o9i6quw .uagb-infobox-icon-left .uagb-infobox__content-wrap {
  display: flex !important;
  align-items: center;
  gap: 0.875rem;
}

.uagb-block-6o9i6quw .uagb-ifb-icon-wrap {
  flex-shrink: 0;
}

/* Abstand zwischen den Info-Einträgen */
.uagb-block-6o9i6quw .wp-block-uagb-info-box + .wp-block-uagb-info-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f2ff;
}

/* Social-Icon-Liste */
.uagb-icon-list__wrap {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  align-items: center;
}

.uagb-icon-list__source-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #e6edff;
  border-radius: 50%;
  transition: background 0.2s;
}

.uagb-icon-list__source-wrap:hover {
  background: #c7d8ff;
}

.uagb-icon-list__source-wrap svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  display: block;
}

/* Social-Block Abstand */
.uagb-block-36akq8re {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f2ff;
}

/* Responsive: untereinander auf kleinen Screens */
@media (max-width: 767px) {
  .uagb-block-ajz3sqyk {
    flex-direction: column;
  }
  .uagb-block-6o9i6quw {
    order: 0;
    max-width: 100%;
  }
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: #006092;
  color: #ebf4ff;
}
.skip-link:focus {
  left: 0;
}
