/*
Theme Name: Ammon Isolierdämmstoffe Theme
Theme URI: https://ammon-isolierdaemstoffe.de/
Author: atondix – Marketing Design IT (Inh. Andreas Richling)
Author URI: https://atondix.de/
Description: Benutzerdefiniertes Theme für Ammon Isolierdämmstoffe.
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Text Domain: ammon-isolierdaemstoffe-theme
*/

/* Normal - 400 */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_28pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium - 500 */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_28pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold - 700 */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_28pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Bold - 900 */
@font-face {
  font-family: 'Inter';
  src: url('./assets/fonts/Inter_28pt-ExtraBold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Inter', sans-serif;
}

:root {
  /* =====================
     Theme / Primary
     ===================== */
  --theme-primary: #30559e;
  --theme-primary-dark: #13264b;
  --theme-primary-transparent: rgba(48, 85, 158, 0.15);
  --theme-primary-semi-transparent: rgba(48, 85, 158, 0.5);

  /* =====================
     Text
     ===================== */
  --text-neutral: #4a5064;
  --text-light: #7c87ac;
  --text-bright: #ffffff;
  --text-bright-light: #c2cae3;
  --text-dark: #121317;

  /* =====================
     General / Backgrounds
     ===================== */
  --bg: #ffffff;
  --bg-transparent: rgba(255, 255, 255, 0.6);
  --bg-dark: #2c2d32;
  --bg-light: #e1e4ed;
  --bg-bright: #f4f4f4;

  /* =====================
     Logo
     ===================== */
  --logo-yellow: #ffbf11;
  --logo-red: #fe0060;
  --logo-blue: #0066ff;
  --logo-green: #00c45c;


  /* =====================
     Font Sizes
     ===================== */
  --font-small: clamp(0.85rem, 1vw, 0.95rem);
  --font-normal: clamp(1rem, 1.2vw, 1.125rem);
  --font-medium: clamp(1.05rem, 1.4vw, 1.1rem);
  --font-large: clamp(1.1rem, 1.6vw, 1.2rem);


  /* =====================
     Box Shadows
     ===================== */
  --shadow-md: 0px 1px 4px rgba(25, 33, 61, 0.08);
  --box-shadow-light: 0px 2px 6px rgba(25, 33, 61, 0.1);
  --box-shadow-medium: 0px 4px 12px rgba(25, 33, 61, 0.15);
}

body {
  font-size: var(--font-normal);
  line-height: 1.5;
  color: var(--text-neutral);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

h2 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.1;
}

h3 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.2;
}

p {
  margin: 0;
  padding: 0;
}

main p {
  color: var(--text-light)
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content {
  max-width: 1200px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.content.page {
  padding-top: 80px;
  padding-bottom: 80px;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

section {
  padding: 80px 0;
}

.shadow-md {
  box-shadow: 0px 1px 4px rgba(25, 33, 61, 0.08);
}






/* 404 Page Styling */
.error-404 {
  padding: 160px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .page-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #333;
}

.error-404 .page-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}