/*
 Theme Name: Daschkey Wärme
 Theme URI: https://example.com/
 Author: Ammersee-solutions
 Description: Modernes Onepager-Theme für die Firma Daschkey Wärme (Heizungs- und Ofentechnik).
 Version: 1.1
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: daschkey-waerme
*/

:root {
  --color-primary: #143a56;
  --color-accent: #e86a1e;
  --color-bg: #f5f7fa;
  --color-soft: #eef2f7;
  --color-text: #222733;
  --color-white: #ffffff;
}

/* Grundlayout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
}

.logo span {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 4px 0;
}

.main-nav a:hover {
  color: var(--color-accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Hero */

.hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #ffffff 0%, #e4edf7 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-side {
  position: relative;
  padding-left: 16px;
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 14px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.hero-badge strong {
  display: block;
  font-size: 1.1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-list li {
  margin-bottom: 6px;
}

.hero-list li::before {
  content: "• ";
  color: var(--color-accent);
  font-weight: 700;
}

/* Sections allgemein */

.section {
  padding: 56px 0;
}

.section-light {
  background: var(--color-bg);
}

.section-soft {
  background: var(--color-soft);
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
  color: #5b6474;
}

/* Layout-Hilfen */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.info-box {
  background: var(--color-white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.info-box h3 {
  margin-top: 0;
}

/* Grid & Cards */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.card h3 {
  margin-top: 0;
}

/* Kontaktformular */

.contact-form {
  background: var(--color-white);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd1dd;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-row-inline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
}

.form-row-inline input[type="checkbox"] {
  margin-top: 4px;
}

/* Footer */

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 16px 0;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .two-column {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none; /* Später ggf. Burger-Menü */
  }

  .hero {
    padding-top: 40px;
  }
}
