
/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =========================
   Händlerverzeichnis
   ========================= */

.haendler-archiv,
.single-haendler {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.haendler-archiv .page-header,
.single-haendler .page-header {
  margin-bottom: 32px;
}

.haendler-archiv h1,
.single-haendler h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.haendler-archiv .page-header p {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}

.haendler-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 0 34px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: #fafafa;
}

.haendler-filter select,
.haendler-filter button {
  min-height: 46px;
  border-radius: 10px;
  font-size: 0.98rem;
}

.haendler-filter select {
  min-width: 220px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
}

.haendler-filter button {
  padding: 0 20px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.haendler-filter button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.haendler-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.haendler-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.haendler-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.haendler-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.haendler-title a {
  text-decoration: none;
}

.haendler-card p {
  margin: 0 0 10px;
  line-height: 1.55;
}

.haendler-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.haendler-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.12);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.haendler-links a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.haendler-land-block {
  margin: 0 0 48px;
}

.haendler-land-header {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.haendler-land-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
}

.single-haendler article {
  max-width: 860px;
}

.single-haendler .haendler-block {
  margin: 0 0 30px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.single-haendler .haendler-block h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.single-haendler .haendler-block p {
  margin: 0 0 10px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .haendler-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .haendler-archiv,
  .single-haendler {
    padding: 28px 16px 44px;
  }

  .haendler-grid {
    grid-template-columns: 1fr;
  }

  .haendler-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .haendler-filter select,
  .haendler-filter button {
    width: 100%;
  }

  .haendler-card,
  .single-haendler .haendler-block {
    padding: 20px;
  }
}
