/* thomas-breidenbach.de — private homepage
   Minimal, ruhiges Design: warmes Off-White, ein Akzentton, klare Serife für Überschriften. */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --border: #e6e1d8;
  --text: #2b2723;
  --text-muted: #6b6459;
  --accent: #8a6d4a;
  --accent-dark: #6e5638;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5em;
}

a {
  color: var(--accent-dark);
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

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

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-header a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-header a:hover {
  color: var(--accent-dark);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.hero {
  text-align: center;
  padding: 6rem 0 4rem;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.hero p.tagline {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin: 0 0 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.page-title {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.page-title h1 {
  font-size: 2.1rem;
  margin-bottom: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-row {
  display: flex;
  gap: 1rem;
}

.field-row .field {
  flex: 1;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

label .required {
  color: var(--accent-dark);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* Honeypot field: hidden from real visitors, present for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

button[type="submit"] {
  cursor: pointer;
  font-family: inherit;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  font-size: 0.95rem;
}

.form-status.success {
  color: #3f6b3f;
}

.form-status.error {
  color: #a33f3f;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
}

.legal p {
  color: var(--text-muted);
}

.legal address {
  font-style: normal;
  color: var(--text);
}

.placeholder {
  background: #fff4e0;
  border: 1px dashed #d8b26a;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: #8a5a00;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .field-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}
